Page 1 of 1

apache compile problems

Posted: Wed Jun 22, 2005 8:18 am
by nerrad
Hi people i'm trying to install:
  • mysql-4.0.24
    samba 3.0.10
    Apache 2.0.52-r1
    PHP 4.3.10
    mod_php 4.3.10
on gentoox pro v2.0 with the mimium amount of extras needed using this guide viewtopic.php?t=1423&postdays=0&postord ... ic&start=0

I have got as far as compling part of mysql but i always get presented with the following:

make[2]: *** [my_lib.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -DDEFAULT_CHARSET_HOME=\"/usr\" -DDATADIR=\"/var/lib/mysql\" -DSHAREDIR=\"/usr/share/mysql\" -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -march=pentium3 -O2 -fomit-frame-pointer -pipe -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS -MT strmov.lo -MD -MP -MF .deps/strmov.Tpo -c strmov.c -o strmov.o >/dev/null 2>&1
make[2]: Leaving directory `/var/tmp/portage/mysql-4.0.24/work/mysql-4.0.24/libmysql_r'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-4.0.24/work/mysql-4.0.24'
make: *** [all] Error 2

!!! ERROR: dev-db/mysql-4.0.24 failed.
!!! Function src_compile, Line 195, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.
Any ideas??


Thanks in advanced


Darren

Posted: Wed Jun 22, 2005 2:58 pm
by clpalmer
You didn't post the text before the first error, so it's hard to see what caused it. Do you really need the features from 4.0.24 or can you just emerge it and get 4.0.22-r2?

Posted: Wed Jun 22, 2005 7:04 pm
by nerrad
ok i have now tried to simplify things for myself i have installed gentoox home (doesnt realy simply things lol for some reason i thought it may) and i have just tried doing one thing at a time i tried to install apache after i had emerge sync i then "emerge apache mod_php php" and i got another error i have include as much as i can of the log maybe it will help?
config.status: creating include/ap_config_auto.h
config.status: executing default commands
Making all in srclib
make[1]: Entering directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54 /srclib'
Making all in apr
make[2]: Entering directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54 /srclib/apr'
Making all in strings
make[3]: Entering directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54 /srclib/apr/strings'
make[4]: Entering directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54 /srclib/apr/strings'
/bin/sh /var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/srclib/apr/libtool - -silent --mode=compile i686-pc-linux-gnu-gcc -pthread -march=pentium3 -O2 -fomi t-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I../include -I../include/arch/uni x -c apr_cpystrn.c && touch apr_cpystrn.lo
/bin/sh /var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/srclib/apr/libtool - -silent --mode=compile i686-pc-linux-gnu-gcc -pthread -march=pentium3 -O2 -fomi t-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I../include -I../include/arch/uni x -c apr_snprintf.c && touch apr_snprintf.lo
/bin/sh /var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/srclib/apr/libtool - -silent --mode=compile i686-pc-linux-gnu-gcc -pthread -march=pentium3 -O2 -fomi t-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I../include -I../include/arch/uni x -c apr_strnatcmp.c && touch apr_strnatcmp.lo
/bin/sh /var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/srclib/apr/libtool - -silent --mode=compile i686-pc-linux-gnu-gcc -pthread -march=pentium3 -O2 -fomi t-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I../include -I../include/arch/uni x -c apr_strings.c && touch apr_strings.lo
/bin/sh /var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/srclib/apr/libtool - -silent --mode=compile i686-pc-linux-gnu-gcc -pthread -march=pentium3 -O2 -fomi t-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I../include -I../include/arch/uni x -c apr_fnmatch.c && touch apr_fnmatch.lo
/bin/sh /var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/srclib/apr/libtool - -silent --mode=compile i686-pc-linux-gnu-gcc -pthread -march=pentium3 -O2 -fomi t-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I../include -I../include/arch/uni x -c apr_strtok.c && touch apr_strtok.lo
make[4]: Leaving directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/ srclib/apr/strings'
make[3]: Leaving directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/ srclib/apr/strings'
Making all in passwd
make[3]: Entering directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54 /srclib/apr/passwd'
make[4]: Entering directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54 /srclib/apr/passwd'
/bin/sh /var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/srclib/apr/libtool - -silent --mode=compile i686-pc-linux-gnu-gcc -pthread -march=pentium3 -O2 -fomi t-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I../include -I../include/arch/uni x -c apr_getpass.c && touch apr_getpass.lo
make[4]: Leaving directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/ srclib/apr/passwd'
make[3]: Leaving directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/ srclib/apr/passwd'
Making all in tables
make[3]: Entering directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54 /srclib/apr/tables'
make[4]: Entering directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54 /srclib/apr/tables'
/bin/sh /var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/srclib/apr/libtool - -silent --mode=compile i686-pc-linux-gnu-gcc -pthread -march=pentium3 -O2 -fomi t-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I../include -I../include/arch/uni x -c apr_tables.c && touch apr_tables.lo
/bin/sh /var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/srclib/apr/libtool - -silent --mode=compile i686-pc-linux-gnu-gcc -pthread -march=pentium3 -O2 -fomi t-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I../include -I../include/arch/uni x -c apr_hash.c && touch apr_hash.lo
make[4]: Leaving directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/ srclib/apr/tables'
make[3]: Leaving directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/ srclib/apr/tables'
Making all in file_io/unix
make[3]: Entering directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54 /srclib/apr/file_io/unix'
make[4]: Entering directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54 /srclib/apr/file_io/unix'
/bin/sh /var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/srclib/apr/libtool - -silent --mode=compile i686-pc-linux-gnu-gcc -pthread -march=pentium3 -O2 -fomi t-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I../../include -I../../include/ar ch/unix -I../../include/arch/unix -c copy.c && touch copy.lo
/bin/sh /var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/srclib/apr/libtool - -silent --mode=compile i686-pc-linux-gnu-gcc -pthread -march=pentium3 -O2 -fomi t-frame-pointer -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I../../include -I../../include/ar ch/unix -I../../include/arch/unix -c dir.c && touch dir.lo
i686-pc-linux-gnu-gcc: cannot specify -o with -c or -S and multiple compilations
make[4]: *** [copy.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/ srclib/apr/file_io/unix'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/ srclib/apr/file_io/unix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/ srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/apache-2.0.54-r7/work/httpd-2.0.54/ srclib'
make: *** [all-recursive] Error 1

!!! ERROR: net-www/apache-2.0.54-r7 failed.
!!! Function src_compile, Line 194, Exitcode 2
!!! problem compiling Apache2 :(
!!! If you need support, post the topmost build error, NOT this status message.

Please help !!

Darren

Me to...

Posted: Fri Jun 24, 2005 11:09 am
by chrisb
I got the excact same problem...

Anyone?

Posted: Fri Jun 24, 2005 11:48 pm
by orochi
what are your USE flags?

Posted: Sat Jun 25, 2005 12:49 am
by vplayer
hi

try to emerge sync once more...

hmmm..

Posted: Sat Jun 25, 2005 7:26 pm
by chrisb
My Use flag:

USE="-sdl -ipv6 X gtk -gnome kde mmx alsa aalib dvd gpm mpeg oggvorbis perl png qt quicktime samba sse truetype usb xmms"

And I have tryed to run Emerge Sync

Posted: Mon Jun 27, 2005 12:57 am
by masterdave
yea same problem here :(