Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56312 - exim compile fails on ppc
Summary: exim compile fails on ppc
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-07 03:16 UTC by Thomas Stein
Modified: 2005-01-08 03:50 UTC (History)
0 users

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 Thomas Stein 2004-07-07 03:16:54 UTC
Hello

I have problems with emerging exim on ppc. This is what i get.

gcc -c -O3 -mcpu=604 -pipe  -o exim_dbmbuild.o exim_dbmbuild.c
gcc -o exim_dbmbuild  exim_dbmbuild.o \
  -lnsl -lcrypt -lpam -lwrap -ldb
exim_dbmbuild.o(.text+0x39c): In function `main':
: undefined reference to `db_create'
collect2: ld returned 1 exit status
make[1]: *** [exim_dbmbuild] Error 1
make[1]: Leaving directory `/var/tmp/portage/exim-4.34-r1/work/exim-4.34/build-exim-gentoo'
make: *** [go] Error 2

!!! ERROR: mail-mta/exim-4.34-r1 failed.
!!! Function src_compile, Line 177, Exitcode 2
!!! make failed


thomas@sancho thomas $ emerge info
Portage 2.0.50-r8 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r8)
=================================================================
System uname: 2.6.7-gentoo-r8 ppc 604r
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=604 -pipe"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=604 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="berkdb cups dvd esd foomaticdb gd-external gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libwww mitshm motif mozilla nls oggvorbis opengl oss pam perl png ppc python readline sdl slang ssl tcpd truetype xv"

regards
Thomas

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2004-07-09 11:56:30 UTC
That looks like it does not find -ldb. It built fine on my machine (~ppc).

Please try with reemerging sys-libs/db, running env-update, source /etc/profile and emerging exim again.
Comment 2 Thomas Stein 2004-07-09 14:49:05 UTC
Hello

I did reemerging of sys-libs/db and this solved the problem. Thanks.

Thomas
Comment 3 Lars Weiler (RETIRED) gentoo-dev 2004-10-31 13:19:52 UTC
Forgot to change the state of this bug.
Comment 4 Colin Morey (RETIRED) gentoo-dev 2005-01-08 03:36:13 UTC
Has this been fixed? if so, can someone close it, Ta.
Comment 5 Lars Weiler (RETIRED) gentoo-dev 2005-01-08 03:50:12 UTC
Appearently.  I don't have problems with exim on ppc.