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

Johnoel Ancheta johnoel at hawaii.edu
Fri Apr 15 17:48:04 PDT 2011


Rebuild the configure file.

$ make --directory=scripts/configure


On 4/15/11 2:38 PM, Evan Cooch wrote:
> Alas, no look. Took latest admb-10.1.zip archive, extracted it, and 
> tried ./configure with the 'native' (non-tweaked) scripts, and 
> config.log still shows the same FAIL(s) -- for example:
>
> conftest.cpp:9:28: error: ac_nonexistent.h: No such file or directory
> 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: g++ -E
>
>
> On 4/15/2011 3:34 PM, bigA wrote:
>> Hi Evan,
>> Have you tried the untweaked scripts? In version 10.0 there was a bug 
>> in the script that produced the compilation scripts. That was fixed 
>> in version 10.1, I have successfully compiled and installed 10.1 
>> without any tweaking of the compilation scripts.
>> Best!
>>
>> On Thu, Apr 14, 2011 at 6:05 AM, Evan Cooch <evan.cooch at gmail.com 
>> <mailto:evan.cooch at gmail.com>> wrote:
>>
>>     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"
>>     <mailto: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...
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at admb-project.org <mailto:Users at admb-project.org>
>>     http://lists.admb-project.org/mailman/listinfo/users
>>
>>
>
>
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20110415/0d803287/attachment.html>


More information about the Users mailing list