Date: Tue, 13 Aug 2002 14:19:35 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: James Earl <jamesearl@shaw.ca> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Cant find nanosleep Message-ID: <20020813191935.GB65726@dan.emsphone.com> In-Reply-To: <20020813121346.36d85386.jamesearl@shaw.ca> References: <20020813121346.36d85386.jamesearl@shaw.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 13), James Earl said: > I'm trying to compile the August 8 gtk2 snapshot of Bluefish on my > FreeBSD 4.6 machine. When I run ./configure, it stops on 'checking > for nanosleep': > > <snip> > checking for pcre_exec in -lpcre... yes > checking for nanosleep in -lposix4... no > checking for nanosleep in -lrt... no > configure: error: function nanosleep not found unknown how to continue Yeeech. Their autoconf script is horrible. Replace lines 100-113 of configure.ac with AC_SEARCH_LIBS(pcre, pcre_exec) AC_SEARCH_LIBS(nanosleep, posix4 rt) , regenerate configure, and try again. Tell them to replace their gross `pkg-config --libs gtk+-2.0` hack with PKG_CHECK_MODULES(), too. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020813191935.GB65726>