[fpc-devel] compiling svn: Fatal: Can't find unit httpdefs used by fpwebdata
Martin
fpc at mfriebe.de
Mon May 23 02:04:27 CEST 2011
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...]
>
> 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
>
> And it sn't installed yet, so there is no fpc.cfg file
>
>
> On 21/05/2011 17:20, Martin wrote:
>> On 21/05/2011 17:11, Michael Van Canneyt wrote:
>>>
>>> On Sat, 21 May 2011, Martin wrote:
>>>> Fatal: Can't find unit httpdefs used by fpwebdata
>>>> Fatal: Compilation aborted
>>> Works fine here ? Revision 17521.
>>
>>
>> same here. using 2.4.2 compiler to start the make process
>>
>> make.exe clean FPC=c:\FPC\SVN\ppc386_2_4_2.exe
>> make.exe all LINKSMART=1 CREATESMART=1 OPTIMIZE=1 OPT="-gl -O3
>> -Or -CpPENTIUMM -OpPENTIUMM" TARGET_EXAMPLES=NO
>> FPC=c:\FPC\SVN\ppc386_2_4_2.exe
>>
>> It must be in the 2nd or third cycle, I guess, since the makefile is
>> running "C:/FPC/SVN/trunc/compiler/ppc386.exe" as compiler (which is
>> not the one specified in FPC= ...)
>> _______________________________________________
>> fpc-devel maillist - fpc-devel at lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
More information about the fpc-devel
mailing list