[ADMB Users] old compilation problem, new version (10.1)

Evan Cooch evan.cooch at gmail.com
Thu Apr 14 06:05:07 PDT 2011


So, with the assistance of several folks on the list, who provided a 
hacked configure and GNUmakefile.in script (attached), I was able to 
successfully compile ADMB 10.0 for my various CentOS (5.5) boxes. 
However, when I tried the same compile sequence, using the 'tweaked' 
scripts, with the 10.1 source, I ended up with the same FAIL during 
configure that I did initially with 10.0. In the config.log, I see 
things like:

configure:3169: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ADMB"
| #define PACKAGE_TARNAME "admb"
| #define PACKAGE_VERSION "10.0"
| #define PACKAGE_STRING "ADMB 10.0"
| #define PACKAGE_BUGREPORT "users at admb-project.org"
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3194: result: /usr/bin/g++44 -E
configure:3214: /usr/bin/g++44 -E  conftest.cpp
configure:3214: $? = 0
configure:3228: /usr/bin/g++44 -E  conftest.cpp
conftest.cpp:9:28: error: ac_nonexistent.h: No such file or directory


So, I *think* that there is something in the tweaked scripts that needs 
to be re-tweaked for the 10.1 source. I'd be happy to take a stab at it 
myself, but probably more efficient to let the 'smart' folks out there 
suggest/make the changes (or suggest other fixes).  Given that CentOS is 
basically RHEL, and given that RH does have a non-trivial market share, 
perhaps it would be worth adding something to the config script to 
detect the distro, and self-tweak as needed?

Thanks in advance...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20110414/623b78c3/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: GNUmakefile.in
URL: <http://lists.admb-project.org/pipermail/users/attachments/20110414/623b78c3/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configure
URL: <http://lists.admb-project.org/pipermail/users/attachments/20110414/623b78c3/attachment-0001.ksh>


More information about the Users mailing list