Page 1 of 3

Versions 6.8.1-9 and later don't function

Posted: 2013-03-12T09:16:42-07:00
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?

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

Posted: 2013-03-12T11:42:02-07:00
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.

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

Posted: 2013-03-14T08:04:38-07:00
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.

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

Posted: 2013-03-14T08:46:14-07:00
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?

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

Posted: 2013-03-14T12:19:11-07:00
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.

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

Posted: 2013-03-17T03:48:16-07:00
by broucaries
Could you build with:
make V=1 all perl-build

bastien

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

Posted: 2013-03-18T08:45:41-07:00
by hrd_hpux
I received the same error as above. HP-UX doesn't like some option to the "ln" command.

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

Posted: 2013-03-19T03:01:47-07:00
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

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

Posted: 2013-03-19T08:22:58-07:00
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.

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

Posted: 2013-03-21T14:03:59-07:00
by broucaries
Strange could you post the last few line of failled make V=1

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

Posted: 2013-03-25T12:22:44-07:00
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.

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

Posted: 2013-03-28T02:29:54-07:00
by broucaries
It is a bug with autoconf.

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

Bastien

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

Posted: 2013-04-02T12:26:18-07:00
by broucaries
I have a patch.

Thanks for your report

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

Posted: 2013-04-09T09:03:13-07:00
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.

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

Posted: 2013-04-09T13:10:57-07:00
by broucaries
Could you please give me more information?