Page 1 of 1

Wo finde ich mein Apache Include dir bei Debian?

Posted: 2003-12-19 14:30
by bodo
Hallo,

weiß jemand wo ich mein Apache include directory beim Debian Apache finden kann? Weil wenn ich den Resin bauen will findet das configscript nix.

Code: Select all

configure: error: Can't find Apache include directory /usr/include
Ich habe als Parameter beim Aufruf folgendes angehängt:

Code: Select all

./configure --with-apache=/etc/apache 
--with-apache-include=/usr/include 
--with-apache-libexec=/usr/lib/apache/1.3/ 
--with-apache-conf=/etc/apache

Re: Wo finde ich mein Apache Include dir bei Debian?

Posted: 2003-12-19 15:33
by captaincrunch
Gegenfrage: apache-devel installiert?

Re: Wo finde ich mein Apache Include dir bei Debian?

Posted: 2003-12-19 15:37
by bodo
öhm nö ;) gleich mal probieren

Re: Wo finde ich mein Apache Include dir bei Debian?

Posted: 2003-12-19 15:42
by bodo
Hm, hab das apache-devel grad mal installiert, aber er findet es trotzdem leider noch immer nicht.

Sind die folgenden Pfade denn so an sich prinzipiel OK?

Code: Select all

./configure --with-apache=/etc/apache/ 
--with-apache-include=/usr/include/ 
--with-apache-libexec=/usr/lib/apache/1.3/ 
--with-apache-conf=/etc/apache/
Beschreibung:

Code: Select all

--with-apache=DIR  the Apache root directory
--with-apache-include=DIR  the Apache include directory
--with-apache-libexec=DIR  the Apache module directory
--with-apache-conf=DIR  the Apache configuration

Re: Wo finde ich mein Apache Include dir bei Debian?

Posted: 2003-12-19 16:32
by bodo
Hm, also irgendwie frag ich mich ja was das Include directory überhaupt sein soll.
Ich hab mal im Apache Web-Server Buch von Lars Eilbrecht geschaut, und dort habe ich gefunden, das dieses Include directory teilweise von zusätzlichen Programmen verwendet wird um Daten abzulegen â?¦.

grmpf warum hat der Debian Apache kein apxs :( dann wär das alles blitz schnell geregelt.

Re: Wo finde ich mein Apache Include dir bei Debian?

Posted: 2003-12-19 16:41
by darkspirit
"locate httpd.h" "locate apxs".

Re: Wo finde ich mein Apache Include dir bei Debian?

Posted: 2003-12-19 17:02
by bodo
Ok, danke,

Code: Select all

find / -name httpd.h
war erfolgreich, aber jetzt meckert er wegen des Apache bin dirs:

Code: Select all

configure: error: Can't find Apache bin directory /usr/sbin
Ich habe die Optionen nochmal angepasst:

Code: Select all

./configure --with-apache=/usr 
--with-apache-include=/usr/include/apache-1.3/ 
--with-apache-libexec=/usr/lib/apache/1.3/ 
--with-apache-conf=/etc/apache/
Der hängt halt an die --with-apache Option noch bin dran und schaut dort scheinbar nach den Apache binaries, bei mir sind die im /usr/sbin Ordner (sagt whereis) aber er findet trotzdem nix .... hm :oops: was mach ich falsch?

Re: Wo finde ich mein Apache Include dir bei Debian?

Posted: 2003-12-19 17:32
by bodo
Mit freude hab ich grad festgestellt das apxs sich ja auch mit installiert hat beim apt-get install apache-devel, jedoch klapts dadurch leider auch nicht besser der bleibt immer noch beim /usr/sbin hängen.

Re: Wo finde ich mein Apache Include dir bei Debian?

Posted: 2003-12-19 18:45
by bodo
Jaaaaa ich habs:

Code: Select all

./configure -with-apache-include=/usr/include/apache-1.3/ 
-with-apache-libexec=/usr/lib/apache/1.3/ 
--with-apache-conf=/etc/apache/httpd.conf
Mfg,
Bodo