Hi,
On 04/28/2014 09:26 PM, Fong Chun Chan wrote:
./configure --prefix=/home/fong/usr/local
I set the my CAIRO_LIBS and CAIRO_CLAGS environment variables in my
~/.bashrc:
export CAIRO_LIBS=${HOME}/usr/local/lib
export CAIRO_CFLAGS=${HOME}/usr/local/include
maybe
export
Hi Peter,
Unfortunately neither of the modifications to the LIB flag worked. I tried:
export CAIRO_LIBS='-L${HOME}/usr/local/lib -lcairo'
This actually gave me an error like this:
.
configure: CAIRO_CFLAGS=-I/home/fong/usr/local/include/cairo
checking if R was compiled with the RConn
For anyone who has these issues, I eventually recognized that the issue had
to do with the fact the mine cairo was not being compiled with freetype
support. I had to recompile cairo with --enable-ft=yes.
Also removed the setting of the CAIRO_LIBS and CAIRO_CLAGS environment
variables in my
Hi,
I am trying to get the R package Cairo installed. I've been successfully in
building the latest version of Cairo library (1.12.16,
http://cairographics.org/) from source and installed into ~/usr/local using
./configure --prefix=/home/fong/usr/local
I set the my CAIRO_LIBS and CAIRO_CLAGS
Probably not much help to you, but for what it's worth:
* on my system cairo.h is in /usr/include/cairo
Perhaps the CAIRO flags that you set are not adequately guiding the search.
* you need to have the *development* version of cairo installed; on my
system (Fedora 17) I do:
sudo
Make sure you have cairo-devel installed, and remove the lines
export CAIRO_LIBS=${HOME}/usr/local/lib
export CAIRO_CFLAGS=${HOME}/usr/local/include
from your .bashrc file. If you have cairo-devel installed normally,
the headers should be found with default settings of all search paths.
The
Hi Peter,
Thanks for the reply. I don't have access to the package manager
unfortunately as I am working on a cluster where I don't have admin. So
everything has to installed into my ~/export CAIRO_LIBS=-L${HOME}/usr/local/
lib
export CAIRO_CFLAGS=-I${HOME}/usr/local/include
/local. I tried
Thanks Peter. From the config.log file, the issue appears to occur here at
the */home/fong/Cairo/conftest.c:28: undefined reference to
`cairo_create'*
-
configure:3631: gcc -std=gnu99 -o conftest -g -O2
-I/home/fong/usr/local/include/cairo conftest.c -lz
-L/home/fong/usr/local/lib 5
I **think** the linker is missing a directive to actually link in the
cairo library. Try adding -lcairo to the LIB flags, something like
export CAIRO_LIBS='-L${HOME}/usr/local/lib -lcairo'
or simply
export CAIRO_LIBS=-l${HOME}/usr/local/lib/libcairo.so
I am not 100% sure of the syntax, but
9 matches
Mail list logo