[CLAM] compile question

David García Garzón dgarcia at iua.upf.edu
Fri Feb 29 00:52:22 PST 2008


Weird. It seems that at that point scons var $PKG_CONFIG is empty. It 
runs "$PKG_CONFIG --cflags...." and it seems to be executing " ---cflags...".
That variable is filled in a previous check that should be failing. Take a 
look at earlier error messages.

Pau, arround?


On Friday 29 Febrer 2008, Pablo Colapinto wrote:
> Hi David
>
> Thanks for your help.
>
> I found this more specific error in the config.log
>
> PKG_CONFIG_PATH='' --cflags --libs vorbisfile vorbisenc
> sh: line 1: --cflags: command not found
> scons: Configure: no
>
> I have followed all the build instructions and checked
> that "which pkg-config" points to /opt/local/bin/pkg-config.
>
> I have confirmed that the .pc files exist in /opt/local/lib/pkgconfig
>
> I have also tried making sure the PKG_CONFIG_PATH is set to this by writing
>
> $ export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig
>
> before running
>
> $ scons configure
>
> David García Garzón wrote:
> > Yes, this list is the proper place to ask technical questions about CLAM.
> >
> > Maybe Pau could answer your question better than me as he did the last
> > macosx build system changes. But as he is busy with his thesis i will try
> > to answer the best i can.
> >
> > I supose you are following the wiki page to build for Mac[1].
> > [1] http://iua-share.upf.edu/wikis/clam/index.php/Devel/Mac_OSX_build
> >
> > You might have a conflicting version of pkg-config installed. If you
> > execute 'which pkg-config', it should point to /opt/local/bin/pkg-config
> > if not follow the wiki troublesshooting instructions for that case.
> >
> > If you have further problems try to locate pkg-config files for those
> > libraries. Such files have the .pc extension and a typical path for them
> > could be /opt/local/lib/pkgconfig in mac. For example fftw3.pc
> >
> > David.
> >
> > On Thursday 28 Febrer 2008, Pablo Colapinto wrote:
> >> Not sure if this is appropriate place to ask technical questions.
> >>
> >> I get the following dependency errors when I try "scons configure"
> >> I'm running mac os x 10.4.11.
> >>
> >> Checking for fftw3 pkg-config file... no
> >>
> >> Checking for vorbisfile vorbisenc pkg-config file... no
> >>
> >> Any ideas?  pkg-config and fftw3 are both installed using sudo port
> >> install
> >>
> >> Thanks,
> >> pc
> >>
> >>
> >>
> >> ---------------------------------------
> >> Pablo Colapinto
> >> ---------------------------------------
> >> Media Arts and Technology Program
> >> University of California, Santa Barbara
> >> ---------------------------------------
> >> http://www.wolftype.com
> >> ---------------------------------------
> >> tel: (215)327-6201
> >> ---------------------------------------
> >>
> >>
> >> _______________________________________________
> >> CLAM mailing list
> >> CLAM at iua.upf.es
> >> http://clam.iua.upf.edu



-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
http://www.iua.upf.edu/~dgarcia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.clam-project.org/pipermail/clam-users-clam-project.org/attachments/20080229/740adb43/attachment-0002.sig>


More information about the clam-users mailing list