Hi, config.log and configure.in are attached, let me know if you need more informations. The detection works fine when calling ./configure LPATH=/opt/fortran90/lib/pa2.0/:/opt/fortran90/lib/:/usr/lib/:/opt/langtools/lib/ Denis
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.50. Invocation command line was $ ./configure ## ---------- ## ## Platform. ## ## ---------- ## hostname = j6000 uname -m = 9000/785 uname -r = B.11.11 uname -s = HP-UX uname -v = U /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH = /opt/mpi/bin:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/resmon/bin:/opt/graphics/phigs/bin:/opt/scr/bin:/usr/sbin/stm/uut/bin/progs:/opt/langtools/bin:/opt/imake/bin:/opt/fortran90/bin:/opt/fortran90/contrib/bin:/opt/aCC/bin:/opt/cxperf/bin:/opt/perf/bin:/opt/OV/bin/OpC:/opt/dynatext/bin:/usr/local/bin:. ## ------------ ## ## Core tests. ## ## ------------ ## configure:893: PATH=".;."; conftest.sh ./configure[894]: conftest.sh: not found. configure:896: $? = 127 configure:936: checking build system type configure:954: result: hppa2.0w-hp-hpux11.11 configure:961: checking host system type configure:975: result: hppa2.0w-hp-hpux11.11 configure:1025: checking for gcc configure:1051: result: no configure:1099: checking for cc configure:1114: found /usr/bin/cc configure:1122: result: cc configure:1292: checking for C compiler default output configure:1295: cc conftest.c >&5 /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (conftest.o) was detected. The linked output may not run on a PA 1.x system. configure:1298: $? = 0 configure:1321: result: a.out configure:1326: checking whether the C compiler works configure:1332: ./a.out configure:1335: $? = 0 configure:1350: result: yes configure:1357: checking whether we are cross compiling configure:1359: result: no configure:1362: checking for executable suffix configure:1364: cc -o conftest conftest.c >&5 /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (conftest.o) was detected. The linked output may not run on a PA 1.x system. configure:1367: $? = 0 configure:1389: result: configure:1395: checking for object suffix configure:1413: cc -c conftest.c >&5 configure:1416: $? = 0 configure:1435: result: o configure:1439: checking whether we are using the GNU C compiler configure:1460: cc -c conftest.c >&5 cc: "configure", line 1451: error 1000: Unexpected symbol: "me". cc: "configure", line 1451: error 1588: "choke" undefined. configure:1463: $? = 1 configure: failed program was: #line 1445 "configure" #include "confdefs.h" int main () { #ifndef __GNUC__ choke me #endif ; return 0; } configure:1481: result: no configure:1487: checking whether cc accepts -g configure:1505: cc -c -g conftest.c >&5 configure:1508: $? = 0 configure:1511: test -s conftest.o configure:1514: $? = 0 configure:1524: result: yes configure:1551: cc -c -g conftest.c >&5 cc: "conftest.c", line 2: error 1000: Unexpected symbol: "me". cc: "conftest.c", line 2: warning 501: Empty source file. configure:1554: $? = 1 configure: failed program was: #ifndef __cplusplus choke me #endif configure:1697: checking for g77 configure:1723: result: no configure:1697: checking for f77 configure:1723: result: no configure:1697: checking for xlf configure:1723: result: no configure:1697: checking for cf77 configure:1723: result: no configure:1697: checking for cft77 configure:1723: result: no configure:1697: checking for pgf77 configure:1723: result: no configure:1697: checking for fl32 configure:1723: result: no configure:1697: checking for af77 configure:1723: result: no configure:1697: checking for fort77 configure:1723: result: no configure:1697: checking for f90 configure:1712: found /opt/fortran90/bin/f90 configure:1720: result: f90 configure:1737: checking whether we are using the GNU Fortran 77 compiler configure:1751: f90 -c conftest.F >&5 /var/tmp/fcpAAAa07039.F program MAIN choke me ^ Error 7 at (3:conftest.F) : incomplete statement 1 Error f90: Errors detected. configure:1754: $? = 1 configure: failed program was: program main #ifndef __GNUC__ choke me #endif end configure:1772: result: no configure:1779: checking whether f90 accepts -g configure:1791: f90 -c -g conftest.f >&5 conftest.f program MAIN 3 Lines Compiled configure:1794: $? = 0 configure:1797: test -s conftest.o configure:1800: $? = 0 configure:1811: result: yes configure:1838: checking how to get verbose linking output from f90 configure:1850: f90 -c -g conftest.f >&5 conftest.f program MAIN 3 Lines Compiled configure:1853: $? = 0 configure:1856: test -s conftest.o configure:1859: $? = 0 configure:1881: f90 -o conftest -g -v conftest.f >&5 /opt/fortran90/lbin/f90com32 -noargov -cm -w90 -nbs -auto -WB -hp\"-Oq00,al,ag,cn,Lm,sz,Ic,vo,lc,mf,po,es,rs,sp,in,om,vc,pi,fa,pe,Rr,Fl,pa,nf,cp,lx,st,ap,Pg,ug,lu,lb,uj,dn,ap,rp,dp,fs,bp,wp,pc,mp\!,-Ubridge=debug,-Ubridge=compdir:/tmp_mnt/net/ravel/home/barbier/Projets/libutil/toto\$,-Ubridge=sourcefile:conftest.f\$\" conftest.f conftest.f program MAIN 3 Lines Compiled LPATH is: /opt/fortran90/lib/pa2.0/:/opt/fortran90/lib/:/usr/lib/:/opt/langtools/lib/ /usr/ccs/bin/ld /opt/langtools/lib/crt0.o -oconftest conftest.o -l:libF90.a -lcl -lc -lisamstub /opt/langtools/lib/end.o /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (conftest.o) was detected. The linked output may not run on a PA 1.x system. configure:1925: result: -v configure:1927: checking for Fortran 77 libraries configure:1953: f90 -o conftest -g -v conftest.f >&5 /opt/fortran90/lbin/f90com32 -noargov -cm -w90 -nbs -auto -WB -hp\"-Oq00,al,ag,cn,Lm,sz,Ic,vo,lc,mf,po,es,rs,sp,in,om,vc,pi,fa,pe,Rr,Fl,pa,nf,cp,lx,st,ap,Pg,ug,lu,lb,uj,dn,ap,rp,dp,fs,bp,wp,pc,mp\!,-Ubridge=debug,-Ubridge=compdir:/tmp_mnt/net/ravel/home/barbier/Projets/libutil/toto\$,-Ubridge=sourcefile:conftest.f\$\" conftest.f conftest.f program MAIN 3 Lines Compiled LPATH is: /opt/fortran90/lib/pa2.0/:/opt/fortran90/lib/:/usr/lib/:/opt/langtools/lib/ /usr/ccs/bin/ld /opt/langtools/lib/crt0.o -oconftest conftest.o -l:libF90.a -lcl -lc -lisamstub /opt/langtools/lib/end.o /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (conftest.o) was detected. The linked output may not run on a PA 1.x system. configure:2108: result: -l:libF90.a -lcl -lisamstub configure:2118: checking for Fortran 77 name-mangling scheme configure:2136: f90 -c -g conftest.f >&5 conftest.f external subroutine FOOBAR external subroutine FOO_BAR 6 Lines Compiled configure:2139: $? = 0 configure:2142: test -s conftest.o configure:2145: $? = 0 configure:2182: cc -o conftest -g conftest.c cf77_test.o -l:libF90.a -lcl -lisamstub >&5 /usr/ccs/bin/ld: Can't find library for -l:libF90.a configure:2185: $? = 1 configure: failed program was: #line 2163 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char foobar (); int main () { foobar (); ; return 0; } configure:2182: cc -o conftest -g conftest.c cf77_test.o -l:libF90.a -lcl -lisamstub >&5 /usr/ccs/bin/ld: Can't find library for -l:libF90.a configure:2185: $? = 1 configure: failed program was: #line 2163 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char foobar_ (); int main () { foobar_ (); ; return 0; } configure:2182: cc -o conftest -g conftest.c cf77_test.o -l:libF90.a -lcl -lisamstub >&5 /usr/ccs/bin/ld: Can't find library for -l:libF90.a configure:2185: $? = 1 configure: failed program was: #line 2163 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char FOOBAR (); int main () { FOOBAR (); ; return 0; } configure:2182: cc -o conftest -g conftest.c cf77_test.o -l:libF90.a -lcl -lisamstub >&5 /usr/ccs/bin/ld: Can't find library for -l:libF90.a configure:2185: $? = 1 configure: failed program was: #line 2163 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char FOOBAR_ (); int main () { FOOBAR_ (); ; return 0; } configure:2293: result: unknown configure:2370: WARNING: unknown Fortran 77 name-mangling scheme configure:2485: creating ./config.status ## ----------------------- ## ## Running config.status. ## ## ----------------------- ## This file was extended by config.status 2.50, executed with > ./config.status on j6000 config.status:2900: creating Makefile ## ----------------- ## ## Cache variables. ## ## ----------------- ## ac_cv_build=hppa2.0w-hp-hpux11.11 ac_cv_build_alias=hppa2.0w-hp-hpux11.11 ac_cv_c_compiler_gnu=no ac_cv_env_CC_set='' ac_cv_env_CC_value='' ac_cv_env_CFLAGS_set='' ac_cv_env_CFLAGS_value='' ac_cv_env_CPPFLAGS_set='' ac_cv_env_CPPFLAGS_value='' ac_cv_env_F77_set='' ac_cv_env_F77_value='' ac_cv_env_FFLAGS_set='' ac_cv_env_FFLAGS_value='' ac_cv_env_LDFLAGS_set='' ac_cv_env_LDFLAGS_value='' ac_cv_env_build_alias_set='' ac_cv_env_build_alias_value='' ac_cv_env_host_alias_set='' ac_cv_env_host_alias_value='' ac_cv_env_target_alias_set='' ac_cv_env_target_alias_value='' ac_cv_f77_compiler_gnu=no ac_cv_f77_mangling=unknown ac_cv_flibs=' -l:libF90.a -lcl -lisamstub' ac_cv_host=hppa2.0w-hp-hpux11.11 ac_cv_host_alias=hppa2.0w-hp-hpux11.11 ac_cv_objext=o ac_cv_prog_ac_ct_CC=cc ac_cv_prog_ac_ct_F77=f90 ac_cv_prog_cc_g=yes ac_cv_prog_f77_g=yes ac_cv_prog_f77_v=-v configure: exit 0
AC_PREREQ([2.49]) AC_INIT([Makefile.in]) AC_CANONICAL_HOST AC_PROG_CC AC_PROG_F77 AC_F77_WRAPPERS AC_OUTPUT([Makefile])