LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 10-17-2008, 05:02 PM   #1
moonfrog
Member
 
Registered: Oct 2008
Location: San Diego County, CA
Distribution: LFS, Gentoo
Posts: 64

Rep: Reputation: 23
(SVN)- arts-3.5.9 fails to build with glibc-2.8


edit-Sorry that's arts-1.5.9

Bumped my head against this for a while.

Installed smoothly after applying this patch =
http://sources.gentoo.org/viewcvs.py...v=1.1&view=log

Last edited by moonfrog; 10-17-2008 at 07:32 PM.
 
Old 10-26-2008, 12:16 AM   #2
moonfrog
Member
 
Registered: Oct 2008
Location: San Diego County, CA
Distribution: LFS, Gentoo
Posts: 64

Original Poster
Rep: Reputation: 23
But wait...there's more.

dbus-1.0.2 (or 1.0.3) wouldn't make, but dbus_1.2.1 did.
hal-0.5.9.1 wouldn't make, but hal_0.5.11 did.
kdebase-3.5.9 wouldn't make until I deleted kdesu from the source tree.
cdrdao-1.2.2 , dvd+rw-tools-7.0 , libcdio-0.80 , libmad-0.15.1b ,
and vcdimager-0.7.23 won't make.

When I go into the source tree I find the files that errored with a "T" added to the extension,
if I rename them by hand and try again I get other (different) errors every time.

akode-2.0.2 won't make and here's a result of the failure,
it's very similar to all the rest.

Code:
auto_sink.cpp: In member function 'virtual bool aKode::AutoSink::open()':
auto_sink.cpp:67: error: 'getenv' was not declared in this scope
make[4]: *** [auto_sink.lo] Error 1
make[4]: Leaving directory `/home/perry/src/blfs/mm/akode-2.0.2/akode/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/perry/src/blfs/mm/akode-2.0.2/akode/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/perry/src/blfs/mm/akode-2.0.2/akode'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/perry/src/blfs/mm/akode-2.0.2'
make: *** [all] Error 2

Here's a result of the failure of arts-1.5.9 without the patch I posted about.


Code:
mcoputils.cc:367: error: 'PATH_MAX' was not declared in this scope
mcoputils.cc:368: error: 'tmp_prefix' was not declared in this scope
make[3]: *** [mcoputils.lo] Error 1
make[3]: Leaving directory `/home/perry/src/blfs/kde/arts-1.5.9/mcop'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/perry/src/blfs/kde/arts-1.5.9/mcop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/perry/src/blfs/kde/arts-1.5.9'
make: *** [all] Error 2

The page with the patch blamed an interaction with glibc 2.8, and I never had these problems with glibc 2.7.
I built svn-20081006, svn-20081015 (twice), and svn-20081020, all had glibc 2.8 and all had the same problems.

I've tried loading up on extra c libraries but it made no difference, my knowledge of compiling is slim.
Is there a way I could install glibc 2.7 to /opt and use it selectively?
Since newer packages are ok with it, it seems like a backwards compatability issue.
Maybe there's a backwards compatability feature of glibc 2.8 that I'm missing?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KFTPGrabber svn checked out build fails Marinus Debian 0 01-12-2008 10:30 PM
glibc fails to build pauledwards03 Linux - Software 5 10-31-2007 11:16 PM
Glibc-2.3.6 build issue ---- wordexp.o not build Dhana_pal Linux - Software 0 12-27-2006 01:56 AM
Compiling glibc-2.3.5 or glibc 2.3.5-r1 on Gentoo fails ghrellin Linux - Software 2 07-19-2005 01:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration