[fpc-devel] FP IDE fails to compile under FreeBSD 9.0

Graeme Geldenhuys graemeg.lists at gmail.com
Wed Feb 29 20:21:41 CET 2012


Hi,

I'm busy setting up a new development system using FreeBSD 9.0
(32-bit) on i386 hardware. I downloaded the FPC 2.6.0 binary release
for FreeBSD 8.0, which works fine. But due to the thread / semaphore
bug in FPC 2.6.0 (no threaded apps can run) I am forced to use FPC
2.7.1

Anyway, I checked out the latest code from trunk, and while doing a
'gmake all', the compilation failed on FP IDE.

-------------------------------------
gmake[4]: Entering directory `/root/programming/fpc-2.7.1/src/ide'
/root/programming/fpc-2.7.1/src/compiler/ppc386 -di386 -Ur -Xs -O2 -n
-Sg -Fu/root/programming/fpc-2.7.1/src/rtl/units/i386-freebsd
-Fu/root/programming/fpc-2.7.1/src/packages/paszlib/units/i386-freebsd
-Fu/root/programming/fpc-2.7.1/src/packages/fcl-process/units/i386-freebsd
-Fu/root/programming/fpc-2.7.1/src/packages/hash/units/i386-freebsd
-Fu/root/programming/fpc-2.7.1/src/packages/fpmkunit/units/i386-freebsd
-Fu/root/programming/fpc-2.7.1/src/packages/fv/units/i386-freebsd
-Fu/root/programming/fpc-2.7.1/src/packages/gdbint/units/i386-freebsd
-Fu/root/programming/fpc-2.7.1/src/packages/regexpr/units/i386-freebsd
-Fu/root/programming/fpc-2.7.1/src/packages/chm/units/i386-freebsd
-FE. -FUunits/i386-freebsd -dRELEASE -dNODEBUG  -Fl/usr/local/lib
fp.pas
Fatal: Can't find unit contnrs used by chmreader
Fatal: Compilation aborted
gmake[4]: *** [fp] Error 1
gmake[4]: Leaving directory `/root/programming/fpc-2.7.1/src/ide'
gmake[3]: *** [buildfp] Error 2
gmake[3]: Leaving directory `/root/programming/fpc-2.7.1/src/ide'
gmake[2]: *** [gdb] Error 2
gmake[2]: Leaving directory `/root/programming/fpc-2.7.1/src/ide'
gmake[1]: *** [ide_all] Error 2
gmake[1]: Leaving directory `/root/programming/fpc-2.7.1/src'
gmake: *** [build-stamp.i386-freebsd] Error 2

-------------------------------------

Looking closer at the command line to compile fp.pas, it is missing
unit paths to...
  fcl-base
  fcl-xml
...both required by the CHM units.

I guess there must be an outdated Makefile or something in Trunk, for FreeBSD.

Just thought I would mention it.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net



More information about the fpc-devel mailing list