public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Can't emerge apache
@ 2008-01-19  3:28 Mike Diehl
  2008-01-19 10:12 ` Roman Zilka
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Mike Diehl @ 2008-01-19  3:28 UTC (permalink / raw
  To: gentoo-user

Hi all,

I'm building a new machine and I'm having trouble getting apache to emerge.

This is a BRAND NEW BOX, with nothing else done to it, so I expected apache to 
load just fine.

Here is the error message I'm getting.  Any help would be appreciated.
Mike.

-------------------------------------------------------------------------------------------------------

g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtbeginS.o: No such file or 
directory
g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtendS.o: No such file or directory
make[1]: *** [libapr-1.la] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/dev-libs/apr-1.2.11/work/apr-1.2.11'
make: *** [all-recursive] Error 1
 *
 * ERROR: dev-libs/apr-1.2.11 failed.
 * Call stack:
 *           ebuild.sh, line 1701:  Called dyn_compile
 *           ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *           ebuild.sh, line   44:  Called src_compile
 *   apr-1.2.11.ebuild, line   68:  Called die
 * The specific snippet of code:
 *      emake || die "Make failed"
 *  The die message:
 *   Make failed
 *
 * If you need support, post the topmost build error, and the call stack if 
relevant.
 * A complete build log is located 
at '/var/tmp/portage/dev-libs/apr-1.2.11/temp/build.log'.
 *

 * Messages for package dev-libs/apr-1.2.11:

 *
 * ERROR: dev-libs/apr-1.2.11 failed.
 * Call stack:
 *           ebuild.sh, line 1701:  Called dyn_compile
 *           ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *           ebuild.sh, line   44:  Called src_compile
 *   apr-1.2.11.ebuild, line   68:  Called die
 * The specific snippet of code:
 *      emake || die "Make failed"
 *  The die message:
 *   Make failed
 *
 * If you need support, post the topmost build error, and the call stack if 
relevant.
 * A complete build log is located 
at '/var/tmp/portage/dev-libs/apr-1.2.11/temp/build.log'.

-- 
Mike Diehl
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Can't emerge apache
  2008-01-19  3:28 [gentoo-user] Can't emerge apache Mike Diehl
@ 2008-01-19 10:12 ` Roman Zilka
  2008-01-20  0:18   ` Mike Diehl
  2008-01-19 10:20 ` Alan McKinnon
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Roman Zilka @ 2008-01-19 10:12 UTC (permalink / raw
  To: gentoo-user

Hi Mike!

> g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtbeginS.o: No such file or 
> directory
> g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtendS.o: No such file or directory

i486 - this is kinda weird for a brand new box. What's does your
'emerge --info' look like? Maybe you've got a wrong CHOST set up. What
does 'ls /usr/lib/gcc/*/*/crt*S.o' report (just to be sure)? Are you
able to emerge any other packages?

-rz
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Can't emerge apache
  2008-01-19  3:28 [gentoo-user] Can't emerge apache Mike Diehl
  2008-01-19 10:12 ` Roman Zilka
@ 2008-01-19 10:20 ` Alan McKinnon
  2008-01-19 14:21 ` Kevin
  2008-01-26 23:14 ` Mike Diehl
  3 siblings, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2008-01-19 10:20 UTC (permalink / raw
  To: gentoo-user

On Saturday 19 January 2008, Mike Diehl wrote:
> Hi all,
>
> I'm building a new machine and I'm having trouble getting apache to
> emerge.
>
> This is a BRAND NEW BOX, with nothing else done to it, so I expected
> apache to load just fine.
>
> Here is the error message I'm getting.  Any help would be
> appreciated. Mike.
>
> ---------------------------------------------------------------------
>----------------------------------
>
> g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtbeginS.o: No such file
> or directory

The equivalent file here (i686-pc-linux-gnu/4.2.2/) was installed by gcc

What settings are you using for gcc? And any special reason you have an 
i486 compiler?

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Can't emerge apache
  2008-01-19  3:28 [gentoo-user] Can't emerge apache Mike Diehl
  2008-01-19 10:12 ` Roman Zilka
  2008-01-19 10:20 ` Alan McKinnon
@ 2008-01-19 14:21 ` Kevin
  2008-01-26 23:14 ` Mike Diehl
  3 siblings, 0 replies; 7+ messages in thread
From: Kevin @ 2008-01-19 14:21 UTC (permalink / raw
  To: gentoo-user

Mike Diehl wrote:
> Hi all,
> 
> I'm building a new machine and I'm having trouble getting apache to emerge.
> 
> This is a BRAND NEW BOX, with nothing else done to it, so I expected apache to 
> load just fine.
> 
> Here is the error message I'm getting.  Any help would be appreciated.
> Mike.
> 
> -------------------------------------------------------------------------------------------------------
> 
> g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtbeginS.o: No such file or 
> directory
> g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtendS.o: No such file or directory
> make[1]: *** [libapr-1.la] Error 1
g'.
> 

Mike, also post the output of "gcc-config -l" (along with emerge --info
that was previously recommended).  I would really fix the 486 compiler
issue before proceeding any further with your new box.
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Can't emerge apache
  2008-01-19 10:12 ` Roman Zilka
@ 2008-01-20  0:18   ` Mike Diehl
  2008-01-20  8:09     ` Alan McKinnon
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Diehl @ 2008-01-20  0:18 UTC (permalink / raw
  To: gentoo-user

On Saturday 19 January 2008 03:12:23 am Roman Zilka wrote:
> Hi Mike!
>
> > g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtbeginS.o: No such file or
> > directory
> > g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtendS.o: No such file or
> > directory
>
> i486 - this is kinda weird for a brand new box.

Ya, very weird.  Here is what I've got in /etc/make.conf:
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j2"

USE="-acl -cups -dri -fortran -gpm -iconv -ipv6 -isdnlog -midi -mudflap -nls
     -openmp -pppd -reflection -session -tcpd -truetype-fonts -type1-fonts
     -unicode -xorg"

Seems rational to me.  The box is going to be a stripped-down server.

> What's does your 
> 'emerge --info' look like? 
> Maybe you've got a wrong CHOST set up. What 
> does 'ls /usr/lib/gcc/*/*/crt*S.o' report (just to be sure)? Are you
> able to emerge any other packages?
>
> -rz

 # gcc-config  -l
 [1] i686-pc-linux-gnu-4.1.2 *

# ls /usr/lib/gcc/*/*/crt*S.o
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/crtbeginS.o  /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/crtendS.o
  
It almost seems like it might be easier to start over....  What do you think?

-- 
Mike Diehl
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Can't emerge apache
  2008-01-20  0:18   ` Mike Diehl
@ 2008-01-20  8:09     ` Alan McKinnon
  0 siblings, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2008-01-20  8:09 UTC (permalink / raw
  To: gentoo-user

On Sunday 20 January 2008, Mike Diehl wrote:
> On Saturday 19 January 2008 03:12:23 am Roman Zilka wrote:
> > Hi Mike!
> >
> > > g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtbeginS.o: No such
> > > file or directory
> > > g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtendS.o: No such file
> > > or directory
> >
> > i486 - this is kinda weird for a brand new box.
>
> Ya, very weird.  Here is what I've got in /etc/make.conf:
> CHOST="i686-pc-linux-gnu"
> MAKEOPTS="-j2"

Did you install from a stage3? You probably have not rebuilt gcc then.

> USE="-acl -cups -dri -fortran -gpm -iconv -ipv6 -isdnlog -midi
> -mudflap -nls -openmp -pppd -reflection -session -tcpd
> -truetype-fonts -type1-fonts -unicode -xorg"
>
> Seems rational to me.  The box is going to be a stripped-down server.
>
> > What's does your
> > 'emerge --info' look like?
> > Maybe you've got a wrong CHOST set up. What
> > does 'ls /usr/lib/gcc/*/*/crt*S.o' report (just to be sure)? Are
> > you able to emerge any other packages?
> >
> > -rz
>
>  # gcc-config  -l
>  [1] i686-pc-linux-gnu-4.1.2 *
>
> # ls /usr/lib/gcc/*/*/crt*S.o
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/crtbeginS.o 
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/crtendS.o
>
> It almost seems like it might be easier to start over....  What do
> you think?

No, that will probably just land you up in exactly the same position. 
This isn't Windows where reinstalls produce random different results 
every time :-)

Somehow apr is confused about which version of gcc you have. Rebuild 
your tool chain and try again.


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Can't emerge apache
  2008-01-19  3:28 [gentoo-user] Can't emerge apache Mike Diehl
                   ` (2 preceding siblings ...)
  2008-01-19 14:21 ` Kevin
@ 2008-01-26 23:14 ` Mike Diehl
  3 siblings, 0 replies; 7+ messages in thread
From: Mike Diehl @ 2008-01-26 23:14 UTC (permalink / raw
  To: gentoo-user

Since I hadn't made much progress on the problem, I started over and it worked 
like a champ.  Moral of the story: don't let your friend start an 
installation that you have to finish....

Thanx all,

Mike.

On Friday 18 January 2008 08:28:42 pm Mike Diehl wrote:
> Hi all,
>
> I'm building a new machine and I'm having trouble getting apache to emerge.
>
> This is a BRAND NEW BOX, with nothing else done to it, so I expected apache
> to load just fine.
>
> Here is the error message I'm getting.  Any help would be appreciated.
> Mike.
>
> ---------------------------------------------------------------------------
>----------------------------
>
> g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtbeginS.o: No such file or
> directory
> g++: /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/crtendS.o: No such file or
> directory make[1]: *** [libapr-1.la] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/dev-libs/apr-1.2.11/work/apr-1.2.11'
> make: *** [all-recursive] Error 1
>  *
>  * ERROR: dev-libs/apr-1.2.11 failed.
>  * Call stack:
>  *           ebuild.sh, line 1701:  Called dyn_compile
>  *           ebuild.sh, line 1039:  Called qa_call 'src_compile'
>  *           ebuild.sh, line   44:  Called src_compile
>  *   apr-1.2.11.ebuild, line   68:  Called die
>  * The specific snippet of code:
>  *      emake || die "Make failed"
>  *  The die message:
>  *   Make failed
>  *
>  * If you need support, post the topmost build error, and the call stack if
> relevant.
>  * A complete build log is located
> at '/var/tmp/portage/dev-libs/apr-1.2.11/temp/build.log'.
>  *
>
>  * Messages for package dev-libs/apr-1.2.11:
>
>  *
>  * ERROR: dev-libs/apr-1.2.11 failed.
>  * Call stack:
>  *           ebuild.sh, line 1701:  Called dyn_compile
>  *           ebuild.sh, line 1039:  Called qa_call 'src_compile'
>  *           ebuild.sh, line   44:  Called src_compile
>  *   apr-1.2.11.ebuild, line   68:  Called die
>  * The specific snippet of code:
>  *      emake || die "Make failed"
>  *  The die message:
>  *   Make failed
>  *
>  * If you need support, post the topmost build error, and the call stack if
> relevant.
>  * A complete build log is located
> at '/var/tmp/portage/dev-libs/apr-1.2.11/temp/build.log'.
>
> --
> Mike Diehl



-- 
Mike Diehl
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-01-26 23:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-19  3:28 [gentoo-user] Can't emerge apache Mike Diehl
2008-01-19 10:12 ` Roman Zilka
2008-01-20  0:18   ` Mike Diehl
2008-01-20  8:09     ` Alan McKinnon
2008-01-19 10:20 ` Alan McKinnon
2008-01-19 14:21 ` Kevin
2008-01-26 23:14 ` Mike Diehl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox