[kde-freebsd] libiodbc build failure @ "configure" cmd

Dima Panov fluffy at fluffy.khv.ru
Fri Jul 23 16:19:53 CEST 2010


On Saturday 24 July 2010 00:22:00 claudiu vasadi wrote:
> Hello fellas,
> 
> 
> This is what I got when building "libiodbc":
> 
> 
> [root at mainserver.serveftp.org /usr/ports/textproc/soprano]# make
> ===> soprano-2.4.3 depends on file: /usr/local/lib/qt4/libQtCore.so - found
> ===> soprano-2.4.3 depends on file: /usr/local/lib/qt4/libQtDBus.so - found
> ===> soprano-2.4.3 depends on file: /usr/local/bin/moc-qt4 - found
> ===> soprano-2.4.3 depends on file: /usr/local/lib/qt4/libQtNetwork.so -
> found
> ===> soprano-2.4.3 depends on file: /usr/local/bin/qmake-qt4 - found
> ===> soprano-2.4.3 depends on file: /usr/local/lib/qt4/libQtTest.so - found
> ===> soprano-2.4.3 depends on file: /usr/local/bin/rcc - found
> ===> soprano-2.4.3 depends on file: /usr/local/bin/uic-qt4 - found
> ===> soprano-2.4.3 depends on executable: pkg-config - found
> ===> soprano-2.4.3 depends on file: /usr/local/bin/cmake - found
> ===> soprano-2.4.3 depends on shared library: clucene.0 - found
> ===> soprano-2.4.3 depends on shared library: raptor.3 - found
> ===> soprano-2.4.3 depends on shared library: rdf.0 - found
> ===> soprano-2.4.3 depends on shared library: iodbc.3 - not found
> ===> Verifying install for iodbc.3 in /usr/ports/databases/libiodbc
> ===> libiodbc-3.52.7 depends on executable: gmake - found
> ===> libiodbc-3.52.7 depends on package: libtool>=2.2 - found
> ===> libiodbc-3.52.7 depends on executable: pkg-config - found
> ===> Configuring for libiodbc-3.52.7
> checking for a BSD-compatible install... /usr/bin/install -c -o root -g
> wheel
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether gmake sets $(MAKE)... yes
> checking build system type... i386-portbld-freebsd8.0
> checking host system type... i386-portbld-freebsd8.0
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking cached information... ok
> creating config.nice
> checking for iODBC installation layout... default
> checking for gcc... cc
> checking for C compiler default output file name...
> configure: error: in `/usr/ports/databases/libiodbc/work/libiodbc-3.52.7':
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> ===> Script "configure" failed unexpectedly.
> Please report the problem to kde at FreeBSD.org [maintainer] and attach the
> "/usr/ports/databases/libiodbc/work/libiodbc-3.52.7/config.log" including
> the
> output of the failure of your make command. Also, it might be a good idea to
> provide an overview of all packages installed on your system (e.g. an `ls
> /var/db/pkg`).
> *** Error code 1
> 
> Stop in /usr/ports/databases/libiodbc.
> *** Error code 1
> 
> Stop in /usr/ports/textproc/soprano.
> *** Error code 1
> 
> Stop in /usr/ports/textproc/soprano.
> [root at mainserver.serveftp.org /usr/ports/textproc/soprano]#
> 

Please take a look at those lines at config.log

configure:3246: checking for C compiler default output file name
configure:3268: cc -O2 -pipe -fno-strict-aliasing  -D_BSD_WCHAR_T_DEFINED_ -pthread conftest.c  >&5
/usr/lib/libpthread.so: undefined reference to `__pselect'


Freshly upgraded system? 
You need to rebuild all packages, which depends on pthreads due to namespace changing.
This problem with pthread after upgrading was discussed some times in mailing lists in last weeks


-- 
Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
Khabarovsk, Russia          | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
KDE at FreeBSD Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
Twitter: fluffy_khv | Skype: dima.panov | Jabber.[org|ru]/GTalk/QIP: fluffy.khv


More information about the kde-freebsd mailing list