freeswitch compilation and external libraries
Hi, I'd like to know if there's a reason for packaging so many external libraries in the FS tarball (eg. nspr, sofia...). I'm asking because: 1) the FS tarball could be a lot smaller than the current 20MB tgz and 17MB bz2. 2) I found that manual compilation fails on my system with the FS-provided nspr but succeeds if I use an external library. Please have a look at http://jira.freeswitch.org/browse/FSBUILD-50 Thanks! Vieri
http://www.freeswitch.org/node/56 Mike On Jun 2, 2008, at 1:58 PM, Vieri wrote:
Hi,
I'd like to know if there's a reason for packaging so many external libraries in the FS tarball (eg. nspr, sofia...).
I'm asking because:
1) the FS tarball could be a lot smaller than the current 20MB tgz and 17MB bz2.
2) I found that manual compilation fails on my system with the FS- provided nspr but succeeds if I use an external library. Please have a look at http://jira.freeswitch.org/browse/FSBUILD-50
Thanks!
Vieri
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--- On Mon, 6/2/08, Michael Jerris <mike@jerris.com> wrote:
From: Michael Jerris <mike@jerris.com> Subject: Re: [Freeswitch-users] freeswitch compilation and external libraries To: freeswitch-users@lists.freeswitch.org Date: Monday, June 2, 2008, 2:14 PM http://www.freeswitch.org/node/56
Thanks. That's clarifying. My bad luck though is that I've hit the opposite case. I can't compile mod_spidermonkey distributed with the FS source but I can if I link (statically) to an already-installed system-wide /usr/lib/nspr/libnspr4.a (provided by Gentoo's nspr-4.6.8 package). (note: I'm installing from source on Gentoo/Linux as root without sandbox)
If you just configure and build, without any ebuild stuff, do you get the same result? What version of gentoo, compilers, etc. is this with? Mike On Jun 2, 2008, at 2:34 PM, Vieri wrote:
--- On Mon, 6/2/08, Michael Jerris <mike@jerris.com> wrote:
From: Michael Jerris <mike@jerris.com> Subject: Re: [Freeswitch-users] freeswitch compilation and external libraries To: freeswitch-users@lists.freeswitch.org Date: Monday, June 2, 2008, 2:14 PM http://www.freeswitch.org/node/56
Thanks. That's clarifying. My bad luck though is that I've hit the opposite case. I can't compile mod_spidermonkey distributed with the FS source but I can if I link (statically) to an already-installed system-wide / usr/lib/nspr/libnspr4.a (provided by Gentoo's nspr-4.6.8 package).
(note: I'm installing from source on Gentoo/Linux as root without sandbox)
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--- On Mon, 6/2/08, Michael Jerris <mike@jerris.com> wrote:
From: Michael Jerris <mike@jerris.com> Subject: Re: [Freeswitch-users] freeswitch compilation and external libraries To: freeswitch-users@lists.freeswitch.org Date: Monday, June 2, 2008, 2:46 PM If you just configure and build, without any ebuild stuff, do you get the same result? What version of gentoo, compilers, etc. is this with?
Like I reported on the FS bug tracking system, I am getting these errors while compiling "the standard way". I am NOT using ebuilds or any Gentoo-specific tools. I am NOT using sandbox. I just uncompress the FS-1.0.0 tarball and do: ./configure make The javascript module compilation fails. Here are some values taken from this linux system: Gentoo default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8 i686 System uname: 2.6.23-gentoo-r8 i686 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz app-shells/bash: 3.2_p17 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24
Vieri schrieb:
--- On Mon, 6/2/08, Michael Jerris <mike@jerris.com> wrote:
From: Michael Jerris <mike@jerris.com> Subject: Re: [Freeswitch-users] freeswitch compilation and external libraries To: freeswitch-users@lists.freeswitch.org Date: Monday, June 2, 2008, 2:46 PM If you just configure and build, without any ebuild stuff, do you get the same result? What version of gentoo, compilers, etc. is this with?
Like I reported on the FS bug tracking system, I am getting these errors while compiling "the standard way". I am NOT using ebuilds or any Gentoo-specific tools. I am NOT using sandbox.
I just uncompress the FS-1.0.0 tarball and do: ./configure make
The javascript module compilation fails.
Here are some values taken from this linux system:
Gentoo default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8 i686 System uname: 2.6.23-gentoo-r8 i686 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz app-shells/bash: 3.2_p17 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24
I'm currently trying to find the root-cause of your problem. Somehow your fs-internal build of nspr ends up without threads support, even though it's configure script enables it ("USE_PTHREADS='1'"). Does the ebuild i gave you work, or does it fail in the same way? stkn
--- On Mon, 6/2/08, Stefan Knoblich <s.knoblich@axsentis.de> wrote:
I'm currently trying to find the root-cause of your problem. Somehow your fs-internal build of nspr ends up without threads support, even though it's configure script enables it ("USE_PTHREADS='1'").
Does the ebuild i gave you work, or does it fail in the same way?
It works. I posted the result here: http://jira.freeswitch.org/browse/FSBUILD-50 Thanks!
This shouldn't be a problem.... Run gentoo w/out sandbox and have for quite a while... You might need to rebootstrap and go from there
From: Vieri <rentorbuy@yahoo.com> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Mon, 2 Jun 2008 11:34:38 -0700 (PDT) To: <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] freeswitch compilation and external libraries
--- On Mon, 6/2/08, Michael Jerris <mike@jerris.com> wrote:
From: Michael Jerris <mike@jerris.com> Subject: Re: [Freeswitch-users] freeswitch compilation and external libraries To: freeswitch-users@lists.freeswitch.org Date: Monday, June 2, 2008, 2:14 PM http://www.freeswitch.org/node/56
Thanks. That's clarifying. My bad luck though is that I've hit the opposite case. I can't compile mod_spidermonkey distributed with the FS source but I can if I link (statically) to an already-installed system-wide /usr/lib/nspr/libnspr4.a (provided by Gentoo's nspr-4.6.8 package).
(note: I'm installing from source on Gentoo/Linux as root without sandbox)
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
See http://blogs.sun.com/rvs/date/20070331 I don't think I could say it better so I wont ;) K
From: Vieri <rentorbuy@yahoo.com> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Mon, 2 Jun 2008 10:58:29 -0700 (PDT) To: <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] freeswitch compilation and external libraries
Hi,
I'd like to know if there's a reason for packaging so many external libraries in the FS tarball (eg. nspr, sofia...).
I'm asking because:
1) the FS tarball could be a lot smaller than the current 20MB tgz and 17MB bz2.
2) I found that manual compilation fails on my system with the FS-provided nspr but succeeds if I use an external library. Please have a look at http://jira.freeswitch.org/browse/FSBUILD-50
Thanks!
Vieri
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Ken Rice
-
Michael Jerris
-
Stefan Knoblich
-
Vieri