<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1">Done -- and success! (At least, configure/make/make
install worked without failures). </font><br>
<br>
Many thanks to all for their help/guidance (patience!). <br>
<br>
On 3/23/2011 8:54 PM, Johnoel Ancheta wrote:
<blockquote cite="mid:4D8A9653.6010006@hawaii.edu" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Replace the file scripts/configure/GNUmakefile.in with the
attached file,<br>
then configure,make,make install.<br>
<br>
<br>
On 3/21/11 11:16 AM, Johnoel Ancheta wrote:
<blockquote cite="mid:4D87C02F.7020301@hawaii.edu" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Yes, it was fixed, but not yet released. After running
configure,<br>
edit the generated GNUmakefile. Locate the line <br>
<br>
<font size="-1">install -m 555 scripts/g++/admb-bin
/usr/local/bin/admb<br>
<br>
and change to <br>
<br>
</font><font size="-1">install -m 555 scripts/<b>admb</b>/admb-bin
/usr/local/bin/admb</font><br>
<br>
then <br>
<br>
$ make install.<br>
<br>
An easier approach would be to just copy the distribution folder<br>
build/admb-*/admb-* to your home folder, then set ADMB_HOME<br>
to that.<br>
<br>
On 3/21/11 11:07 AM, aaron wrote:
<blockquote cite="mid:4D87BE0E.5050709@gmail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hum this is really interesting. <br>
What were the warnings? It looks like the 32bit compile worked
ok... <br>
except that make looked for admb-bin in the wrong directory.
This could have been fixed recently.<br>
The configure log would be good to see.<br>
<br>
Aaron<br>
<br>
<br>
<br>
<br>
On 03/21/2011 01:18 PM, Evan Cooch wrote:
<blockquote cite="mid:4D87B284.3050104@gmail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
As an attachment -- to you off-list, or to the list at
large? <br>
<br>
On 3/21/2011 3:37 PM, Johnoel Ancheta wrote:
<blockquote cite="mid:4D87A8EE.9090306@hawaii.edu"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Can you send the config.log?<br>
<br>
On 3/20/11 7:24 AM, Evan Cooch wrote:
<blockquote cite="mid:4D863865.4000205@gmail.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<font size="-1">Greetings --<br>
<br>
I've been trying (without success) to compile ADMB
(10.x) from source on a machine running x86_64 RHEL
(which, as many or you might know, uses gcc 4.1.2).
I'm hoping the solution isn't as simple as 'you have
to have gcc 4.4.x to compile ADMB -- if so, then this
lets out RHEL, CentOS, and Scientific Linux, all of
whom stay far from the bleeding edge and use 4.1.x). <br>
<br>
So, here is what I've tried -- followed the basic
instructions in the README file -- downloaded latest
admb-10.0.zip. Extracted, then (from bash shell) run
./configure BUILD_64BIT=yes<br>
<br>
<br>
While the screen dump didn't indicate any problems,
looking deeper into the configure.log showed multiple
'issues'. First, picks up gcc fine<br>
<br>
configure:2117: checking for gcc<br>
configure:2133: found /usr/bin/gcc<br>
configure:2144: result: gcc<br>
configure:2373: checking for C compiler version<br>
configure:2382: gcc --version >&5<br>
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48) <br>
<br>
<br>
First errors show up when looking at C++ preprocessor:<br>
<br>
configure:3128: checking how to run the C++
preprocessor<br>
configure:3155: g++ -E conftest.cpp<br>
configure:3155: $? = 0<br>
configure:3169: g++ -E conftest.cpp<br>
conftest.cpp:9:28: error: ac_nonexistent.h: No such
file or directory<br>
configure:3169: $? = 1<br>
configure: failed program was:<br>
| /* confdefs.h */<br>
| #define PACKAGE_NAME "ADMB"<br>
| #define PACKAGE_TARNAME "admb"<br>
| #define PACKAGE_VERSION "10.0"<br>
| #define PACKAGE_STRING "ADMB 10.0"<br>
| #define PACKAGE_BUGREPORT <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:users@admb-project.org">"users@admb-project.org"</a><br>
| #define PACKAGE_URL ""<br>
| /* end confdefs.h. */<br>
| #include <ac_nonexistent.h><br>
configure:3194: result: g++ -E<br>
configure:3214: g++ -E conftest.cpp<br>
configure:3214: $? = 0<br>
configure:3228: g++ -E conftest.cpp<br>
conftest.cpp:9:28: error: ac_nonexistent.h: No such
file or directory<br>
configure:3228: $? = 1<br>
configure: failed program was:<br>
| /* confdefs.h */<br>
| #define PACKAGE_NAME "ADMB"<br>
| #define PACKAGE_TARNAME "admb"<br>
| #define PACKAGE_VERSION "10.0"<br>
| #define PACKAGE_STRING "ADMB 10.0"<br>
| #define PACKAGE_BUGREPORT <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:users@admb-project.org">"users@admb-project.org"</a><br>
| #define PACKAGE_URL ""<br>
| /* end confdefs.h. */ <br>
<br>
and later on<br>
<br>
configure:3621: checking lex library<br>
configure:3635: g++ -o conftest -g -O2
conftest.cpp >&5<br>
conftest.l: In function 'int yylex()':<br>
conftest.l:6: error: 'input' was not declared in this
scope<br>
configure:3635: $? = 1<br>
configure: failed program was:<br>
| /* confdefs.h */<br>
| #define PACKAGE_NAME "ADMB"<br>
| #define PACKAGE_TARNAME "admb"<br>
| #define PACKAGE_VERSION "10.0"<br>
| #define PACKAGE_STRING "ADMB 10.0"<br>
| #define PACKAGE_BUGREPORT <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:users@admb-project.org">"users@admb-project.org"</a><br>
| #define PACKAGE_URL ""<br>
| #define STDC_HEADERS 1<br>
| #define HAVE_SYS_TYPES_H 1<br>
| #define HAVE_SYS_STAT_H 1<br>
| #define HAVE_STDLIB_H 1<br>
| #define HAVE_STRING_H 1<br>
| #define HAVE_MEMORY_H 1<br>
| #define HAVE_STRINGS_H 1<br>
| #define HAVE_INTTYPES_H 1<br>
| #define HAVE_STDINT_H 1<br>
| #define HAVE_UNISTD_H 1<br>
| #define HAVE_IOSTREAM 1<br>
| /* end confdefs.h. */<br>
| /* A lexical scanner generated by flex*/<br>
|<br>
| /* Scanner skeleton version:<br>
| * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v
2.91 96/09/10 16:58:48 vern Exp $<br>
| */ <br>
<br>
<br>
Tried a 32-bit build -- same errors. <br>
<br>
Now, I did proceed and try make, lots of warnings, but
no outright fails. However, make install crashed and
burned:<br>
<br>
install -d -m 555 /usr/local/admb/bin
/usr/local/admb/include /usr/local/admb/lib
/usr/local/admb/docs /usr/local/admb/examples<br>
install -m 555
build/admb-10.0-linux-gcc4.1.2-64bit/admb-10.0-linux-gcc4.1.2-64bit/bin/*
/usr/local/admb/bin<br>
install -m 444
build/admb-10.0-linux-gcc4.1.2-64bit/admb-10.0-linux-gcc4.1.2-64bit/include/*
/usr/local/admb/include<br>
install -m 444
build/admb-10.0-linux-gcc4.1.2-64bit/admb-10.0-linux-gcc4.1.2-64bit/lib/*
/usr/local/admb/lib<br>
install -m 444 LICENSE /usr/local/admb<br>
install -m 444 README.txt /usr/local/admb<br>
install -m 444 Makefile /usr/local/admb<br>
install -m 555 scripts/g++/admb-bin
/usr/local/bin/admb<br>
install: cannot stat `scripts/g++/admb-bin': No such
file or directory<br>
make: *** [install] Error 1<br>
<br>
<br>
At this point, I'll take any and all suggestions, no
matter how trivial (save for installing gcc 4.4.x). <br>
<br>
<br>
<br>
<br>
</font>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@admb-project.org">Users@admb-project.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.admb-project.org/mailman/listinfo/users">http://lists.admb-project.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@admb-project.org">Users@admb-project.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.admb-project.org/mailman/listinfo/users">http://lists.admb-project.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@admb-project.org">Users@admb-project.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.admb-project.org/mailman/listinfo/users">http://lists.admb-project.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@admb-project.org">Users@admb-project.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.admb-project.org/mailman/listinfo/users">http://lists.admb-project.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@admb-project.org">Users@admb-project.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.admb-project.org/mailman/listinfo/users">http://lists.admb-project.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@admb-project.org">Users@admb-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.admb-project.org/mailman/listinfo/users">http://lists.admb-project.org/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>