From owner-freebsd-questions Tue Aug 13 12:19:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E988237B494 for ; Tue, 13 Aug 2002 12:19:36 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FC5243E6E for ; Tue, 13 Aug 2002 12:19:36 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g7DJJZ5d065440; Tue, 13 Aug 2002 14:19:35 -0500 (CDT) (envelope-from dan) Date: Tue, 13 Aug 2002 14:19:35 -0500 From: Dan Nelson To: James Earl Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Cant find nanosleep Message-ID: <20020813191935.GB65726@dan.emsphone.com> References: <20020813121346.36d85386.jamesearl@shaw.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020813121346.36d85386.jamesearl@shaw.ca> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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': > > > 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