seit kurzem habe ich ein ziemlich eigenartiges Problem mit dem kompilieren von Apache2, sowohl in der Version 2.0.59 als auch bei 2.2.3... ich glaube dieses Problem existiert seit ich die komplette Serverhardware gewechselt habe... allerdings habe ich seitdem den Server 2 mal neu installiert, leider ohne Erfolg... das Problem bleibt bestehen. Das komische ist dass der Fehler nicht etwa immer der gleiche ist, sondern anscheinend willkürlich wechselt. Ein Beispiel mit Apache 2.0.59 :
Code: Select all
$ ./configure
$ make
...
gcc: cannot specify -o with -c or -S and multiple compilations
make[4]: *** [seek.lo] Error 1
make[4]: Leaving directory `/home/lucas/httpd-2.0.59/srclib/apr/file_io/unix'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/lucas/httpd-2.0.59/srclib/apr/file_io/unix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lucas/httpd-2.0.59/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lucas/httpd-2.0.59/srclib'
make: *** [all-recursive] Error 1
$ make clean
...
$ make
...
libtool: compile: cannot determine name of library object from `'
make[4]: *** [apr_strmatch.lo] Error 1
make[4]: Leaving directory `/home/lucas/httpd-2.0.59/srclib/apr-util/strmatch'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/lucas/httpd-2.0.59/srclib/apr-util/strmatch'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lucas/httpd-2.0.59/srclib/apr-util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lucas/httpd-2.0.59/srclib'
make: *** [all-recursive] Error 1
$
Code: Select all
$ ./configure
$ make
...
copying selected object files to avoid basename conflicts...
ln: `file_io/unix/': hard link not allowed for directory
cp: omitting directory `file_io/unix/'
ln: `file_io/unix/': hard link not allowed for directory
cp: omitting directory `file_io/unix/'
ar: .libs/libapr-1.lax/lt1-: No such file or directory
make[3]: *** [libapr-1.la] Error 1
make[3]: Leaving directory `/home/lucas/httpd-2.2.3/srclib/apr'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lucas/httpd-2.2.3/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lucas/httpd-2.2.3/srclib'
make: *** [all-recursive] Error 1
$ make clean
$ make
...
gcc: cannot specify -o with -c or -S and multiple compilations
make[3]: *** [user/unix/userinfo.lo] Error 1
make[3]: Leaving directory `/home/lucas/httpd-2.2.3/srclib/apr'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lucas/httpd-2.2.3/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lucas/httpd-2.2.3/srclib'
make: *** [all-recursive] Error 1
$
Brauch auf jedenfall dringend Hilfe...!!!
MfG
x3ro
PS: Eine kleine Korrektur: ich erhalte ähnliche Fehler auch beim kompilieren von PHP (hab ich mal testweise gemacht):
Code: Select all
$ ./configure
...
$ make
...
gcc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.
make: *** [ext/standard/sha1.lo] Error 1
$ make
...
libtool: link: `ext/pdo_sqlite/sqlite/src/trigger.lo' is not a valid libtool object
make: *** [sapi/cgi/php] Error 1
$