[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20041101: Problems with installing netcdf-perl-1.2.3
- Subject: 20041101: Problems with installing netcdf-perl-1.2.3
- Date: Mon, 01 Nov 2004 09:24:34 -0700
Chase,
> To: "'address@hidden'" <address@hidden>
> From: "Chase, Andrew" <address@hidden>
> Subject: Problems with installing netcdf-perl-1.2.3
> Organization: Monterey Bay Aquarium Research Institute
> Keywords: 200410281959.i9SJxDvV025462 netCDF-Perl
The above message contained the following:
> I'm running into an error when running the make target for netcdf-perl-1.2.3.
>
> Here's my uname output:
> Linux prey 2.4.18-e.47smp #1 SMP Fri Aug 6 15:37:28 EDT 2004 ia64 unknown
>
> My Compiler:
> which gcc
> /usr/bin/gcc
>
> And the rest of the files should be attached.
>
> Any help would be much appreciated.
>
> Thanks,
> Andrew
>
> Andrew C. Chase
> Software Engineer
> Monterey Bay Aquarium Research Institute
> (831) 775-1865 :: Work
> (858) 349-3443 :: Cell
...
> making `dynamic' in directory /opt/netcdf-perl-1.2.3/src/perl=0A=
> =0A=
> make[3]: Entering directory `/opt/netcdf-perl-1.2.3/src/perl'=0A=
> /usr/bin/perl -I/usr/lib/perl5/5.6.1/ia64-linux -I/usr/lib/perl5/5.6.1 =
> /usr/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap =
> /usr/lib/perl5/5.6.1/ExtUtils/typemap NetCDF.xs > NetCDF.xsc && mv =
> NetCDF.xsc NetCDF.c=0A=
> Please specify prototyping behavior for NetCDF.xs (see perlxs =
> manual)=0A=
> gcc -c -I/opt/netcdf-3.5.1/include -fno-strict-aliasing =
> -I/usr/local/include -O2 -DVERSION=3D\"1.2.3\" =
> -DXS_VERSION=3D\"1.2.3\" -fPIC -I/usr/lib/perl5/5.6.1/ia64-linux/CORE =
> NetCDF.c=0A=
> Running Mkbootstrap for NetCDF ()=0A=
> chmod 644 NetCDF.bs=0A=
> rm -f blib/arch/auto/NetCDF/NetCDF.so=0A=
> LD_RUN_PATH=3D"/opt/netcdf-3.5.1/lib" gcc -shared -L/usr/local/lib =
> NetCDF.o -o blib/arch/auto/NetCDF/NetCDF.so -L/opt/netcdf-3.5.1/lib =
> -lnetcdf =0A=
> /usr/bin/ld: v2i.o: @gprel relocation against dynamic symbol ncerr=0A=
> /usr/bin/ld: v2i.o: @gprel relocation against dynamic symbol ncerr=0A=
> /usr/bin/ld: v2i.o: @gprel relocation against dynamic symbol ncopts=0A=
> /usr/bin/ld: v2i.o: @gprel relocation against dynamic symbol ncopts=0A=
> collect2: ld returned 1 exit status=0A=
I could be that the netCDF library wasn't built with the
position-independent code that the netCDF-Perl module requires. The
necessary option to do this is "-fPIC" for the gcc(1) compiler. Can you
verify that this option was used to compile the netCDF package? You
might find this information in the "make.log" file in the top-level
source directory of the netCDF package.
Regards,
Steve Emmerson