Sign in Join

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

Mailing lists / fpc-pascal / 2003-05

fpcmake

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

James Mills

Hi,

Do I need the FPC sources installed in order to even use fpcmake ?

$ fpcmake -v
Processing Makefile.fpc
Targets: "linux"
Globals:
FPCDIR = "/usr/lib/fpc/1.0.6"
PACKAGESDIR = "$(FPCDIR)/packages/base $(FPCDIR)/packages/extra" UNITSDIR = "$(FPCDIR)/units/$(TARGET)"
BASEDIR = "/home/mint/src"
Required packages for linux: rtl
Package "rtl": Looking for Makefile.fpc:
"/usr/lib/fpc/1.0.6/rtl/Makefile.fpc
/usr/lib/fpc/1.0.6/packages/base/rtl/Makefile.fpc
/usr/lib/fpc/1.0.6/packages/extra/rtl/Makefile.fpc " Package "rtl": Looking for Package.fpc:
"/usr/lib/fpc/1.0.6/rtl/Package.fpc
/usr/lib/fpc/1.0.6/units/linux/rtl/Package.fpc "
Error: Target "linux", package "rtl" not found

I have tried every possibility then finally tried verbosity -v ...

Any ideas ?

cheers
James

Reply by email

Peter Vreman
to James Mills
Show quoted text 25 lines
Hi, Do I need the FPC sources installed in order to even use fpcmake ? $ fpcmake -v Processing Makefile.fpc Targets: "linux" Globals: FPCDIR = "/usr/lib/fpc/1.0.6" PACKAGESDIR = "$(FPCDIR)/packages/base $(FPCDIR)/packages/extra" UNITSDIR = "$(FPCDIR)/units/$(TARGET)" BASEDIR = "/home/mint/src" Required packages for linux: rtl Package "rtl": Looking for Makefile.fpc: "/usr/lib/fpc/1.0.6/rtl/Makefile.fpc /usr/lib/fpc/1.0.6/packages/base/rtl/Makefile.fpc /usr/lib/fpc/1.0.6/packages/extra/rtl/Makefile.fpc " Package "rtl": Looking for Package.fpc: "/usr/lib/fpc/1.0.6/rtl/Package.fpc /usr/lib/fpc/1.0.6/units/linux/rtl/Package.fpc " Error: Target "linux", package "rtl" not found I have tried every possibility then finally tried verbosity -v ... Any ideas ?

The sources are not needed, it uses Package.fpc files which are installed in the units directory.

In the above situation it should find a Package.fpc in the directory /usr/lib/fpc/1.0.6/units/linux/rtl

I don't have a debian machine at work so i can't test what is installed by the fp-units-rtl package

Reply by email

James Mills
to Peter Vreman
Peter Vreman wrote 31 lines
> Hi, > > Do I need the FPC sources installed in order to even use fpcmake ? > > $ fpcmake -v > Processing Makefile.fpc > Targets: "linux" > Globals: > FPCDIR = "/usr/lib/fpc/1.0.6" > PACKAGESDIR = "$(FPCDIR)/packages/base $(FPCDIR)/packages/extra" > UNITSDIR = "$(FPCDIR)/units/$(TARGET)" > BASEDIR = "/home/mint/src" > Required packages for linux: rtl > Package "rtl": Looking for Makefile.fpc: > "/usr/lib/fpc/1.0.6/rtl/Makefile.fpc > /usr/lib/fpc/1.0.6/packages/base/rtl/Makefile.fpc > /usr/lib/fpc/1.0.6/packages/extra/rtl/Makefile.fpc " > Package "rtl": Looking for Package.fpc: > "/usr/lib/fpc/1.0.6/rtl/Package.fpc > /usr/lib/fpc/1.0.6/units/linux/rtl/Package.fpc " > Error: Target "linux", package "rtl" not found > > I have tried every possibility then finally tried verbosity -v ... > > Any ideas ? The sources are not needed, it uses Package.fpc files which are installed in the units directory. In the above situation it should find a Package.fpc in the directory /usr/lib/fpc/1.0.6/units/linux/rtl

I don't understand why it says:
Error: Target "linux", package "rtl" not found

Could you show me an example Makefile.fpc ?

cheers
James

Show quoted text 9 lines
I don't have a debian machine at work so i can't test what is installed by the fp-units-rtl package _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

James Mills
to James Mills
James Mills wrote 32 lines
On Mon, May 12, 2003 at 12:41:47PM +0200, Peter Vreman wrote: > > Hi, > > > > Do I need the FPC sources installed in order to even use fpcmake ? > > > > $ fpcmake -v > > Processing Makefile.fpc > > Targets: "linux" > > Globals: > > FPCDIR = "/usr/lib/fpc/1.0.6" > > PACKAGESDIR = "$(FPCDIR)/packages/base $(FPCDIR)/packages/extra" > > UNITSDIR = "$(FPCDIR)/units/$(TARGET)" > > BASEDIR = "/home/mint/src" > > Required packages for linux: rtl > > Package "rtl": Looking for Makefile.fpc: > > "/usr/lib/fpc/1.0.6/rtl/Makefile.fpc > > /usr/lib/fpc/1.0.6/packages/base/rtl/Makefile.fpc > > /usr/lib/fpc/1.0.6/packages/extra/rtl/Makefile.fpc " > > Package "rtl": Looking for Package.fpc: > > "/usr/lib/fpc/1.0.6/rtl/Package.fpc > > /usr/lib/fpc/1.0.6/units/linux/rtl/Package.fpc " > > Error: Target "linux", package "rtl" not found > > > > I have tried every possibility then finally tried verbosity -v ... > > > > Any ideas ? > > The sources are not needed, it uses Package.fpc files which are installed > in the units directory. > > In the above situation it should find a Package.fpc in the directory > /usr/lib/fpc/1.0.6/units/linux/rtl

Actually I just checked. There are no Package.fpc files anywhere in my units directory ? grrrrr, time to speak with the maintainer me thinks :P

I suppose you would highly reccomend installing FPC from the sources now wouldn't you ? :)

cheers
James

Show quoted text 22 lines
I don't understand why it says: Error: Target "linux", package "rtl" not found Could you show me an example Makefile.fpc ? cheers James > > I don't have a debian machine at work so i can't test what is installed by > the fp-units-rtl package > > > > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email