Re: Problems with the roadrunner-0.9 install
[email protected] (Jonas Borgström) 16 Jan 2003 16:27:28 +0100
| Newsgroups | gmane.network.beep.roadrunner.general |
|---|---|
| Message-ID | <[email protected]> |
Andrea Campi <[email protected]> writes: > On Thu, Jan 16, 2003 at 09:59:42AM -0500, Jaime Vargas wrote: > > Hello all: > >=20 > > I had tried to compile roadrunner-0.9 on an OpenBSD 3.2 box without=20 > > complete success. Basically make stops when building the reference docs= =20 > > as show below: >=20 > [...] >=20 > >=20 > > make: don't know how to make all-local. Stop in=20 > > /home/jvargas/roadrunner-tree/ro > > adrunner-0.9/doc/reference. >=20 > [...] > >=20 > > Because I figure the only part that was failing was the documentation,= =20 > > I went ahead with make install. I have the same problem installing the= =20 > > rrsyslog profile. >=20 > Yes, you're right, I've had the same problems. Since it's very easy > to work around them I didn't bother to tell Jonas, but I'd guess it > would be nice to have an option to auto* to disable documentation. >=20 Is this really an issue? If you have gtk-doc installed the documentation will be (re)generated, else the distributed .html files will be installed. The build should never fail. Am I missing something? > >=20 > >=20 > > After this I tried to run the tests in rrsyslog and I getting the=20 > > following error: > >=20 > > # pwd > > /home/jvargas/roadrunner-tree/rrsyslog-0.9/tests > > # ./rrsyslog-server > > /usr/libexec/ld.so: Undefined symbol "_pthread_cond_wait" in=20 > > rrsyslog-server:/us > > r/local/lib/libgthread-2.0.so.0.4 > >=20 > > Obviously there is something wrong. I would appreciate any help=20 > > installing roadrunner. >=20 > This one I can help you with. In fact it's not entrirely roadrunner's > fault. I guess on Linux and some other platforms, shared library > dependencies work differentrly; however, on *BSD, AIX and other, > it doesn't. >=20 > The bottom line is: any binary linked with libgthread must link > libpthread as well. Edit your ${PREFIX}/lib/pkgconfig/gthread-2.0.pc > and make sure Libs has: >=20 > Libs: -L${libdir} -lgthread-2.0 -lpthread >=20 This is probably a OpenBSD ports bug:=20 changelog entry for revision 1.5 of ports/devel/glib2/Makefile: """Update to 2.0.7, fix LIB_DEPENDS, take MAINTAINER and get libtool to add -pthread to .la files where needed.""" / jonas --=20 Jonas Borgstr=F6m [email protected] CodeFactory AB http://www.codefactory.se/ Office: +46 (0)90 71 86 14