Hi Samuel,
One thing you probably need to do is to edit your $NCARG/config/LINUX
file and change the line:
#define ArchRecLibSearch -L/usr/X11R6/lib
to:
#define ArchRecLibSearch -L/usr/X11R6/lib64
If you haven't already, you might want to look at the LINUX.64.GNU
file. This is a file we use on our 64-bit LINUX hosts when we compile
with g77/gcc. You would need to copy it over the LINUX file.
Once you make a change to the $NCARG/config/LINUX file, it is
best to compile from scratch using "make Everything".
--Mary
On Tue, 1 May 2007, Samuel Hassid wrote:
> I am trying to generate ncarg in a computer which responds to the uname -s
> command with Linux and to the uname -m command with x86_64.
> In the begining I had trouble with configure -v command, but it all arranged
> itself (or so I thought) when I switched to csh.
> After running the configure file - I answered the questions and run the Make
> Everything > & make-output command. I tracked it using the method
> suggested.
> To my surprise, I did not have the bin files (ie the essential part)
> I think that it may be due to the statement X11R6/lib which may have to be
> replaced by X11R6/lib64 lib (I had similar problems with other packages)
> How shoudl I go about making this change ? Normally I would go by changing
> the Makefile,
> but I feel a bit intimidated becaus ethere are many Makefiles around and I am
> afraid that something may go wrong.
> Thanks . I append the reaction of one of the runs.
>
>
>
> g77 -O -o nnalg nadisp.o nadraw.o naskln.o nasort.o
> -L../../../.././ncarg2d/src/libncarg-lncarg_c
> -L/var/tmp/Rams/n/ncarg-4.4.1/lib -L/usr/X11R6/lib -lX11 -lXext
> which should actually be
> g77 -O -o nnalg nadisp.o nadraw.o naskln.o nasort.o
> -L../../../.././ncarg2d/src/libncarg-lncarg_c
> -L/var/tmp/Rams/n/ncarg-4.4.1/lib -L/usr/X11R6/lib64 -lX11 -lXext
>
>
> Making install in ./ngmath/src/bin/nnalg
> make[5]: Entering directory
> `/var/tmp/Rams/n/ncarg-4.4.1/ngmath/src/bin/nnalg'
> g77 -O -o nnalg nadisp.o nadraw.o naskln.o nasort.o
> -L../../../.././ncarg2d/src/libncarg -lncarg
> -L../../../.././ncarg2d/src/libncarg_gks -lncarg_gks
> -L../../../.././common/src/libncarg_c -lncarg_c
> -L/var/tmp/Rams/n/ncarg-4.4.1/lib -L/usr/X11R6/lib -lX11 -lXext /usr/bin/ld:
> skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
> /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for
> -lX11
> /usr/bin/ld: cannot find -lX11
> collect2: ld returned 1 exit status
> make[5]: *** [nnalg] Error 1
> make[5]: Leaving directory `/var/tmp/Rams/n/ncarg-4.4.1/ngmath/src/bin/nnalg'
> make[4]: *** [install] Error 2
> make[4]: Leaving directory `/var/tmp/Rams/n/ncarg-4.4.1/ngmath/src/bin'
> /
>
> _______________________________________________
> ncarg-talk mailing list
> ncarg-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
>
_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Tue May 01 2007 - 11:06:26 MDT
This archive was generated by hypermail 2.2.0 : Tue May 08 2007 - 09:55:01 MDT