[pulseaudio-discuss] Esdcompat

Colin Guthrie gmane at colin.guthr.ie
Wed Oct 15 14:53:03 PDT 2008


Sergio wrote:
> Hi all,
> 
> 
> 
> Building PA on Solaris (Sparc), at the end i get for esdcompat following :
> 
> bash: -c: line 2: syntax error near unexpected token `>'
> 
> 
> The related lines are (/src/Makefile) :
> 
> esdcompat: daemon/esdcompat.in Makefile
>     sed -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
>         -e 's, at PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
>         -e 's, at PA_BINARY\@,$(PA_BINARY),g' < $< > $@
>     chmod +x esdcompat
> 
> 
> Removing the first "<", i get an escompat called empty file, like it 
> should be attempting any input/output.
> 
> And, of course, the build hangs.
> 
> 
> What can be any action to make about this situation ?

Well this just redirects input from $< and outputs $@. This is what the 
< and > operators do.

You could try changing it to:

esdcompat: daemon/esdcompat.in Makefile
     cat $< | sed -e 's, at PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' \
         -e 's, at PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
         -e 's, at PA_BINARY\@,$(PA_BINARY),g' > $@
     chmod +x esdcompat


and see if that helps.

Col


-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
   Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
   Mandriva Linux Contributor [http://www.mandriva.com/]
   PulseAudio Hacker [http://www.pulseaudio.org/]
   Trac Hacker [http://trac.edgewall.org/]




More information about the pulseaudio-discuss mailing list