Make Errors

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
markasher
Posts: 13
Joined: 2012-04-04T13:21:48-07:00
Authentication code: 8675308

Make Errors

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Make Errors

Post 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
markasher
Posts: 13
Joined: 2012-04-04T13:21:48-07:00
Authentication code: 8675308

Re: Make Errors

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Make Errors

Post 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.
markasher
Posts: 13
Joined: 2012-04-04T13:21:48-07:00
Authentication code: 8675308

Re: Make Errors

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Make Errors

Post by magick »

We could not download the image file: 'Permission denied; an "incoming" directory is for uploading only'.
markasher
Posts: 13
Joined: 2012-04-04T13:21:48-07:00
Authentication code: 8675308

Re: Make Errors

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Make Errors

Post by magick »

We got the same error as before. We see an "incoming" folder but no "pub" folder.
markasher
Posts: 13
Joined: 2012-04-04T13:21:48-07:00
Authentication code: 8675308

Re: Make Errors

Post by markasher »

Is there another way that I can get you the file?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Make Errors

Post by magick »

There are free services such as dropbox.
markasher
Posts: 13
Joined: 2012-04-04T13:21:48-07:00
Authentication code: 8675308

Re: Make Errors

Post by markasher »

User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Make Errors

Post 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
markasher
Posts: 13
Joined: 2012-04-04T13:21:48-07:00
Authentication code: 8675308

Re: Make Errors

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Make Errors

Post 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.
markasher
Posts: 13
Joined: 2012-04-04T13:21:48-07:00
Authentication code: 8675308

Re: Make Errors

Post 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.
Post Reply