expart_bz2_suse12.1

From: Shoichi Taguchi <s.taguchi_at_nyahnyahspammersnyahnyah>
Date: Thu Aug 16 2012 - 17:47:40 MDT

Dear Colleages,
Would it be possible to have any suggestion for running NCARG on SUSE
Linux ?
All I need is fortran libraries and viewers on openSUSE 12.1(x86_64,
64bit) for gcc or intel.
I have tried three cases.
1. precompiled binary 6.1.0-beta_Debian_x86_64_nodat_gcc455.
2. compile from the souce with config/LINUX.64.GCC (4.6.2)
3. compile from the source with config/LINUX.64.INTEL
In all cases, I got
...ld...cannot find -lexpat
...ld...cannot find -lbz2
as follows.
---------- For precompiled case(1)
NCAR Graphics Fortran Example <arex01>

Copying arex01.f

Compiling and linking...
gfortran -fPIC -fno-second-underscore -fno-range-check -O -o arex01
arex01.f -L/usr/local/ncarg/lib -lncarg -lncarg_gks -lncarg_c -lX11
-lXext -lcairo -lXrender -lfontconfig -lpixman-1 -lfreetype -lexpat
-lpng -lz -lbz2 -lpthread
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:
cannot find -lexpat
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:
cannot find -lbz2
collect2: ld returned 1 exit status

The compile and link failed.

---------- For cases of compiling from the soruce (2,3)

13685 LINES WERE DELETED.
make[5]: Entering directory
`/home/p1871/tmp/ncl_ncarg-6.1.0-beta/ncarg2d/src/bin/psplit'
gcc -ansi -fPIC -O -I../../../.././include -I/usr/include -DSYSV
-D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -c -o
psplit.o psplit.c
gcc -ansi -fPIC -O -o psplit psplit.o -L/usr/local/ncarg/lib
-L/usr/X11R6/lib64
make[5]: Leaving directory
`/home/p1871/tmp/ncl_ncarg-6.1.0-beta/ncarg2d/src/bin/psplit'
Making ./ncarg2d/src/bin/tdpackdemo
make[5]: Entering directory
`/home/p1871/tmp/ncl_ncarg-6.1.0-beta/ncarg2d/src/bin/tdpackdemo'
gfortran -fPIC -fno-f2c -fno-second-underscore -O -c -o TdpackDemo.o
TdpackDemo.f
gfortran -fPIC -fno-f2c -fno-second-underscore -O -o tdpackdemo
TdpackDemo.o -L../../../.././ncarg2d/src/libncarg -lncarg
-L../../../.././ncarg2d/src/libncarg_gks -lncarg_gks
-L../../../.././common/src/libncarg_c -lncarg_c -lcairo -lXrender
-lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lbz2 -lpthread
-lpng -lz -L/usr/local/ncarg/lib -L/usr/X11R6/lib64 -lX11 -lXext
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:
cannot find -lexpat
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:
cannot find -lbz2
collect2: ld returned 1 exit status
make[5]: *** [tdpackdemo] Error 1
make[5]: Leaving directory
`/home/p1871/tmp/ncl_ncarg-6.1.0-beta/ncarg2d/src/bin/tdpackdemo'
Making ./ncarg2d/src/bin/ezmapdemo
make[5]: Entering directory
`/home/p1871/tmp/ncl_ncarg-6.1.0-beta/ncarg2d/src/bin/ezmapdemo'
...... DELETED rest of the file

I tried the following installations.
# rpm -i expat-2.1.0-1.3.x86_64.rpm
# rpm -i libbz2-1-1.0.6.11.x86_64.rpm
These istallation produced some files at /usr/share/doc/package and
/usr/lib64
but the error messages were not changed.

Any suggestion is greatly appreciated.
Shoichi Taguchi/AIST

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Thu Aug 16 17:47:55 2012

This archive was generated by hypermail 2.1.8 : Thu Aug 23 2012 - 16:15:17 MDT