Page 1 of 2
Make Errors
Posted: 2012-05-22T06:25:56-07:00
by markasher
I have installed IM 6.7.6-4 on an HP-UX machine and have run the ./configure. When I run the make, however, I receive the errors listed below. Any help is appreciated. Thank you.
united:/emc/ImageMagick-6.7.6-4>make
make all-am
CC coders/magick_libMagickCore_la-x.lo
cpp: "./magick/xwindow-private.h", line 27: error 4036: Can't open include file 'X11/Xos.h'.
cpp: "./magick/xwindow-private.h", line 28: error 4036: Can't open include file 'X11/Xlib.h'.
cpp: "./magick/xwindow-private.h", line 29: error 4036: Can't open include file 'X11/Xatom.h'.
cpp: "./magick/xwindow-private.h", line 30: error 4036: Can't open include file 'X11/cursorfont.h'.
cpp: "./magick/xwindow-private.h", line 31: error 4036: Can't open include file 'X11/keysym.h'.
cpp: "./magick/xwindow-private.h", line 32: error 4036: Can't open include file 'X11/Xresource.h'.
cpp: "./magick/xwindow-private.h", line 33: error 4036: Can't open include file 'X11/Xutil.h'.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
Re: Make Errors
Posted: 2012-05-22T06:30:40-07:00
by magick
Its possible your X11 header files are in a non-standard location. Try to locale X11/Xos.h on your system and include this path in the Makefile. Or if you can live without X11, try this:
- cd ImageMagick-6.7.6-4
./configure --without-x
make clean
make
Re: Make Errors
Posted: 2012-05-29T06:28:55-07:00
by markasher
Thank you. That got us past the make errors. Unfortunately, we are getting the following errors when trying to convert a BMP signature file to PCL:
united:/home/drhoads>convert navlogbg.bmp widelynx.pcl
drhoads: ImproperImageHeader `navlogbg.bmp' @ error/bmp.c/ReadBMPImage/884.
drhoads: MissingAnImageFilename `widelynx.pcl' @ error/convert.c/ConvertImageCommand/3017.
Any ideas? Thank you for your assistance.
Re: Make Errors
Posted: 2012-05-29T17:48:01-07:00
by magick
Post a URL to your image. We need to download it and trace the source of the exception before we can help further.
Re: Make Errors
Posted: 2012-05-31T07:50:11-07:00
by markasher
Please use our public ftp site:
ftp://207.54.49.56/incoming/
the file name is rosetest.bmp
login as anonymous and the password is your email address. Thank you.
Re: Make Errors
Posted: 2012-05-31T08:42:17-07:00
by magick
We could not download the image file: 'Permission denied; an "incoming" directory is for uploading only'.
Re: Make Errors
Posted: 2012-06-04T06:35:15-07:00
by markasher
My apologies. That should work, but it doesn't. Please try the following:
ftp://207.54.51.168
name: anonymous
password: email address
cd /pub/incoming
get rosetest.bmp
I just tested it, and it works.
Re: Make Errors
Posted: 2012-06-04T07:16:19-07:00
by magick
We got the same error as before. We see an "incoming" folder but no "pub" folder.
Re: Make Errors
Posted: 2012-06-05T06:16:44-07:00
by markasher
Is there another way that I can get you the file?
Re: Make Errors
Posted: 2012-06-05T06:37:28-07:00
by magick
There are free services such as dropbox.
Re: Make Errors
Posted: 2012-06-06T06:19:02-07:00
by markasher
Re: Make Errors
Posted: 2012-06-06T06:23:04-07:00
by magick
Ok, got it. Now remind use of the problem and the commands you're using. We're using ImageMagick-6.7.7-6, the current release, and we can read the image and create a proper PCL image from it:
- convert rosetest.bmp rosetest.pcl
Re: Make Errors
Posted: 2012-06-07T06:35:46-07:00
by markasher
magick wrote:Ok, got it. Now remind use of the problem and the commands you're using. We're using ImageMagick-6.7.7-6, the current release, and we can read the image and create a proper PCL image from it:
- convert rosetest.bmp rosetest.pcl
We made it past the make errors we were originally having (thank you), but now we are getting the following errors when trying to convert any BMP file to PCL:
united:/home/drhoads>MAGICK_HOME=/emc/ImageMagick;export MAGICK_HOME
united:/home/drhoads>PATH=$MAGICK_HOME/bin:$PATH;export PATH
united:/home/drhoads>convert rose: rosetest.bmp
united:/home/drhoads>convert rosetest.bmp rosetest.pcl
drhoads: ImproperImageHeader `rosetest.bmp' @ error/bmp.c/ReadBMPImage/910.
drhoads: MissingAnImageFilename `rosetest.pcl' @ error/convert.c/ConvertImageCommand/3017.
We receive the errors regardless of the bmp file, so that's why we decided to use your files to make sure it wasn't the structure of our signature bmp files that was the issue. We are using the 6.7.6-4 version that you generated for us after we reported some installtion issue on the HP/UX machine.
Re: Make Errors
Posted: 2012-06-07T06:51:40-07:00
by magick
Its likely there is patch in ImageMagick since your 6.7.6-4 that allows it to read the BMP or perhaps its an installation issue. Try upgrading to ImageMagick-6.7.7-6 and report success / failure here.
Re: Make Errors
Posted: 2012-06-11T07:20:52-07:00
by markasher
magick wrote:Its likely there is patch in ImageMagick since your 6.7.6-4 that allows it to read the BMP or perhaps its an installation issue. Try upgrading to ImageMagick-6.7.7-6 and report success / failure here.
We installed 6.7.7-6 and received the same errors. Here are the steps we took to install it on the HP-UX system:
cd /emc/ImageMagick-6.7.7-6
./configure --without-x --prefix=/emc/IM6776
make
make install
cd
MAGICK_HOME=/emc/IM6776;export MAGICK_HOME
PATH=$MAGICK_HOME/bin:$PATH;export PATH
convert rose: rose.bmp
convert rose.bmp rose2.pcl
drhoads: improper image header `rose.bmp' @ error/bmp.c/ReadBMPImage/910.
drhoads: no images defined `rose2.pcl' @ error/convert.c/ConvertImageCommand/3032.