Page 1 of 1

Build Imagemagick for Aix

Posted: 2007-03-09T04:34:23-07:00
by beppecosta
I need to run convert with tiff enabled.
The current available binaries for AIX are --without-tiff so I decided to build myself.

This is my first configure:

./configure --build=powerpc-ibm-aix5.1.0.0
CC=/QOpenSys/gcc40/usr/local/bin/gcc
CXX=/QOpenSys/gcc40/usr/local/bin/g++
--without-perl --enable-static --disable-shared --without-threads
--disable-dependency-tracking

Configure did run OK.

But with X11 enabled, "gmake" crashed with:

magick/xwindow.c:85:33: error: X11/extensions/XShm.h: No such file or directory
magick/xwindow.c:88:34: error: X11/extensions/shape.h: No such file or directory

I configured again --without-x and now "gmake" crashes with:

/QOpenSys/gcc40/usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand -I. -I. -I./Magick++/lib -g -O2 -Wall -c -o
utilities/animate.o utilities/animate.c
/bin/sh ./libtool --silent --tag=CC --mode=link
/QOpenSys/gcc40/usr/local/bin/gcc -g -O2 -Wall -o utilities/animate utilities/animate.o magick/libMagick.la
ld: 0711-317 ERROR: Undefined symbol: .XGetAnnotateInfo
ld: 0711-317 ERROR: Undefined symbol: .XFreeFont
ld: 0711-317 ERROR: Undefined symbol: .XBestFont
ld: 0711-317 ERROR: Undefined symbol: .XTextWidth
....etc.etc.
ld: 0711-317 ERROR: Undefined symbol: .XDestroyWindowColors
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
gmake[1]: *** [utilities/animate] Error 1
gmake[1]: Leaving directory `/QOpenSys/ImageMagick-6.2.3'
gmake: *** [all] Error 2

Please HELP !!

Ps. As alternative, Is there someone that can give me AIX binaries WITH TIFF enabled ?

Thanks.
Giuseppe.

Re: Build Imagemagick for Aix

Posted: 2007-03-09T08:21:42-07:00
by magick
Try these commands:
  • make distclean
    ./configure --without-x
    make
Does that work for you?

Re: Build Imagemagick for Aix

Posted: 2007-03-09T09:20:14-07:00
by beppecosta
as I wrote "make" does a lot of compile but it crasces when it arrives at utilities:

/QOpenSys/gcc40/usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I./magick
-I./wand -I. -I. -I./Magick++/lib -g -O2 -Wall -c -o util
ities/animate.o utilities/animate.c
/bin/sh ./libtool --silent --tag=CC --mode=link
/QOpenSys/gcc40/usr/local/bin/gcc -g -O2 -Wall -o utilities/animate utilities
/animate.o magick/libMagick.la
ld: 0711-317 ERROR: Undefined symbol: .XGetAnnotateInfo
ld: 0711-317 ERROR: Undefined symbol: .XFreeFont
ld: 0711-317 ERROR: Undefined symbol: .XBestFont
ld: 0711-317 ERROR: Undefined symbol: .XTextWidth
....ecc.ecc.
ld: 0711-317 ERROR: Undefined symbol: .XDestroyWindowColors
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
gmake[1]: *** [utilities/animate] Error 1
gmake[1]: Leaving directory `/QOpenSys/ImageMagick-6.2.3'
gmake: *** [all] Error 2
$

Re: Build Imagemagick for Aix

Posted: 2007-03-09T09:23:50-07:00
by beppecosta
next monday I will try

"make distclean"

and I will retry the build.

Thanks.
Giuseppe.

Re: Build Imagemagick for Aix

Posted: 2007-03-10T12:21:21-07:00
by BuildSmart
Try this:

Code: Select all

/bin/sh ./libtool --tag=CC --mode=link \
	/QOpenSys/gcc40/usr/local/bin/gcc \
	-g -O2 -Wall -o utilities/animate \
	utilities/animate.o \
	magick/libMagick.la
then post the output (enclose in code tags unedited) since it will show exactly what's causing the failure.

Re: Build Imagemagick for Aix

Posted: 2007-03-12T09:35:32-07:00
by beppecosta
I've tried
"make distclean"
and then ./configure, make and make install.

BUILT !!

Thanks for your assistance.
Giuseppe

Re: Build Imagemagick for Aix

Posted: 2015-04-08T08:01:41-07:00
by venkat
Hi ,

I'm trying to install imagemagick in AIX. As per my requirement,i need support for tiff,png,pdf,AI,bmp,jpg formats.

and I'm trying to build my self but facing issues.I want the same imagemagick setup for 6 machines and dont have C - compiler on other machines.

Can any one please let me know how this can be done.

Can you please explain how you build imagemagick with tiff.

Many Thanks in Advance.

Regards,
Ven