Re: compiling ncarg - ncl ... trouble path with containing "_"

From: Philippe SIMONS <philippe.simons_at_nyahnyahspammersnyahnyah>
Date: Sat, 21 Mar 2009 20:19:37 +0100

it will apparently be even more difficult as I compiled all the
required packages in a path containing x86_64 ...

/APPLICATIIONS/x86_64/netCDF4-0.7.7 for exemple

  and would like to install ncl_ncarg into the same path :

  /APPLICATIIONS/x86_64/ncl_ncarg-5.1.0

example of error I get :

Making depend in ./ncarg2d/src/libncarg/areasC
make[5]: Entering directory `/APPLICATIONS/src/ncl_ncarg-5.1.0/ncarg2d/
src/libncarg/areasC'
makedepend -s "# DO NOT DELETE" -- -I../../../.././include -I/usr/
include -I/APPLICATIONS/1/netcdf-4.0.1-beta3/include -I/APPLICATIONS/1/
hdf5-1.8.2-post6/include -I/APPLICATIONS/1/HDF4.2r4/include -I/
APPLICATIONS/1/udunits-1.12.9/include -DLinux -DSYSV -
D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto --
c_ardrln.c c_aredam.c c_argeti.c c_argtai.c c_arinam.c c_armvam.c
c_arpram.c c_arscam.c c_arseti.c c_arsetr.c c_argetr.c c_ardbpa.c
makedepend: warning: c_ardrln.c (reading /usr/include/stdio.h, line
34): cannot find include file "stddef.h"
        not in ../../../.././include/stddef.h
        not in /usr/include/stddef.h
        not in /APPLICATIONS/1/netcdf-4.0.1-beta3/include/stddef.h
        not in /APPLICATIONS/1/hdf5-1.8.2-post6/include/stddef.h
        not in /APPLICATIONS/1/HDF4.2r4/include/stddef.h
        not in /APPLICATIONS/1/udunits-1.12.9/include/stddef.h
        not in /usr/include/stddef.h
makedepend: warning: c_ardrln.c (reading /usr/include/_G_config.h,
line 15): cannot find include file "stddef.h"

pretty ugly !

On Mar 21, 2009, at 18:12 , Mary Haley wrote:

> Ah, okay. In the $NCARG/config/LINUX file, then, you need to put the
> single tick marks around any lines like:
>
> -L/usr/lib64/gcc/x86_64-suse-linux/4.3/lib -lgcc -lg2c
>
> or
>
> -I/usr/lib64/gcc/x86_64-suse-linux/4.3/include
>
> For example:
>
> #define CtoFLibraries ' -L/usr/lib64/gcc/x86_64-suse-linux/4.3/
> lib -lgcc -lg2c -lm'
>
>
> and then rerun the "make Everything" command.
>
> --Mary
>
>
> On Mar 21, 2009, at 10:10 AM, Philippe SIMONS wrote:
>
>> Mary,
>> I did not give any special line for the compilation, as for the
>> instruction, I use
>> ./Configure -v
>> then
>> make Everything >& make-output &
>> PhS
>>
>>
>> On Mar 21, 2009, at 15:10 , Mary Haley wrote:
>>
>>> Hi,
>>>
>>> You didn't indicate what your compile line looked like, but
>>> are you doing something like:
>>>
>>> -I/usr/lib64/gcc/x86_64-suse-linux/4.3/include
>>>
>>> ? If so try putting single tick marks around the line:
>>>
>>> '-I/usr/lib64/gcc/x86_64-suse-linux/4.3/include'
>>>
>>> It seems unusual that you would need to explicitly include this
>>> line,
>>> however.
>>>
>>> If you are not explicitly including this line, then can
>>> you give me more information about how you are compiling?
>>>
>>> --Mary
>>>
>>> On Mar 21, 2009, at 2:32 AM, Philippe SIMONS wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm trying to compile NCL NCARG on openSUSE 11.1 64bit using
>>>> standard
>>>> gfortran (gcc4.3).
>>>>
>>>> but I believe to have understood that _ within the path are
>>>> automatically replace with 1
>>>>
>>>> x86_64 is a standard path and should be accepted, also gcc uses
>>>> this
>>>> path :
>>>> example : /usr/lib64/gcc/x86_64-suse-linux/4.3/include is
>>>> transformed
>>>> at compilation time into usr/lib64/gcc/1-suse-1/4.3/include
>>>>
>>>> Is it related to openSUSE ?
>>>>
>>>> Could someone help me please.
>>>>
>>>>
>>>> PhS
>>>>
>>>> _______________________________________________
>>>> ncl-install mailing list
>>>> List instructions, subscriber options, unsubscribe:
>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>>>
>>
>
Received on Sat Mar 21 2009 - 13:19:37 MDT

This archive was generated by hypermail 2.2.0 : Wed Mar 25 2009 - 15:36:22 MDT