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

20050128: McIDAS-X build (cont.)



>From: "Luis A. Lopez" <address@hidden>
>Organization: UPRM
>Keywords: 200501201240.j0KCevv2003384 McIDAS build

Hi Luis,

>I just added the required line on the linux configuratio, but I get the 
>same, The required libraries are installed on /usr/X11R6/lib.  Thanks for 
>your help.

Libraries installed in /usr/X11R6/lib should be found by the mccomp.sh
script that is run from the McIDAS makefile (I made not changes to the
search for X libraries).

I just rebuilt the latest cut of Unidata McIDAS-X, v2002b, on a Fedora
Core 3 Linux system and it built with no errors and explicitly searched
libraries in /usr/X11R6/lib.  Here are some example lines from the
McIDAS make log file, ~mcidas/mcidas2004/src/makelog:

 ...
./mccomp -O -s -g77 -fp -o macro3 macro3.o -L. -lmcidas
mccomp: Using default optimizations
g77 -s -O -o macro3 macro3.o -L. -L/usr/X11R6/lib -lmcidas -ldl -lm
link    macro3:                 done
./mccomp -O -g77 -I. -I../netcdf/libsrc -I../hdf/hdf/src -I../hdf/mfhdf/libsrc 
-I..
/jpeg -I../zlib -I../tiff/libtiff -I../libgeotiff -c mcenv.cp
mccomp: Using default optimizations
rm -f mcenv.o
gcc -c -I/usr/X11R6/include -O -I. -I../netcdf/libsrc -I../hdf/hdf/src 
-I../hdf/mfh
df/libsrc -I../jpeg -I../zlib -I../tiff/libtiff -I../libgeotiff mcenv.c
compile mcenv.cp:               done
./mccomp -O -s -g77 -o mcenv mcenv.o -L. -lmcidas
mccomp: Using default optimizations
g77 -s -O -o mcenv mcenv.o -L. -L/usr/X11R6/lib -lmcidas -ldl -lm
link    mcenv:                  done

 ...

./mccomp -O -s -g77 -o mcimage mci.o mci_brie.o mci_buff.o mci_cmap.o 
mci_comb.o mc
i_cpfl.o mci_curs.o mci_evnt.o mci_frfl.o mci_glbl.o mci_rsrc.o mci_updt.o 
mci_visl
.o mci_nvpp.o -L. -lmcidas -lXext -lX11
mccomp: Using default optimizations
g77 -s -O -o mcimage mci.o mci_brie.o mci_buff.o mci_cmap.o mci_comb.o 
mci_cpfl.o m
ci_curs.o mci_evnt.o mci_frfl.o mci_glbl.o mci_rsrc.o mci_updt.o mci_visl.o 
mci_nvp
p.o -L. -L/usr/X11R6/lib -lmcidas -lXext -lX11 -ldl -lm
link    mcimage:                done
./mccomp -O -g77 -I. -I../netcdf/libsrc -I../hdf/hdf/src -I../hdf/mfhdf/libsrc 
-I..
/jpeg -I../zlib -I../tiff/libtiff -I../libgeotiff -c mcimagem.c
mccomp: Using default optimizations
rm -f mcimagem.o
gcc -c -I/usr/X11R6/include -O -I. -I../netcdf/libsrc -I../hdf/hdf/src 
-I../hdf/mfh
df/libsrc -I../jpeg -I../zlib -I../tiff/libtiff -I../libgeotiff mcimagem.c
compile mcimagem.c:             done
./mccomp -O -s -g77 -o mcimagem mcimagem.o mcterm.o -L. -lmcidas -lXt -lX11
mccomp: Using default optimizations
g77 -s -O -o mcimagem mcimagem.o mcterm.o -L. -L/usr/X11R6/lib -lmcidas -lXt 
-lX11 
-ldl -lm
link    mcimagem:               done

 ...


Are you not seeing /usr/X11R6/lib being referenced in link lines in 
~mcidas/mcidas2004/src/makelog?  If not, can I get a login and take a look
at what is happening?

Thanks in advance...

Cheers,

Tom
--
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publicly available
through the web.  If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.