View previous topic :: View next topic |
Author |
Message |
kemitix n00b
Joined: 12 Nov 2002 Posts: 2 Location: Scotland
|
Posted: Mon Nov 18, 2002 6:37 am Post subject: emerge imagemagick freezes during configure |
|
|
Hi,
I'm trying to emerge imagemagick-5.4.7 into gentoo-1.4. It freezes at this point:
Code: |
checking for Ghostscript fonts directory... /usr/share/ghostscript/fonts/
checking for gs color device... pnmraw
checking for gs mono device... pbmraw
checking for gs PDF writing device...
|
The actual command that the configure script tries at this point is:
Code: |
/usr/bin/gs -q -dBATCH -sDEVICE=pdfwrite -sOutputFile=/dev/null < /dev/null 2> /dev/null
|
However when I try 'pswrite' inplace of 'pdfwrite' gs returns immediately.
Any suggestions?
Thanks
--
Paul Campbell |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Nov 18, 2002 7:24 am Post subject: |
|
|
What were the CFLAGS when you emerged ghostscript? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
kemitix n00b
Joined: 12 Nov 2002 Posts: 2 Location: Scotland
|
Posted: Tue Nov 19, 2002 8:01 am Post subject: |
|
|
rac wrote: | What were the CFLAGS when you emerged ghostscript? |
I didn't have any value set. Reading the /etc/make.conf file I guess I should at least have '-march=i686 -O3 -pipe'.
The problem appears to have sorted itself after a general update:
Code: | emerge rsync && emerge -u world -f && emerge koffice -f && emerge -u world && emerge koffice |
I now have media-gfx/imagemagick 5.4.7.4 installed okay.
Thanks anyway. Excuse me while I go recompile my world... |
|
Back to top |
|
|
brain Apprentice
Joined: 16 May 2002 Posts: 229 Location: Farmington Hills, MI
|
Posted: Wed Dec 04, 2002 3:00 pm Post subject: |
|
|
I'm actually getting the same problem.
Unfortunately, doing an emerge -u world has no effect on it
I've done a bit of troubleshooting, and discovered by running a slightly modified version of the line ./configure runs:
Code: | /usr/bin/gs -dBATCH -sDEVICE=pdfwrite -sOutputFile=~/test.txt |
The result is this:
Code: | ESP Ghostscript 7.05 (2002-09-02)
Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
**** Unable to open the initial device, quitting. |
So it seems that it's having problems "opening" pdfwrite? I'm not very familiar with ghostscript, but this is the first time I've run into problems with it.
I'm not using any peculiar CFLAGS:
Code: | -march=pentiumpro -O3 -pipe -fomit-frame-pointer |
Any ideas? _________________ --brain |
|
Back to top |
|
|
unstable_geek Tux's lil' helper
Joined: 01 Mar 2003 Posts: 102 Location: In my own happy place
|
Posted: Sat Mar 08, 2003 6:16 pm Post subject: making that change to the configure script worked for me |
|
|
For the n00bs out there: [ i.e., me ]
1. cd /usr/tmp/portage/imagemagick-5.5.3.2/work/ImageMagick-5.5.3/
2. edit configure
a. search for pdfwrite
b. find this line
Code: | if $PSDelegate -q -dBATCH -sDEVICE=pdfwrite -sOutputFile=/dev/null < /dev/null 2> /dev/null |
change it to be
Code: | if $PSDelegate -q -dBATCH -sDEVICE=pdfwrite -sOutputFile=~/test.txt < /dev/null 2> /dev/null |
3. ebuild /usr/portage/media-gfx/imagemagick/imagemagick-5.5.3.2.ebuild compile
4. ebuild /usr/portage/media-gfx/imagemagick/imagemagick-5.5.3.2.ebuild install
5. ebuild /usr/portage/media-gfx/imagemagick/imagemagick-5.5.3.2.ebuild merge
all done. _________________ I hate my sig |
|
Back to top |
|
|
|