Versions 6.8.1-9 and later don't function

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
hrd_hpux
Posts: 13
Joined: 2013-03-12T08:52:40-07:00
Authentication code: 6789

Versions 6.8.1-9 and later don't function

Post by hrd_hpux »

Under HPUX 11.11 versions up to 6.8.0-10 can be built and they fuction OK. With version 6.8.1-9 it will build but no image types are recognized as valid, i.e. jpeg, png, and tiff. An error of the form "error/jpeg.c/JPEGErrorHandler/318" appears. Not even "logo.jpeg" under subdirectory "images" works. For the build process the error "don't know how to make "magick/ImageMagick-6.Q16.pc" comes up. To fix this and the other 3 missing .pc's I did a copy of "ImageMagick.pc" etc. Is this proper? Any ideas on what to look at to get the latest versions to read image files properly?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Versions 6.8.1-9 and later don't function

Post by magick »

There have been a few improvements in the build script to support multiple quantums and versions of ImageMagick. Download ImageMagick 6.8.3-9 from http://www.imagemagick.org/download. Does that configure and build properly? If not, let us know and we will investigate further.
hrd_hpux
Posts: 13
Joined: 2013-03-12T08:52:40-07:00
Authentication code: 6789

Re: Versions 6.8.1-9 and later don't function

Post by hrd_hpux »

Today I built version 6.8.3-9 with the same result. Also I still had to copy the 4 .pc files to the *-6.Q16.pc names. Hopefully this is valid. We have been using ImageMagick for many many years and would like to be able to keep up with the latest image changes. So I am hoping we can figure this out. It fails 11 of the validation tests like format in memory. I get "improper image header" for all files. I believe the delegates are good because they work fine with 6.8.0-10.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Versions 6.8.1-9 and later don't function

Post by magick »

Perhaps there are problems with an existing release. Assume /usr/local prefix. Delete the previous versions of ImageMagick manually. You can identify them with this command:
  • ls -l /usr/local/lib/*Magick* /usr/local/include/*Magick* /usr/local/share/*Magick* /usr/local/share/doc/*Magick* /usr/local/etc/*Magick*
Now build and install ImageMagick 6.8.3-9:
  • cd ImageMagick-6.8.3-9
    ./configure --enable-shared --disable-static --with-modules --with-perl
    make
    make install
    cd PerlMagick
    perl Makefile.PL
    make
    make install
    ldconfig /usr/local/lib
    convert logo: logo.jpg
Does that work for you?
hrd_hpux
Posts: 13
Joined: 2013-03-12T08:52:40-07:00
Authentication code: 6789

Re: Versions 6.8.1-9 and later don't function

Post by hrd_hpux »

I didn't have much luck here. Up till now I had been doing a simple build without perl and static only. putting in --with-perl, configure works and finds perl, but during make I get:
GEN PerlMagick/quantum/Q16.xs
usage: ln [-f] [-i] [-s] f1 f2
ln [-f] [-i] [-s] f1 ... fn d1
*** Error exit code 2
Stop.

OK, next try, removing perl and shared only. This too fails on failure to find "libltdl"

"convert logo: logo.jpg" will work without error, but the resulting logo.jpg file is not readable by display.
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Versions 6.8.1-9 and later don't function

Post by broucaries »

Could you build with:
make V=1 all perl-build

bastien
hrd_hpux
Posts: 13
Joined: 2013-03-12T08:52:40-07:00
Authentication code: 6789

Re: Versions 6.8.1-9 and later don't function

Post by hrd_hpux »

I received the same error as above. HP-UX doesn't like some option to the "ln" command.
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Versions 6.8.1-9 and later don't function

Post by broucaries »

make V=1

will print the command used.

Could you please post the command that choke ?

Thank you

PS: i suspect a bug in automake
hrd_hpux
Posts: 13
Joined: 2013-03-12T08:52:40-07:00
Authentication code: 6789

Re: Versions 6.8.1-9 and later don't function

Post by hrd_hpux »

What triggered the perl build failure was "ln -s PerlMagick/quantum/Q16.xs" during make. I had done configure setting "--with-perl" usually I do "--without-perl" then "make V=1". Thanks for that tip.
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Versions 6.8.1-9 and later don't function

Post by broucaries »

Strange could you post the last few line of failled make V=1
hrd_hpux
Posts: 13
Joined: 2013-03-12T08:52:40-07:00
Authentication code: 6789

Re: Versions 6.8.1-9 and later don't function

Post by hrd_hpux »

cd . && /bin/sh ./config.status config/delegates.xml
config.status: creating config/delegates.xml
cd . && /bin/sh ./config.status config/configure.xml
config.status: creating config/configure.xml
ln -s PerlMAgick/quantum/Q16.xs
usage: ln [-f] [-I] [-s] f1 f2
ln [-f] [-I] [-s] f1 ... fn d1
*** Error exit code 2

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1
Stop.

A bit ahead of this was a "libtool: link: cc" command for MAGICKCORE I think. I don't have libtool installed on this system. Is it necessary for perl? And, is it necessary for basic ImageMagick in the versions of about the last 6 months? Something changed.
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Versions 6.8.1-9 and later don't function

Post by broucaries »

It is a bug with autoconf.

Please try to autoreconf with older autoconf version and report bug to autoconf upstream.

Bastien
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Versions 6.8.1-9 and later don't function

Post by broucaries »

I have a patch.

Thanks for your report
hrd_hpux
Posts: 13
Joined: 2013-03-12T08:52:40-07:00
Authentication code: 6789

Re: Versions 6.8.1-9 and later don't function

Post by hrd_hpux »

OK, I would like to try the patch. I tried loading 6.8.4-8 but now get a problem building, i.e. make, with threads even though I used "--without-threads" so more things to think about.
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Versions 6.8.1-9 and later don't function

Post by broucaries »

Could you please give me more information?
Post Reply