Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2011-05

compiling svn: Fatal: Can't find unit httpdefs used by fpwebdata

6 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin

just updated trunk from svn.

Now getting this error

make.exe all LINKSMART=1 CREATESMART=1
make.exe[5]: Entering directory
`C:/FPC/SVN/trunc/packages/fcl-web/src/webdata'
C:/FPC/SVN/trunk_build/gmkdir.exe -p units/i386-win32 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/f cl-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:/FP C/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/tr unc/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
Fatal: Can't find unit httpdefs used by fpwebdata
Fatal: Compilation aborted
make.exe[5]: *** [fpwebdata.ppu] Error 1
make.exe[5]: Leaving directory
`C:/FPC/SVN/trunc/packages/fcl-web/src/webdata'
make.exe[4]: *** [fpc_smart] Error 2
make.exe[4]: Leaving directory
`C:/FPC/SVN/trunc/packages/fcl-web/src/webdata'
make.exe[3]: *** [src/webdata_smart] Error 2
make.exe[3]: Leaving directory `C:/FPC/SVN/trunc/packages/fcl-web' make.exe[2]: *** [fcl-web_smart] Error 2
make.exe[2]: Leaving directory `C:/FPC/SVN/trunc/packages' make.exe[1]: *** [packages_smart] Error 2
make.exe[1]: Leaving directory `C:/FPC/SVN/trunc'
make.exe: *** [build-stamp.i386-win32] Error 2

Reply by email

Michael Van Canneyt
to Martin
Martin wrote 39 lines
just updated trunk from svn. Now getting this error make.exe all LINKSMART=1 CREATESMART=1 make.exe[5]: Entering directory `C:/FPC/SVN/trunc/packages/fcl-web/src/webdata' C:/FPC/SVN/trunk_build/gmkdir.exe -p units/i386-win32 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/f cl-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:/FP C/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/tr unc/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 Fatal: Can't find unit httpdefs used by fpwebdata Fatal: Compilation aborted make.exe[5]: *** [fpwebdata.ppu] Error 1 make.exe[5]: Leaving directory `C:/FPC/SVN/trunc/packages/fcl-web/src/webdata' make.exe[4]: *** [fpc_smart] Error 2 make.exe[4]: Leaving directory `C:/FPC/SVN/trunc/packages/fcl-web/src/webdata' make.exe[3]: *** [src/webdata_smart] Error 2 make.exe[3]: Leaving directory `C:/FPC/SVN/trunc/packages/fcl-web' make.exe[2]: *** [fcl-web_smart] Error 2 make.exe[2]: Leaving directory `C:/FPC/SVN/trunc/packages' make.exe[1]: *** [packages_smart] Error 2 make.exe[1]: Leaving directory `C:/FPC/SVN/trunc' make.exe: *** [build-stamp.i386-win32] Error 2

Works fine here ? Revision 17521.

Michael.

Reply by email

Martin
to Michael Van Canneyt
Michael Van Canneyt wrote 5 lines
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= ...)

Reply by email

Martin
to Martin

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

Martin wrote 21 lines
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 - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Martin
to Martin

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

Martin wrote 52 lines
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 - > http://lists.freepascal.org/mailman/listinfo/fpc-devel _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Unknown author
to Martin
Martin wrote 38 lines
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.

Show quoted text 19 lines
> > 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.

Reply by email