[fpc-devel] compiling svn: Fatal: Can't find unit httpdefs used by fpwebdata
michael.vancanneyt at wisa.be
michael.vancanneyt at wisa.be
Mon May 23 09:19:16 CEST 2011
On Mon, 23 May 2011, Martin wrote:
> I have just updated again, and I still have the problem. (SVN says there are
> no unmodified files)
> I really do need some help how to fix it.
>
>> Fatal: Can't find unit httpdefs used by fpwebdata
>> Fatal: Compilation aborted
>
> httpdefs.ppu is in packages\fcl-web\src\base\units\i386-win32
>
> Should it be in this folder?
> This folder is not included in the list of unit paths. See command-line below
> (I have also checked using -va)
> There is no fpc.cfg. Should there be one? Where? What in it?
>
> If it is the correct place. Should the path be an -Fu option on the
> command-line? or should fpc use other means to find the path? (Which?)
>
> If it is not, where should it be? What decides where it goes, how can I trace
> the problem? (Or just fix it?)
>
> Please note the error happens while "C:/FPC/SVN/trunc/compiler/ppc386.exe" is
> used as fpc => that must mean the compiler itself has already been build, and
> is used.
>
> Any other ideas?
>
> I have set my PATH variable to a folder containing the checkout of
> http://svn.freepascal.org/svn/fpcbuild/trunk/install/binw32 (and nothing
> else)
>
> Thanks
> Martin
>
>
> On 21/05/2011 19:14, Martin wrote:
>> Having a closer look.
>>
>> httpdefs.pp and .ppu are in fcl-web/base[/units...]
This is not correct.
>>
>> but the command line for the compilation, does not have this directory
>>
>> C:/FPC/SVN/trunc/compiler/ppc386.exe -XX -CX -Ur -Xs -O2 -n -O2 -S2h
>> -FuC:/FPC/SVN/trunc/rtl/units/i386-win32
>> -FuC:/FPC/SVN/trunc/packages/fcl-base/units/i386-win32
>> -FuC:/FPC/SVN/trunc/packages/fcl-xml/units/i386-win32
>> -FuC:/FPC/SVN/trunc/packages/fcl-db/units/i386-win32
>> -FuC:/FPC/SVN/trunc/packages/fcl-json/units/i386-win32
>> -FuC:/FPC/SVN/trunc/packages/fcl-process/units/i386-win32
>> -FuC:/FPC/SVN/trunc/packages/ibase/units/i386-win32
>> -FuC:/FPC/SVN/trunc/packages/postgres/units/i386-win32
>> -FuC:/FPC/SVN/trunc/packages/mysql/units/i386-win32
>> -FuC:/FPC/SVN/trunc/packages/odbc/units/i386-win32
>> -FuC:/FPC/SVN/trunc/packages/oracle/units/i386-win32
>> -FuC:/FPC/SVN/trunc/packages/sqlite/units/i386-win32
>> -FuC:/FPC/SVN/trunc/packages/pxlib/units/i386-win32 -FE.
>> -FUunits/i386-win32 -gl -O3 -Or -CpPENTIUMM -OpPENTIUMM -di386 -dRELEASE
>> fpwebdata.pp
The last line is not correct; The output directory should be something like -FU../../units/i386-win32
But I don't know why this is happening. Maybe you should remove the units/i386-win32
directory tree under "base"
Michael.
More information about the fpc-devel
mailing list