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