Versions 6.8.1-9 and later don't function
Versions 6.8.1-9 and later don't function
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
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
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
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*
- 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
Re: Versions 6.8.1-9 and later don't function
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.
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.
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Re: Versions 6.8.1-9 and later don't function
Could you build with:
make V=1 all perl-build
bastien
make V=1 all perl-build
bastien
Re: Versions 6.8.1-9 and later don't function
I received the same error as above. HP-UX doesn't like some option to the "ln" command.
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Re: Versions 6.8.1-9 and later don't function
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
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
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.
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Re: Versions 6.8.1-9 and later don't function
Strange could you post the last few line of failled make V=1
Re: Versions 6.8.1-9 and later don't function
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.
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.
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Re: Versions 6.8.1-9 and later don't function
It is a bug with autoconf.
Please try to autoreconf with older autoconf version and report bug to autoconf upstream.
Bastien
Please try to autoreconf with older autoconf version and report bug to autoconf upstream.
Bastien
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Re: Versions 6.8.1-9 and later don't function
I have a patch.
Thanks for your report
Thanks for your report
Re: Versions 6.8.1-9 and later don't function
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.
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Re: Versions 6.8.1-9 and later don't function
Could you please give me more information?