apache compile problems

A place to ask all newbie questions and not get flamed, though you will get beaten down if you post a newbieish question outside of these walls.
Post Reply
nerrad
Newbie
Posts: 4
Joined: Wed Jun 22, 2005 8:08 am

apache compile problems

Post 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
Last edited by nerrad on Wed Jun 22, 2005 7:05 pm, edited 1 time in total.
clpalmer
Power user
Posts: 288
Joined: Sat Jan 29, 2005 6:38 pm

Post 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?
nerrad
Newbie
Posts: 4
Joined: Wed Jun 22, 2005 8:08 am

Post 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
chrisb
Novice
Posts: 30
Joined: Wed Jun 08, 2005 7:24 pm
Location: Denmark

Me to...

Post by chrisb »

I got the excact same problem...

Anyone?
// ChrisB

Xboxes??? Gone Mac and gadget freak...
new Cellphone every month...
orochi
Gentoox Guru!
Posts: 606
Joined: Sun Oct 24, 2004 8:11 am

Post by orochi »

what are your USE flags?
vplayer
1337
Posts: 442
Joined: Thu Oct 07, 2004 11:06 pm
Location: USA

Post by vplayer »

hi

try to emerge sync once more...
Box: XBOX ver 1.1
Mod: Xecutor 2.3 lite+
Hdd: WD 80GB
Dash: Evox, Ava, XBMC
Linux: Gentoox Pro 4.2
chrisb
Novice
Posts: 30
Joined: Wed Jun 08, 2005 7:24 pm
Location: Denmark

hmmm..

Post 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
// ChrisB

Xboxes??? Gone Mac and gadget freak...
new Cellphone every month...
masterdave
Newbie
Posts: 1
Joined: Mon Jun 27, 2005 12:55 am

Post by masterdave »

yea same problem here :(
Post Reply