Compilation Issue
I am having an issue compiling 1.2 Stable this morning. My notes are all below. When I compile a second time, it appears to compile ok. I am not sure if I trust that compilation because some of the modules may not be complete. What do you guys feel the problem may be? Gilbert Centos6 64bit The procedure I am following: cd /usr/src git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git cd freeswitch ./bootstrap.sh -j ./configure --without-libcurl -C make -j `cat /proc/cpuinfo |grep processor |wc -l` The make first throws the following error... "In file included from ./src/include/private/switch_core_pvt.h:44, from src/switch.c:48: /usr/src/freeswitch/libs/apr/include/apr_pools.h:37:17: error: apr.h: No such file or directory" Everything following is an error terminating in "make: *** [all] Error 2"
Had a similar thing on Gentoo. Seems to be a race condition. Stefan Knoblich (Gentoo FreeSWITCH overlay maintainer) did a workaround in the ebuild to get past it. I'm not sure what it entailed. Maybe if he sees this message, he could chime in on it. Jason On Thu, Nov 29, 2012 at 11:32 AM, Gilbert T. Gutierrez, Jr. < mailing-lists@phoenixinternet.net> wrote:
I am having an issue compiling 1.2 Stable this morning. My notes are all below. When I compile a second time, it appears to compile ok. I am not sure if I trust that compilation because some of the modules may not be complete. What do you guys feel the problem may be?
Gilbert
Centos6 64bit
The procedure I am following: cd /usr/src git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git cd freeswitch ./bootstrap.sh -j ./configure --without-libcurl -C make -j `cat /proc/cpuinfo |grep processor |wc -l`
The make first throws the following error... "In file included from ./src/include/private/switch_core_pvt.h:44, from src/switch.c:48: /usr/src/freeswitch/libs/apr/include/apr_pools.h:37:17: error: apr.h: No such file or directory"
Everything following is an error terminating in "make: *** [all] Error 2"
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Maybe only compile one at a time? Komar, Jason <jkomar@jbox.ca> wrote:
Had a similar thing on Gentoo. Seems to be a race condition. Stefan Knoblich (Gentoo FreeSWITCH overlay maintainer) did a workaround in the ebuild to get past it. I'm not sure what it entailed. Maybe if he sees this message, he could chime in on it.
Jason
On Thu, Nov 29, 2012 at 11:32 AM, Gilbert T. Gutierrez, Jr. < mailing-lists@phoenixinternet.net> wrote:
I am having an issue compiling 1.2 Stable this morning. My notes are all below. When I compile a second time, it appears to compile ok. I am not sure if I trust that compilation because some of the modules may not be complete. What do you guys feel the problem may be?
Gilbert
Centos6 64bit
The procedure I am following: cd /usr/src git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git cd freeswitch ./bootstrap.sh -j ./configure --without-libcurl -C make -j `cat /proc/cpuinfo |grep processor |wc -l`
The make first throws the following error... "In file included from ./src/include/private/switch_core_pvt.h:44, from src/switch.c:48: /usr/src/freeswitch/libs/apr/include/apr_pools.h:37:17: error: apr.h: No such file or directory"
Everything following is an error terminating in "make: *** [all] Error 2"
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
---------------------------------------------------- Alternatives:
---------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
Please post your compilation issue on http://jira.freeswitch.org to ensure it gets followed up on. Thanks, -Avi On Thu, Nov 29, 2012 at 8:32 PM, Gilbert T. Gutierrez, Jr. < mailing-lists@phoenixinternet.net> wrote:
I am having an issue compiling 1.2 Stable this morning. My notes are all below. When I compile a second time, it appears to compile ok. I am not sure if I trust that compilation because some of the modules may not be complete. What do you guys feel the problem may be?
Gilbert
Centos6 64bit
The procedure I am following: cd /usr/src git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git cd freeswitch ./bootstrap.sh -j ./configure --without-libcurl -C make -j `cat /proc/cpuinfo |grep processor |wc -l`
The make first throws the following error... "In file included from ./src/include/private/switch_core_pvt.h:44, from src/switch.c:48: /usr/src/freeswitch/libs/apr/include/apr_pools.h:37:17: error: apr.h: No such file or directory"
Everything following is an error terminating in "make: *** [all] Error 2"
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Does it succeed if you don't use a parallel build? (I've got a completely separate project at the moment compiling that gets an error with -j that disappears when it's not used). On 29 November 2012 18:32, Gilbert T. Gutierrez, Jr. < mailing-lists@phoenixinternet.net> wrote:
I am having an issue compiling 1.2 Stable this morning. My notes are all below. When I compile a second time, it appears to compile ok. I am not sure if I trust that compilation because some of the modules may not be complete. What do you guys feel the problem may be?
Gilbert
Centos6 64bit
The procedure I am following: cd /usr/src git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git cd freeswitch ./bootstrap.sh -j ./configure --without-libcurl -C make -j `cat /proc/cpuinfo |grep processor |wc -l`
The make first throws the following error... "In file included from ./src/include/private/switch_core_pvt.h:44, from src/switch.c:48: /usr/src/freeswitch/libs/apr/include/apr_pools.h:37:17: error: apr.h: No such file or directory"
Everything following is an error terminating in "make: *** [all] Error 2"
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Steven, I just ran make by itself (left off -j `cat /proc/cpuinfo |grep processor |wc -l`). The system made clean. Gilbert On 11/30/2012 2:29 AM, Steven Ayre wrote:
Does it succeed if you don't use a parallel build?
(I've got a completely separate project at the moment compiling that gets an error with -j that disappears when it's not used).
On 29 November 2012 18:32, Gilbert T. Gutierrez, Jr. <mailing-lists@phoenixinternet.net <mailto:mailing-lists@phoenixinternet.net>> wrote:
I am having an issue compiling 1.2 Stable this morning. My notes are all below. When I compile a second time, it appears to compile ok. I am not sure if I trust that compilation because some of the modules may not be complete. What do you guys feel the problem may be?
Gilbert
Centos6 64bit
The procedure I am following: cd /usr/src git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git <http://git.freeswitch.org/freeswitch.git> cd freeswitch ./bootstrap.sh -j ./configure --without-libcurl -C make -j `cat /proc/cpuinfo |grep processor |wc -l`
The make first throws the following error... "In file included from ./src/include/private/switch_core_pvt.h:44, from src/switch.c:48: /usr/src/freeswitch/libs/apr/include/apr_pools.h:37:17: error: apr.h: No such file or directory"
Everything following is an error terminating in "make: *** [all] Error 2"
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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 (5)
-
Avi Marcus
-
covici@ccs.covici.com
-
Gilbert T. Gutierrez, Jr.
-
Komar, Jason
-
Steven Ayre