Wo finde ich mein Apache Include dir bei Debian?

Apache, Lighttpd, nginx, Cherokee
Post Reply
bodo
Posts: 99
Joined: 2002-12-29 11:55
Location: Nürnberg
 

Wo finde ich mein Apache Include dir bei Debian?

Post 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
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

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

Post by captaincrunch »

Gegenfrage: apache-devel installiert?
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
bodo
Posts: 99
Joined: 2002-12-29 11:55
Location: Nürnberg
 

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

Post by bodo »

öhm nö ;) gleich mal probieren
bodo
Posts: 99
Joined: 2002-12-29 11:55
Location: Nürnberg
 

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

Post 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
bodo
Posts: 99
Joined: 2002-12-29 11:55
Location: Nürnberg
 

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

Post 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.
darkspirit
Posts: 553
Joined: 2002-10-05 16:39
Location: D'dorf
Contact:
 

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

Post by darkspirit »

"locate httpd.h" "locate apxs".
bodo
Posts: 99
Joined: 2002-12-29 11:55
Location: Nürnberg
 

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

Post 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?
bodo
Posts: 99
Joined: 2002-12-29 11:55
Location: Nürnberg
 

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

Post 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.
bodo
Posts: 99
Joined: 2002-12-29 11:55
Location: Nürnberg
 

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

Post 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
Post Reply