Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107758 - xca-0.5.1 does not compile with more than one db4 version installed
Summary: xca-0.5.1 does not compile with more than one db4 version installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2005-09-30 23:59 UTC by James Sinclair
Modified: 2006-10-04 21:53 UTC (History)
1 user (show)

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


Attachments
Patch to configure file to make it work (xca-configure-db-fix.patch,1014 bytes, patch)
2005-10-01 00:01 UTC, James Sinclair
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Sinclair 2005-09-30 23:59:04 UTC
xca-0.5.1 uses it's own little, quirky configure script. There is a patch included to make configure find a 
db4 headers correctly, but it's broken if more than one version of db4 is installed - i.e. /usr/include/
db4.1/ and /usr/include/db4.2



Reproducible: Always
Steps to Reproduce:
1.  Install db4.1 and db4.2 together. You should have /usr/include/db4.1 and /usr/include/db4.2 
directories now.
2. Emerge xca
3.

Actual Results:  
During emerge configure step blows up

Expected Results:  
xca compiles

Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.12-gentoo-
r9 i686)
===============================================================
==
System uname: 2.6.12-gentoo-r9 i686 Pentium II (Deschutes)
Gentoo Base System version 1.6.13
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.3-r1
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
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/libtool:   1.4.3-r4, 1.5.18-r1
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/
kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d aim alsa apache2 apm arts avi berkdb bitmap-fonts bzlib cdr crypt cups curl eds 
emboss fam font-server foomaticdb fortran gd gdbm gif gpm gstreamer gtk gtk2 guile hardenedphp 
imagemagick imap imlib ipv6 jpeg kde kdeenablefinal libg++ libwww lirc mad mikmod mmap mmx 
motif mp3 mpeg msn mysql ncurses nls offensive ogg opengl oscar pam pcre pdflib perl php png pnp 
posix python qt quicktime readline sdl shared spell ssl tcpd tiff truetype truetype-fonts type1-fonts 
unicode usb vorbis xml xml-rpc xml2 xv yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 James Sinclair 2005-10-01 00:01:21 UTC
Created attachment 69607 [details, diff]
Patch to configure file to make it work

This patch fixes the problem, but it also makes xca compile against the oldest
version of db4 installed. I'm not sure if that's a problem, but if so then this
should at least be a starting point for a better fix.
Comment 2 Per Pomsel 2006-05-31 23:15:13 UTC
Please fix this in portage!
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-20 07:38:27 UTC
Haven't this been fixed using configure-db.patch?
Comment 4 Daniel Black (RETIRED) gentoo-dev 2006-09-22 16:13:55 UTC
thanks - please reopen if there are any problems/