Date: Wed, 2 Aug 2006 13:45:30 +0800 From: "Eric L. Chen" <lihong@ieee.org> To: "Jeremy Messenger" <mezz7@cox.net> Cc: gnome@freebsd.org Subject: Re: build libxklavier Message-ID: <a50d5a500608012245y218010abo1bc0aeb027e0ccd@mail.gmail.com> In-Reply-To: <op.tdm3t0ss9aq2h7@mezz.mezzweb.com> References: <a50d5a500608011939r32a56323u1d2c06bf6d896f27@mail.gmail.com> <op.tdmzk0b59aq2h7@mezz.mezzweb.com> <a50d5a500608012116s744eea47q30b43686777e3d2a@mail.gmail.com> <a50d5a500608012128p256ed994sa397e1f3a77b03cb@mail.gmail.com> <op.tdm3t0ss9aq2h7@mezz.mezzweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Yes, I compiled libxml2 with thread support. Every seems good in my FreeBSD box, maybe I did not install any software that will be broken with threaded libxml2. Thanks. On 8/2/06, Jeremy Messenger <mezz7@cox.net> wrote: > On Tue, 01 Aug 2006 23:28:12 -0500, Eric L. Chen <lihong@ieee.org> wrote: > > > By the way, these are some output required by the web. > > <snip, thanks for details> > > > On 8/2/06, Eric L. Chen <lihong.chen@gmail.com> wrote: > >> 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. > > It looks like it's textproc/libxml2 that you have enabled it with the > threads support. Are you aware of that it is not good idea to enable > threads support in ruby and libxml2? They are known to caused other apps > to have the problems. Anyway, back to your problem, to me it looks like > when enable threads support in libxml2 should add '${PTHREAD_*} in > libxml-2.0.pc or it is not a good idea? I will leaving that to one of my > team that know about that stuff very well. > > Cheers, > Mezz > > >> On 8/2/06, Jeremy Messenger <mezz7@cox.net> wrote: > >> > On Tue, 01 Aug 2006 21:39:53 -0500, Eric L. Chen > >> <lihong.chen@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@cox.net - mezz@FreeBSD.org > FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) > http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org > http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org > -- Eric Lihong Chen Accton Technology Corporation phone:(04)2371-5665,5620 sip:lihong@ekiga.net xmpp:lihong.chen@gmail.com skype:lihong.chen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a50d5a500608012245y218010abo1bc0aeb027e0ccd>