Re: apache13-ssl compiler problem

From: Oliver Fromme <olli(at)lurza.secnetix.de>
Date: Mon, 1 Aug 2005 12:48:51 +0200 (CEST)

J. Erik Heinz <list(at)jerik.de> wrote:
> ich versuche apache13-ssl über die ports zu installieren.

Gibt es dafür einen speziellen Grund? Im allgemeinen würde
ich empfehlen, besser den Port apache13_modssl zu verwenden,
nicht apache13_ssl.

> Jedoch renne ich immer in den gleichen fehler (passiert
> auch bei einer "nur" apache installation)

Ich habe gerade erst vor ein paar Tagen einen Apache aus
den Ports installiert (ein apache13_modssl, unter 4-stable)
und hatte dabei keinerlei Probleme.
 
> [...]
> cc -c -I../os/unix -I../include -I/usr/include
> -DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCATION=\"/usr/local/www/data/\"
> -DDEFAULT_PATH=\"/bin:/usr/bin:/usr/local/bin\" -funsigned-char
> -DTARGET=\"httpsd\" -DUSE_EXPAT -I../lib/expat-lite -DAPACHE_SSL -O
> -pipe -I/usr/include/openssl -DNO_IDEA `../apaci` -DAPACHE_SSL
> alloc.c
> In file included from ../include/ap_config.h:34,
> from ../include/httpd.h:34,
> from alloc.c:23:
> ../include/ap_config_auto.h:25:15: warning: extra tokens at end of
> #ifdef directive
> ../include/ap_config_auto.h:30:14: warning: extra tokens at end of
> #ifndef directive
> ../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace
> after the macro name
> [...]

Sowas deutet eigentlich auf einen der folgenden Fälle hin:
 - Irgendwas Ungewöhnliches in /etc/make.conf.
 - Irgendwas Ungewöhnliches in `env`.
 - Kaputte Dateien unter /usr/include.

Ich würde empfehlen, mal alles Unnötige aus /etc/make.conf
zu löschen (am besten alles, wenn möglich), und ebenso alle
unnötigen Variablen aus dem Environment zu löschen -- am
besten alles außer so grundlegenden Dingen wie PATH, HOME,
USER, LOGNAME.

Dann »make clean« und nochmal ganz von vorn anfangen.

Gruß
   Olli

-- 
Oliver Fromme,  secnetix GmbH & Co KG, Marktplatz 29, 85567 Grafing
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
Passwords are like underwear.  You don't share them,
you don't hang them on your monitor or under your keyboard,
you don't email them, or put them on a web site,
and you must change them very often.
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 01 Aug 2005 - 12:49:50 CEST

search this site