problems building vrjuggler on ubuntu 12.04

182 views
Skip to first unread message

Penn Taylor

unread,
Apr 30, 2012, 1:31:33 AM4/30/12
to vrjuggler-questions
Attempting to build on ubuntu 12.04 (autoconf=2.68, aclocal=1.11). It
fails very early on with:

/vrjuggler-trunk/modules/vapor/configure: line 16078: syntax error
near unexpected token `0.9.4,'
/vrjuggler-trunk/modules/vapor/configure: line 16078:
`AM_PATH_FLAGPOLL(0.9.4, ,'


Backing down to autoconf and autoheader version 2.59 and aclocal
version 1.9 yields:

aclocal:configure.ac:869: warning: macro `AM_PATH_FLAGPOLL' not found
in library
configure.ac:354: 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:2730: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2749: AC_RUN_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...
configure.ac:354: the top level
Running autoheader2.59...
Running autoconf2.59 ...
configure.ac:270: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
configure.ac:869: error: possibly undefined macro: AM_PATH_FLAGPOLL


Ideas, anyone? I seem to recall that on Ubuntu 10.04, backing down the
autotools versions worked. Very frustrating that it doesn't work here.

Penn Taylor

unread,
Apr 30, 2012, 2:00:46 AM4/30/12
to vrjuggler-questions

It appears that by commenting out lines 16078 and 16079 of
modules/vapor/configure *AND* setting the FLAGPOLL environment
variable to point at your installation of flagpoll, you can cruise
past this
little issue. I'll let someone smarter try to figure out a "proper"
solution.

Penn Taylor

unread,
Apr 30, 2012, 10:49:13 PM4/30/12
to vrjuggler-questions
The proper solution to this issue was pointed out to me by Doug
McCorkle: ensure the ACLOCAL environment variable contains the path to
Flagpoll's own share/aclocal directory. No commenting out of configure
lines is needed.

Todd

unread,
May 31, 2012, 8:09:43 PM5/31/12
to vrjuggler...@googlegroups.com
Penn,

I have this same issue in Scientific Linux 6.2.  What are the exact environment variables you had to set in Ubuntu?  This system has autoconf 2.63 and aclocal 1.11.1.  Do I need to roll back versions of those tools as well?

Thanks,
Todd

Todd Furlong

unread,
May 31, 2012, 8:34:01 PM5/31/12
to vrjuggler...@googlegroups.com
Nevermind, I got it:
export ACLOCAL_FLAGS="-I /usr/share/aclocal'

Then run autogen.sh in the VR Juggler root path.

-Todd

Doug McCorkle

unread,
May 31, 2012, 8:42:21 PM5/31/12
to vrjuggler...@googlegroups.com
Yes, and if you have already run configure you will need to run the acclean.sh script and then rerun configure.

Doug
Reply all
Reply to author
Forward
0 new messages