Re: [GM-help] Compilation success but still missing dependencies?
Swiss army knife of image processing
Brought to you by:
bfriesen
From: Carnë D. <car...@gm...> - 2012-03-30 10:48:29
|
On 30 March 2012 02:23, Bob Friesenhahn <bfr...@si...> wrote: > On Thu, 29 Mar 2012, Carnė Draug wrote: > >> I have compiled GraphicsMagick successfully (or so it appears to me) > > It looks like you configured it to install under the directory > '/home/carandraug/.bin/gm'. This is not a common location but it can be > made to work. I already have GraphicsMagick installed on my system (from Debian repositories) but it's compiled with quantum 8. I want to keep this system installation since other applications depend on it. Is there a more "common" location for user-wide installations? >> but still having problems with it (when I then try to install octave >> some of the tests fail) . I believe my problem is a missing dependency >> of GraphicsMagick. When I'm compiling octave, it tests the library >> during configure and fails with a bunch of messages about missing >> references on many .c files of GraphcisMagick. I have pastebin it here > > It looks like the GraphicsMagick libraries have been included, but all of > the libraries that the GraphicsMagick libraries depend on are not included. > > Do you have any idea how Octave picks up the configuration required by > GraphicsMagick? All I know is that I had to set CPPFLAGS and LDFLAGS with: CPPFLAGS=-I/home/carandraug/.bin/gm/include/GraphicsMagick LDFLAGS=-L/home/carandraug/.bin/gm/lib/GraphicsMagick-1.3.14 It is also supposed to use pkg-config but setting PKG_CONFIG_PATH didn't work either > For example, it might try to execute 'GraphicsMagick++-config' (which would > be /home/carandraug/.bin/gm/bin/GraphicsMagick++-config in your install) to > obtain its configuration. Perhaps it expects that this script will be in > your executable search path. > > Try doing > > export PATH="/home/carandraug/.bin/gm/bin:${PATH}" > > in your shell before configuring Octave and perhaps that might help. > > After updating the path, make sure that > > which GraphicsMagick++-config > > does find the configuration script. After I have edited the PATH and both CPPFLAGS and LDFLAGS, configuring octave worked fine. However, when running make it default back to the system installation of GraphicsMagick. I looked at the Makefile being generated and I think I have found the problem. This seems to be a bug on their configure script so I'll follow it there. Thank you very much for your help, Carnë |