| Summary: | ERROR: sys-libs/db-4.3.29-r2 failed / something to do with java | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Lee <curtlee2002> |
| Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Lee
2007-01-16 21:07:14 UTC
> See `config.log' for more details.
Attach the log and reopen then.
(In reply to comment #1) > > See `config.log' for more details. > > Attach the log and reopen then. > I can't find config.log. Slocate turns up nothing even after updating the database. I can't find config.log And we can't guess. the problem is comfigure seems not to find the correct compiler
it checks for *-cc but with current gcc and gcc-config versions there's no *-cc installed, so configure should detect gcc
checking for i686-pc-linux-gnu-cc... i686-pc-linux-gnu-cc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
i found two possible solutions, whether to define the CC=gcc variable when emergeing sys-libs/db or i.e. in /usr/local/bin create a cc script that redirects the cc calls to gcc:
fry /usr/lib # cat /usr/local/bin/cc
#!/bin/bash
gcc "${@}"
You have a stale symlink to i686-pc-linux-gnu-cc in /usr/lib/distcc/bin which shouldn't exist; delete it. |