Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Aug 2002 22:13:58 -0600
From:      James Earl <jamesearl@shaw.ca>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Cant find nanosleep
Message-ID:  <20020813221358.4618298d.jamesearl@shaw.ca>
In-Reply-To: <20020814035421.GC10282@dan.emsphone.com>
References:  <20020813121346.36d85386.jamesearl@shaw.ca> <20020813191935.GB65726@dan.emsphone.com> <20020813192233.GC65726@dan.emsphone.com> <20020813181435.2308eb30.jamesearl@shaw.ca> <20020814035421.GC10282@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 13 Aug 2002 22:54:21 -0500
Dan Nelson <dnelson@allantgroup.com> wrote:

> In the last episode (Aug 13), James Earl said:
> > On Tue, 13 Aug 2002 14:22:33 -0500 Dan Nelson <dnelson@allantgroup.com> wrote:
> > > In the last episode (Aug 13), Dan Nelson said:
> > > > In the last episode (Aug 13), James Earl said:
> > > > 
> > > > 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)
> > > 
> > > Erp.  This matches the original script's behaviour on failure:
> > > 
> > > AC_CHECK_LIB(pcre, pcre_exec,,AC_MSG_ERROR(libpcre not found))
> > > AC_SEARCH_LIBS(nanosleep, posix4 rt,,AC_MSG_ERROR(nanosleep function not found))
> > > 
> > 
> > Did the two lines above, from your last e-mail work for you?  I
> > should ask them what they changed, because it used to compile just
> > fine.
> 
> It configured without error; I didn't try building.

It still didn't seem to want to work for me so I removed the else statement in the configure script that was stopping it!  :)  Not really the best fix, but it did compile ok, and execute.

make install didn't work either, so I had to manually perform the install steps.

What would cause their scripts to be so messed up? Do they make these scripts themselves or are they auto-generated?

Thanks,

James

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?20020813221358.4618298d.jamesearl>