[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GEMPAK #KWV-635260]: Gempak 6.2.0 Ubuntu 10.4 Desktop Build problems



Hi Elie,

The device.f File Exists errors are non-critical and can be ignored.

The undefined references to cmdln_getLoadVGF and cmdln_getVGF are surprising to 
see and definitely should not be happening.  I'm guessing you simply need a 
clean build -  a 'make distclean' from $NAWIPS followed by a 'make all' rebuild 
should set things right.

-Michael



> Michael,
> 
> I've modified LD_LIBRARY_PATH in Makeinc.common to include /usr/lib and 
> /usr/lib64 and reran m
> "make all" again which solved a lot of compilation problems but there are 
> still very few Error messages :
> 
> gempak@wxlabpc20:~/GEMPAK6.2.0$ grep Error make.out
> (test $HDF5_Make_Ignore && echo "*** Error ignored") ||          \
> (test $HDF5_Make_Ignore && echo "*** Error ignored") ||          \
> make[3]: [clean] Error 2 (ignored)
> make[6]: [install-data-local] Error 1 (ignored)
> making in /home/gempak/GEMPAK6.2.0/gempak/source/driver/active/gf
> make[5]: Entering directory 
> `/home/gempak/GEMPAK6.2.0/gempak/source/driver/active/gf'
> ln -s /home/gempak/GEMPAK6.2.0/gempak/source/device/main/device.f .
> ln: creating symbolic link `./device.f': File exists
> make[5]: *** [gf] Error 1
> 
> make[5]: Entering directory 
> `/home/gempak/GEMPAK6.2.0/gempak/source/driver/active/png'
> ln -s /home/gempak/GEMPAK6.2.0/gempak/source/device/main/device.f .
> ln: creating symbolic link `./device.f': File exists
> make[5]: *** [png] Error 1
> 
> 
> make[4]: *** [all] Error 2
> make[3]: *** [all] Error 2
> 
> making in /home/gempak/GEMPAK6.2.0/gempak/source/programs/gui/nmap2
> make[5]: Entering directory 
> `/home/gempak/GEMPAK6.2.0/gempak/source/programs/gui/nmap2'
> gcc -DUNDERSCORE -DLinux -I/home/gempak/GEMPAK6.2.0/gempak/include 
> -I/home/gempak/GEMPAK6.2.0/os/linux64/include -I/usr/X11R6/include -DG_64BIT 
> -g  -I/usr/X11R6/include -I/usr/X11R6/include 
> -I/home/gempak/GEMPAK6.2.0/extlibs/AODT -c nmap2.c
> gfortran -fno-second-underscore -fno-range-check -fd-lines-as-comments 
> -I/home/gempak/GEMPAK6.2.0/gempak/include 
> -I/home/gempak/GEMPAK6.2.0/os/linux64/include -g   -o nmap2  \
> nmap2.o \
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/nmap2.a 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/gemlib.a 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/ginitp_alt.o 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/gendp_alt.o 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/nmaplib.a 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/nmap2.a 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/Nxmlib.a 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/sfmap.a 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/snmap.a 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/gdplot2.a 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/gdmap.a 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/gdstream.a 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/grphgd.a 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/gdcfil.a 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/oabsfc.a 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/libAODT_v64.a 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/libAODT_v72.a 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/gemlib.a 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/cgemlib.a 
> /home/gempak/GEMPAK6.2.0/os/linux64/lib/
 textlib.a /home/gempak/GEMPAK6.2.0/os/linux64/lib/gplt.a 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/device.a 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/xwp.a 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/xw.a 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/ps.a 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/gn.a 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/gemlib.a 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/cgemlib.a 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/libgpc.a 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/libnetcdf.a 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/libjasper.a 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/libpng.a 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/libmel_bufr.a 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/libxslt.a 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/libxml2.a 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/libz.a 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/rsl.a 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/libbz2.a -lpthread 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/cgemlib.a 
/home/gempak/GEMPAK6.2.0/os/linux64/lib/gemli
 b.a \
> -L/usr/X11R6/lib64 -lXm -L/usr/X11R6/lib64 -lXt -lX11  -lm
> nmap2.o: In function `main':
> /home/gempak/GEMPAK6.2.0/gempak/source/programs/gui/nmap2/nmap2.c:340: 
> undefined reference to `cmdln_getLoadVGF'
> /home/gempak/GEMPAK6.2.0/gempak/source/programs/gui/nmap2/nmap2.c:341: 
> undefined reference to `cmdln_getVGF'
> collect2: ld returned 1 exit status
> make[5]: *** [nmap2] Error 1
> 
> make[5]: *** [nmap2] Error 1
> 
> 
> Apparently there is still a problem with compiling gf,png and nmap2.
> Any insights on how to go about resolving this problem will be greatly 
> appreciated?
> 
> Thanks,
> Elie
> 
> 
> -----Original Message-----
> From: Saliba, Elie
> Sent: Tue 5/24/2011 9:11 AM
> To: address@hidden
> Subject: RE: [GEMPAK #KWV-635260]: Gempak 6.2.0 Ubuntu 10.4 Desktop Build 
> problems
> 
> 
> Hi Michael,
> 
> Thanks for the info.
> The package libXtst-dev wasn't installed so I went ahead and installed it on 
> My Ubuntu box as you suggested,
> ran "make distclean" followed by "make all" again. The Make.out file contains 
> a number of error
> messages that I wasn't aware existed before : (before I searched for "error" 
> messages instead
> of "Error" messages) at any rate here's a list :
> 
> 
> gempak@wxlabpc20:~/GEMPAK6.2.0$ grep Error make.out
> make[3]: [_lhdf5] Error 2 (ignored)
> make[3]: [clean] Error 2 (ignored)
> make[7]: [install-data-local] Error 1 (ignored)
> make[3]: [clean] Error 2 (ignored)
> make[3]: *** [_xslt] Error 2
> make[2]: *** [/home/gempak/GEMPAK6.2.0/os/linux64/lib/libxslt.a] Error 2
> make[5]: *** [xw] Error 1
> make[5]: *** [gf] Error 1
> make[5]: *** [xwp] Error 1
> make[5]: *** [vg] Error 1
> make[5]: *** [png] Error 1
> make[4]: *** [all] Error 2
> make[3]: *** [all] Error 2
> make[4]: *** [all] Error 2
> make[6]: *** [gdcfil] Error 2
> make[5]: *** [gdgrib] Error 2
> make[4]: *** [all] Error 2
> make[4]: *** [all] Error 2
> make[4]: *** [all] Error 2
> make[5]: *** [gdcfil] Error 2
> make[4]: *** [all] Error 2
> make[5]: *** [aodt] Error 1
> make[5]: *** [nodt] Error 1
> make[5]: *** [prob2cat] Error 1
> make[5]: *** [nmap2] Error 1
> make[5]: *** [nsharp] Error 1
> make[5]: *** [nwx] Error 1
> make[4]: *** [all] Error 2
> make[3]: *** [all] Error 2
> make[4]: *** [all] Error 2
> make[3]: *** [all] Error 2
> make[2]: *** [all] Error 2
> make[3]: *** [dcredbook] Error 1
> make[3]: *** [sfctime] Error 1
> make[2]: *** [linux64/garp] Error 1
> 
> BTW, Libxslt.a is located in /usr/lib and /usr/lib64 on my system and not in 
> the path specified above.
> please note that I am trying to install Gempak on a 64-bit machine.
> 
> I've attached a copy of the make.out file, it would be greatly apreciated if 
> you would take a look and let me know what's happening.
> 
> thanks,
> Elie
> 
> 
> -----Original Message-----
> From: Unidata GEMPAK Support [mailto:address@hidden]
> Sent: Mon 5/23/2011 6:50 PM
> To: Saliba, Elie
> Cc: address@hidden
> Subject: [GEMPAK #KWV-635260]: Gempak 6.2.0 Ubuntu 10.4 Desktop Build problems
> 
> Hi Elie,
> 
> The command
> 
> yum provides \*XTest.h\*
> 
> will show what package provides the missing X11 extension:
> 
> libXtst-devel
> 
> I'm assuming that this package isn't installed on your system.  If it is, 
> please let me know as we'll have to modify the X11 library path in your 
> distribution's Makeinc.common configuration file.
> 
> Michael James
> Unidata
> 
> 
> 
> > Hello,
> >
> > Several attempts so far in building Gempak 6.2.0 on an Ubuntu 10.04
> > Desktop failed. Instead of emailing you the entire make.out file I
> > thought I'll include only the error messages I've gotten after a long
> > build process. I know for sure that it didn't build the garp executable
> > but everything else seems to build properly (from what I can tell).
> >
> > configure: error: in `/home/gempak/GEMPAK6.2.0/extlibs/HDF5/libhdf':
> > configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> > checking for strerror... yes
> > checking for strerror... yes
> >
> >
> >
> > gcc -DUNDERSCORE -DLinux -I/home/gempak/GEMPAK6.2.0/gempak/include
> > -I/home/gempak/GEMPAK6.2.0/os/linux64/include -I/usr/X11R6/include
> > -DG_64BIT -g  -O -DNO_MSG_IPC -ansi -c sigberror.c
> > from sigberror.c:1:
> > from sigberror.c:1:
> > inlined from ?sigberror? at sigberror.c:34:
> > a - sigberror.o
> > nmap_kiosk.c:44:34: error: X11/extensions/XTest.h: No such file or directory
> >
> >
> > I've installed all of the X11 libs that you've recommended. But not sure
> > what else is missing.
> >
> > Any suggestions on how to proceed would be greatly appreciated.
> >
> > thanks,
> > Elie Saliba
> > Sys Admin
> > UNC Charlotte
> >
> >
> 
> 
> Ticket Details
> ===================
> Ticket ID: KWV-635260
> Department: Support GEMPAK
> Priority: Normal
> Status: Open
> 
> 
> 
> 
> 
> 


Ticket Details
===================
Ticket ID: KWV-635260
Department: Support GEMPAK
Priority: Normal
Status: Open