Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ImageMagick './configure' unhappiness.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
brain
Apprentice
Apprentice


Joined: 16 May 2002
Posts: 229
Location: Farmington Hills, MI

PostPosted: Mon Jan 13, 2003 8:11 pm    Post subject: ImageMagick './configure' unhappiness. Reply with quote

Hey everyone.

I really hope someone can point me in the right direction with a repeating problem I have. It got started in another thread however the fix that worked there didn't for me. I can pinpoint exactly where the problem is happening, but can't seem to squash it.

When emerging ImageMagick, the './configure' line gets to this point:

Code:
checking for gs PDF writing device...


and stays there forever, without doing anything.

Digging a little, and looking in the ImageMagick configure script reveals it is trying to run the following:

Code:
# GSPDFDevice
  echo "$as_me:$LINENO: checking for gs PDF writing device" >&5
echo $ECHO_N "checking for gs PDF writing device... $ECHO_C" >&6
  if $PSDelegate -q -dBATCH -sDEVICE=pdfwrite -sOutputFile=/dev/null < /dev/null 2> /dev/null
  then
    GSPDFDevice=pdfwrite
  else
    GSPDFDevice=nodevice
  fi
  echo "$as_me:$LINENO: result: $GSPDFDevice" >&5
echo "${ECHO_T}$GSPDFDevice" >&6


Which run directly from the shell does the same thing...nothing:

Code:
saturn ImageMagick-5.4.9 # gs -q -dBATCH -sDEVICE=pdfwrite -sOutputFile=/dev/null < /dev/null 2> /dev/null



The other gs configure tests work perfectly, and changing the "-sDEVICE=" parameter to another device, like "pswrite" works just fine:

Code:
saturn ImageMagick-5.4.9 # gs -q -dBATCH -sDEVICE=pswrite -sOutputFile=/dev/null < /dev/null 2> /dev/null
saturn ImageMagick-5.4.9 #


So the problem is in 'pdfwrite', but I can't figure it out from there. Anyone have an idea where I can start looking?
_________________
--brain
Back to top
View user's profile Send private message
brain
Apprentice
Apprentice


Joined: 16 May 2002
Posts: 229
Location: Farmington Hills, MI

PostPosted: Tue Jan 14, 2003 8:27 pm    Post subject: Reply with quote

I still don't have this sucka figured out.

I've tried using '-pdflib' in make.conf and recompiling both gs and pdflib (I know, redundant) but still no luck.

Anyone? Anyone? Bueller?
_________________
--brain
Back to top
View user's profile Send private message
unstable_geek
Tux's lil' helper
Tux's lil' helper


Joined: 01 Mar 2003
Posts: 102
Location: In my own happy place

PostPosted: Tue Mar 04, 2003 3:04 am    Post subject: lemme know Reply with quote

I just had the same problem.
Not to sound too obvious, but I would think this is a ghostscript problem. It would seem that the 'gs' program is trying to output to the pdfwriter device.
If only we get it to timeout instead of waiting forever.
_________________
I hate my sig
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum