Date: Thu, 2 Apr 2009 06:39:07 +0200 From: Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net> To: freebsd-questions@freebsd.org Cc: manish jain <invalid.pointer@gmail.com> Subject: Re: guile-1.8.6 build core dumps (autoconf issue ?) Message-ID: <200904020639.07556.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> In-Reply-To: <cb0fa7b70904011801l4589840ct9beb18d3a76812a2@mail.gmail.com> References: <49D1B51C.6090404@gmail.com> <200903311959.18747.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> <cb0fa7b70904011801l4589840ct9beb18d3a76812a2@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 02 April 2009 03:01:53 manish jain wrote: > Hi Mel, > > Sorry, I was away for work. > > Here is what I think you want : > > /usr/ports/lang/guile # make -C /usr/ports/lang/guile -V CONFIGURE_ENV > -V CONFIGURE_ARGS > CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" > SHELL=/bin/sh CONFIG_SHELL=/bin/sh MAKE=gmake > AUTOCONF=/usr/local/bin/autoconf-2.62 > AUTOHEADER=/usr/local/bin/autoheader-2.62 > AUTOIFNAMES=/usr/local/bin/ifnames-2.62 > AUTOM4TE=/usr/local/bin/autom4te-2.62 > AUTORECONF=/usr/local/bin/autoreconf-2.62 > AUTOSCAN=/usr/local/bin/autoscan-2.62 > AUTOUPDATE=/usr/local/bin/autoupdate-2.62 AUTOCONF_VERSION=262 > lt_cv_sys_max_cmd_len=262144 > --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} Hmmm...last straw: find /usr/local -name '*.la' -exec grep -- '-llthread' {} + To explain: something guile needs is built with linux-threads yet this is not correctly handled and the resulting binaries are flawed, most likely because another library that guile needs uses FreeBSD native threads. On FreeBSD threaded linking is done with -pthread linker flag which pulls in the correct threading library (on 7.0 and above libthr, on 6.x and earlier libpthread). -- Mel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904020639.07556.mel.flynn%2Bfbsd.questions>