[fpc-devel] Problems with makefiles, fpcmake, Package.fpc and fppkg

Joost van der Sluis joost at cnoc.nl
Sun Sep 12 21:49:20 CEST 2010


Hi all,

Seems like that after all these years there are still bugs in fpc's
makefiles...

When you install a package, not the Package.fpc which is generated for
the whole package, but the Package.fpc generated for the last
sub-package is installed into
xxx/<version>/units/<target>/<packagename>.

Normally not really a problem, but fppkg uses these files to resolve
dependencies. But the dependencies of the sub-package could be different
from the dependencies of the main package.

Example: when you do 'make install' in fcl-web, a Package.fpc will be
installed without the dependency on fcl-db. (In fact a Package.fpc made
for jsonrpc is installed, which doesn't depend on fcl-db)

The result is that if you have fcl-web installed using fpcmake, and you
want to install some other package using fpmake that depends on fcl-web,
that will fail.

Shall I submit a bug-report for fpcmake with a request to use the proper
Package.fpc file?

Joost.






More information about the fpc-devel mailing list