Make Errors
Make Errors
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.
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
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
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.
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
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
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.
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
We could not download the image file: 'Permission denied; an "incoming" directory is for uploading only'.
Re: Make Errors
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.
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
We got the same error as before. We see an "incoming" folder but no "pub" folder.
Re: Make Errors
Is there another way that I can get you the file?
Re: Make Errors
There are free services such as dropbox.
Re: Make Errors
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
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: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
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
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
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: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.
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.