[fluxus] guile not found on linux WAS: Re: start on osy (second approach)

Artem Baguinski artm at v2.nl
Fri May 19 15:14:36 PDT 2006


for now you could probably insert

    LIBS=["pthread"]

somewhere at the beginining of SConstruct

On 19/05/06, Alex <x37v.alex at gmail.com> wrote:
> This is what fails:
>  gcc -o .sconf_temp/conftest_3 .sconf_temp/conftest_3.o
> -L/usr/local/lib -L/usr/X11R6/lib -lguile
>
> /usr/local/lib/libguile.so: undefined reference to `pthread_create'
> /usr/local/lib/libguile.so: undefined reference to `pthread_getspecific'
> /usr/local/lib/libguile.so: undefined reference to `pthread_attr_getstack'
> /usr/local/lib/libguile.so: undefined reference to `pthread_detach'
> /usr/local/lib/libguile.so: undefined reference to `pthread_once'
> /usr/local/lib/libguile.so: undefined reference to `pthread_key_create'
> /usr/local/lib/libguile.so: undefined reference to `pthread_getattr_np'
> /usr/local/lib/libguile.so: undefined reference to `pthread_sigmask'
> /usr/local/lib/libguile.so: undefined reference to `pthread_mutexattr_settype'
> /usr/local/lib/libguile.so: undefined reference to `pthread_mutexattr_init'
> /usr/local/lib/libguile.so: undefined reference to `pthread_setspecific'
> collect2: ld returned 1 exit status
>
> I put -lpthread in there:
> gcc -o .sconf_temp/conftest_3 .sconf_temp/conftest_3.o -lpthread
> -L/usr/local/lib -L/usr/X11R6/lib -lguile
>
> and it builds fine...
> but I don' t know how to make scons put -lpthread in there when it
> tries to build this guile test.....
>
> -Alex
>
> On 5/19/06, Artem Baguinski <artm at v2.nl> wrote:
> > On 17/05/06, Alex <x37v.alex at gmail.com> wrote:
> > > hmm, odd, i just installed guile1.8 and i can run guile just fine
> > > "which guile" gives me : /usr/local/bin/guile
> > > and i see that i have /usr/local/include/guile/gh.h
> > > and /usr/local/lib/libguile<lots of extensions>
> > >
> > > but when i run scons i get:
> > > --------------------------------------------------------
> > > Fluxus: Configuring Build Environment
> > > --------------------------------------------------------
> > > Checking for main() in C library m... yes
> > > Checking for main() in C library jack... yes
> > > Checking for main() in C library sndfile... yes
> > > Checking for main() in C library guile... no
> > > ERROR: 'guile' must be installed!
> > >
> > > I see that I have some guile stuff left over in /usr/local/lib
> > > (required by some other packages), maybe this is an issue? maybe it
> > > should be checking /usr/local first or something?????
> >
> > in config.log you should see what exactly fails. checks succeed for me
> > and I have guile installed in /usr/lib. I'm looking at the next
> > problem ATM (bad casts)
> >
>



More information about the Fluxus mailing list