Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#298 sphinxbase should use libtool for libpulse-simple

next release
closed
nobody
None
1
2012-12-13
2012-11-10
Ricky Ng-Adam
No

This is on Ubuntu 12.10:

sphinxbase/src/sphinx_adtools$ /bin/bash ../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -Wall -o sphinx_cont_adseg cont_adseg.o ../../src/libsphinxbase/libsphinxbase.la ../../src/libsphinxad/libsphinxad.la -lpulse-simple -lpthread -lm

This needs to become:

export PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig

/bin/bash ../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -Wall -o sphinx_cont_adseg cont_adseg.o ../../src/libsphinxbase/libsphinxbase.la ../../src/libsphinxad/libsphinxad.la $(pkg-config --libs libpulse-simple) -lpthread -lm

I change change the source file src/sphinx_adtools/Makefile LIBS= to this:

$({PKG_CONFIG} --libs pulse-simple)

...successfully compiling from the modified generated Makefile.

...but I have no idea how to change the configure.in to do this?

Discussion

  • Fixed in trunk, thanks

     
    • status: open --> closed