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

[GEMPAK #QQS-311422]: GEMPAK Compile Error



Yep, your make.out looks good, no more motif library errors.

best,

Michael

 Michael,
> 
> Thanks for pointing that out!  I actually received a few other errors after
> running the "make clean && make distclean" then "make all >& make.out", but
> I *THINK* it's OK to proceed with the "make install".  It looks like the
> error didn't like me running "make distclean".  I've attached the make.out
> again if you wouldn't mind checking it out.
> 
> Thanks again, Michael!
> - scott
> 
> address@hidden> wrote:
> 
> > Hi Scott,
> >
> > The errors stem from how the Motif libraries are linked in your
> > $NAWIPS/config/Makeinc.linux_gfortran file
> >
> > A quick edit to lines 29 and 30 should do the trick.  Replace:
> >
> > MOTIFLIBS = $(X11LIBDIR) -Wl,-static -lXm -Wl,-Bdynamic -lSM -lICE -lXp
> > -lXext -lXft
> > #MOTIFLIBS = $(X11LIBDIR) -lXm -lSM -lICE -lXp -lXext -lXft
> >
> > with
> >
> > #MOTIFLIBS = $(X11LIBDIR) -Wl,-static -lXm -Wl,-Bdynamic -lSM -lICE -lXp
> > -lXext -lXft
> > MOTIFLIBS = $(X11LIBDIR) -lXm -lSM -lICE -lXp -lXext -lXft
> >
> > and rebuild.  That should solve the linking problem.  If not, please get
> > back to me as soon as you can and we'll find another solution.
> >
> > Best,
> >
> > Michael James
> > Unidata User Support
> >
> >
> >
> >
> >
> >
> > gfortran -fno-second-underscore -fno-range-check ... ... -L/usr/X11R6/lib
> > -Wl,-static -lXm -Wl,-Bdynamic -lSM -lICE -lXp -lXext -lXft -L/usr/X11R6/lib
> > -lXt -lX11
> > /usr/lib/gcc/i486-linux-gnu/4.2.4/../../../../lib/libXm.a(EditresCom.o): In
> > function `SendCommand':
> > (.text+0x30c): undefined reference to `_XEditResPut8'
> >
> >
> > Edit the link line to either be dynamic, or include -lXmu.  Every Motif
> > is a built little differently.
> >
> > You shouldn't need to rebuild to change the font, X resources can be
> > used to override it.
> >
> > The default font is non-bold 12pt, which will wind up at a different
> > pixel size depending on your display DPI.  I'm not sure why you think
> > the menus should be bold.
> >
> >
> > > I'm having a hard time compiling and installing GEMPAK.
> > >
> > > *Linux Distro Information*
> > > Ubuntu Desktop 8.04 LTS
> > > Linux gempak-test 2.6.24-23-generic #1 SMP Mon Jan 26 00:13:11 UTC 2009
> > i686
> > > GNU/Linux
> > >
> > > *Here are the extra packages I've installed:*
> > > aptitude update && aptitude install make gcc g++ libc6-dev perl
> > > build-essential perl-byacc tcsh zlibc libmotif-dev libmotif3
> > motif-clients
> > > gfortran libxft-dev libxft2 libxft2-dev libx11-dev libxp-dev
> > > x11proto-print-dev libpng12-0 libpng12-0-dev libpng12-dev libxcb-xtest0
> > > libxcb-xtest0-dev libxi-dev x11proto-xext-dev libxtst-dev
> > >
> > > *Some extra information regarding setup:*
> > > * Added ". NAWIPS/Gemenviron.profile" to my .bash_profile and have since
> > > logged in and verified variables with "env"
> > > * Commands I've ran after extraction (I've compiled a few times)
> > > # make clean
> > > # make distclean
> > > # make all >& make.out
> > >
> > > I've attached my make.out.  Any suggestions?
> > >
> > > Thanks!
> > > - scott
> > >
> > > --
> > > -------------------------------------------
> > > Scott Behrends
> > > System Administrator
> > > College Of Natural Sciences
> > > University of Northern Iowa
> > > O: WRT206   P: 319-273-5809
> > > -------------------------------------------
> > >
> > >
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: QQS-311422
> > Department: Support GEMPAK
> > Priority: Normal
> > Status: Open
> >
> >
> 
> 
> --
> -------------------------------------------
> Scott Behrends
> System Administrator
> College Of Natural Sciences
> University of Northern Iowa
> O: WRT206   P: 319-273-5809
> -------------------------------------------
> 
> 


Ticket Details
===================
Ticket ID: QQS-311422
Department: Support GEMPAK
Priority: Normal
Status: Open