Ok problem solved. Basically I had installed autoconf myself and Ubuntu had installed a version of it as well. So the files were being generated using both autoconf which were conflicting.

Thanks for the help.

Ishaan

On 26/01/2011 03:35, Murphy McCauley wrote:
Is there any reason you're not just using the m4/autoconf/automake/etc. 
packages from the Ubuntu apt repository?  This is the most common route, so 
it's definitely going to be the most reliable...

-- Murphy

On Jan 25, 2011, at 7:30 PM, Ishaan Aggarwal wrote:

I just happened to put the latest version of autoconf. Now I degraded to
2.67 and things changed. Now I am getting the following error message
(much smaller) for ./boot.sh


Disabling noxext...
configure.ac:21: error: possibly undefined macro: AC_DISABLE_STATIC
      If this token and others are legitimate, please use
m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:22: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
configure.ac:23: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /usr/local/bin/autoconf failed with exit status: 1



I have 1.4.15 version of M4 and 1.10.3 version of automake. I tried
putting in 1.4.14 version of M4 to check if that worked but that gave me
the following error when I tried running make:

make[2]: Leaving directory `/home/mind/m4-1.4.14/lib'
Making all in src
make[2]: Entering directory `/home/mind/m4-1.4.14/src'
gcc -std=gnu99   -g -O2   -o m4 m4.o builtin.o debug.o eval.o format.o
freeze.o input.o macro.o output.o path.o symtab.o ../lib/libm4.a
path.o: In function `m4_fopen':
/home/mind/m4-1.4.14/src/path.c:118: undefined reference to `S_ISDIR'
collect2: ld returned 1 exit status
make[2]: *** [m4] Error 1
make[2]: Leaving directory `/home/mind/m4-1.4.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mind/m4-1.4.14'
make: *** [all] Error 2


Thank you

Ishaan


On Tue, 2011-01-25 at 18:08 -0800, Murphy McCauley wrote:
Did you specifically upgrade autoconf to 2.68?  I believe the latest in Ubuntu 
10.10 is 2.67.  I ask because I don't have time to look into this just now, but 
I believe downgrading to 2.67 will fix your problem.

-- Murphy

On Jan 25, 2011, at 5:40 PM, Ishaan Aggarwal wrote:

Hello,

I am new to Openflow and NOX and was trying to install NOX on Ubuntu
10.10. I pulled the latest repository from git and when ran ./boot.sh I
got the following error:

building with all apps
Disabling noxext...
configure.ac:33: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded
from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded
from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
/home/mind/nox/config/ax_boost_filesystem.m4:34: AX_BOOST_FILESYSTEM is
expanded from...
configure.ac:33: the top level
configure.ac:108: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded
from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded
from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
/home/mind/nox/config/ax_boost_unit_test_framework.m4:34:
AX_BOOST_UNIT_TEST_FRAMEWORK is expanded from...
configure.ac:108: the top level
configure.ac:33: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded
from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded
from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:1546: AX_BOOST_FILESYSTEM is expanded from...
configure.ac:33: the top level
configure.ac:108: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded
from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded
from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:1654: AX_BOOST_UNIT_TEST_FRAMEWORK is expanded from...
configure.ac:108: the top level
configure.ac:33: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded
from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded
from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:1546: AX_BOOST_FILESYSTEM is expanded from...
configure.ac:33: the top level
configure.ac:108: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded
from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded
from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:1654: AX_BOOST_UNIT_TEST_FRAMEWORK is expanded from...
configure.ac:108: the top level
configure.ac:21: error: possibly undefined macro: AC_DISABLE_STATIC
     If this token and others are legitimate, please use
m4_pattern_allow.
     See the Autoconf documentation.
configure.ac:22: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
configure.ac:23: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /usr/local/bin/autoconf failed with exit status: 1






However it generated the configuration file which when I ran gave the
following error:

configure: error: cannot find install-sh, install.sh, or shtool in
config "."/config

I have autoconf 2.68.

Thank you

Ishaan Aggarwal




_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org



_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to