RE: Compiling Gempak5.9.4 under Fedora Core 6

Although you probably want CHIZ to answer, I found also that even with FC5
some X libraries were moved and I have included the altered Makeinc.linux
with the changes that were necessary.

I have not tried to make FC6 yet:

OPSYS = Linux

CC = gcc
FC = g77

MOTIFINC  = -I/usr/include -I/usr/include/X11 -I/usr/include/X11/fonts
XWINCDIR  = -I/usr/include -I/usr/include/X11 -I/usr/include/X11/fonts

COPT = -g -DUNDERSCORE -D$(OPSYS) $(GEMINC) $(MOTIFINC) -O # -g
FOPT =  -g -fno-second-underscore $(GEMINC) $(GEMINC)/$(OPSYS) -O # -g
FOPT_NOGLOB = -fno-globals -Wno-globals
NCII = "-I../libsrc"
#NCOPT = "CPPFLAGS=-DNDEBUG -Df2cFortran" "FFLAGS=-O -Wno-globals"
"CFLAGS=-O $(NCII)" "CXX= "
NCOPT = "CPPFLAGS=-Df2cFortran" "FFLAGS=-O -Wno-globals" "CFLAGS=-O $(NCII)"
"CXX= "
JASPEROPT = 'CC=$(CC)' 'CFLAGS=-O' '--disable-libjpeg'
XML2OPT = 'CC=$(CC)' '--with-iconv'
XMLDEP = -lpthread

CFLAGS = $(COPT)
FFLAGS = $(FOPT)
LDM_FLAGS

X11LIBDIR = -L/usr/lib
#MOTIFLIBS = -L/usr/X11R6/lib -lXm $(X11LIBDIR) -lSM -lICE -lXp -lXext
# RedHat 7.1
# MOTIFLIBS = /usr/X11R6/lib/libXm.a $(X11LIBDIR) -lSM -lICE -lXp -lXext
# RedHat 7.3+
#MOTIFLIBS = /usr/X11R6/lib/libXm.a $(X11LIBDIR) -lXmu -lSM -lICE -lXp
-lXext
#MOTIFLIBS = $(X11LIBDIR) -lXm
#MOTIFLIBS = $(X11LIBDIR) /usr/X11R6/lib/libXm.a -lXmu -lSM -lICE -lXp
-lXext
MOTIFLIBS = $(X11LIBDIR) /usr/lib/libXm.a -lXm -lXmu -lSM -lICE -lXp -lXext
-lXft

BUFRFLAGS = -O -DNO_MSG_IPC -ansi

SYSLIBS


Stephen Sinnis
Pelmorex Media Inc
T. 905.829.1159 x1379
F. 905.829.5800

-----Original Message-----
From: owner-gembud@xxxxxxxxxxxxxxxx [mailto:owner-gembud@xxxxxxxxxxxxxxxx]
On Behalf Of Brian Bernard
Sent: Monday, November 20, 2006 12:27 PM
To: gembud@xxxxxxxxxxxxxxxx
Subject: Compiling Gempak5.9.4 under Fedora Core 6

Hi Steve,

I recently did a clean install of Fedora Core 6 on my linux system and I see
that some things have changed. In particular, Fedora Core 6 no longer uses
OpenMotif and instead uses Lesstif. Also, it uses Xorg which places the X
files (no pun intended) in a different location than X11R6. Do you have any
tips on how to compile Gempak5.9.4 under FC6, or do you thing I'm better off
with the binary distribution in my situation.

Best Regards,

Brian Bernard