Page 1 of 1

problem beim apache compilieren (suse 9.1, 64 bit)

Posted: 2004-08-21 21:05
by picard666
Hallo,

ich habe ein problem beim apache compilieren. Ich benutze ein Suse 9.1 (64bit) auf einem 64 Bit Athlon (gcc 3.3.3)

folgende Optionen:

Code: Select all

./configure --prefix=/usr/local/lamp/apache/2.0.50 --with-mpm=worker --enable-so --enable-mods-shared=most --sysconfdir=/etc/apache
beim make kommt ziemlich zu anfang:

Code: Select all

/bin/sh /usr/local/lamp/src/httpd-2.0.50/srclib/apr/libtool --silent --mode=compile g++ -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT   -I../include -I../include/arch/unix  -c apr_cpystrn.c && touch apr_cpystrn.lo
apr_cpystrn.c: In function `apr_status_t apr_tokenize_to_argv(const char*,
   char***, apr_pool_t*)':
apr_cpystrn.c:167: error: invalid conversion from `void*' to `char**'
apr_cpystrn.c:175: error: invalid conversion from `void*' to `char*'
make[4]: *** [apr_cpystrn.lo] Error 1
make[4]: Leaving directory `/usr/local/lamp/src/httpd-2.0.50/srclib/apr/strings'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/lamp/src/httpd-2.0.50/srclib/apr/strings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/lamp/src/httpd-2.0.50/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/lamp/src/httpd-2.0.50/srclib'
make: *** [all-recursive] Error 1
Weiß jemand wo der Fehler liegen könnte bzw. gibt es eventl. Probleme apache mit 64 bit zu kompilieren?

Im Vorraus schon Vielen Dank!


mfg
Kevin

Re: problem beim apache compilieren (suse 9.1, 64 bit)

Posted: 2004-08-21 21:38
by Joe User

Re: problem beim apache compilieren (suse 9.1, 64 bit)

Posted: 2004-08-22 03:59
by oxygen
Da der Fehler in der APR Lib liegt, könntest mal die aktuelle Version ausm CVS ziehen, ungefähr so (ungetestet):

Code: Select all

$ cd /usr/local/lamp/src/httpd-2.0.50/srclib
$ CVSROOT=:pserver:anoncvs@cvs.apache.org:/home/cvspublic
$ export CVSROOT
$ cvs login
  (Logging in to anoncvs@cvs.apache.org:/home/cvspublic)
  CVS password: anoncvs
$ cvs update -dP .

Re: problem beim apache compilieren (suse 9.1, 64 bit)

Posted: 2004-08-22 11:46
by picard666
Hallo,

hab den "Fehler" gefunden. ganz blöd. hatte nach ändern der Compilereinstellungen make clean vergessen!

sorry, aber trotzdem vielen Dank für die Antworten!

Grüße
Kevin