Sign in Join

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

Mailing lists / fpc-pascal / 2011-01

fpcmake and 64-bit Ubuntu

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Timothy Groves

Any attempt to invoke fpcmake results in the following error:

Processing Makefile.fpc
Error: Target "linux", package "rtl" not found

The system is an HP xw8200 (stock configuration) running Ubuntu 10.10 64-bit. I have both the i386 and the x86_64 versions of fpc-2.4.2 installed on this machine; the compilers themselves work great. I have also tried the version installed from the Ubuntu repositories.

Any suggestions?

Jonas Maebe
to Timothy Groves
Timothy Groves wrote
Any attempt to invoke fpcmake results in the following error: Processing Makefile.fpc Error: Target "linux", package "rtl" not found

fpcmake requires the FPC sources to be installed, and the environment variable "FPCDIR" to be set so it points to the toplevel FPC directory. Alternatively, your Makefile.fpc can contain something like this:

[default]
fpcdir=../..

in which case fpcmake will get the FPCDIR location from that Makefile.fpc (this is used for the Makefile.fpc files in the FPC sources).

Jonas