Problems with ./configure on OSX
Hey FreeSwitchers, I have been running 1.01 (which I built from a tarball) without any problems. I see that we are pushing to 1.02, so I tried to do a make current on my trunk source and got the following... /usr/src/freeswitch/trunk root# make current /bin/sh ./config.status --recheck running CONFIG_SHELL=/bin/sh /bin/sh ./configure --no-create --no- recursion checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... build/config/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking build system type... powerpc-apple-darwin8.11.0 checking host system type... powerpc-apple-darwin8.11.0 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for gawk... (cached) awk checking whether make sets $(MAKE)... (cached) yes checking for a BSD-compatible install... /usr/bin/install -c checking whether gcc and cc understand -c and -o together... yes ./configure: line 4533: syntax error near unexpected token `build_libtool_libs,' ./configure: line 4533: ` _LT_DECL(build_libtool_libs, enable_shared, 0,' make: *** [config.status] Error 2 mail:/usr/src/freeswitch/trunk root# Any ideas on why this might be? Thanks, Marty
After a build.sh I get the following. I have NOT updated my dev tools as I am still running 10.4.11, but I will go over to apple and check if there is an update (I think I am current). Thanks for the help. Marty /usr/bin/libtool: can't map file: /usr/src/freeswitch/trunk/libs/ apr/.libs ((os/kern) invalid argument) make[2]: *** [libfreeswitch.la] Error 1 Making all in src Making all in mod making all mod_amr make[5]: *** No rule to make target `/usr/src/freeswitch/trunk/ libfreeswitch.la', needed by `mod_amr.so'. Stop. make[4]: *** [all] Error 1 make[3]: *** [mod_amr-all] Error 1 make[2]: *** [all-recursive] Error 1 Making all in build +-------- FreeSWITCH Build Complete -----------+ + FreeSWITCH has been successfully built. + + Install by running: + + + + make install + +----------------------------------------------+ make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 On Nov 9, 2008, at 7:33 PM, Brian West wrote:
install the latest dev tools CD/DVD image from connect.apple.com
/b
On Nov 9, 2008, at 2:14 PM, martin joseph wrote:
Hey FreeSwitchers,
I have been running 1.01 (which I built from a tarball) without any problems.
If you have the latest dev tools and you do a fresh check out and then ./bootstrap.sh it should work fine. It does on my 10.5 box. /usr/bin/libtool != gnu libtool aka glibtool /b On Nov 10, 2008, at 12:09 PM, martin joseph wrote:
After a build.sh I get the following.
I have NOT updated my dev tools as I am still running 10.4.11, but I will go over to apple and check if there is an update (I think I am current).
Thanks for the help. Marty
/usr/bin/libtool: can't map file: /usr/src/freeswitch/trunk/libs/ apr/.libs ((os/kern) invalid argument) make[2]: *** [libfreeswitch.la] Error 1 Making all in src Making all in mod
making all mod_amr make[5]: *** No rule to make target `/usr/src/freeswitch/trunk/ libfreeswitch.la', needed by `mod_amr.so'. Stop. make[4]: *** [all] Error 1 make[3]: *** [mod_amr-all] Error 1 make[2]: *** [all-recursive] Error 1 Making all in build +-------- FreeSWITCH Build Complete -----------+ + FreeSWITCH has been successfully built. + + Install by running: + + + + make install + +----------------------------------------------+ make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
On Nov 10, 2008, at 10:15 AM, Brian West wrote:
If you have the latest dev tools and you do a fresh check out and then ./bootstrap.sh it should work fine. It does on my 10.5 box.
/usr/bin/libtool != gnu libtool aka glibtool
Yes I am aware of that as I did get 1.01 to build ok. The SVN trunk doesn't build on my 10.4.11 box however as it ./ configure produces: checking for a BSD-compatible install... /usr/bin/install -c ./configure: line 4112: syntax error near unexpected token `build_libtool_libs,' ./configure: line 4112: ` _LT_DECL(build_libtool_libs, enable_shared, 0,' configure: error: ./configure.gnu failed for libs/openmrcp Thanks for any ideas on this, Marty PS I already have the last updated devtools for 10.4 AFAIK.
/b
On Nov 10, 2008, at 12:09 PM, martin joseph wrote:
After a build.sh I get the following.
I have NOT updated my dev tools as I am still running 10.4.11, but I will go over to apple and check if there is an update (I think I am current).
Thanks for the help. Marty
/usr/bin/libtool: can't map file: /usr/src/freeswitch/trunk/libs/ apr/.libs ((os/kern) invalid argument) make[2]: *** [libfreeswitch.la] Error 1 Making all in src Making all in mod
making all mod_amr make[5]: *** No rule to make target `/usr/src/freeswitch/trunk/ libfreeswitch.la', needed by `mod_amr.so'. Stop. make[4]: *** [all] Error 1 make[3]: *** [mod_amr-all] Error 1 make[2]: *** [all-recursive] Error 1 Making all in build +-------- FreeSWITCH Build Complete -----------+ + FreeSWITCH has been successfully built. + + Install by running: + + + + make install + +----------------------------------------------+ make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
_______________________________________________ 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
Have you installed autotools not part of the standard dev tools (like from macports or fink?) Mike On Nov 12, 2008, at 1:01 AM, martin joseph wrote:
esn't build on my 10.4.11 box however as it ./ configure produces: checking for a BSD-compatible install... /usr/bin/install -c ./configure: line 4112: syntax error near unexpected token `build_libtool_libs,' ./configure: line 4112: ` _LT_DECL(build_libtool_libs, enable_shared, 0,' configure: error: ./configure.gnu failed for libs/openmrcp
Thanks for any ideas on this, Marty
PS I already have the last updated devtools for 10.4 AFAI
participants (3)
-
Brian West
-
martin joseph
-
Michael Jerris