Sign in Join

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

Mailing lists / fpc-devel / 2006-07

fpcmake keeps failing

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 am new to fpcmake and the Makefile.fpc format. I tried to read the docs and see if I can find any problems, but nothing I can see. fpcmake keeps telling me that the rtl package is not found. I run under Linux i386. I am trying to compile with FPC 2.1.1 but I have FPC 2.0.2 installed as well.

I set the following evironment variables before I ran make, so that it finds the correct FPC version.

export FPC=/opt/fpc-2.1.1/bin/ppc386
export FPCDIR=/opt/fpc-2.1.1
also added /opt/fpc-2.1.1/bin to the PATH so it finds the correct fpcmake.

---------- Console Output ------------------
make install
INSTALL_PREFIX=/opt/fpc-2.1.1 make -C x11 all
make[1]: Entering directory `/home/graemeg/programming/fpgfx/src/x11' make[1]: Leaving directory `/home/graemeg/programming/fpgfx/src/x11' /opt/fpc-2.1.1/bin/fpcmake -p -Tlinux Makefile.fpc Processing Makefile.fpc
Error: Target "linux", package "rtl" not found
make: *** [fpc_install] Error 1
----------------------------

---------------- Makefile.fpc ------------------- [package]
name=fpgfx
version=0.2

[require]
packages=rtl fcl

[target]
units=gfxbase geldirty gelimage
rsts=gfxbase
dirs_linux=x11
dirs_freebsd=x11
dirs_netbsd=x11
dirs_win32=win32gdi

[compiler]
sourcedir=emulayer
targetdir=.
options=-S2h

[install]
fpcpackage=y
--------------------------------------------------------

Hope someone can spot something here that I am missing... I can compile the code using a Lazarus Package, so there is nothing wrong in the code.

The source directory layout can be seen in CVS. Have a look at http://www.freepascal.org/fpgfx/cvs.html
for how to access it.

Quick layout:

/src
/src/emulayer
/src/x11
/src/win32gdi

Regards,
- Graeme -

There's no place like 127.0.0.1

Reply by email

Vincent Snijders
to Graeme Geldenhuys
Graeme Geldenhuys wrote 14 lines
Hi, I am new to fpcmake and the Makefile.fpc format. I tried to read the docs and see if I can find any problems, but nothing I can see. fpcmake keeps telling me that the rtl package is not found. I run under Linux i386. I am trying to compile with FPC 2.1.1 but I have FPC 2.0.2 installed as well. I set the following evironment variables before I ran make, so that it finds the correct FPC version. export FPC=/opt/fpc-2.1.1/bin/ppc386 export FPCDIR=/opt/fpc-2.1.1 also added /opt/fpc-2.1.1/bin to the PATH so it finds the correct fpcmake.

I always set the FPCDIR to a FPC Source directory.

Vincent

Reply by email

Graeme Geldenhuys
to Vincent Snijders
Show quoted text 7 lines
> export FPC=/opt/fpc-2.1.1/bin/ppc386 > export FPCDIR=/opt/fpc-2.1.1 > also added /opt/fpc-2.1.1/bin to the PATH so it finds the correct fpcmake. I always set the FPCDIR to a FPC Source directory. Vincent

Thanks Vincent, that did the trick!

Graeme.

There's no place like 127.0.0.1

Reply by email