According to the conversation with the unixODBC development team, there is a new version of this software 2.2.12. It has to be aded to the ebuilds. Reproducible: Always Steps to Reproduce: 1. 2. 3.
This is a result of the install I tried to see if it's working: ./configure finished up without any problems. make gave me following: >I was just trying to install the unixODBC-2.2.12., but run into the problem. >The ./configure part ran without any problems. However when I isued 'make' command, I got following: igor@IgorsGentoo ~/unixODBC/build $ make cd .. && /bin/sh /home/igor/unixODBC/missing --run aclocal-1.9 /usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/pth.m4:55: warning: underquoted definition of _AC_PTH_VERBOSE /usr/share/aclocal/pth.m4:61: warning: underquoted definition of AC_CHECK_PTH cd .. && /bin/sh /home/igor/unixODBC/missing --run automake-1.9 --gnu cd .. && /bin/sh /home/igor/unixODBC/missing --run autoconf /bin/sh ./config.status --recheck running /bin/sh ../configure --enable-ltdl-convenience --no-create --no- recursion checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gawk... (cached) gawk checking for bison... bison -y checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking Have we enabled using RTLD_GROUP ... yes checking build system type... i586-pc-linux-gnu checking host system type... i586-pc-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by gcc... /usr/i586-pc-linux-gnu/bin/ld checking if the linker (/usr/i586-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i586-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking for correct ltmain.sh version... no *** Gentoo sanity check failed! *** *** libtool.m4 and ltmain.sh have a version mismatch! *** *** (libtool.m4 = 1.5.18, ltmain.sh = 1.5.20) *** Please run: libtoolize --copy --force if appropriate, please contact the maintainer of this package (or your distribution) for help. make: *** [config.status] Error 1
Also, according to the conversation with the unixODBC dev team this should fix the bug 102689.
This is my 'emerge --info': Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12-gentoo-r6 i586) ================================================================= System uname: 2.6.12-gentoo-r6 i586 AMD-K6(tm) 3D processor Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-Os -mcpu=i586 -march=k6 -pipe" CHOST="i586-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="-Os -mcpu=i586 -march=k6 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks noclean sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/" LINGUAS="ru" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl eds emboss encode fam foomaticdb gdbm gif gpm gstreamer gtk2 imagemagick imlib informix ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg mssql mysql ncurses nls odbc ogg oggvorbis oss pam pdflib perl png python qt quicktime readline samba sdl spell ssl sybase tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis wxwindows x86 xml2 xmms xv zlib linguas_ru userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS Trying to run the command suggested gave the following: igor@IgorsGentoo ~/unixODBC/build $ libtoolize --copy --force libtoolize: `configure.ac' does not exist Try `libtoolize --help' for more information.
Created attachment 76923 [details] unixODBC-2.2.12.ebuild This ebuild is for unixODBC-2.2.12. It is tweaked from the ebuild for 2.2.11, the differences being: - SRC_URI has been changed, since 2.2.12 seems to be only found on ftp.easysoft.com instead of from www.unixodbc.org. - the patch to configure.in is not necessary with 2.2.12
BTW, the 2.2.12 that the ebuild picks up is snapshot and not an official release... but it seems to work. YMMV.
According to Nick Gorham, developer and maintainer of unixODBC, the official 2.2.12 release will be in about a week or two...
Well, this build seems not to work on systems where qt4 is installed (I tried on 2). It stucks in the configuration phase: [...] checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes configure: checking for Qt configure: Checking dir /usr/qt/3/include configure: Checking dir /usr/include/qt4 configure: Checking dir /usr/X11R6/include/qt4 checking for Qt headers... /usr/X11R6/include/qt4 configure: Found Qt version 040100 checking for Qt libraries... (here it waits indefinitely - I let ot a whole night to check).
#7: Can you post relevant info for the config.log? Thank you.
It works when adding "--with-qt-dir=/usr/qt/3 --with-qt-includes=/usr/qt/3/include --with-qt-libraries=/usr/qt/3/lib --with-qt-programs=/usr/qt/3/bin" to myconf in the ebuild. But... no idea how to have the ebuild do that cleanly.
Created attachment 86593 [details] configuration log I did not find anything relevant, but here it is anyway.
Damn. The compilation fails. Could this be also qt4 related? i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"unixODBC\" -DVERSION=\"2.2.12\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_SEM_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_LIBCRYPT=1 -DHAVE_READLINE_HISTORY_H=1 -DHAVE_READLINE=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_TIME_H=1 -DSIZEOF_LONG=4 -DHAVE_LONG_LONG=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DHAVE_VSNPRINTF=1 -DHAVE_STRTOL=1 -DHAVE_ATOLL=1 -DHAVE_STRTOLL=1 -DHAVE_ENDPWENT=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LOCALTIME_R=1 -DHAVE_FTOK=1 -DHAVE_SEMGET=1 -DHAVE_SHMGET=1 -DHAVE_SEMOP=1 -DHAVE_SNPRINTF=1 -DNEED_SEMUNDO_UNION=1 -DCOLLECT_STATS=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PWD_H=1 -DHAVE_CRYPT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRING_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_SEM_H=1 -DHAVE_STDARG_H=1 -DHAVE_DIRENT_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_VPRINTF=1 -DHAVE_PUTENV=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_STRCHR=1 -DUNIXODBC_SOURCE=1 -I. -I. -I../include -I/usr/qt/3/include -DSYSTEM_FILE_PATH=\"/etc/unixODBC\" -DDEFLIB_PATH=\"/usr/lib\" -I../libltdl -O2 -fomit-frame-pointer -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -fexpensive-optimizations -falign-functions=4 -mmmx -msse -msse2 -mfpmath=sse,387 -march=pentium4 -mcpu=pentium4 -MT mCAbout.lo -MD -MP -MF .deps/mCAbout.Tpo -c mCAbout.cpp -fPIC -DPIC -o .libs/mCAbout.o mCAbout.cpp:12:2: #error "The header file 'CAbout.h' doesn't include <QObject>." mCAbout.cpp:47: error: `const QMetaObject CAboutDiagram::staticMetaObject' is not a static member of `class CAboutDiagram' mCAbout.cpp:47: error: variable `const QMetaObject CAboutDiagram::staticMetaObject' has initializer but incomplete type mCAbout.cpp:53: error: prototype for `const QMetaObject* CAboutDiagram::metaObject() const' does not match any in class ` CAboutDiagram' CAbout.h:29: error: candidate is: virtual QMetaObject* CAboutDiagram::metaObject() const mCAbout.cpp:53: error: `const QMetaObject* CAboutDiagram::metaObject() const' and `virtual QMetaObject* CAboutDiagram::metaObject() const' cannot be overloaded mCAbout.cpp: In member function `const QMetaObject* CAboutDiagram::metaObject() const': mCAbout.cpp:54: error: cannot convert `QMetaObject*(*)()' to `const QMetaObject*' in return mCAbout.cpp: At global scope: mCAbout.cpp:58: error: no `void* CAboutDiagram::qt_metacast(const char*)' member function declared in class `CAboutDiagram' mCAbout.cpp: In member function `void* CAboutDiagram::qt_metacast(const char*) ': mCAbout.cpp:62: error: 'class QWidget' has no member named 'qt_metacast' mCAbout.cpp: At global scope: mCAbout.cpp:65: error: incomplete type `QMetaObject' does not have member `Call ' mCAbout.cpp:65: error: syntax error before `,' token mCAbout.cpp:66: error: no `int CAboutDiagram::qt_metacall(...)' member function declared in class `CAboutDiagram' mCAbout.cpp: In member function `int CAboutDiagram::qt_metacall(...)': mCAbout.cpp:67: error: `_id' undeclared (first use this function) mCAbout.cpp:67: error: (Each undeclared identifier is reported only once for each function it appears in.) mCAbout.cpp:67: error: `_c' undeclared (first use this function) mCAbout.cpp:67: error: `_a' undeclared (first use this function) mCAbout.cpp:67: error: 'class QWidget' has no member named 'qt_metacall' mCAbout.cpp:70: error: incomplete type `QMetaObject' does not have member ` InvokeMetaMethod' mCAbout.cpp: At global scope: mCAbout.cpp:84: error: `const uint CAboutDiagram::qt_meta_data_CAbout[]' is not a static member of `class CAboutDiagram' mCAbout.cpp:100: error: `const char CAboutDiagram::qt_meta_stringdata_CAbout[]' is not a static member of `class CAboutDiagram' mCAbout.cpp:104: error: cannot declare member `CAbout::staticMetaObject' within `CAboutDiagram' mCAbout.cpp:105: error: `qt_meta_stringdata_CAbout' was not declared in this scope mCAbout.cpp:106: error: `qt_meta_data_CAbout' was not declared in this scope mCAbout.cpp:107: error: assignment (not initialization) in declaration mCAbout.cpp:110: error: cannot declare member function `CAbout::metaObject' within `CAboutDiagram' mCAbout.cpp:110: error: syntax error before `{' token mCAbout.cpp:115: error: cannot declare member function `CAbout::qt_metacast' within `CAboutDiagram' mCAbout.cpp:115: error: syntax error before `{' token mCAbout.cpp:122: error: incomplete type `QMetaObject' does not have member ` Call' mCAbout.cpp:122: error: syntax error before `,' token mCAbout.cpp:123: error: cannot declare member function `CAbout::qt_metacall' within `CAboutDiagram' mCAbout.cpp:123: error: syntax error before `{' token mCAbout.cpp:131: error: syntax error before `-=' token make[1]: *** [mCAbout.lo] Error 1 make[1]: Leaving directory `/Archives/Portage-temp/portage/unixODBC-2.2.12/work/unixODBC-2.2.12/odbcinstQ' make: *** [all-recursive] Error 1 !!! ERROR: dev-db/unixODBC-2.2.12 failed. !!! Function src_compile, Line 57, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
emerging with "USE=-qt emerge unixODBC" fails with the gnome USE flag set: make[1]: Leaving directory `/var/tmp/portage/unixODBC-2.2.12/work/unixODBC-2.2.12/samples' make[1]: Entering directory `/var/tmp/portage/unixODBC-2.2.12/work/unixODBC-2.2.12' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/var/tmp/portage/unixODBC-2.2.12/work/unixODBC-2.2.12' /usr/portage/dev-db/unixODBC/unixODBC-2.2.12.ebuild: line 66: ./configure: No such file or directory !!! ERROR: dev-db/unixODBC-2.2.12 failed. Call stack: ebuild.sh, line 1521: Called dyn_compile ebuild.sh, line 924: Called src_compile unixODBC-2.2.12.ebuild, line 71: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. The 'configure' script is missing in gODBCConfig/ Perhaps replace autoconf || die "autotools failed" with autoconf && \ cd gODBCConfig && \ autoconf || die "autotools failed" at line 34? (not yet tested, I just restarted the emerge)
Well, I confirm that the emerge fails when qt4 is installed (I removed it and it works). And my suggestion for gnome doesn't work. I emerged it with USE=-gnome.
Hey guys, The file named unixODBC-2.2.12.tar.gz this ebuild needs to fetch seems to be unavailable. The most similar file I found while browsing easysoft ftp server was located here: ftp://ftp.easysoft.com/pub/unixODBC/unixODBC-2.2.12pre.tar.gz Would this file also work? Should I use it? Why hasn't the final 2.2.12 version been released yet? Thanks in advance, Nuno.
Problem is 2.2.12 is not released yet. Nick Gorham (developer for unixODBC) renamed the file as a pre-released version. The actual release is coming very soon!!!
I have finally put a release 2.2.12 on the ftp server and web site. I will try and do some package builds to put up on sourceforge over the weekend. This is from the Nick Gorham, maintainer of unixODBC. Please advice. Thank you.
any news when these version will be available in portage?
Created attachment 107643 [details, diff] configure.in patch Added version check to qt check.
Created attachment 107644 [details, diff] qt.m4 For search in right Order.
Created attachment 107647 [details, diff] gODBCConfig-Makefile.am
Created attachment 107648 [details] gODBCConfig-configure.in
Created attachment 107649 [details, diff] gODBCConfig-odbcconfig.c
Created attachment 107651 [details, diff] gODBCConfig-support.c
Created attachment 107652 [details, diff] gODBCConfig-support.h
Created attachment 107653 [details, diff] qt.m4
Created attachment 107654 [details] unixODBC-2.2.12.ebuild Please test it.
Created attachment 107691 [details, diff] gODBCConfig-configure.in Now, gODBCConfig doesn't crash on start.
Created attachment 107710 [details, diff] Fix Widgets positon. This patch will fix the widget's position.
(In reply to comment #26) > Created an attachment (id=107654) [edit] > unixODBC-2.2.12.ebuild > > Please test it. > It works for me on ~x86. Compiles without any problem, but i tested it only on console without graphical frontend.
does not work with -Wl,--as-needed /bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -DORBIT2=1 -pthread -D_REENTRANT -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/libxml2 -Wl,--as-needed -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-keyring -lxml2 -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lbonobo-2 -lgnomevfs-2 -lbonobo-activation -lgconf-2 -lgobject-2.0 -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0 -o gODBCConfig main.o -L/var/tmp/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/lib -lodbcinst libgtkodbcconfig.la ../../odbcinst/libodbcinst.la ../../ini/libinilc.la i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -DORBIT2=1 -pthread -D_REENTRANT -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/libxml2 -Wl,--as-needed -pthread -o .libs/gODBCConfig main.o -L/usr/lib -L/var/tmp/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/lib /var/tmp/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/lib/.libs/libodbcinst.so ./.libs/libgtkodbcconfig.so /usr/lib/libgnomeui-2.so /usr/lib/libjpeg.so /usr/lib/libbonoboui-2.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libgnome-keyring.so /usr/lib/libgnomecanvas-2.so /usr/lib/libXext.so /usr/lib/libexpat.so /usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/libaudiofile.so /usr/lib/libasound.so /usr/lib/libart_lgpl_2.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfreetype.so /usr/lib/libfontconfig.so /usr/lib/libdirectfb.so /usr/lib/libfusion.so /usr/lib/libdirect.so /usr/lib/libpng12.so /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so /usr/lib/libbonobo-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libxml2.so -lz /usr/lib/libdbus-glib-1.so -lnsl /usr/lib/libdbus-1.so -lssl -lcrypto /usr/lib/libavahi-glib.so /usr/lib/libavahi-common.so /usr/lib/libavahi-client.so -lresolv -lutil /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libgconf-2.so /usr/lib/libpopt.so /usr/lib/libORBit-2.so /usr/lib/libgobject-2.0.so -lm /usr/lib/libgmodule-2.0.so /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so ../../odbcinst/.libs/libodbcinst.so -ldl ../../ini/.libs/libinilc.a -lpthread ./.libs/libgtkodbcconfig.so: undefined reference to `odbcinst_system_file_path' ./.libs/libgtkodbcconfig.so: undefined reference to `ODBCINSTDestructProperties' ./.libs/libgtkodbcconfig.so: undefined reference to `SQLWritePrivateProfileString' ./.libs/libgtkodbcconfig.so: undefined reference to `SQLSetConfigMode' ./.libs/libgtkodbcconfig.so: undefined reference to `ODBCINSTConstructProperties' ./.libs/libgtkodbcconfig.so: undefined reference to `SQLGetPrivateProfileString' ./.libs/libgtkodbcconfig.so: undefined reference to `SQLConfigDataSource' collect2: ld returned 1 exit status
Created attachment 113555 [details] gODBCConfig now compiling without --as-needed If someone realy need this flag, read this first http://www.gentoo.org/proj/en/qa/asneeded.xml Now filtering, while compiling gODBCConfig.
(In reply to comment #31) > If someone realy need this flag, read this first > http://www.gentoo.org/proj/en/qa/asneeded.xml Erm, don't do such things like filter-ldflags -Wl,--as-needed --as-needed; it's not a valid solution for anything but binutils bugs (which is no longer the case).
Hi, I just tried to install unixODBC-2.2.12. I downloaded the ebuild by David Sommers and all the patches from Attila Fazekas (configure.in, qt.m4 - latest, gODBCConfig-Makefile.am, gODBCConfig-support.c, gODBCConfig-support.h, gODBCConfig-configure.in, Fix WIdgets position). Here is the results: IgorsGentooOnNetwork unixODBC # ebuild unixODBC-2.2.12.ebuild digest >>> Downloading 'http://gentoo.osuosl.org/distfiles/unixODBC-2.2.12.tar.gz' --11:32:36-- http://gentoo.osuosl.org/distfiles/unixODBC-2.2.12.tar.gz => `/usr/portage/distfiles/unixODBC-2.2.12.tar.gz' Resolving gentoo.osuosl.org... 140.211.166.134 Connecting to gentoo.osuosl.org|140.211.166.134|:80... connected. HTTP request sent, awaiting response... 404 Not Found 11:32:36 ERROR 404: Not Found. No digest file available and download failed. >>> Downloading 'ftp://ftp.easysoft.com/pub/unixODBC/unixODBC-2.2.12.tar.gz' --11:32:36-- ftp://ftp.easysoft.com/pub/unixODBC/unixODBC-2.2.12.tar.gz => `/usr/portage/distfiles/unixODBC-2.2.12.tar.gz' Resolving ftp.easysoft.com... 213.249.238.4 Connecting to ftp.easysoft.com|213.249.238.4|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/unixODBC ... done. ==> PASV ... done. ==> RETR unixODBC-2.2.12.tar.gz ... done. Length: 2,798,077 (2.7M) (unauthoritative) 100%[=================================================================================>] 2,798,077 78.14K/s ETA 00:00 11:33:09 (93.02 KB/s) - `/usr/portage/distfiles/unixODBC-2.2.12.tar.gz' saved [2798077] >>> Creating Manifest for /usr/local/portage/dev-db/unixODBC IgorsGentooOnNetwork unixODBC # nano -w /etc/portage/package.keywords -- Unmasked the ebuild since it is ~x86 now... IgorsGentooOnNetwork unixODBC # emerge -pv =unixODBC-2.2.12 These are the packages that would be merged, in order: Calculating dependencies / emerge: there are no ebuilds to satisfy "gnome-base/gnome-libs". (dependency required by "dev-db/unixODBC-2.2.12" [ebuild]) IgorsGentooOnNetwork unixODBC # The search for the gnome-libs return 0 packets. What do I do? Thank you.
Fixed in 2.2.12 in the tree now, thanks for all the patches Attila!
hi! Today I try to emerge it but it doesn't install with gnome flag. I type # USE="-gnome" unixODBC And it emerges correctly
(In reply to comment #35) > hi! > Today I try to emerge it but it doesn't install with gnome flag. I type > # USE="-gnome" unixODBC > And it emerges correctly Marco, What error message did you get? I have it working on my GOME installation... Thank you.