<!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 text="#000000" bgcolor="#ffffff">
    What is the output of<br>
    <br>
    $ ./configure<br>
    <br>
    Did it create the GNUMakefile?<br>
    <br>
    <br>
    On 4/15/11 3:26 PM, Evan Cooch wrote:
    <blockquote cite="mid:4DA8F052.40309@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <title></title>
      Well, thanks -- that seems to have moved things along. At least,
      now I have different FAILS:<br>
      <br>
      <br>
      configure:2062: $? = 0<br>
      configure:2065: test -s conftest.o<br>
      configure:2068: $? = 0<br>
      configure:2086: result: none needed<br>
      configure:2104: gcc -c -g -O2  conftest.c >&5<br>
      conftest.c:2: error: expected '=', ',', ';', 'asm' or
      '__attribute__' before 'me'<br>
      configure:2110: $? = 1<br>
      configure: failed program was:<br>
      | #ifndef __cplusplus<br>
      |   choke me<br>
      | #endif<br>
      configure:2295: checking for g++<br>
      configure:2311: found /usr/bin/g++<br>
      configure:2321: result: g++<br>
      configure:2337: checking for C++ compiler version<br>
      configure:2340: g++ --version </dev/null >&5<br>
      g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)<br>
      Copyright (C) 2006 Free Software Foundation, Inc.<br>
      This is free software; see the source for copying conditions. 
      There is NO<br>
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
      PURPOSE.<br>
      <br>
      <br>
      and<br>
      <br>
      <br>
      configure:2524: $? = 0<br>
      configure:2527: test -s conftest.o<br>
      configure:2530: $? = 0<br>
      configure:2556: g++ -c -g -O2  conftest.cc >&5<br>
      conftest.cc: In function 'int main()':<br>
      conftest.cc:13: error: 'exit' was not declared in this scope<br>
      configure:2562: $? = 1<br>
      configure: failed program was:<br>
      | /* confdefs.h.  */<br>
      |<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>
      | /* end confdefs.h.  */<br>
      <br>
      <br>
      and<br>
      <br>
      <br>
      configure:2724: result: g++ -E<br>
      configure:2748: g++ -E  conftest.cc<br>
      configure:2754: $? = 0<br>
      configure:2786: g++ -E  conftest.cc<br>
      conftest.cc:12:28: error: ac_nonexistent.h: No such file or
      directory<br>
      configure:2792: $? = 1<br>
      configure: failed program was:<br>
      | /* confdefs.h.  */<br>
      |<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>
      | #ifdef __cplusplus<br>
      | extern "C" void std::exit (int) throw (); using std::exit;<br>
      | #endif<br>
      | /* end confdefs.h.  */<br>
      | #include <ac_nonexistent.h><br>
      configure:2836: checking for egrep<br>
      configure:2846: result: grep -E<br>
      configure:2851: checking for ANSI C header files<br>
      configure:2876: g++ -c -g -O2  conftest.cc >&5<br>
      configure:2882: $? = 0<br>
      configure:2886: test -z<br>
      <br>
      and<br>
      <br>
      <br>
      onfigure:3469: g++ -o conftest -g -O2   conftest.cc  -lfl
      >&5<br>
      /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libfl.a(libmain.o):

      In function `main':<br>
      (.text+0x7): undefined reference to `yylex'<br>
      collect2: ld returned 1 exit status<br>
      configure:3475: $? = 1<br>
      configure: failed program was:<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>
      | #define FLEX_SCANNER<br>
      | #define YY_FLEX_MAJOR_VERSION 2<br>
      | #define YY_FLEX_MINOR_VERSION 5<br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      On 4/15/2011 8:48 PM, Johnoel Ancheta wrote:
      <blockquote cite="mid:4DA8E744.2050108@hawaii.edu" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        Rebuild the configure file.<br>
        <br>
        $ make --directory=scripts/configure<br>
        <br>
        <br>
        On 4/15/11 2:38 PM, Evan Cooch wrote:
        <blockquote cite="mid:4DA8E51B.8000703@gmail.com" type="cite">
          <meta content="text/html; charset=ISO-8859-1"
            http-equiv="Content-Type">
          <title></title>
          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:<br>
          <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>
          <br>
          <br>
          On 4/15/2011 3:34 PM, bigA wrote:
          <blockquote
            cite="mid:BANLkTinROF8gTT6wVvZhkiFSKF1n+OT4Ww@mail.gmail.com"
            type="cite">Hi Evan, <br>
            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.<br>
            Best!<br>
            <br>
            <div class="gmail_quote">On Thu, Apr 14, 2011 at 6:05 AM,
              Evan Cooch <span dir="ltr"><<a moz-do-not-send="true"
                  href="mailto:evan.cooch@gmail.com">evan.cooch@gmail.com</a>></span>
              wrote:<br>
              <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
                0.8ex; border-left: 1px solid rgb(204, 204, 204);
                padding-left: 1ex;">
                <div bgcolor="#ffffff" text="#000000"> <font size="-1">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:<br>
                    <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"
                      href="mailto:users@admb-project.org"
                      target="_blank">"users@admb-project.org"</a><br>
                    | #define PACKAGE_URL ""<br>
                    | /* end confdefs.h.  */<br>
                    | #include <ac_nonexistent.h><br>
                    configure:3194: result: /usr/bin/g++44 -E<br>
                    configure:3214: /usr/bin/g++44 -E  conftest.cpp<br>
                    configure:3214: $? = 0<br>
                    configure:3228: /usr/bin/g++44 -E  conftest.cpp<br>
                    conftest.cpp:9:28: error: ac_nonexistent.h: No such
                    file or directory<br>
                    <br>
                    <br>
                    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?<br>
                    <br>
                    Thanks in advance...<br>
                  </font> </div>
                <br>
                _______________________________________________<br>
                Users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:Users@admb-project.org">Users@admb-project.org</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.admb-project.org/mailman/listinfo/users"
                  target="_blank">http://lists.admb-project.org/mailman/listinfo/users</a><br>
                <br>
              </blockquote>
            </div>
            <br>
          </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>
    </blockquote>
    <br>
  </body>
</html>