Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132261 - jabberd-2.0s11 won't compile with MySQL static
Summary: jabberd-2.0s11 won't compile with MySQL static
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gustavo Felisberto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-04 08:06 UTC by Denis Kot
Modified: 2006-05-22 03:44 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 Denis Kot 2006-05-04 08:06:08 UTC
# emerge --info
Portage 2203-svn (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Celeron (Coppermine)
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS=" -march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
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/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=" -march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://mirror.datapipe.net/gentoo ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.mirror.icd.hu/ http://gentoo.inode.at/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acl activefilter apache2 apm audiofile bash-completion berkdb bitmap-fonts bzip2 candy cap cgi chroot clamav cli crypt curl dedicated dri eds emboss expat extensions fastcgi fortran gd gdbm geoip gif gmp gpm gstreamer idn imap imlib innodb isdnlog jabber jpeg libg++ libwww maildir max-idx-128 mhash mp3 mppe-m mysql ncurses nls notlsbeforeauth nptl ogg pam pcre pear-db perl php pic png postgres pppd python quotas radius readline reflection samba sasl sdl session shaper slang snmp softquota spell spl sse ssl tcpd truetype truetype-fonts type1-fonts udev utf8 vda vhosts virus-scan vorbis xchatnogtk xchattext xml xml2 xorg zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Denis Kot 2006-05-04 08:07:00 UTC
checking mysql.h usability... no
checking mysql.h presence... no
checking for mysql.h... no
checking for mysql.h in /usr/include/mysql... yes
checking for mysql_init in -lmysqlclient... no
configure: error: MySQL client libraries not found

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/jabberd-2.0.11/work/jabberd-2.0s11/config.log

!!! ERROR: net-im/jabberd-2.0.11 failed.
!!! Function econf, Line 495, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

Comment 2 Denis Kot 2006-05-04 08:23:01 UTC
version of MySQL is 5.0.19-r1
Comment 3 Denis Kot 2006-05-22 03:44:41 UTC
adding LDFLAGS="-L/usr/local/lib -L/usr/lib/mysql" before "emerge -uDv jabberd" fix my problem