Re: install Ncar Graphics 4.4.1 in my PC running Linux

From: Rick Grubin <grubin_at_nyahnyahspammersnyahnyah>
Date: Tue, 17 Jan 2006 08:52:33 -0700

Hello Luis,

> I'm trying to install Ncar Graphics 4.4.1 in my PC running Linux Suse
> 9.3 with Fortran Compiler PGI 5.2
> What library I need to install and what another changes I need to do,
> before run the Configure command?

In looking over your make output, it's clear that X11 libraries are not
being found. Please check first that they are installed on your host.
Likely they'll be in:
     /usr/X11R6/lib64

for 64-bit versions. As you're using PGI's f90 compiler, I'm assuming
that this is what you want.

Be sure that your $NCARG_ROOT/config file specifies this location.
Here is what mine looks l ike:

#define HdfDefines -DLINUX
#define StdDefines -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped
#define ByteSwapped
#define Cstatic
#define Cdynamic
#define CppCommand '/usr/bin/cpp -traditional'
#define CCompiler pgcc -tp k8-64 -O -Msignextend -Mreentrant -fPIC
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
#define FCompiler pgf90 -tp k8-64 -O -Msignextend -Mreentrant -fPIC
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
#define CtoFLibraries -lpgc -lpgf90 -lpgf90_rpm1 -lpgf902 -lpgftnrtl
-lpghpf
#define XToolLibrary -lXt -lSM -lICE
#define BuildShared NO
#define ExtraExportFlags -Wl,--export-dynamic

#define ArchRecLibSearch -L/usr/X11R6/lib64
#define ArchRecIncSearch -I/usr/X11R6/include

Note that the location of X11 libraries is specified here, so that the
configuration process will build the NCAR Graphics makefiles
appropriately.

Also, if you wish to get rid of the messages about the Fortran compiler
being redefined, you can define it (as shown above) in the
configuration file, and when asked by the configuration process if you
want to use an F90 compiler, answer "no" (you've already defined it and
will be using it).

-Rick.

----
Rick Grubin      NCAR/CISL/SCD/VETS
Visualization + Enabling Technologies
grubin_at_ucar.edu             303.497.1832
_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Tue Jan 17 2006 - 08:52:33 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 17 2006 - 08:58:07 MST