NCARG-4.4.1 install errors

From: Saurabh Barve <sbarve_at_nyahnyahspammersnyahnyah>
Date: Tue, 15 May 2007 17:04:56 -0700

Hi,

I'm having problems installing NCAR Graphics 4.4.1 on a Fedora Core 4
computer. Here is my system information:

[root_at_yyy ncarg-4.4.1]# cat /etc/redhat-release
Fedora Core release 4 (Stentz)

[root_at_yyy ncarg-4.4.1]# uname -a
Linux 2.6.17-1.2142_FC4smp #1 SMP i686 i686 i386 GNU/Linux

[root_at_yyy ncarg-4.4.1]# pgf90 -V
pgf90 6.2-5 32-bit target on x86 Linux

[root_at_yyy ncarg-4.4.1]# gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--host=i386-redhat-linux
Thread model: posix
gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)

I'm trying to compile NCAR Graphics with the following options (from
config/Site.local):
------------
#define YmakeRoot /usr/local/ncarg

#define IncSearch -I/usr/include -I/usr/X11R6/include

#define BuildWithF90 TRUE
#define FCompiler pgf90

#define BuildUdunits FALSE
#define UdUnitslib
#define BuildHDFEOS FALSE
#define HDFEOSlib
#define BuildV5D TRUE
#define BuildDODS FALSE
------------

I'm attaching the config/Makefile with this email, just in case it provides
more information.

After running 'make', I get a number of error messages with the final
statement being "NOT Making install in ./ni". After the install is over, I
see that the binaries 'ctrans', 'ictrans' and 'idt' have not been generated,
among others.
 
Here is what a search for the string "NOT" on the make-output file returns
(I'm only giving the error messages):

-------------
NOT Making Makefiles in ./external
NOT Making Makefiles in ./ncarg2d/src/bin/ncargsrcx
NOT Making Makefiles in ./ni
NOT Making clean in ./external
NOT Making clean in ./ncarg2d/src/bin/ncargsrcx
NOT Making clean in ./ni
NOT Making includes in ./external
NOT Making includes in ./ncarg2d/src/bin/ncargsrcx
NOT Making includes in ./ni
NOT Making depend in ./external
...
...
NOT Making depend in ./ni
NOT Making ./external
NOT Making ./ncarg2d/src/bin/ncargsrcx
NOT Making ./ni
NOT Making install in ./external
NOT Making install in ./ncarg2d/src/bin/ncargsrcx
NOT Making install in ./ni
-------------

Similarly, here is what a search for the string "error" on the make-output
file returns (I'm only giving the error messages):
--------------
/usr/X11R6/include/X11/Xlib.h:83: error: conflicting types for wchar_t
/usr/lib/gcc/i386-redhat-linux/4.0.2/include/stddef.h:326: error: previous
declaration of wchar_t was here

make[5]: *** [xdevice.o] Error 1
make[5]: *** [tdpackdemo] Error 2
make[5]: *** [ezmapdemo] Error 2
make[5]: *** [nnalg] Error 2
make[5]: *** [xwd.o] Error 1
make[5]: *** [X11_class0.o] Error 1
make[5]: *** [w_idt.o] Error 1
make[5]: *** [rasdraw.o] Error 1
make[5]: *** [xdevice.o] Error 1
make[5]: *** [tdpackdemo] Error 2
make[5]: *** [ezmapdemo] Error 2
make[4]: *** [install] Error 2
make[5]: *** [nnalg] Error 2
make[4]: *** [install] Error 2
make[5]: *** [xwd.o] Error 1
make[5]: *** [X11_class0.o] Error 1
make[5]: *** [w_idt.o] Error 1
make[5]: *** [rasdraw.o] Error 1
make[4]: *** [install] Error 2
make[3]: *** [install] Error 2
---------------

I've never been able to get NCAR Graphics to compile completely on Fedora
Core 2 and newer machines. The ctrans, ictrans, and idt binaries never
build. I'm forced to copy these binaries from RedHat 9.x tarball that NCAR
Graphics provides. But since I upgraded my PGI compiler from 6.0 to 6.2, I
have to recompile NCAR graphics.

Are there any source rpm's available for NCAR Graphics, which I can rebuild
for my machine? Has anybody successfully compiled NCAR Graphics on an FC4
machine with PGI 6.2? Could you send me your Makefile and install notes (or
better still, an RPM)?

Thanks,
Saurabh

-- 
Saurabh Barve
sbarve_at_nps.edu
831-656-3396


_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk

Received on Tue May 15 2007 - 18:04:56 MDT

This archive was generated by hypermail 2.2.0 : Fri May 18 2007 - 14:30:12 MDT