Build Imagemagick for Aix

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
beppecosta

Build Imagemagick for Aix

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Build Imagemagick for Aix

Post by magick »

Try these commands:
  • make distclean
    ./configure --without-x
    make
Does that work for you?
beppecosta

Re: Build Imagemagick for Aix

Post 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
$
beppecosta

Re: Build Imagemagick for Aix

Post by beppecosta »

next monday I will try

"make distclean"

and I will retry the build.

Thanks.
Giuseppe.
BuildSmart

Re: Build Imagemagick for Aix

Post 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.
beppecosta

Re: Build Imagemagick for Aix

Post by beppecosta »

I've tried
"make distclean"
and then ./configure, make and make install.

BUILT !!

Thanks for your assistance.
Giuseppe
venkat
Posts: 3
Joined: 2015-03-26T04:53:37-07:00
Authentication code: 6789

Re: Build Imagemagick for Aix

Post 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
Post Reply