[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
950619: trouble building netcdfperl
- Subject: 950619: trouble building netcdfperl
- Date: Mon, 19 Jun 95 09:27:39 -0600
Tom,
> Subject: trouble building netcdfperl
> To: address@hidden
> From: sparc2!baaqmd (Tom Umeda)
> Organization: Bay Area Air Quality Management District
> Keywords: 199506190659.AA23494
In the above message you wrote:
> I am having trouble installing netcdfperl.
> Here is `configure', `uname -a', `make':
>
> sparc2:/home/baaqmd/new/src/netcdf-perl-1.0.1/src[49] configure
> loading cache ./config.cache
> checking for perl... (cached) perl
> checking for perl manual page directory... /usr/local/man
> checking for cc... (cached) cc
> configure: warning: reading configuration customizations
> checking for neqn... (cached) neqn
> checking for tbl... (cached) tbl
> checking type of operating system... sunos5
> checking for tar flags... -chof
> checking for netCDF header-file... -I/usr/local/man/../include
> checking for netCDF library... -L/usr/local/man/../lib -lnetcdf
> checking for package version... 1.0
> creating ./config.status
> creating Makefile
> creating perl/Makefile.PL
> creating port/Makefile
> creating port/master.mk
> expanding `include's in file `Makefile'
> expanding `include's in file `perl/Makefile.PL'
> expanding `include's in file `port/Makefile'
> expanding `include's in file `port/master.mk'
>
> sparc2:/home/baaqmd/new/src/netcdf-perl-1.0.1/src[50] uname -a
> SunOS sparc2 5.4 Generic_101945-13 sun4m sparc
>
> sparc2:/home/baaqmd/new/src/netcdf-perl-1.0.1/src[51] make
> cd perl && perl Makefile.PL
> Writing Makefile for NetCDF
>
> making `all' in directory /home/baaqmd/new/src/netcdf-perl-1.0.1/src/perl
>
> cc -c -O -K pic -I/usr/local/lib/perl5/sun4-solaris/CORE
> -I/usr/local/man/../include NetCDF.c
> "NetCDF.c", line 33: syntax error before or at: nclong
> "NetCDF.c", line 33: cannot recover from previous errors
> cc: acomp failed for NetCDF.c
> *** Error code 2
> make: Fatal error: Command failed for target `NetCDF.o'
> Current working directory /home/baaqmd/new/src/netcdf-perl-1.0.1/src/perl
> *** Error code 1
> make: Fatal error: Command failed for target `perl/all'
> Current working directory /home/baaqmd/new/src/netcdf-perl-1.0.1/src
> *** Error code 1
> make: Fatal error: Command failed for target `decision'
> Current working directory /home/baaqmd/new/src/netcdf-perl-1.0.1/src
> *** Error code 1
> make: Fatal error: Command failed for target `all'
Hmmm... I don't see this problem on our SunOS 5.4 system (I just
rebuilt the package to make sure).
A few questions:
1. What version of netCDFPerl do you have (`cat VERSION`)? The
latest is 1.0.1.
2. Does the file /usr/local/include/netcdf.h exist? And
3. What version of the netCDF library do you have (`grep Id:
/usr/local/include/netcdf.h`)?
--------
Steve Emmerson <address@hidden>