Sign in Join

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

Mailing lists / fpc-devel / 2009-02

fpc.cfg and apache-modules

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Joost van der Sluis

Hi all,

The fpc.cfg file contains a section with some defines to choose which apache units should be used.

But they are pointless, because the paths for all the different apache-versions are included in the -Fu lines below the mentioned section in fpc.cfg.

I've fixed this issue by moving the apache-section below the general -Fu-section. Because it seems that the compiler searches the given -Fu lines backwards.

I don't know if the compiler always searches the provided paths backwards, but if it does, it can be solved by changing the default fpc.cfg (samplecfg) so that the apache-section is below the general Fu-section...

Joost.

Reply by email

Jonas Maebe
to Joost van der Sluis
Joost van der Sluis wrote 6 lines
I've fixed this issue by moving the apache-section below the general -Fu-section. Because it seems that the compiler searches the given -Fu lines backwards. I don't know if the compiler always searches the provided paths backwards,

It does. Otherwise it would be impossible to override default search paths.

Jonas

Reply by email

Joost van der Sluis
to Jonas Maebe

Op donderdag 26-02-2009 om 21:02 uur [tijdzone +0100], schreef Jonas Maebe:

Show quoted text 5 lines
> I don't know if the compiler always searches the provided paths > backwards, It does. Otherwise it would be impossible to override default search paths.

That's what I thought. But then this did never work?

I'll commit a patch.

Joost.

Reply by email

ABorka
to Joost van der Sluis

So when someone compiles the FPC from SVN, which httpd and apr sources will be used for /packages/fcl-web/src/fpapache.pp ? There are httpd13 httpd20 and httpd22 directories with some identical unit names (httpd, apr) that are used in fpapache.pp .

Joost van der Sluis wrote 18 lines
Op donderdag 26-02-2009 om 21:02 uur [tijdzone +0100], schreef Jonas Maebe: >> I don't know if the compiler always searches the provided paths >> backwards, > It does. Otherwise it would be impossible to override default search > paths. That's what I thought. But then this did never work? I'll commit a patch. Joost. _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Jonas Maebe
to ABorka
ABorka wrote
So when someone compiles the FPC from SVN, which httpd and apr sources will be used for /packages/fcl-web/src/fpapache.pp ?

The one from httpd22. You can see this in packages/fcl-web/Makefile.fpc:

[require]
packages=fcl-base fcl-xml fcl-db fcl-process httpd22

Jonas

Reply by email