calejost / unimrcp

Automatically exported from code.google.com/p/unimrcp
Apache License 2.0
0 stars 0 forks source link

unimrcp-deps-1.0.1 fails to install libraries for sofia-sip #97

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I've just installed the new unimrcp-deps-1.0.1 package on a freshly installed 
CentOS 5.5 system. The APR and APR-Util packages install without any problems, 
but Sofia SIP only installs the headers, no .so, .a, etc. libraries are 
installed to /usr/local/lib. This results in unimrcp failing to build due to 
the Sofia SIP libraries not being found.

Replacing the libs/sofia-sip subdirectory with that from the unimrcp-deps-0.9.0 
tarball, works well and results in libraries being installed into 
/usr/local/lib and unimrcp trunk compiling successfully.

Anyone else experiencing this problem?

Original issue reported on code.google.com by thirion...@gmail.com on 15 Sep 2010 at 9:21

GoogleCodeExporter commented 8 years ago

Original comment by thirion...@gmail.com on 15 Sep 2010 at 9:21

GoogleCodeExporter commented 8 years ago
This was addressed for the uni-ast-package-0.3.0 tarball in Issue #93; perhaps 
the same solution applies.

Original comment by dar...@gmail.com on 17 Sep 2010 at 5:51

GoogleCodeExporter commented 8 years ago
It's a little unclear what was actually done to fix the problem. What exactly 
did you do to get it to install the libraries?

Original comment by thirion...@gmail.com on 22 Sep 2010 at 8:34

GoogleCodeExporter commented 8 years ago
I guess it is:

Now looking back at the output of make install, I notice that header files as 
well as pkg-config related stuff are properly installed, but not the library 
itself. So, the issue indeed exists. Please edit the mentioned below part in 
the corresponding makefile located in sofia-sip/libsofia-sip-ua/Makefile.am

Instead of 
< noinst_LTLIBRARIES = libsofia-sip-ua.la

use
> lib_LTLIBRARIES = libsofia-sip-ua.la

But Arsen mentioned a new package was released. I'm only seeing the 
unimrcp-deps-1.0.1 package which didn't work.

Original comment by thirion...@gmail.com on 22 Sep 2010 at 8:37

GoogleCodeExporter commented 8 years ago
I can confirm, that unimrcp-deps-1.0.1 from the UniMRCP download site has:
noinst_LTLIBRARIES = libsofia-sip-ua.la

So perhaps we should then just create a unimrcp-deps-1.0.2 download?

Original comment by thirion...@gmail.com on 22 Sep 2010 at 8:38

GoogleCodeExporter commented 8 years ago
Here's the patch file:

# cd unimrcp-deps-1.0.1
# cp /home/user/sofia-sip.patch ./
# patch -p0 < sofia-sip.patch

...

Original comment by thirion...@gmail.com on 22 Sep 2010 at 8:46

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by thirion...@gmail.com on 22 Sep 2010 at 8:56

GoogleCodeExporter commented 8 years ago
Here is the updated unimrcp-deps package with the patch applied.

Original comment by thirion...@gmail.com on 22 Sep 2010 at 8:59

Attachments:

GoogleCodeExporter commented 8 years ago
Hi,

I observed this issue on Ubuntu 10.04 LTS too. In my case even no 
libsofia-sip-ua.so was built. This is nothing serious since we can link sofia 
statically, but I think dynamic linking was originally intended.

- Vali

PS. Thanks for the patch, I will give it a try.

Original comment by tomas.valenta@speechtech.cz on 23 Sep 2010 at 10:08

GoogleCodeExporter commented 8 years ago
Glad you have helped each other workaround the issue and sorry for the delay in 
responding. I have uploaded the patched version to the download area.

Original comment by achalo...@gmail.com on 24 Sep 2010 at 11:53

GoogleCodeExporter commented 8 years ago

Original comment by thirion...@gmail.com on 13 Dec 2010 at 12:28