Index » PageStream Support » Linux » PgS 5.03.4 on Kubuntu, AMD64
Sign in to add a comment. Pages: 1
2007-05-05 08:31:45 CT #1
Tim Doty
From: United States
Registered: 2006-02-06
Posts: 2939

I have a 64-bit AMD system now and installed with Kubuntu. I setup a 32-bit
chroot environment and PgS (as well as NeverWinter Nights) works just fine,
except... When I try to print PgS "loses" the file system and is unable to
read external graphics. I believe I encountered this at one point on a 32-bit
system, but right now it is every time.

Whether generating a PDF or printing as a postscript file as soon as it hits
an external graphic the "Find Picture" requester pops up. The drop down menu
that is supposed to have the selected directory is empty. The "folders"
and "files" panes are likewise empty. The path shown for the image is in
the "file://directory/path/filename" structure, but there is a
yellow "caution" imageto the left of it. Between that recessed field and the
text field (displaying the file name) is a message "Folder unreadable: Bad
address"

The thing is, these folders *are* reachable from PgS and if you navigate to a
page with an external graphic it loads just fine.

I haven't been able to tell if navigating to each page in PgS with an external
picture makes a difference because PgS also fails to print. It tries to, but
the output is corrupt.

So far I haven't been able to tell for certain just what is wrong, but it
fails to generate a valid postscript file (e.g., ghostscript throws an error)
and printing directly to the (postscript) printer fails to produce any
output.

From what I can tell at least one issue is that it does not embed any fonts in
the postscript.

As far as exporting to PDF goes I *did* get a file exported that way and not
only did it not have any images it also had some text incorrect, probably due
to non-embedded fonts.

I just tried exporting to PDF a single page with a graphic that was displaying
on screen. It exported fine without a requester asking for the picture,
however the resulting PDF does not have the image, nor does it have any text.
It only has a box (the bounding box of the image, NOT the box with an X
through it) and a shaded rectangle (that was the background for a table with
text).

Tim Doty

2007-05-05 13:13:20 CT #2
Gary Lee Smith
From: United States
Registered: 2006-02-15
Posts: 59

Congratulations, Tim!
I didn't have Ubuntu 6-10 up long enough to really check it out. I just
placed my PageStream5 directory in my home directory, but it seemed to work
under gnome.

On the Menus be sure to check that the "empty" menu does not start down a page
or two. I often get this on fonts and other selector gadgets. Just a
thought and might not be at all relevant. I've been working on getting
Debian Etch "up and working" for a month, now. If I do, I plan to try
getting PageStream up there, also. I may have to go back to Ubuntu, though.
I think it is "#ldd -v /path-to-pagestream/PageStream5Pro" that checks for
missing libraries.

On Saturday 05 May 2007 8:31 am, Tim Doty wrote:
> The drop down menu
> that is supposed to have the selected directory is empty.

--
No Jesus, No life. Know Jesus, Know life!  The beginning of Wisdom is
 the Fear of the Lord. The wages of sin is death, but the gift of God is
 eternal life through Jesus Christ our Lord!http://Quest4Life.net/glsmith/
http://MSGen.net/
http://Quest4Life.net/http://JustForSomeone.com/

2007-05-05 16:49:45 CT #3
Tim Doty
From: United States
Registered: 2006-02-06
Posts: 2939

On Saturday 05 May 2007, Gary Lee Smith wrote:
> Congratulations, Tim!
> I didn't have Ubuntu 6-10 up long enough to really check it out. I just
> placed my PageStream5 directory in my home directory, but it seemed to work
> under gnome.

Thanks, I like Feisty even though it in some ways is not as capable as SuSE. I
certainly approve of the approach (which largely mirrors OS X). Overall PgS
works, it's just printing or exporting PDFs. Which is a problem as I have
several documents in need of PDF generation and/or printing.

> On the Menus be sure to check that the "empty" menu does not start down a
> page or two. I often get this on fonts and other selector gadgets. Just a
> thought and might not be at all relevant.

I've seen this behavior. Slightly annoying but I don't know if it is a gnome
fault or PgS behavior (PgS is the only gnome program I really use). The empty
panes are also devoid of scroll bars. The current path (as indicated by the
drop down) is *empty* -- not '/' not nothin.

> I've been working on getting
> Debian Etch "up and working" for a month, now. If I do, I plan to try
> getting PageStream up there, also. I may have to go back to Ubuntu,
> though. I think it is "#ldd -v /path-to-pagestream/PageStream5Pro" that
> checks for missing libraries.

A good point, but the issue isn't being able to load the graphics files or
whatever because it *does* load them in PgS. The problem revolves around
printing. I'm concerned it may have to do with the chroot, but I don't see
how, not with it wigging out and completely losing sight of the file system
(note: only for printing, after the aborted print you can still save and load
files in PgS, it is only the printing/PDF export process that is affected.

Tim Doty

2007-05-06 22:43:26 CT #4
O. Bertold
From: Poland
Registered: 2006-02-18
Posts: 40

Gary Lee Smith wrote:
> Congratulations, Tim!
> I didn't have Ubuntu 6-10 up long enough to really check it out. I just
> placed my PageStream5 directory in my home directory, but it seemed to work
> under gnome.
>
> On the Menus be sure to check that the "empty" menu does not start down a page
> or two. I often get this on fonts and other selector gadgets. Just a
> thought and might not be at all relevant. I've been working on getting
> Debian Etch "up and working" for a month, now. If I do, I plan to try
> getting PageStream up there, also. I may have to go back to Ubuntu, though.
> I think it is "#ldd -v /path-to-pagestream/PageStream5Pro" that checks for
> missing libraries.
>
> On Saturday 05 May 2007 8:31 am, Tim Doty wrote:
>
>> The drop down menu
>> that is supposed to have the selected directory is empty
Can You write, what is properly way to make working PgS under Debian
Etch AMD64? I lost possibility to run program and cannot find simple HOWTO.
Bertold

2007-05-06 17:34:37 CT #5
Tim Doty
From: United States
Registered: 2006-02-06
Posts: 2939

On Sunday 06 May 2007, Bertold wrote:
> Gary Lee Smith wrote:
> > Congratulations, Tim!
> > I didn't have Ubuntu 6-10 up long enough to really check it out. I just
> > placed my PageStream5 directory in my home directory, but it seemed to
> > work under gnome.
> >
> > On the Menus be sure to check that the "empty" menu does not start down a
> > page or two. I often get this on fonts and other selector gadgets. Just
> > a thought and might not be at all relevant. I've been working on getting
> > Debian Etch "up and working" for a month, now. If I do, I plan to try
> > getting PageStream up there, also. I may have to go back to Ubuntu,
> > though. I think it is "#ldd -v /path-to-pagestream/PageStream5Pro" that
> > checks for missing libraries.
> >
> > On Saturday 05 May 2007 8:31 am, Tim Doty wrote:
> >> The drop down menu
> >> that is supposed to have the selected directory is empty
>
> Can You write, what is properly way to make working PgS under Debian
> Etch AMD64? I lost possibility to run program and cannot find simple HOWTO.
> Bertold

Well, I'm not running Debian Etch so I can't say for certain what will or
won't work. I've cleaned up some instructions and posted them at
http://www.rollanet.org/~drakki/PgS/PgS64bit.html -- if they work for you
that would be good to know. Note: the resulting chroot environment will be
Ubuntu as that is how the instructions I found went. As PgS is gnome-based I
don't mind (I'm running Kubuntu).

It works well for me, but your mileage may vary.

Tim Doty

2007-05-11 13:02:15 CT #6
Gary Lee Smith
From: United States
Registered: 2006-02-15
Posts: 59

Bertold,
I moved the ~/PageStream5 folder to /usr/local/PageStream5/ after extracting
files. (under SUSE I have been renaming the old PageStream5 folder and
moving in the new upgrade PageStream5 folder, then adding the BME and
PageStream icons--may not work in Debian)

The PageStream file /usr/local/PageStream5/ReadMe.Linux.txt is somewhat
dated, but still a very good guide.

I found this link from the debian.org site
(In case the link doesn't work: Debian.org-->Getting Started->support
pages-->Known problems-->the release pages-->AMD64-->Links->The debian-amd64
howto and FAQ-->Using an IA32 chroot to run 32bit applications)

https://alioth.debian.org/docman/view.php/30192/21/debian-amd64-howto.html#id292205

I tried the "easy" way installing the IA32-libs package, but ldconfig will NOT
recognize the 32bit libs of PageStream. PageStream doesn't seem to find its
own libraries either. So I am guessing that "chroot", which I know nothing
about, is the ONLY way to get PageStream up. There is more on chroot in the
debian-amd64-howto.html page. I guess this is the price we pay for getting
FULL USE of the AMD64 processor! If we just installed the 32bit version of
etch, it would probably work as usual???? I'm thinking the same would be
true of Ubuntu. The pagehttp://www.debian.org/ports/amd64/ gives advantages
of the "thoroughly 64bit" AMD64 port under "A complete 64bit userland".
I hope this helps some. If you succeed, I would love to know how you did it!

I have not pursued PageStream with haste, yet, because I have not yet been
able to get my ethernet based HP printer up AND have access to my direct
phone connect modem at the same time. With ethernet up, it plugs my modem
into the ethernet--doesn't work!

On Sunday 06 May 2007 3:43 pm, Bertold wrote:
> Can You write, what is properly way to make working PgS under Debian
> Etch AMD64? I lost possibility to run program and cannot find simple HOWTO.
> Bertold

--
No Jesus, No life. Know Jesus, Know life!  The beginning of Wisdom is
 the Fear of the Lord. The wages of sin is death, but the gift of God is
 eternal life through Jesus Christ our Lord!http://Quest4Life.net/glsmith/
http://MSGen.net/
http://Quest4Life.net/http://JustForSomeone.com/

2007-05-12 11:04:11 CT #7
O. Bertold
From: Poland
Registered: 2006-02-18
Posts: 40

Thank You for reply and links. I will try.
Bertold

Gary Lee Smith wrote:
> Bertold,
> I moved the ~/PageStream5 folder to /usr/local/PageStream5/ after extracting
> files. (under SUSE I have been renaming the old PageStream5 folder and
> moving in the new upgrade PageStream5 folder, then adding the BME and
> PageStream icons--may not work in Debian)
>
> The PageStream file /usr/local/PageStream5/ReadMe.Linux.txt is somewhat
> dated, but still a very good guide.
>
> I found this link from the debian.org site
> (In case the link doesn't work: Debian.org-->Getting Started->support
> pages-->Known problems-->the release pages-->AMD64-->Links->The debian-amd64
> howto and FAQ-->Using an IA32 chroot to run 32bit applications)
>
>https://alioth.debian.org/docman/view.php/30192/21/debian-amd64-howto.html#id292205
>
>
I tried the "easy" way installing the IA32-libs package, but ldconfig will NOT
> recognize the 32bit libs of PageStream. PageStream doesn't seem to find its
> own libraries either. So I am guessing that "chroot", which I know nothing
> about, is the ONLY way to get PageStream up. There is more on chroot in the
> debian-amd64-howto.html page. I guess this is the price we pay for getting
> FULL USE of the AMD64 processor! If we just installed the 32bit version of
> etch, it would probably work as usual???? I'm thinking the same would be
> true of Ubuntu. The pagehttp://www.debian.org/ports/amd64/ gives advantages
> of the "thoroughly 64bit" AMD64 port under "A complete 64bit userland".
> I hope this helps some. If you succeed, I would love to know how you did it!
>
> I have not pursued PageStream with haste, yet, because I have not yet been
> able to get my ethernet based HP printer up AND have access to my direct
> phone connect modem at the same time. With ethernet up, it plugs my modem
> into the ethernet--doesn't work!
>
> On Sunday 06 May 2007 3:43 pm, Bertold wrote:
>
>> Can You write, what is properly way to make working PgS under Debian
>> Etch AMD64? I lost possibility to run program and cannot find simple HOWTO.
>> Bertold
>>
>
>


2007-05-14 21:44:23 CT #8
O. Bertold
From: Poland
Registered: 2006-02-18
Posts: 40

This works!
I use chroot (schroot) environment and PageStream works newly!

mini-HOWTO for this:

First must make space for chroot environment. I.E.

> mkdir /var/chroot
> mkdir /var/chroot/etch-ia32

Next, we install new version of distribution, 32 bit:

> debootstrap --arch i386 etch /var/chroot/etch-ia32
http://ftp.debian.org/debian/

Then, we need some libraries:

> chroot /var/chroot/sid-ia32
> apt-get install libx11-6 libgnomeui-0 libgnomeui-common liblcms
libcupsys2 libcupsimage2 locales

Installation goes without authorization. what we must reply.
Comfortable way to using PageStream is schroot program. Installation:

> apt-get install schroot

In /etc/schroot/schroot.conf append this section:

[etch]
description=Debian etch (stable) 32-bit
location=/var/chroot/etch-ia32
priority=3
groups=berti,root
root-groups=root
aliases=default,stable,ia32
type=directory
run-setup-scripts=true
run-exec-scripts=true
personality=linux32


My name, berti, in line "groups", replace with your group name. Good is
too, to copy files with gpg keys from AMD64 installation:

> cp /etc/apt/trustdb.gpg /var/chroot/etch-ia32/etc/apt/
> cp /etc/apt/trusted.gpg /var/chroot/etch-ia32/etc/apt/
> apt-get update

This make installation of files easier.
Next, we copy PgS to chroot tree:

> cp -R /usr/local/PageStream4Pro /var/chroot/etch-ia32/usr/local/

Above line probably You must correct, if this folder is in other place.
Now scripts to ease run PgS.

> cat >/usr/local/bin/do_schroot
> #!/bin/bash
> exec schroot -p -c sid32 -q -- "`basename $0`" "$@"
> ^D

Ctrl-D finalize write to /usr/local/bin/do_schroot.

> cd /usr/local/bin
> chmod 755 do_schroot
> ln -s do_schroot PageStream
> cd /var/chroot/usr/local/bin
> cat >PageStream
> #!/bin/bash
> "/usr/local/PageStream4/Run-PageStream4Pro"
> ^D


Note, I use PgS 4.1 Pro. If You have 5 or not Pro, correct this!


To use PageStream simply type on console (or install in menu properly
item with bellow command):
> PageStream

That is all!
Bertold


Sign in to add a comment. Pages: 1
Index » PageStream Support » Linux » PgS 5.03.4 on Kubuntu, AMD64

This topic is closed due to inactivity.