gs and X11

View: New views
9 Messages — Rating Filter:   Alert me  

gs and X11

by daglio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there,
Is there anyone having problems with ghostscript and X11 when looking
at ps/eps files?
I have Snow Leopard 10.6.2 and fink 64bits. I've compiled
ghostscript/ghostview and when doing
gs -h I do not see the x11 device in the list of available devices.

out of disperation I tried to install the older version available in
the fink archive, i.e. ghostscript6 and then it worked.

I wouldn't say that I am a deep expert in this matter, but I've been
working with mac and linux for many years and I never encountered this
problem thus far..anyone else?
is this a known problem with a easy solution?

thank you for your time and help

cheers
Aldo

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users

Re: gs and X11

by Daniel Macks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Nov 11, 2009 at 06:37:45PM +0100, daglio wrote:

> Hi there,
> Is there anyone having problems with ghostscript and X11 when looking
> at ps/eps files?
> I have Snow Leopard 10.6.2 and fink 64bits. I've compiled
> ghostscript/ghostview and when doing
> gs -h I do not see the x11 device in the list of available devices.
>
> out of disperation I tried to install the older version available in
> the fink archive, i.e. ghostscript6 and then it worked.
>
> I wouldn't say that I am a deep expert in this matter, but I've been
> working with mac and linux for many years and I never encountered this
> problem thus far..anyone else?
> is this a known problem with a easy solution?

Some time long ago in the gs development, they switched from a
monolithic binary to having some plugin support, with X11-related
devices being a plugin. The display device is apparently part of the
x11 plugin and its being enabled is dependent on x11 being detected at
build-time. However, on the darwin platform, the display device is
explicitly disabled even if x11 is detected and undoing that doesn't
seem to revive the display device.

It's a blocker for libspectre
  https://bugs.freedesktop.org/show_bug.cgi?id=18826
which blocks several parts of gnome.

Please file a bug with ghostscript...it's their problem and they
clearly need help fixing it.

dan

--
Daniel Macks
dmacks@...
http://www.netspace.org/~dmacks


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users

Re: gs and X11

by Martin Costabel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Daniel Macks wrote:

> On Wed, Nov 11, 2009 at 06:37:45PM +0100, daglio wrote:
>> Hi there,
>> Is there anyone having problems with ghostscript and X11 when looking
>> at ps/eps files?
>> I have Snow Leopard 10.6.2 and fink 64bits. I've compiled
>> ghostscript/ghostview and when doing
>> gs -h I do not see the x11 device in the list of available devices.
>>
>> out of disperation I tried to install the older version available in
>> the fink archive, i.e. ghostscript6 and then it worked.
>>
>> I wouldn't say that I am a deep expert in this matter, but I've been
>> working with mac and linux for many years and I never encountered this
>> problem thus far..anyone else?
>> is this a known problem with a easy solution?
>
> Some time long ago in the gs development, they switched from a
> monolithic binary to having some plugin support, with X11-related
> devices being a plugin. The display device is apparently part of the
> x11 plugin and its being enabled is dependent on x11 being detected at
> build-time. However, on the darwin platform, the display device is
> explicitly disabled even if x11 is detected and undoing that doesn't
> seem to revive the display device.

But the x11 device is there anyway, even if display isn't, AFAICT. The
X11 detection in the absence of xmkmf was added to ghostscript.info only
recently, and not at all in the stable tree, as I am seeing now. I'll
add it to stable, too. Maybe Aldo's problem will then go away.

--
Martin


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users

Re: gs and X11

by Daniel Macks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Nov 11, 2009 at 10:35:42PM +0100, Martin Costabel wrote:

> Daniel Macks wrote:
> >On Wed, Nov 11, 2009 at 06:37:45PM +0100, daglio wrote:
> >>Hi there,
> >>Is there anyone having problems with ghostscript and X11 when looking
> >>at ps/eps files?
> >>I have Snow Leopard 10.6.2 and fink 64bits. I've compiled
> >>ghostscript/ghostview and when doing
> >>gs -h I do not see the x11 device in the list of available devices.
> >>
> >>out of disperation I tried to install the older version available in
> >>the fink archive, i.e. ghostscript6 and then it worked.
> >>
> >>I wouldn't say that I am a deep expert in this matter, but I've been
> >>working with mac and linux for many years and I never encountered this
> >>problem thus far..anyone else?
> >>is this a known problem with a easy solution?
> >
> >Some time long ago in the gs development, they switched from a
> >monolithic binary to having some plugin support, with X11-related
> >devices being a plugin. The display device is apparently part of the
> >x11 plugin and its being enabled is dependent on x11 being detected at
> >build-time. However, on the darwin platform, the display device is
> >explicitly disabled even if x11 is detected and undoing that doesn't
> >seem to revive the display device.
>
> But the x11 device is there anyway, even if display isn't, AFAICT. The
> X11 detection in the absence of xmkmf was added to ghostscript.info only
> recently, and not at all in the stable tree, as I am seeing now. I'll
> add it to stable, too. Maybe Aldo's problem will then go away.

Ah yes, closer reading looks like Aldo only needs fix for the simpler
x11 detection issue, not the deeper "even if found" other problem.

dan

--
Daniel Macks
dmacks@...
http://www.netspace.org/~dmacks


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users

Re: gs and X11

by daglio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Nov 11, 2009 at 10:40 PM, Daniel Macks <dmacks@...> wrote:

> On Wed, Nov 11, 2009 at 10:35:42PM +0100, Martin Costabel wrote:
>> Daniel Macks wrote:
>> >On Wed, Nov 11, 2009 at 06:37:45PM +0100, daglio wrote:
>> >>Hi there,
>> >>Is there anyone having problems with ghostscript and X11 when looking
>> >>at ps/eps files?
>> >>I have Snow Leopard 10.6.2 and fink 64bits. I've compiled
>> >>ghostscript/ghostview and when doing
>> >>gs -h I do not see the x11 device in the list of available devices.
>> >>
>> >>out of disperation I tried to install the older version available in
>> >>the fink archive, i.e. ghostscript6 and then it worked.
>> >>
>> >>I wouldn't say that I am a deep expert in this matter, but I've been
>> >>working with mac and linux for many years and I never encountered this
>> >>problem thus far..anyone else?
>> >>is this a known problem with a easy solution?
>> >
>> >Some time long ago in the gs development, they switched from a
>> >monolithic binary to having some plugin support, with X11-related
>> >devices being a plugin. The display device is apparently part of the
>> >x11 plugin and its being enabled is dependent on x11 being detected at
>> >build-time. However, on the darwin platform, the display device is
>> >explicitly disabled even if x11 is detected and undoing that doesn't
>> >seem to revive the display device.
>>
>> But the x11 device is there anyway, even if display isn't, AFAICT. The
>> X11 detection in the absence of xmkmf was added to ghostscript.info only
>> recently, and not at all in the stable tree, as I am seeing now. I'll
>> add it to stable, too. Maybe Aldo's problem will then go away.
>
> Ah yes, closer reading looks like Aldo only needs fix for the simpler
> x11 detection issue, not the deeper "even if found" other problem.
>
> dan
>


I'm sorry, but it is not clear to me what I should do.

xmkmf is already installed on my system


I feel a bit uncomfortable in wasting your time for such a stupid
issue...but I'm a bit lost.
thanks
Aldo

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users

Re: gs and X11

by Martin Costabel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

daglio wrote:
[]
> I'm sorry, but it is not clear to me what I should do.

Right now, simply run "fink selfupdate" to get the latest revision of
the gostscript package description. This is then supposed to build OK,
with x11 device.

--
Martin

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users

Re: gs and X11

by daglio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Nov 12, 2009 at 10:46 AM, Martin Costabel <costabel@...> wrote:

> daglio wrote:
> []
>>
>> I'm sorry, but it is not clear to me what I should do.
>
> Right now, simply run "fink selfupdate" to get the latest revision of the
> gostscript package description. This is then supposed to build OK, with x11
> device.
>
> --
> Martin
>
Unfortunately, nothing appends...no package is updated, nothing is downloaded
Aldo

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users

Re: gs and X11

by Martin Costabel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

daglio wrote:

> On Thu, Nov 12, 2009 at 10:46 AM, Martin Costabel <costabel@...> wrote:
>> daglio wrote:
>> []
>>> I'm sorry, but it is not clear to me what I should do.
>> Right now, simply run "fink selfupdate" to get the latest revision of the
>> gostscript package description. This is then supposed to build OK, with x11
>> device.
>>
>> --
>> Martin
>>
> Unfortunately, nothing appends...no package is updated, nothing is downloaded

Let's see if you have the right version of the ghostscript package
description: What does

   fink dumpinfo -fconfigureparams ghostscript

give?

Stupid question: You did run "fink selfupdate-rsync" at least once,
didn't you?

--
Martin

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users

Re: gs and X11

by daglio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Martin Costabel wrote:

> daglio wrote:
>> On Thu, Nov 12, 2009 at 10:46 AM, Martin Costabel
>> <costabel@...> wrote:
>>> daglio wrote:
>>> []
>>>> I'm sorry, but it is not clear to me what I should do.
>>> Right now, simply run "fink selfupdate" to get the latest revision
>>> of the
>>> gostscript package description. This is then supposed to build OK,
>>> with x11
>>> device.
>>>
>>> --
>>> Martin
>>>
>> Unfortunately, nothing appends...no package is updated, nothing is
>> downloaded
>
> Let's see if you have the right version of the ghostscript package
> description: What does
>
>   fink dumpinfo -fconfigureparams ghostscript
>
> give?
>
> Stupid question: You did run "fink selfupdate-rsync" at least once,
> didn't you?
>
Yesterday night I solved the problem by removing ghostscript, deb and
tar.gz as well and reinstalling/downloading it again.
Upon completion of the compilation x11 is indeed in the list of
available devices.

however I should note that by doing "fink selfupdate" and then "fink
update-all" nothing happened.

Still I managed to get things running.

thanks to everyone for the help
ciao
Aldo

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@...
https://lists.sourceforge.net/lists/listinfo/fink-users