Re: GraphicsMagick and OS X Snow Leopard

Bob Friesenhahn <[email protected]> Fri, 25 Sep 2009 14:24:21 -0500 (CDT)
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <[email protected]>
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---559023410-2058809502-1253906661=:21711
Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Fri, 25 Sep 2009, Jakob Peterh=E4nsel wrote:

> Hi Bob,
>
> Here is a ./configure I just did on OS X Server 10.6.1, with Xcode 3.2=20
> (latest)
>
> make & make install runs fine, but it seems like it thinks it's on 10.0.0=
 and=20
> does not find support for a lot of sub-utilities (like PNG etc..)

I see that this is a 64-bit build.  This means that your libpng and=20
other libraries need to also be built as 64-bit.  This differs from=20
the GCC for Leopard which was 32-bit by default.  If all of your=20
libraries are built as 32-bit and you want a 32-bit GraphicsMagick=20
then you would need to add -m32 to both CFLAGS and LDFLAGS.

The GraphicsMagick configure script does not tell the compiler to look=20
any place special so you need to give it some hints as suggested by=20
the output of 'configure --help' or the GraphicsMagick install=20
documentation.  In particular, if installed your libraries under=20
/usr/local and Apple's GCC does not look there by default, then you=20
will want to make sure that /usr/local/bin is early in your executable=20
search PATH and do

   ./configure CPPFLAGS=3D-I/usr/local/include LDFLAGS=3D-L/usr/local/lib

Bob
--
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
---559023410-2058809502-1253906661=:21711
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
---559023410-2058809502-1253906661=:21711
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Graphicsmagick-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-core

---559023410-2058809502-1253906661=:21711--