build libxklavier
Eric L. Chen
lihong.chen at gmail.com
Wed Aug 2 04:16:54 UTC 2006
Here is compiling output. I compiled perl5.8, tcl84 and ruby with
thread support.
If that cause this problem, I think makefile may need check that.
/Eric
cc -Wall -Werror -I/usr/X11R6/include -I/usr/X11R6/include -I.. -O2
-fno-strict-aliasing -pipe -march=pentium-m -o .libs/test_config
test_config.o ../libxklavier/.libs/libxklavier.so -L/usr/local/lib
-L/usr/X11R6/lib /usr/local/lib/libxml2.so -lz -lm -lxkbfile
/usr/local/lib/libiconv.so -lX11 -Wl,--rpath -Wl,/usr/X11R6/lib
-Wl,--rpath -Wl,/usr/local/lib
../libxklavier/.libs/libxklavier.so: warning: warning: tmpnam()
possibly used unsafely; consider using mkstemp()
/usr/local/lib/libxml2.so: undefined reference to `pthread_equal'
gmake[2]: *** [test_config] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11/libxklavier/work/libxklavier-2.2/tests'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/libxklavier/work/libxklavier-2.2'
gmake: *** [all] Error 2
*** Error code 2
Stop in /usr/ports/x11/libxklavier.
[
On 8/2/06, Jeremy Messenger <mezz7 at cox.net> wrote:
> On Tue, 01 Aug 2006 21:39:53 -0500, Eric L. Chen <lihong.chen at gmail.com>
> wrote:
>
> > Hi All,
> > I need this change to build libxklavier successfully:
>
> I can't reproduce it, please show us the error output and other details.
> Visit http://www.freebsd.org/gnome/docs/bugging.html and follow the '1.
> When should I make a bug report?' first before you go to #2.
>
> Cheers,
> Mezz
>
> > -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
> > - LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
> > +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS}" \
> > + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib
> > ${PTHREAD_LIBS}"
> >
> > It seems not link with pthread at default.
> >
> > /Eric
>
>
> --
> mezz7 at cox.net - mezz at FreeBSD.org
> FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src)
> http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org
> http://wiki.freebsd.org/multimedia - multimedia at FreeBSD.org
>
More information about the freebsd-gnome
mailing list