PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Apache Kompelierung



Elegua
13.08.03, 19:48
Hallo! :)

Zuerst:
Ja, ich habe bereits gegoogelt und auch hier im Forum gesucht und leider nichts gefunden.

Ich möchte auf meiner SuSE8.2 einen Apache kompelieren.
Auf SuSE8.1 ging das auch noch wunderbar jedoch fangen nun meine Probleme an.

Selbst ein ganz einfaches configure schafft der Apache nicht mehr:

peterpa@nbpeter:~/Documents/apache_1.3.28> ./configure
Configuring for Apache, Version 1.3.28
+ Warning: Configuring Apache with default settings.
+ This is probably not what you really want.
+ Please read the README.configure and INSTALL files
+ first or at least run './configure --help' for
+ a compact summary of available options.
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ using "tr [a-z] [A-Z]" to uppercase
+ checking for system header files
+ adding selected modules
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

======== Error Output for sanity check ========
cd ..; gcc -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -o helpers/dummy helpers/dummy.c -lm
============= End of Error Report =============

Aborting!

Ich habe diese Fehlermeldung noch nie gehabt,
okay ich habe es auch noch nie auf SuSE8.2 installiert. ;)


Mir sagt diese Fehlermeldung auch nicht besonders viel.

Hat jemand einen Tipp?

Berufspenner
13.08.03, 20:42
Hi

Hast du schon mal versucht einen Compiler zu installieren? Installier mal GCC mit Yast.

Cu
André

Elegua
13.08.03, 20:50
Ist schon lange drauf!
;)


gcc -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)

PigPen|tuX
13.08.03, 23:26
huhu,

vielleicht ist dein Suse bissel durch dem Wind, da gcc laut deiner Aussage installiert ist.

aber Berufspenner kann ich dennoch zustimmen ->


+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.


da steht es eindeutig, er findet keinen ANSI C Compiler

see you
thom

PS: wenn nich gib im configure doch deinen Pfad zum gcc an

boSen
14.08.03, 10:34
guten morgen !

hab ungefähr das gleich problem ( glaube ich *gg* )
will auch, zwar unter suse 8.1, apache ( 2.0.47 ) kompilieren.

bei einem configure gibt er mir das aus :

checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i586-pc-linux-gnulibc1
checking host system type... i586-pc-linux-gnulibc1
checking target system type... i586-pc-linux-gnulibc1

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i586-pc-linux-gnulibc1
checking host system type... i586-pc-linux-gnulibc1
checking target system type... i586-pc-linux-gnulibc1
Configuring APR library
Platform: i586-pc-linux-gnulibc1
checking for working mkdir -p... yes
APR Version: 0.9.4
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output... configure failed for srclib/apr

hab gcc 2.95.3 installiert, oder hab ich irgendwas anderes wichtiges vergessen zu installieren ?

kompiliere apache zum erstenmal ...
also wenn jemand n tipp hat würde ich mich sehr freuen

bO

Elegua
14.08.03, 16:16
Ich HABS gefunden!!!

Ich wollte in einem Verzeichnis kompilieren das mehrere Space " " sowie einen Punkt hatte:

~/Mein neues Apache-HOWTO/

Und das mochte weder das configure vom Apache weder proftpd.


Wissen muß man es.