-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi group, I can't compile latest trunk on FreeBSD 7.0-STABLE, bootstrap works, configure fails here: === configuring in libs/libsndfile (/usr/home/ktk/freeswitch.trunk/libs/libsndfile) configure: running /bin/sh ./configure.gnu --disable-option-checking '--prefix=/usr/local/freeswitch' --cache-file=/dev/null --srcdir=. checking build system type... i386-unknown-freebsd7.0 checking host system type... i386-unknown-freebsd7.0 checking target system type... i386-unknown-freebsd7.0 ./configure.lineno: 1997: Syntax error: word unexpected (expecting ") I was already discussing that two nights ago on IRC. Does that work for anyone on FreeBSD with the latest trunk code? My BSD has the following autoconf installed: autoconf-2.61_2 autoconf-2.62 I can't take 1.0.0 as this fails in another module :) cu Adrian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIfezQqpMUYrZbQBERAt9pAJ9CUKvAmqVaUc9j7wz+F7hlYfleCgCgq8eh lSiYDlJmjIUcK6McFILmLw4= =CEVv -----END PGP SIGNATURE-----
Adrian Gschwend wrote:
Hi group,
I can't compile latest trunk on FreeBSD 7.0-STABLE, bootstrap works, configure fails here:
=== configuring in libs/libsndfile (/usr/home/ktk/freeswitch.trunk/libs/libsndfile) configure: running /bin/sh ./configure.gnu --disable-option-checking '--prefix=/usr/local/freeswitch' --cache-file=/dev/null --srcdir=. checking build system type... i386-unknown-freebsd7.0 checking host system type... i386-unknown-freebsd7.0 checking target system type... i386-unknown-freebsd7.0 ./configure.lineno: 1997: Syntax error: word unexpected (expecting ")
I was already discussing that two nights ago on IRC.
Does that work for anyone on FreeBSD with the latest trunk code?
My BSD has the following autoconf installed:
autoconf-2.61_2 autoconf-2.62
I can't take 1.0.0 as this fails in another module :)
cu
Adrian
It worked for me on 7.0-RELEASE on amd64. Not sure if it has anything to do with autconf-wrapper. autoconf-2.61_2 Automatically configure source code on many Un*x platforms autoconf-wrapper-20071109 Wrapper script for GNU autoconf automake-1.9.6_2 GNU Standards-compliant Makefile generator (1.9) automake-wrapper-20071109 Wrapper script for GNU automake Path: . URL: http://svn.freeswitch.org/svn/freeswitch/trunk Repository Root: http://svn.freeswitch.org/svn Repository UUID: d0543943-73ff-0310-b7d9-9358b9ac24b2 Revision: 9065 Node Kind: directory Schedule: normal Last Changed Author: anthm Last Changed Rev: 9065 Last Changed Date: 2008-07-16 22:04:31 +0000 (Wed, 16 Jul 2008)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Adrian Gschwend wrote:
I can't compile latest trunk on FreeBSD 7.0-STABLE, bootstrap works, configure fails here: [...]
I could solve that problem at least:
My BSD has the following autoconf installed:
autoconf-2.61_2 autoconf-2.62
- -> autoconf-2.62 is the problem, bootstrap decides to take that one in my case and that doesn't work. Doing it with 2.61 solves the issue. However, mod_spidermonkey doesn't want to compile now, I get plenty of errors like: making all mod_spidermonkey "./config/autoconf.mk", line 112: Need an operator "./config/autoconf.mk", line 113: Need an operator "./config/autoconf.mk", line 114: Need an operator "./config/autoconf.mk", line 120: Need an operator "./config/autoconf.mk", line 121: Need an operator "./config/autoconf.mk", line 122: Need an operator "./config/autoconf.mk", line 127: Need an operator "./config/autoconf.mk", line 128: Need an operator "./config/autoconf.mk", line 129: Need an operator "Makefile", line 52: Need an operator "Makefile", line 55: Missing dependency operator "Makefile", line 56: Need an operator "Makefile", line 58: Need an operator "Makefile", line 59: Need an operator "Makefile", line 60: Need an operator "Makefile", line 61: Need an operator "./config/rules.mk", line 73: Need an operator "./config/rules.mk", line 75: Need an operator [...] The Makefile looks like this: - -- WANT_CURL=yes LOCAL_CFLAGS= LOCAL_LDFLAGS= LOCAL_LIBADD= include sm.mak depend_install: $(DESTDIR)$(libdir)/libjs.la $(DESTDIR)$(libdir)/libjs.la: $(JSLA) cd $(JS_DIR)/nsprpub/ && $(MAKE) install cd $(JS_DIR) && $(MAKE) install - -- any ideas? cu Adrian _______________________________________________ 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 - -- Adrian Gschwend @ netlabs.org ktk [a t] netlabs.org - ------- Open Source Project http://www.netlabs.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIfxeEqpMUYrZbQBERAr+rAJ0Y9ertk7GCT+YTrTIa7dvViFZiNgCeLaSx 58j9znoHyU5END5gSZgMX00= =Hn6Z -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Adrian Gschwend wrote:
However, mod_spidermonkey doesn't want to compile now, I get plenty of errors like:
forget that remark, used make instead of gmake... gmake does the job! I updated the FreeBSD part in the wiki with a note regarding autoconf & gmake. cu Adrian - -- Adrian Gschwend @ netlabs.org ktk [a t] netlabs.org - ------- Open Source Project http://www.netlabs.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIf0cYqpMUYrZbQBERAsJoAJ42/Nz8/mWlYIbsOdt7URW5dWkPXACgvSHL afy1QYlm3iP6zjJJGyw/oWY= =CqyY -----END PGP SIGNATURE-----
This should be a no brainer at all. I had been compiling FS since time immemorial either in FreeBSD-stable or FreeBSD-current on whatever x.x and I never had any issues with it like just what I read here. Which makes me wonder then as to how these guys are doing it? 8-)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Adrian Gschwend wrote:
However, mod_spidermonkey doesn't want to compile now, I get plenty of errors like:
forget that remark, used make instead of gmake... gmake does the job!
I updated the FreeBSD part in the wiki with a note regarding autoconf & gmake.
cu
Adrian
- -- Adrian Gschwend @ netlabs.org
ktk [a t] netlabs.org - ------- Open Source Project http://www.netlabs.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIf0cYqpMUYrZbQBERAsJoAJ42/Nz8/mWlYIbsOdt7URW5dWkPXACgvSHL afy1QYlm3iP6zjJJGyw/oWY= =CqyY -----END PGP SIGNATURE-----
_______________________________________________ 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
Adrian Gschwend wrote:
Adrian Gschwend wrote:
I can't compile latest trunk on FreeBSD 7.0-STABLE, bootstrap works, configure fails here: [...]
I could solve that problem at least:
My BSD has the following autoconf installed:
autoconf-2.61_2 autoconf-2.62
-> autoconf-2.62 is the problem, bootstrap decides to take that one in my case and that doesn't work. Doing it with 2.61 solves the issue.
However, mod_spidermonkey doesn't want to compile now, I get plenty of errors like:
making all mod_spidermonkey "./config/autoconf.mk", line 112: Need an operator "./config/autoconf.mk", line 113: Need an operator "./config/autoconf.mk", line 114: Need an operator "./config/autoconf.mk", line 120: Need an operator "./config/autoconf.mk", line 121: Need an operator "./config/autoconf.mk", line 122: Need an operator "./config/autoconf.mk", line 127: Need an operator "./config/autoconf.mk", line 128: Need an operator "./config/autoconf.mk", line 129: Need an operator "Makefile", line 52: Need an operator "Makefile", line 55: Missing dependency operator "Makefile", line 56: Need an operator "Makefile", line 58: Need an operator "Makefile", line 59: Need an operator "Makefile", line 60: Need an operator "Makefile", line 61: Need an operator "./config/rules.mk", line 73: Need an operator "./config/rules.mk", line 75: Need an operator [...]
The Makefile looks like this:
you need to use gmake on *BSD. fbsd-64# make mod_spidermonkey-clean `libfreeswitch.la' is up to date. making clean mod_spidermonkey fbsd-64# make mod_spidermonkey-install /bin/sh /usr/local/src/freeswitch/quiet_libtool --mode=install /usr/bin/install -c 'libfreeswitch.la' '/usr/local/freeswitch/lib/libfreeswitch.la' /usr/bin/install -c .libs/libfreeswitch.so.1 /usr/local/freeswitch/lib/libfreeswitch.so.1 (cd /usr/local/freeswitch/lib && { ln -s -f libfreeswitch.so.1 libfreeswitch.so || { rm -f libfreeswitch.so && ln -s libfreeswitch.so.1 libfreeswitch.so; }; }) (cd /usr/local/freeswitch/lib && { ln -s -f libfreeswitch.so.1 libfreeswitch.so || { rm -f libfreeswitch.so && ln -s libfreeswitch.so.1 libfreeswitch.so; }; }) /usr/bin/install -c .libs/libfreeswitch.lai /usr/local/freeswitch/lib/libfreeswitch.la /usr/bin/install -c .libs/libfreeswitch.a /usr/local/freeswitch/lib/libfreeswitch.a chmod 644 /usr/local/freeswitch/lib/libfreeswitch.a ranlib /usr/local/freeswitch/lib/libfreeswitch.a ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/freeswitch/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- making install mod_spidermonkey Compiling mod_spidermonkey.c... Creating mod_spidermonkey.so... "./config/autoconf.mk", line 112: Need an operator "./config/autoconf.mk", line 113: Need an operator "./config/autoconf.mk", line 114: Need an operator "./config/autoconf.mk", line 120: Need an operator "./config/autoconf.mk", line 121: Need an operator "./config/autoconf.mk", line 122: Need an operator "./config/autoconf.mk", line 127: Need an operator "./config/autoconf.mk", line 128: Need an operator "./config/autoconf.mk", line 129: Need an operator "Makefile", line 52: Need an operator "Makefile", line 55: Missing dependency operator "Makefile", line 56: Need an operator "Makefile", line 58: Need an operator "Makefile", line 59: Need an operator "Makefile", line 60: Need an operator "Makefile", line 61: Need an operator "./config/rules.mk", line 73: Need an operator "./config/rules.mk", line 75: Need an operator "./config/rules.mk", line 77: Need an operator "./config/rules.mk", line 79: Need an operator "./config/rules.mk", line 81: Need an operator "./config/config.mk", line 55: Need an operator "./config/config.mk", line 57: Need an operator "./config/config.mk", line 59: Need an operator "./config/config.mk", line 61: Need an operator "./config/config.mk", line 77: Need an operator "./config/config.mk", line 80: Need an operator "./config/config.mk", line 84: Missing dependency operator "./config/config.mk", line 86: Need an operator "./config/config.mk", line 88: Missing dependency operator "./config/config.mk", line 90: Need an operator "./config/config.mk", line 91: Missing dependency operator "./config/config.mk", line 94: Need an operator "./config/config.mk", line 95: Missing dependency operator "./config/config.mk", line 97: Missing dependency operator "./config/config.mk", line 99: Need an operator "./config/config.mk", line 101: Need an operator "./config/config.mk", line 102: Need an operator "./config/config.mk", line 105: Need an operator "./config/config.mk", line 106: Need an operator "./config/config.mk", line 107: Need an operator "./config/config.mk", line 111: Need an operator "./config/config.mk", line 113: Need an operator "./config/config.mk", line 127: Missing dependency operator "./config/config.mk", line 129: Need an operator "./config/config.mk", line 131: Missing dependency operator "./config/config.mk", line 133: Need an operator "./config/config.mk", line 135: Missing dependency operator "./config/config.mk", line 137: Need an operator "./config/config.mk", line 139: Missing dependency operator "./config/config.mk", line 141: Need an operator "./config/config.mk", line 143: Missing dependency operator "./config/config.mk", line 145: Need an operator "./config/config.mk", line 154: Missing dependency operator "./config/config.mk", line 157: Need an operator "./config/rules.mk", line 83: Need an operator "./config/rules.mk", line 85: Need an operator "./config/rules.mk", line 86: Need an operator "./config/rules.mk", line 87: Need an operator "./config/rules.mk", line 93: Need an operator "./config/rules.mk", line 94: Need an operator "./config/rules.mk", line 95: Need an operator "./config/rules.mk", line 108: Need an operator "./config/rules.mk", line 109: Missing dependency operator "./config/rules.mk", line 115: Missing dependency operator "./config/rules.mk", line 120: Need an operator "./config/rules.mk", line 125: Need an operator "./config/rules.mk", line 127: Need an operator "./config/rules.mk", line 130: Missing dependency operator "./config/rules.mk", line 132: Need an operator "./config/rules.mk", line 133: Need an operator "./config/rules.mk", line 135: Need an operator "./config/rules.mk", line 136: Need an operator "./config/rules.mk", line 138: Need an operator "./config/rules.mk", line 139: Need an operator "./config/rules.mk", line 141: Need an operator "./config/rules.mk", line 142: Missing dependency operator "./config/rules.mk", line 144: Need an operator "./config/rules.mk", line 145: Need an operator "./config/rules.mk", line 146: Missing dependency operator "./config/rules.mk", line 148: Need an operator "./config/rules.mk", line 149: Need an operator "./config/rules.mk", line 150: Need an operator "./config/rules.mk", line 151: Need an operator "./config/rules.mk", line 153: Need an operator "./config/rules.mk", line 154: Need an operator "./config/rules.mk", line 162: Need an operator "./config/rules.mk", line 165: Need an operator "./config/rules.mk", line 167: Missing dependency operator "./config/rules.mk", line 169: Need an operator "./config/rules.mk", line 175: Missing dependency operator "./config/rules.mk", line 177: Need an operator "./config/rules.mk", line 181: Need an operator "./config/rules.mk", line 182: Need an operator "./config/rules.mk", line 184: Need an operator "./config/rules.mk", line 186: Need an operator "./config/rules.mk", line 188: Need an operator "./config/rules.mk", line 200: Need an operator "./config/rules.mk", line 234: Need an operator "./config/rules.mk", line 236: Need an operator "./config/rules.mk", line 240: Need an operator "./config/rules.mk", line 241: warning: duplicate script for target "ifdef" ignored "./config/rules.mk", line 247: warning: duplicate script for target "ifdef" ignored "./config/rules.mk", line 253: warning: duplicate script for target "ifdef" ignored "./config/rules.mk", line 254: warning: duplicate script for target "ifdef" ignored "./config/rules.mk", line 255: Need an operator "./config/rules.mk", line 256: Need an operator "./config/rules.mk", line 257: warning: duplicate script for target "ifdef" ignored "./config/rules.mk", line 263: warning: duplicate script for target "ifdef" ignored "./config/rules.mk", line 269: warning: duplicate script for target "ifdef" ignored "./config/rules.mk", line 270: warning: duplicate script for target "ifdef" ignored "./config/rules.mk", line 271: Need an operator "./config/rules.mk", line 272: Need an operator "./config/rules.mk", line 273: warning: duplicate script for target "ifdef" ignored "./config/rules.mk", line 279: warning: duplicate script for target "ifdef" ignored "./config/rules.mk", line 285: warning: duplicate script for target "ifdef" ignored "./config/rules.mk", line 286: warning: duplicate script for target "ifdef" ignored "./config/rules.mk", line 287: Need an operator Error expanding embedded variable. *** Error code 2 Stop in /usr/local/src/freeswitch/src/mod/languages/mod_spidermonkey. *** Error code 1 Stop in /usr/local/src/freeswitch/src/mod/languages/mod_spidermonkey. *** Error code 1 Stop in /usr/local/src/freeswitch/src/mod. *** Error code 1 Stop in /usr/local/src/freeswitch. fbsd-64# gmake mod_spidermonkey-install /bin/sh /usr/local/src/freeswitch/quiet_libtool --mode=install /usr/bin/install -c 'libfreeswitch.la' '/usr/local/freeswitch/lib/libfreeswitch.la' /usr/bin/install -c .libs/libfreeswitch.so.1 /usr/local/freeswitch/lib/libfreeswitch.so.1 (cd /usr/local/freeswitch/lib && { ln -s -f libfreeswitch.so.1 libfreeswitch.so || { rm -f libfreeswitch.so && ln -s libfreeswitch.so.1 libfreeswitch.so; }; }) (cd /usr/local/freeswitch/lib && { ln -s -f libfreeswitch.so.1 libfreeswitch.so || { rm -f libfreeswitch.so && ln -s libfreeswitch.so.1 libfreeswitch.so; }; }) /usr/bin/install -c .libs/libfreeswitch.lai /usr/local/freeswitch/lib/libfreeswitch.la /usr/bin/install -c .libs/libfreeswitch.a /usr/local/freeswitch/lib/libfreeswitch.a chmod 644 /usr/local/freeswitch/lib/libfreeswitch.a ranlib /usr/local/freeswitch/lib/libfreeswitch.a ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/freeswitch/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- making install mod_spidermonkey cd config; gmake -j1 install cd pr; gmake -j1 install cd include; gmake install cd md; gmake install cd private; gmake install cd obsolete; gmake install cd src; gmake install cd io; gmake install cd malloc; gmake install cd md; gmake install cd unix; gmake install cd memory; gmake install cd misc; gmake install cd threads; gmake install cd pthreads; gmake install cd lib; gmake -j1 install cd ds; gmake install cd libc; gmake install cd include; gmake install cd src; gmake install ./shtool install -c -m 644 .libs/libjs.lai /usr/local/freeswitch/lib/libjs.la ./shtool install -c -m 644 .libs/libjs.a /usr/local/freeswitch/lib/libjs.a chmod 644 /usr/local/freeswitch/lib/libjs.a ranlib /usr/local/freeswitch/lib/libjs.a ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/freeswitch/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- installing mod_spidermonkey.so
participants (3)
-
Adrian Gschwend
-
demuel@thephinix.org
-
John Skopis (Lists)