[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20030702: UDUNITS Perl module won't build on HP-UX
- Subject: 20030702: UDUNITS Perl module won't build on HP-UX
- Date: Thu, 03 Jul 2003 09:07:26 -0600
Paul,
> To: "Unidata support (E-mail)" <address@hidden>
> From: "Thammavongsouk, Paul" <address@hidden>
> Subject: problem report on UDUNITS make on HP-UX
> Organization: ?
> Keywords: 200307022104.h62L4sLd000379 UDUNITS HP-UX 11.11
The above message contained the following:
> I am unable to run the entire configure/make script for UDUNITS package on
> HP-UX. The following log information as well as the attached log files are
> included to help debug the problem. Thanks for analysing the issue and
> pinpointing me to where the problem is.
>
> A- uname -a output: "HP-UX server B.11.11 U 9000/785 XXXXYYYZZZ
> unlimited-user license"
> B- Version: 1.11.7
> C- configure.log (see attached file)
> D- config.log (see attached file)
> E- Absolute path to compiler: /usr/bin/cc
>
> <<config.log>> <<configure.log>>
>
> Paul Thamma
>
>
>
>
> ------_=_NextPart_000_01C340DD.94C03380
> Content-Type: application/octet-stream;
> name="config.log"
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: attachment;
> filename="config.log"
>
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:1105: /bin/cc -E -w -D_HPUX_SOURCE conftest.c >/dev/null =
> 2>conftest.out
> configure:1146: /bin/cc -E -w -D_HPUX_SOURCE conftest.c >/dev/null =
> 2>conftest.out
> configure:1175: /bin/cc -c -Aa -w -D_HPUX_SOURCE conftest.c 1>&5
> configure:1203: /bin/cc -c -Aa -w -D_HPUX_SOURCE conftest.c 1>&5
> configure:1231: /bin/cc -c -Aa -w -D_HPUX_SOURCE conftest.c 1>&5
> configure:1259: /bin/cc -c -Aa -w -D_HPUX_SOURCE conftest.c 1>&5
> configure:1303: /bin/cc -c -Aa -w -D_HPUX_SOURCE conftest.c 1>&5
> configure:1455: /bin/cc -c -Aa -w -D_HPUX_SOURCE conftest.c 1>&5
> configure:1483: /bin/cc -c -Aa -w -D_HPUX_SOURCE conftest.c 1>&5
> configure:1512: /bin/cc -c -Aa -w -D_HPUX_SOURCE conftest.c 1>&5
> configure:1928: /bin/cc -o conftest -Aa -w -D_HPUX_SOURCE conftest.c =
> 1>&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.
> /usr/ccs/bin/ld: Unsatisfied symbols:
> yyerror (code)
> configure:1973: /bin/cc -o conftest -Aa -w -D_HPUX_SOURCE conftest.c =
> -ly 1>&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:2018: /bin/cc -o conftest -Aa -w -D_HPUX_SOURCE conftest.c =
> 1>&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.
> /usr/ccs/bin/ld: Unsatisfied symbols:
> sin (code)
> configure:2063: /bin/cc -o conftest -Aa -w -D_HPUX_SOURCE conftest.c =
> -lm 1>&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:2288: /bin/cc -E -w -D_HPUX_SOURCE -Dextname conftest.c =
> >/dev/null 2>conftest.out
> configure:2430: /bin/cc -E -w -D_HPUX_SOURCE -Dextname conftest.c =
> >/dev/null 2>conftest.out
> configure:2455: /bin/cc -E -w -D_HPUX_SOURCE -Dextname conftest.c =
> >/dev/null 2>conftest.out
> cpp: "configure", line 2449: error 4036: Can't open include file =
> 'DBL_DIG is defined'.
> configure:2603: /bin/cc -E -w -D_HPUX_SOURCE -Dextname conftest.c =
> >/dev/null 2>conftest.out
> configure:2687: /bin/cc -o conftest -Aa -w -D_HPUX_SOURCE -Dextname =
> conftest.c 1>&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:2743: /bin/cc -c -Aa -w -D_HPUX_SOURCE -Dextname conftest.c =
> 1>&5
> cc: "configure", line 2735: error 1584: Inconsistent type declaration: =
> "atexit".
> configure:2800: /bin/cc -o conftest -Aa -w -D_HPUX_SOURCE -Dextname =
> conftest.c 1>&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:2856: /bin/cc -c -Aa -w -D_HPUX_SOURCE -Dextname conftest.c =
> 1>&5
> cc: "configure", line 2848: error 1584: Inconsistent type declaration: =
> "getenv".
> configure:2975: /bin/cc -E -w -D_HPUX_SOURCE -Dextname conftest.c =
> >/dev/null 2>conftest.out
> configure:3059: /bin/cc -o conftest -Aa -w -D_HPUX_SOURCE -Dextname =
> conftest.c 1>&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:3115: /bin/cc -c -Aa -w -D_HPUX_SOURCE -Dextname conftest.c =
> 1>&5
> cc: "configure", line 3107: error 1584: Inconsistent type declaration: =
> "strerror".
> configure:3180: /bin/cc -c -Aa -w -D_HPUX_SOURCE -Dextname conftest.c =
> 1>&5
> cc: "configure", line 3172: error 1584: Inconsistent type declaration: =
> "strchr".
> configure:3245: /bin/cc -c -Aa -w -D_HPUX_SOURCE -Dextname conftest.c =
> 1>&5
> cc: "configure", line 3237: error 1584: Inconsistent type declaration: =
> "strcpy".
> configure:3310: /bin/cc -c -Aa -w -D_HPUX_SOURCE -Dextname conftest.c =
> 1>&5
> cc: "configure", line 3302: error 1584: Inconsistent type declaration: =
> "strrchr".
> configure:3375: /bin/cc -c -Aa -w -D_HPUX_SOURCE -Dextname conftest.c =
> 1>&5
> cc: "configure", line 3367: error 1584: Inconsistent type declaration: =
> "strncpy".
> configure:3440: /bin/cc -c -Aa -w -D_HPUX_SOURCE -Dextname conftest.c =
> 1>&5
> cc: "configure", line 3432: error 1584: Inconsistent type declaration: =
> "strtok".
> configure:3497: /bin/cc -o conftest -Aa -w -D_HPUX_SOURCE -Dextname =
> conftest.c 1>&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:3553: /bin/cc -c -Aa -w -D_HPUX_SOURCE -Dextname conftest.c =
> 1>&5
> cc: "configure", line 3545: error 1584: Inconsistent type declaration: =
> "strstr".
> configure:3610: /bin/cc -o conftest -Aa -w -D_HPUX_SOURCE -Dextname =
> conftest.c 1>&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:3666: /bin/cc -c -Aa -w -D_HPUX_SOURCE -Dextname conftest.c =
> 1>&5
> cc: "configure", line 3658: error 1584: Inconsistent type declaration: =
> "memmove".
> configure:3776: /bin/cc -E -w -D_HPUX_SOURCE -Dextname conftest.c =
> >/dev/null 2>conftest.out
> configure:3926: /bin/cc -o conftest -Aa -w -D_HPUX_SOURCE -Dextname =
> conftest.c 1>&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:3982: /bin/cc -c -Aa -w -D_HPUX_SOURCE -Dextname conftest.c =
> 1>&5
> cc: "configure", line 3974: error 1584: Inconsistent type declaration: =
> "difftime".
> configure:4039: /bin/cc -o conftest -Aa -w -D_HPUX_SOURCE -Dextname =
> conftest.c 1>&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:4095: /bin/cc -c -Aa -w -D_HPUX_SOURCE -Dextname conftest.c =
> 1>&5
> cc: "configure", line 4087: error 1584: Inconsistent type declaration: =
> "strftime".
> configure:4296: /bin/cc -E -w -D_HPUX_SOURCE -Dextname conftest.c =
> >/dev/null 2>conftest.out
> configure:4512: /bin/cc -o conftest -Aa -w -D_HPUX_SOURCE -Dextname =
> conftest.c 1>&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:4568: /bin/cc -c -Aa -w -D_HPUX_SOURCE -Dextname conftest.c =
> 1>&5
> cc: "configure", line 4560: error 1584: Inconsistent type declaration: =
> "tsearch".
> configure:4625: /bin/cc -o conftest -Aa -w -D_HPUX_SOURCE -Dextname =
> conftest.c 1>&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:4681: /bin/cc -c -Aa -w -D_HPUX_SOURCE -Dextname conftest.c =
> 1>&5
> cc: "configure", line 4673: error 1584: Inconsistent type declaration: =
> "tfind".
> configure:4738: /bin/cc -o conftest -Aa -w -D_HPUX_SOURCE -Dextname =
> conftest.c 1>&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:4794: /bin/cc -c -Aa -w -D_HPUX_SOURCE -Dextname conftest.c =
> 1>&5
> cc: "configure", line 4786: error 1584: Inconsistent type declaration: =
> "tdelete".
> configure:4851: /bin/cc -o conftest -Aa -w -D_HPUX_SOURCE -Dextname =
> conftest.c 1>&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:4907: /bin/cc -c -Aa -w -D_HPUX_SOURCE -Dextname conftest.c =
> 1>&5
> cc: "configure", line 4899: error 1584: Inconsistent type declaration: =
> "twalk".
>
> ------_=_NextPart_000_01C340DD.94C03380
> Content-Type: application/octet-stream;
> name="configure.log"
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: attachment;
> filename="configure.log"
>
> creating cache ./config.cache
> checking type of operating system... hpux11
> checking for manual-page index command...=20
> checking for C compiler... /bin/cc
> checking for dependency generation mechanism... /bin/cc -M
> checking how to run the C preprocessor... /bin/cc -E
> checking the C preprocessor... works
> checking for C const... yes
> checking for C volatile... yes
> checking for C signed... yes
> checking for C function prototypes... yes
> checking for standard C variadic functions... yes
> checking for standard C string generation... yes
> checking for standard C token pasting... yes
> checking C void pointer... yes
> checking for ar... ar
> checking for tar flags... -chof
> checking for ranlib... ranlib
> checking binary distribution directory... =
> /home/ftp/pub/binary/dummy_system
> checking the installation prefix... =
> /home/thamma/test/UDUNITS/udunits-1.11.7
> checking the installation exec-prefix... =
> /home/thamma/test/UDUNITS/udunits-1.11.7
> checking for neqn... neqn
> checking for tbl... tbl
> checking for ar... (cached) ar
> checking for yacc library...=20
> checking for yyerror() in default library(s)... no
> checking for yyerror() in -ly... yes
> checking for C math library...=20
> checking for (void)sin(0.0) in default library(s)... no
> checking for (void)sin(0.0) in -lm... yes
> checking style for cfortran.h... Standard
> checking for stddef.h... yes
> checking C header file <stddef.h> for typedef size_t... declared
> checking for stddef.h... (cached) yes
> checking C header file <stddef.h> for typedef ptrdiff_t... declared
> checking for float.h... yes
> checking for stdlib.h... yes
> checking C header file <stdlib.h> for typedef size_t... declared
> checking for atexit... yes
> checking for stdlib.h... (cached) yes
> checking C header file <stdlib.h> for function atexit()... declared
> checking for getenv... yes
> checking for stdlib.h... (cached) yes
> checking C header file <stdlib.h> for function getenv()... declared
> checking for string.h... yes
> checking C header file <string.h> for typedef size_t... declared
> checking for strerror... yes
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strerror()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strchr()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strcpy()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strrchr()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strncpy()... declared
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strtok()... declared
> checking for strstr... yes
> checking for string.h... (cached) yes
> checking C header file <string.h> for function strstr()... declared
> checking for memmove... yes
> checking for string.h... (cached) yes
> checking C header file <string.h> for function memmove()... declared
> checking for time.h... yes
> checking C header file <time.h> for typedef time_t... declared
> checking for time.h... (cached) yes
> checking C header file <time.h> for typedef size_t... declared
> checking for difftime... yes
> checking for time.h... (cached) yes
> checking C header file <time.h> for function difftime()... declared
> checking for strftime... yes
> checking for time.h... (cached) yes
> checking C header file <time.h> for function strftime()... declared
> checking for search.h... yes
> checking C header file <search.h> for typedef ENTRY... declared
> checking for search.h... (cached) yes
> checking C header file <search.h> for typedef ACTION... declared
> checking for search.h... (cached) yes
> checking C header file <search.h> for typedef VISIT... declared
> checking for tsearch... yes
> checking for search.h... (cached) yes
> checking C header file <search.h> for function tsearch()... declared
> checking for tfind... yes
> checking for search.h... (cached) yes
> checking C header file <search.h> for function tfind()... declared
> checking for tdelete... yes
> checking for search.h... (cached) yes
> checking C header file <search.h> for function tdelete()... declared
> checking for twalk... yes
> checking for search.h... (cached) yes
> checking C header file <search.h> for function twalk()... declared
> checking for perl... perl
> checking for type of perl executable to create... dynamic
> checking for position-independent compilation flags... +z
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating lib/Makefile
> creating udunits/Makefile
> creating perl/Makefile.PL
> creating port/master.mk
> creating port/Makefile
> creating port/misc/Makefile
> creating port/cfortran/Makefile
> creating port/misc/udposix.h
> creating port/misc/stdarg.h
> creating port/misc/stddef.h
> creating port/misc/stdlib.h
> creating port/misc/string.h
> creating port/misc/time.h
> creating port/misc/limits.h
> creating port/misc/search.h
> /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.
> expanding `include's in file `Makefile'
> expanding `include's in file `lib/Makefile'
> expanding `include's in file `udunits/Makefile'
> expanding `include's in file `perl/Makefile.PL'
> expanding `include's in file `port/master.mk'
> expanding `include's in file `port/Makefile'
> expanding `include's in file `port/misc/Makefile'
> expanding `include's in file `port/cfortran/Makefile'
>
> making `all' in directory =
> /home/thamma/test/UDUNITS/udunits-1.11.7/src/port
>
>
> making `all' in directory =
> /home/thamma/test/UDUNITS/udunits-1.11.7/src/port/misc
>
> /bin/cc -c -Aa +z -I. -D_REENTRANT -w -D_HPUX_SOURCE -Dextname =
> uddummy.c
> ar rcuv libudport.a uddummy.o=20
> a - uddummy.o
> case "" in \
> '') ;; \
> *) ar rucv libudport.a ;; \
> esac
> ranlib libudport.a
>
> returning to directory =
> /home/thamma/test/UDUNITS/udunits-1.11.7/src/port
>
>
> making `all' in directory =
> /home/thamma/test/UDUNITS/udunits-1.11.7/src/port/cfortran
>
>
> returning to directory =
> /home/thamma/test/UDUNITS/udunits-1.11.7/src/port
>
>
> returning to directory /home/thamma/test/UDUNITS/udunits-1.11.7/src
>
>
> making `all' in directory =
> /home/thamma/test/UDUNITS/udunits-1.11.7/src/lib
>
> ln -s ../port/misc/udalloc.c .
> ln -s ../port/misc/udalloc.h .
> /bin/cc -c -Aa +z -I../port/misc -I../port/cfortran =
> -DUT_DEFAULT_PATH=3D'"/home/thamma/test/UDUNITS/udunits-1.11.7/etc/uduni=
> ts.dat"' -w -D_HPUX_SOURCE -Dextname utlib.c
> /bin/cc -c -Aa +z -I../port/misc -I../port/cfortran =
> -DUT_DEFAULT_PATH=3D'"/home/thamma/test/UDUNITS/udunits-1.11.7/etc/uduni=
> ts.dat"' -w -D_HPUX_SOURCE -Dextname utparse.c
> /bin/cc -c -Aa +z -I../port/misc -I../port/cfortran =
> -DUT_DEFAULT_PATH=3D'"/home/thamma/test/UDUNITS/udunits-1.11.7/etc/uduni=
> ts.dat"' -w -D_HPUX_SOURCE -Dextname utscan.c
> /bin/cc -c -Aa +z -I../port/misc -I../port/cfortran =
> -DUT_DEFAULT_PATH=3D'"/home/thamma/test/UDUNITS/udunits-1.11.7/etc/uduni=
> ts.dat"' -w -D_HPUX_SOURCE -Dextname udalloc.c
> ar rcuv libudunits.a utlib.o utparse.o utscan.o udalloc.o
> a - utlib.o
> a - utparse.o
> a - utscan.o
> a - udalloc.o
> case "" in \
> '') ;; \
> *) ar rucv libudunits.a ;; \
> esac
> ranlib libudunits.a
>
> returning to directory /home/thamma/test/UDUNITS/udunits-1.11.7/src
>
>
> making `all' in directory =
> /home/thamma/test/UDUNITS/udunits-1.11.7/src/udunits
>
> /bin/cc -c -Aa +z -I../lib -I../port/misc -w -D_HPUX_SOURCE -Dextname =
> udunits.c
> /bin/cc -o udunits -Aa +z udunits.o =
> -L/home/thamma/test/UDUNITS/udunits-1.11.7/src/lib -ludunits =
> -L/home/thamma/test/UDUNITS/udunits-1.11.7/src/port/misc -ludport -ly =
> -lm
> /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (udunits.o) =
> was detected. The linked output may not run on a PA 1.x system.
>
> returning to directory /home/thamma/test/UDUNITS/udunits-1.11.7/src
>
> cd perl && perl Makefile.PL
> Warning: -L../lib changed to =
> -L/home/thamma/test/UDUNITS/udunits-1.11.7/src/perl/../lib
> Checking if your kit is complete...
> Looks good
> Writing Makefile for UDUNITS
>
> making `dynamic' in directory =
> /home/thamma/test/UDUNITS/udunits-1.11.7/src/perl
>
> /usr/local/bin/perl -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi =
> -I/opt/perl/lib/5.6.1 /opt/perl/lib/5.6.1/ExtUtils/xsubpp -typemap =
> /opt/perl/lib/5.6.1/ExtUtils/typemap -typemap typemap UDUNITS.xs > =
> UDUNITS.xsc && mv UDUNITS.xsc UDUNITS.c
> Please specify prototyping behavior for UDUNITS.xs (see perlxs manual)
> /bin/cc -c -I../lib -I../port/misc -D_POSIX_C_SOURCE=3D199506L =
> -D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN -mpa-risc-1-1 -fPIC =
> -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE =
> -D_FILE_OFFSET_BITS=3D64 -O -DVERSION=3D\"1.11.7\" =
> -DXS_VERSION=3D\"1.11.7\" -fPIC =
> -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/CORE -w -D_HPUX_SOURCE =
> -Dextname UDUNITS.c
> cc: warning 422: Unknown option "m" ignored.
> cc: warning 422: Unknown option "a" ignored.
> cc: warning 422: Unknown option "-" ignored.
> cc: warning 422: Unknown option "i" ignored.
> cc: warning 422: Unknown option "-" ignored.
> cc: warning 422: Unknown option "1" ignored.
> cc: warning 422: Unknown option "-" ignored.
> cc: warning 422: Unknown option "1" ignored.
> cc: warning 422: Unknown option "-fPIC" ignored.
> cc: warning 422: Unknown option "-fno-strict-aliasing" ignored.
> cc: warning 422: Unknown option "-fPIC" ignored.
> Running Mkbootstrap for UDUNITS ()
> chmod 644 UDUNITS.bs
> rm -f blib/arch/auto/UDUNITS/UDUNITS.sl
> =
> LD_RUN_PATH=3D"/home/thamma/test/UDUNITS/udunits-1.11.7/src/perl/../lib:=
> /lib" ld -b -L/usr/local/lib UDUNITS.o -o =
> blib/arch/auto/UDUNITS/UDUNITS.sl =
> -L/home/thamma/test/UDUNITS/udunits-1.11.7/src/perl/../lib -ludunits =
> -lm =20
> ld: (Warning) At least one PA 2.0 object file (UDUNITS.o) was detected. =
> The linked output may not run on a PA 1.x system.
> ld: Invalid loader fixup in text space needed in output file for symbol =
> "$00000001" in input file "UDUNITS.o"
> *** Error exit code 1
In general, the same C compiler that was used to build the perl(1)
utility should be used to build the UDUNITS Perl extension module.
You can determine what C compiler was used to build your perl(1) utility
by executing the command "perl -V".
If you want the UDUNITS Perl extension module, then try the following:
1. Go to the top-level source directory.
2. Perform steps 3 through 5 described near the end of the file
INSTALL.
3. Ensure that the environment variable references the same C
compiler that was used to build the perl(1) utility.
4. Perform steps 6 through 9 described near the end of the file
INSTALL.
If you don't want the UDUNITS Perl extension module, then try the
following:
1. Go to the top-level source directory.
2. Perform steps 3 through 5 described near the end of the file
INSTALL.
3. Ensure that the environment variable PERL is set to the empty
string, e.g.,
export PERL=''
or
setenv PERL ''
depending on your user shell.
4. Perform steps 6 through 9 described near the end of the file
INSTALL.
Please let me know if this helps.
Regards,
Steve Emmerson