Subject: Re: xmms/mit-pthreads
To: Christoph Leuzinger <christoph.leuzinger@westworks.ch>
From: Nigel Reed <nigel@nelgin.nu>
List: netbsd-help
Date: 11/27/2000 15:13:26
OK, I downloaded it myself - try this
bash, sh, ksh and friends you use
CPPFLAGS=-I/usr/pkg/pthreads/include -LDFLAGS=-L/usr/pkg/pthreads/lib ./configure
and for csh and the like
env CPPFLAGS=-I/usr/pkg/pthreads/include -LDFLAGS=-L/usr/pkg/pthreads/lib ./configure
That should compile. After that it'll complain about GLIB not being
installed if you don't have it. You may need to add further -I or -L
flags for GLIB.
Regards
Nigel
On Mon, Nov 27, 2000 at 09:21:45PM +0100, Christoph Leuzinger wrote:
> Am 27 Nov 2000, um 13:59 hat Nigel Reed geschrieben:
>
> > Does configure ask for the location of libraries and header files?
> > The .h files are in /usr/pkg/pthreads/include and the libraries
> > are in /usr/pkg/pthreads/lib
>
> OK, so far, so good :)
>
> > There maybe an option to configure which allows you to include these
> > before it runs - try configure --help
>
> I had a look at this, but couldn't find any pthread option. I tried
>
> configure --includedir=/usr/pkg/pthreads/include
>
> instead, but won't work neither.
>
> > Failing all that, you'll probably find somewhere to add -I and -L
> > options in the Makefile.
>
> Unfortunately, there is no Makefile (it has to be generated by configure,
> I guess). There is only Makefile.in and Makefile.am. In Makefile.in I find
> a variable called PTHREAD_LIBS, but because of the fact that I don't have
> any Makefile, I can't modify and use it ...
>
> As you might have noticed, I don't have lots of experience in compiling
> stuff ;)
>
> Thanx and greets,
> Chris.
> --
> __________________________________________________________
> Christoph F. Leuzinger + Student @ Kantonsschule
> http://www.westworks.ch/ + Schaffhausen, Switzerland
> ICQ# 20603375 + http://www.kanti.ch/
--