Re: X11 problem on install

From: Saurabh Barve <sbarve_at_nyahnyahspammersnyahnyah>
Date: Fri, 28 Mar 2008 12:48:37 -0700

The NCARG_LIBS2 does not include '-lX11', so you shouldn't need to change
that. Could you send me your config file and Makefile? You can send it
directly to my email address, instead of the list, if you want.

On 3/28/08 12:40 PM, "brian vant-hull" <brianvanthull_at_yahoo.com> wrote:

> Thanks for the tips. At least I know what direction
> to head.
>
> I tried adding /usr/lib64 to my path, cleaning out the
> *.o files and recompiling, but it didn't work. I get
>
> plotgrids.o -L/usr/local/lib -lncarg -lncarg_gks
> -lncarg_c -L/usr/X11R6/lib -lX11
> -L/usr/pgi/linux86-64/5.2/lib -lpgftnrtl -lpgc
> -L/usr/lib64 -lg2c
> /usr/bin/ld: cannot find -lX11
>
> So it's still using /usr/X11R6/lib.
>
> the 'configure' file seems to apply only to netcdf,
> the configure.wps file has a line
>
> NCARG_LIBS2 = -L${PGI}/linux86-64/5.2/lib
> -lpgftnrtl -lpgc \
> -L/usr/lib64 -lg2c
>
> is this the one I change? If so it already lists
> lib64. You may need to get very specific with me
> because i don't really know my way around the 'make'
> syntax.
>
> Thanks again.
>
> -Brian.
>
> --- Saurabh Barve <sbarve_at_nps.edu> wrote:
>
>> I'm not sure, there is any useful /usr/X11R6/lib64
>> folder on the new OS
>> versions (RHEL5, CentOS 5, etc.). To find the right
>> X11 stuff, I have to set
>> the path to /usr/lib64. All the X libraries now
>> reside there.
>>
>>
>> On 3/28/08 11:33 AM, "Mary Haley" <haley_at_ucar.edu>
>> wrote:
>>
>>> Hi Brian,
>>>
>>> Did you mean to use "-L/usr/X11R6/lib64" instead?
>> You may need to
>>> modify your config file to reflect this.
>>>
>>> If you did mean to use /usr/X11R6/lib, then what
>> do you see in there
>>> with regard to files that start with "lib"? You
>> should at least see
>>> something like:
>>>
>>> libX11.a
>>> libX11.so -> libX11.so.6.2*
>>> libX11.so.6 -> libX11.so.6.2*
>>> libX11.so.6.2*
>>>
>>> --Mary
>>>
>>> On Mar 28, 2008, at 8:17 AM, brian vant-hull
>> wrote:
>>>
>>>> Hi folks;
>>>>
>>>> on trying to install ncar graphics I'm getting an
>>>> error message that doesn't make sense. The
>> relevant
>>>> compiler messages are:
>>>>
>>>> pgf90 -o plotfmt.exe plotfmt.o read_met_module.o
>>>> module_debug.o \
>>>> misc_definitions_module.o cio.o
>>>> met_data_module.o \
>>>> -L/usr/local/lib -lncarg -lncarg_gks
>> -lncarg_c
>>>> -L/usr/X11R6/lib -lX11
>> -L/usr/pgi/linux86-64/5.2/lib
>>>> -lpgftnrtl -lpgc -L/usr/lib64 -lg2c
>>>> /usr/bin/ld: cannot find -lX11
>>>>
>>>> Note that it cannot find X11. But I checked
>>>> /usr/X11R6/lib and it's chock full of stuff,
>> including
>>>> an X11 folder. So what could be the problem?
>>>>
>>>> Thanks,
>>>>
>>>> Brian Vant-Hull
>>>> 917-318-4481
>>>>
>>>>
>>>>
>>>>
>>
> _______________________________________________________________________
>>>> _____________
>>>> Be a better friend, newshound, and
>>>> know-it-all with Yahoo! Mobile. Try it now.
>>>>
>>
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>>>> _______________________________________________
>>>> ncl-install mailing list
>>>> ncl-install_at_ucar.edu
>>>>
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>>>
>>> _______________________________________________
>>> ncl-install mailing list
>>> ncl-install_at_ucar.edu
>>>
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>>
>> --
>> Saurabh Barve
>> sbarve_at_nps.edu
>> 831-656-3396
>>
>>
>>
>>
>
>
> Brian Vant-Hull
> 917-318-4481
>
>
>
> ______________________________________________________________________________
> ______
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> _______________________________________________
> ncl-install mailing list
> ncl-install_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

-- 
Saurabh Barve
sbarve_at_nps.edu
831-656-3396
_______________________________________________
ncl-install mailing list
ncl-install_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Fri Mar 28 2008 - 13:48:37 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 01 2008 - 07:49:38 MDT