I downloaded and installed CBE.  I'm trying to install a pre-requisite of 
audacity, libsamplerate.  

When I execute "pkgtool build -vv --autodeps --download libsamplerate.spec", it 
fails and the log file in temp says this (in part):

pkgbuild: + export 'CFLAGS=-O2 -g -pipe'
pkgbuild: + CFLAGS='-O2 -g -pipe'
pkgbuild: + export LDFLAGS=%_ldflags
pkgbuild: + LDFLAGS=%_ldflags

Of course the compiler doesn't like LDFLAGS but the misleading error says "C 
compiler cannot create executables" (well, not with LDFLAGS set like that it 
can't!).

In libsamplerate.spec, it says:

export CFLAGS="%optflags"
export LDFLAGS="%_ldflags"

It looks like CFLAGS worked, but LDFLAGS didn't (I tried taking the _ out of 
%_ldflags but it didn't change anything).

What kind of operator is '%'?  Where are these things set?
-- 
This message posted from opensolaris.org

Reply via email to