[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 19980914: NetCDF-Perl



Hi Peggy,

> From: Peggy Bruehl <address@hidden>
> Subject: NetCDF-Perl
> Organization: NOAA
> Keywords: 199809142057.OAA12834 netCDF Perl

In the above message, you wrote:

> I'm building netCDF-Perl on HPUX 10.20.  I started by installing the
> binary distribution of NetCDF 3.4 for HPUX 10.20.  I then verified
> that Perl 5.003 is installed on my system.  I ran the netCDF-Perl 
> configure script with no problems.  I ran "make perl/Makefile" with 
> no problems:
> 
>   % make perl/Makefile
>           cd perl && perl Makefile.PL
>   Checking if your kit is complete...
>   Looks good
>   Writing Makefile for NetCDF
> 
> However, when I run "make", I get the following error:
> 
>   % make
>   
>   making `dynamic' in directory /dahl2/netcdf/perl2/netcdf-perl-1.2/src/perl
>   
>           /usr/local/bin/perl -I/usr/local/lib/perl5/PA-RISC1.1/5.003 
> -I/usr/local/lib/perl5 /usr/local/lib/perl5/ExtUtils/xsubpp  -typemap 
> /usr/local/lib/perl5/ExtUtils/typemap NetCDF.xs >NetCDF.tc && mv NetCDF.tc 
> NetCDF.c
>   Please specify prototyping behavior for NetCDF.xs (see perlxs manual)
>           cc -c -I/dahl2/netcdf/hpux/netcdf-3.4/include -D_HPUX_SOURCE -Aa 
> -I/usr/local/include -O     -DVERSION=\"1.2\"  -DXS_VERSION=\"1.2\" +z 
> -I/usr/local/lib/perl5/PA-RISC1.1/5.003/CORE  NetCDF.c
>   Running Mkbootstrap for NetCDF ()
>           chmod 644 NetCDF.bs
>           LD_RUN_PATH="/dahl2/netcdf/hpux/netcdf-3.4/lib" ld -o 
> ./blib/arch/auto/NetCDF/NetCDF.sl -b -L/usr/local/lib NetCDF.o    
> -L/dahl2/netcdf/hpux/netcdf-3.4/lib -lnetcdf 
>   ld: Invalid loader fixup for symbol "$00000003".
>   *** Error exit code 1
>   
>   Stop.
>   *** Error exit code 1
>   
>   Stop.
>   *** Error exit code 1
>   
>   Stop.
>   *** Error exit code 1
>   
>   Stop.
>   
> 
> I looked this up in your glimpse archive and found Steve & Mike's 
> comment about the ldl patch:
> 
>    >> ld: Invalid loader fixup for symbol "$00000064".
>    >
>    >Based on the information I have, it seems that a recent dld.sl patch
>    >for HPUX 10.20 should get rid of the error.  Install the latest patch;
>    >
>    >ftp://i3107ffs.external.hp.com/hp-ux_patches/s700_800/10.X/PHSS_15391
>    >
>    >and let me know if the error persists.
>    >
>    >mike
> 
> I installed this patch on my system:
> 
>     % swlist -l product
>     ...
>     PHSS_15391            B.10.00.00.AA  dld.sl(5) cumulative patch 
>     ...
> 
> I ran "make clean" and re-ran configure and both makes.  Unfortuantely,
> the error persists.   What next?

Doing a "make clean" doesn't remove everything.  In particular, it
doesn't remove the cache-file that the configure script generates.  It's
possible that this is the cause of the problem.

Try the following:

    1.  Go to the top-level source directory.

    2.  Execute the command "make distclean".

    3.  Remove the file "config.cache" if it exists.

    4.  Set your environment variables as before.

    5.  Execute the configure script.  Redirect standard output and
        standard error to the file "configure.log".  If an error message
        occurs in the file, then stop and send the file to me.

    6.  Execute the command "make".  Redirect standard output and
        standard error to the file "make.log".  If an error occurs, then
        stop and send me the file "make.log" and "configure.log".

--------
Steve Emmerson   <http://www.unidata.ucar.edu>