help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave 3.4.0 does not detect my GraphicsMagick 1.3.12


From: marco atzeri
Subject: Re: Octave 3.4.0 does not detect my GraphicsMagick 1.3.12
Date: Sun, 24 Apr 2011 10:44:15 +0200

On Sun, Apr 24, 2011 at 7:19 AM, Andy Chee  wrote:
>
> Hi all.
>
> I'm trying to install Octave 3.4.0 but at the end of ./configure I get the 
> following warning:
>
> configure:54866: WARNING: GraphicsMagick++ library fails tests.  The imread 
> function for reading image files will not be fully functional.
>
> Looking through config.log I find the following:
>
> configure:31204: $PKG_CONFIG --exists --print-errors "$magick++"
> configure:31207: $? = 0
> configure:31230: checking Magick++.h usability
> configure:31230: g++ -c -g -O2 -I/usr/local/include/GraphicsMagick    
> conftest.cpp >&5
> configure:31230: $? = 0
> configure:31230: result: yes
> configure:31230: checking Magick++.h presence
> configure:31230: g++ -E -I/usr/local/include/GraphicsMagick    conftest.cpp
> configure:31230: $? = 0
> configure:31230: result: yes
> configure:31230: checking for Magick++.h
> configure:31230: result: yes
> configure:31233: checking for Magick::ColorRGB in Magick++.h
> configure:31254: g++ -o conftest -g -O2 -I/usr/local/include/GraphicsMagick   
>   conftest.cpp -L/usr/local/lib   -lGraphicsMagick++ -lGraphicsMagick   -lm   
> >&5
> /usr/local/lib/libGraphicsMagick.a(magick_libGraphicsMagick_la-image.o): In 
> function `DisplayImages':
> /home/chinsta/GraphicsMagick-1.3.12/magick/image.c:1265: undefined reference 
> to `XOpenDisplay'
> /home/chinsta/GraphicsMagick-1.3.12/magick/image.c:1268: undefined reference 
> to `XSetErrorHandler'
> /home/chinsta/GraphicsMagick-1.3.12/magick/image.c:1294: undefined reference 
> to `XCloseDisplay'
> /usr/local/lib/libGraphicsMagick.a(magick_libGraphicsMagick_la-image.o): In 
> function `AnimateImages':
> /home/chinsta/GraphicsMagick-1.3.12/magick/image.c:467: undefined reference 
> to `XOpenDisplay'
> /home/chinsta/GraphicsMagick-1.3.12/magick/image.c:470: undefined reference 
> to `XSetErrorHandler'
> /home/chinsta/GraphicsMagick-1.3.12/magick/image.c:478: undefined reference 
> to `XCloseDisplay'
> /usr/local/lib/libGraphicsMagick.a(magick_libGraphicsMagick_la-operator.o): 
> In function `QuantumPowCB':
> /home/chinsta/GraphicsMagick-1.3.12/magick/operator.c:1554: undefined 
> reference to `GOMP_critical_name_start'
> /home/chinsta/GraphicsMagick-1.3.12/magick/operator.c:1564: undefined 
> reference to `GOMP_critical_name_end'
> /home/chinsta/GraphicsMagick-1.3.12/magick/operator.c:1564: undefined 
> reference to `GOMP_critical_name_end'
> /usr/local/lib/libGraphicsMagick.a(magick_libGraphicsMagick_la-operator.o): 
> In function `QuantumDepthCB':
> /home/chinsta/GraphicsMagick-1.3.12/magick/operator.c:575: undefined 
> reference to `GOMP_critical_name_start'
> /home/chinsta/GraphicsMagick-1.3.12/magick/operator.c:585: undefined 
> reference to `GOMP_critical_name_end'
> /home/chinsta/GraphicsMagick-1.3.12/magick/operator.c:585: undefined 
> reference to `GOMP_critical_name_end'

XOpenDisplay is coming from xlib, so you miss some development lib

>
> ....and it continues like that for a while.
>
> I assume it's a missing file, misplaced directory or something along those 
> lines, but I need some help troubleshooting.
>
> I had a look at the config.log of an older octave-3.2.4, but it looks like 
> the magick checking routine is completely different (and successful too)
>
> I did a search through the message archive for similar problems and there are 
> references to a GraphicsMagick-devel.  But I can't find this on the 
> www.graphicsmagick.org site, and the references I found were RPMs for Debian 
> and SuSE.  I'm not sure whether this is what I need though (I'm using 
> Slackware 13.0)
>
> If someone can give me an idea of where to go and what to do it would be much 
> appreciated.
>
> cheers
>
> Andrew
>
> PS. apart from not detecting GraphicsMagick, Octave 3.4 built cleanly, though 
> I did struggle getting BLAS, ATLAS & LAPACK built and installed correctly 
> beforehand (mainly because I don't know what I'm doing!)
>
>
Marco


reply via email to

[Prev in Thread] Current Thread [Next in Thread]