[ncl-install] Problem with Building from Source Code

Shi-Pei Hsu hsushipei1 at gmail.com
Wed Mar 5 19:18:48 MST 2014


Hi Mary,

Thank you very much! It was solved!!

Yours,
Jack-Hsu


On Tue, Mar 4, 2014 at 5:04 AM, Mary Haley <haley at ucar.edu> wrote:

> Hi Jack,
>
> Thanks for the make-output file.
>
> This is the error that's causing the problem:
>
> /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
> cannot find -lXrender
>
> I'm surprised there's no "error" associated with this.
>
> You need to have the X11 development libraries installed on your system,
> and make sure that they can be found.
>
> Do you have libXrender? You can type this to find out:
>
> locate libXrender.so
>
> If you don't have this file, then please see:
>
> http://www.ncl.ucar.edu/Download/linux.shtml#InstallSoftware
>
> If you do have this file, then you may need to edit your
> $NCARG/config/Site.local file and add the path to it to the "#define
> LibSearch" line. For example, if you see the file
> "/usr/X11R6/lib/libXrender.so", then you need to add "-L/usr/lib64" to the
> end of the line:
>
> #define LibSearch ...[snip].... -L/usr/X11R6/lib
>
> You will need to run "make Everything" after making this change.
>
> --Mary
>
> On Feb 28, 2014, at 5:54 PM, Shi-Pei Hsu <hsushipei1 at gmail.com> wrote:
>
> > Dear all,
> > I tried to build NCL-6.1.2 from source code but I failed. The OS I'm
> running is x86_64 SUSE Linux Enterprise 10 (SP2) with gcc-4.1.2.
> > All the external software are successfully installed(I guess) expect
> Vis5D+(Won't use it). I install NCL in a non-standard place (e.g.
> /data1/hsu/software/NCL ) since I don't have permission to be root.
> >
> > I followed the installation step: run $ ./configure and then $ make
> Everything >& make-output &. After the make was finished, I couldn't find
> the executable ncl binary in $NCARG_ROOT/bin. Then I checked the
> "make-output" file for any "fatal" and "error". I can't find any "fatal"
> and all the "error" I found was something like "error.c", "error.o", or
> "Making Makefiles in ./ncarg2d/man/error_handling".
> >
> > So, I don't know what happened.
> >
> > P.S.: I've attached the "make-output" in this email
> >
> > Thank you!
> >
> > Sincerely,
> > Jack Hsu
> > <make-output.tar.bz2>_______________________________________________
> > ncl-install mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20140306/b7c88a65/attachment.html 


More information about the ncl-install mailing list