Opened 16 years ago

Closed 14 years ago

#19564 closed defect (fixed)

opendx configure failure

Reported by: mf2k (Frank Schima) Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: nicholas.d.pate@…
Port: opendx

Description

I see the following error while trying to configure opendx. I'm on Mac OS X 10.5.6. Xcode 3.1.2.

--->  Configuring opendx
Error: Target org.macports.configure returned: autoconf failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_opendx/work/dx-4.4.4" && autoreconf -fvi " returned error 1
Command output: autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
/opt/local/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/opt/local/share/aclocal/imlib.m4:9:   run info '(automake)Extending aclocal'
/opt/local/share/aclocal/imlib.m4:9:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.ac:222: error: m4_require: circular dependency of AC_LANG_COMPILER(C++)
../../lib/autoconf/lang.m4:271: AC_LANG_COMPILER_REQUIRE is expanded from...
../../lib/autoconf/general.m4:2518: AC_LINK_IFELSE is expanded from...
/opt/local/share/aclocal/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
/opt/local/share/aclocal/libtool.m4:5340: _LT_LANG_CXX_CONFIG is expanded from...
/opt/local/share/aclocal/libtool.m4:785: _LT_LANG is expanded from...
/opt/local/share/aclocal/libtool.m4:768: LT_LANG is expanded from...
../../lib/autoconf/c.m4:769: AC_LANG_COMPILER(C++) is expanded from...
../../lib/autoconf/lang.m4:271: AC_LANG_COMPILER_REQUIRE is expanded from...
../../lib/autoconf/general.m4:2462: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:505: AS_IF is expanded from...
../../lib/autoconf/headers.m4:87: AC_CHECK_HEADER is expanded from...
../../lib/autoconf/headers.m4:195: AC_CHECK_HEADERS is expanded from...
configure.ac:222: the top level
autom4te: /opt/local/bin/gm4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

Error: Unable to upgrade port: 1

Change History (9)

comment:1 Changed 15 years ago by ralph@…

Me too.

comment:2 Changed 15 years ago by john.b.colby@…

Same problem for me.

comment:3 Changed 15 years ago by john.b.colby@…

I tried a workaround by explicitly adding AC_PROG_CXX after line 220 in the main configure.ac, and now opendx seems to compile and install fine. However, when I try to launch it, I get some netcdf library error. Any ideas?

jcolby$ dx
dyld: Symbol not found: _H5P_CLS_FILE_ACCESS_g
  Referenced from: /opt/local/lib/libnetcdf.6.dylib
  Expected in: dynamic lookup

Trace/BPT trap

comment:4 Changed 15 years ago by john.b.colby@…

Ah...figured that one out too. If anyone has the same problem, it's a known netcdf issue:

http://www.unidata.ucar.edu/software/netcdf/docs/known_problems.html#o_problem_mac

comment:5 Changed 15 years ago by gwright@…

Status: newassigned

I'll port the fixes and test them out, but I need to resolve the ghc-6.10.3/Tiger problem first. Looks as if that is not too far off, however.

comment:6 Changed 15 years ago by ralph@…

The workaround worked for me. Thanks.

comment:7 Changed 15 years ago by adfernandes (Andrew Fernandes)

See ticket #21983

comment:8 Changed 15 years ago by nicholas.d.pate@…

Cc: nicholas.d.pate@… added

Cc Me!

comment:9 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.