Olivier
2009-Mar-09 16:13 UTC
[asterisk-users] How to install spandsp from source in lenny ?
Hi,
I'm trying to install spandsp from source in a Debian Lenny system.
I did :
cd /usr/src
wget http://www.soft-switch.org/downloads/spandsp/spandsp-0.0.6pre5.tgz
tar xvf spandsp-0.0.6pre5.tgz
cd spandsp-0.0.6
./configure
make
make install
When doing this, spandsp warns me that librairies are installed in
/usr/local/lib with this message :
"Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages."
While this message should be perfectly clear for many, I don't feel too
confident that this /usr/local/lib is the right location (as I'm quite new
to this).
Anyway, whenever I'm typing make menuselect, app-fax is greyed out as in my
opinion, spandsp libriaries have not been found.
Maybe, I should have typed something like (as suggested
http://www.voip-info.org/wiki/view/Asterisk%20T.38) "./configure
--prefix=/usr" but I prefer to ask here, as I'm afraid to spoil
everything
giving wrong input.
Which value shall I give to configure, when installing spandsp0.0.6 from
source ?
Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20090309/a4dbc402/attachment.htm
James Sneeringer
2009-Mar-09 16:58 UTC
[asterisk-users] How to install spandsp from source in lenny ?
On Mon, Mar 9, 2009 at 11:13 AM, Olivier <oza-4h07 at myamail.com> wrote:> Anyway, whenever I'm typing make menuselect, app-fax is greyed out as in my > opinion, spandsp libriaries have not been found. > > Maybe, I should have typed something like (as suggested > http://www.voip-info.org/wiki/view/Asterisk%20T.38) "./configure > --prefix=/usr" but I prefer to ask here, as I'm afraid to spoil everything > giving wrong input.You can do this, which will put the spandsp library in /usr/lib where "configure" for Asterisk can find it, or you can run Asterisk's configure as "configure --with-spandsp=/usr/local" to tell it to look where you have already installed it. -James