I have been trying to build ImageMagick-6.5.4-10 on my mac. I made following changes while building.
Code: Select all
cd /Developer/SDKs/MacOSX10.5.sdk
ln -s sw /sw
export CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.5.sdk/ -arch i386 -I/sw/include/"
export LDFLAGS="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk/,-L/sw/lib/"
I tried sudo make installlibtool: link: warning: `/usr/X11R6/lib/libXext.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libSM.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libICE.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libX11.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libXt.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libfreetype.la' seems to be moved
i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libpng.3.0.0.dylib: No such file or directory
make[1]: *** [coders/png.la] Error 1
make: *** [all] Error 2
Can anybody help me out with this issue.make install-am
CCLD coders/png.la
libtool: link: warning: `/usr/X11R6/lib/libXext.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libSM.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libICE.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libX11.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libXt.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libfreetype.la' seems to be moved
i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libpng.3.0.0.dylib: No such file or directory
make[1]: *** [coders/png.la] Error 1
make: *** [install] Error 2
Secondly how easy would it be to make a xcode project for ImageMagick and turn it into a static or dynamic library on Macintosh. Are there two different version of code for Macintosh and windows? Can I follow the pattern provided in the windows version to make a dylib on mac.
Thanks in advance for all the help.
Edit -----
Sorry about posting it in bug section.