Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138115 - alsa-lib-1.0.11 fails to configure looking for /lib/cpp
Summary: alsa-lib-1.0.11 fails to configure looking for /lib/cpp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-26 14:38 UTC by Andrew Gaffney (RETIRED)
Modified: 2006-06-26 16:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Gaffney (RETIRED) gentoo-dev 2006-06-26 14:38:54 UTC
In my livecd-stage2 catalyst build for the x86 install CD, alsa-lib (pulled in be slmodem) fails to configure because it cannot find /lib/cpp. It cannot find /lib/cpp because it doesn't exist, because the toolchain in the chroot was built with USE=nocxx. AFAIK, alsa-lib does not need a C++ compiler, so it doesn't make much sense for it to check for one.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-26 14:49:23 UTC
CPP != CXX

CPP = C Pre Processor
CXX = C++ Compiler

If /lib/cpp is missing, your installation media is h0sed.
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2006-06-26 15:18:48 UTC
An excerpt from the build log:

checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

I can attach the config.log if needed
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-26 15:22:10 UTC
This changes the problem completely, let me test, I should have it.
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2006-06-26 16:30:13 UTC
Flameeyes, your fix to the ebuilds worked perfectly. Thanks!