Re: ncl 6.1.0 precompiled on debian squeeze 64 bit and WPS (WRF) compile error

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Aug 23 2012 - 14:07:34 MDT

You need to install the cairo and related libraries if you want to compile with V6.1.0.

Please see the "Installing other software for Linux systems" at:

http://www.ncl.ucar.edu/Download/linux.shtml#InstallSoftware

You need to do something like:

   apt-get install libcairo-devel
   yum install libcairo-devel

etc.

--Mary

On Aug 23, 2012, at 9:00 AM, ugo merlini wrote:

>
>
> Hi,
>
> I'm trying to compile WPS and i'm able to compile it because cairo libraries are missing.
>
> I'm using the precompiled version of ncl 6.1.0 gcc445 (as i'm using squeeze 64 bit)
>
> with ncl precompiled version 6.0.0 I have no problems
>
> my profile.conf file
>
> # NCL Paths
> NCARG_ROOT=/usr/local/bin/ncl
> PATH=/usr/local/bin/ncl/bin:$PATH
> export NCARG_ROOT
> export PATH
>
> regards
>
> Ugo
>
>
> log:
>
> ...
>
> gfortran -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/bin/ncl/lib -lncarg -lncarg_gks -lncarg_c -L/usr/X11R6/lib -lX11
> /usr/local/bin/ncl/lib/libncarg_gks.a(cro.o): In function `cro_SoftFill':
> cro.c:(.text+0xfa2): undefined reference to `cairo_move_to'
> cro.c:(.text+0x101a): undefined reference to `cairo_line_to'
> cro.c:(.text+0x1037): undefined reference to `cairo_stroke'
> cro.c:(.text+0x1180): undefined reference to `cairo_move_to'
> cro.c:(.text+0x11fc): undefined reference to `cairo_line_to'
> cro.c:(.text+0x1219): undefined reference to `cairo_stroke'
> /usr/local/bin/ncl/lib/libncarg_gks.a(cro.o): In function `cro_UpdateWorkstation':
> cro.c:(.text+0x12a8): undefined reference to `cairo_surface_flush'
> /usr/local/bin/ncl/lib/libncarg_gks.a(cro.o): In function `GetCROClipping':
> cro.c:(.text+0x12e2): undefined reference to `cairo_clip_extents'
> /usr/local/bin/ncl/lib/libncarg_gks.a(cro.o): In function `CROpict_init':
> cro.c:(.text+0x13eb): undefined reference to `cairo_set_source_rgba'
> cro.c:(.text+0x142a): undefined reference to `cairo_clip_extents'
> cro.c:(.text+0x143d): undefined reference to `cairo_reset_clip'
> cro.c:(.text+0x1458): undefined reference to `cairo_move_to'
> cro.c:(.text+0x1489): undefined reference to `cairo_line_to'
> cro.c:(.text+0x14d2): undefined reference to `cairo_line_to'
> cro.c:(.text+0x1503): undefined reference to `cairo_line_to'
> cro.c:(.text+0x151e): undefined reference to `cairo_line_to'
> cro.c:(.text+0x1531): undefined reference to `cairo_clip'
> cro.c:(.text+0x154c): undefined reference to `cairo_move_to'
> cro.c:(.text+0x157d): undefined reference to `cairo_line_to'
> cro.c:(.text+0x15c6): undefined reference to `cairo_line_to'
> cro.c:(.text+0x15f7): undefined reference to `cairo_line_to'
> cro.c:(.text+0x1612): undefined reference to `cairo_line_to'
> cro.c:(.text+0x1625): undefined reference to `cairo_fill'
> cro.c:(.text+0x165a): undefined reference to `cairo_move_to'
> cro.c:(.text+0x168f): undefined reference to `cairo_line_to'
> cro.c:(.text+0x16c4): undefined reference to `cairo_line_to'
> cro.c:(.text+0x16f9): undefined reference to `cairo_line_to'
> cro.c:(.text+0x172e): undefined reference to `cairo_line_to'
> cro.c:(.text+0x1741): undefined reference to `cairo_clip'
> cro.c:(.text+0x1760): undefined reference to `cairo_save'
> cro.c:(.text+0x1773): undefined reference to `cairo_reset_clip'
>
> ...
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Thu Aug 23 14:07:42 2012

This archive was generated by hypermail 2.1.8 : Thu Aug 23 2012 - 16:15:17 MDT