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

[GEMPAK #JIS-635047]: Gempak 5.11.4 build errors



Eric,

The errors you're getting are 

/home/ldm/GEMPAK5.11.4/gempak/include/geminc.h:57:22: error: Xm/XmAll.h: No 
such file or directory
In file included from /home/ldm/GEMPAK5.11.4/gempak/include/proto.h:28,
                 from /home/ldm/GEMPAK5.11.4/gempak/include/gemprm.h:647,

This says that the Motif include file, XmAll.h was not found on your system. 
One possible cause is that the compiler isn't searching for the files in the 
right place; the other possibility is that you do not have needed Motif 
development include files and libraries installed on your machine.

If you don't have Motif (or OpenMotif) installed, installing it should get you 
going.

If you do have Motif installed, but it is not being found, you will need to 
edit:

$NAWIPS/config/Makeinc.linux_gfortran

If the line 

MOTIFLIBS = $(X11LIBDIR) -lXm -lSM -lICE -lXp -lXext -lXft

is commented out uncomment it and comment out the previous line:

MOTIFLIBS = $(X11LIBDIR) -Wl,-static -lXm -Wl,-Bdynamic -lSM -lICE -lXp -lXext 
-lXft

and give that a shot.




> Michael,
> 
> I'm trying to install on a brand new machine.  I had one aborted attempt
> to build when I discovered that g77 was not available, only gfortran.  I
> ran make distclean and tried a new build.  make.out2 is attached.
> 
> blackhawk:~/GEMPAK5.11.4> uname -a
> Linux blackhawk 2.6.18-6-686 #1 SMP Sat Dec 27 09:31:05 UTC 2008 i686
> GNU/Linux
> 
> Makeinc.common is attached.
> 
> If it looks like something related to gfortran, I could ask for g77 to be
> installed.
> 
> Thanks.
> 
> -Eric
> 
> > Ticket Details
> > ===================
> > Ticket ID: JIS-635047
> > Department: Support GEMPAK
> > Priority: Normal
> > Status: Open
> 
> _______________________________________________________________________
> Eric Nelson
> 
> National Center for Atmospheric Research
> Research Applications Laboratory
> http://www.ral.ucar.edu
> address@hidden
> (303) 497-2838
> 
> "I love deadlines.  I especially like the whooshing sound they make as
> they go flying by."     --Douglas Adams
> _______________________________________________________________________
> 


Ticket Details
===================
Ticket ID: JIS-635047
Department: Support GEMPAK
Priority: Normal
Status: Open