Date: Fri, 9 Feb 2007 09:01:43 -0600 From: "Scot Hetzel" <swhetzel@gmail.com> To: molnarcs@gmail.com Cc: freebsd-ports@freebsd.org Subject: Re: learning about building ports - please help Message-ID: <790a9fff0702090701kcadd613p49ca77875e9e449a@mail.gmail.com> In-Reply-To: <200702091451.56124.molnarcs@gmail.com> References: <200702091451.56124.molnarcs@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2/9/07, Csaba Molnar <molnarcs@gmail.com> wrote: > While building this port, it errored out at an early stage with this message: > libtool: link: cannot find the library `' gmake[2]: *** [kcm_beryl.la] Error 1 > > Google turned up this solution: > http://people.fruitsalad.org/lauri/krazykiwi/index.php?/archives/175-Libtool-nutso-insanity.html > > After editing libtool in work/aquamarine, it turned out that the problem lies > with libkdefx.la. As suggested in the above blog post, I removed -pthread > from the dependency_libs line of libkdefx.la (after making a backup of this > > Final question - I noticed these lines in the emerald Makefile: > > CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} > CONFIGURE_ARGS+= --mandir="${PREFIX}/man" > CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ > LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}" > > Do I need those? Can you refer me to further readings to help me understand > the meaning of these lines (and whether I need similar lines or > not). --mandir I understand (aquamarine doesn't have any manpages, so I'm > usre I don't need that) - but the rest I don't. > The CONFIGURE_ENV sets the CPPFLAGS and the LDFLAGS that are passed to the configure script. The variable PTHREAD_LIBS has a value of -pthread, which should solve your problem with libkdefx.la. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0702090701kcadd613p49ca77875e9e449a>