Sign in Join

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

Mailing lists / fpc-devel / 2012-02

FP IDE fails to compile under FreeBSD 9.0

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Graeme Geldenhuys

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

Reply by email

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

I managed to figure this out, and amend the Makefile.fpc and regenerate the Makefile.

Attached is a patch for the ide/Makefile.fpc

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

Reply by email

Marco van de Voort
to Graeme Geldenhuys: I'm busy setting up a new development system using FreeBSD 9.0 (32-bit) on i386 hardware.…

In our previous episode, Graeme Geldenhuys said:

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

Not a freebsd problem it turns out, but a general trunk one. Fixed r20450

Reply by email