Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 35570
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Ryan Phillips (RETIRED) <rphillips@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: William Blew <wblew@shaw.ca>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
2.2.6-configure.in.patch configure.in patch that resolves this defect's described issue patch William Blew 2003-12-10 20:42 0000 239 bytes Details | Diff
unixODBC-2.2.6-r1.ebuild an example unixODBC-2.2.6-r1.ebuild that patches configure.in text/plain William Blew 2003-12-10 20:44 0000 1.57 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 35570 depends on: Show dependency tree
Bug 35570 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-12-10 20:40 0000
The local autoconf macros used by unixODBC 2.2.6 include QT configuration
macros.

However, those QT macros are dependent on the AC_PATH_X autoconf macro (that
locates the X include and library directories).

Without this configure.in macro, the --enable-gui (enabled by 'use qt') will
fail to configure unixODBC-2.2.6 due to its failure to locate the X includes.

Reproducible: Always
Steps to Reproduce:
1. export use="qt"
2. emerge dev-db/unixODBC-2.2.6
Actual Results:  
...
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for X... configure: error: Can't find X includes. Please check your
installation and add the correct paths!

!!! ERROR: dev-db/unixODBC-2.2.6 failed.
!!! Function src_compile, Line 32, Exitcode 1
!!! (no error message)

Expected Results:  
...
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for X... libraries /usr/X11R6/lib, headers
checking for egrep... grep -E
...

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.23)
=================================================================
System uname: 2.4.23 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.4.3.10p1
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -mfpmath=sse,387 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs ccache keepwork"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://gentoo.seren.com/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://ftp.easynet.nl/mirror/gentoo/ ftp://gentoo.noved.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 oss avi crypt cups encode foomaticdb gif gtk2 jpeg libg++ mad mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm
berkdb slang readline arts tetex aalib bonobo svga tcltk java guile mysql X sdl
gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif
opengl mozilla cdr 3dnow acpi acpi4linux apache2 artswrappersuid cscope dvd
evms2 evo innodb maildir mmx moznocompose moznoirc moznomail mozsvg odbc php
samba skey sse type1 usb vim-with-x X509 xchattext xml -apm -mikmod"

------- Comment #1 From William Blew 2003-12-10 20:42:42 0000 -------
Created an attachment (id=22015) [details]
configure.in patch that resolves this defect's described issue

I am using this patch via a local unixODBC-2.2.6-r1 ebuild to address this
issue on my primary workstation.

------- Comment #2 From William Blew 2003-12-10 20:44:24 0000 -------
Created an attachment (id=22016) [details]
an example unixODBC-2.2.6-r1.ebuild that patches configure.in

This is the ebuild I prepared that patches unixODBC-2.2.6 to address its
failure to configure X when its --enable-gui (via use 'qt') is configured.

------- Comment #3 From Ryan Phillips (RETIRED) 2004-02-10 21:19:22 0000 -------
committed

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug