Nonstandard dependency installation directories
Marvin Gülker <[email protected]>
| Newsgroups | gmane.comp.video.graphicsmagick.help |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm trying to compile GraphicsMagick where the dependencies are not
installed into a standard directory that `configure' would find. The
UNIX README[1] tells me:
> Configure can usually find the X include and library files
> automatically, but if it doesn't, you can use the 'configure' options
> '--x-includes=DIR' and '--x-libraries=DIR' to specify their locations.
However, the `configure' script tells me that this is wrong. If I
replace the placeholder "X" with "png" for example:
$ ./configure --disable-shared --enable-static \
--with-png-libraries=$PWD/../../root/lib \
--with-png-includes=$PWD/../../root/include
configure: WARNING: unrecognized options: --with-png-libraries,
--with-png-includes
[...]
As a consequence, it does not find libpng. Note I only use
libpng as an example, I have all of GraphicsMagick's dependencies in
that directory.
I downloaded the 1.3.26 source tarball of GraphicsMagick, which is the
current stable release. I run this on MSYS2, but according to the
installation instructions this means I should follow the UNIX
installation instructs (which is probably correct, since all projects
say so for MinGW-based build environments). I expect the same problem to
happen on any Unix system.
So, the documentation is incorrect. What's the correct way to specify a
nonstandard library and include directory for GraphicsMagick's
dependencies?
Greetings
Marvin
[1]: http://www.graphicsmagick.org/INSTALL-unix.html
--
Blog: https://www.guelkerdev.de
PGP/GPG ID: F1D8799FBCC8BC4F
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot