Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge imagemagick freezes during configure
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
kemitix
n00b
n00b


Joined: 12 Nov 2002
Posts: 2
Location: Scotland

PostPosted: Mon Nov 18, 2002 6:37 am    Post subject: emerge imagemagick freezes during configure Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Nov 18, 2002 7:24 am    Post subject: Reply with quote

What were the CFLAGS when you emerged ghostscript?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
kemitix
n00b
n00b


Joined: 12 Nov 2002
Posts: 2
Location: Scotland

PostPosted: Tue Nov 19, 2002 8:01 am    Post subject: Reply with quote

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
View user's profile Send private message
brain
Apprentice
Apprentice


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

PostPosted: Wed Dec 04, 2002 3:00 pm    Post subject: Reply with quote

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
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: Sat Mar 08, 2003 6:16 pm    Post subject: making that change to the configure script worked for me Reply with quote

For the n00bs out there: [ i.e., me :D ]


    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. :D
_________________
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