Index » PageStream Support » General » Can't get PageStream5 to run in Linux Mint!!
Sign in to add a comment. Pages: 1
2017-12-31 18:16:31 CT #1
Frank Swygert
From: United States
Registered: 2012-01-08
Posts: 22
I recently upgraded from Mint 14 to Mint 18.3. The "backup software selection" option failed, so I'm having to reinstall everything from scratch. I've been using PageStream for a few years (purchased in 2012). Downloaded the latest version and extracted everything from the tarball, but can't get it to actually run.

The program is in /home/frank/PageStream5 (all files extracted there). With the older version I could simply run "Run-PageStream5" and it would execute. I get nothing with version 5.0.5.8. I don't know what my older version was.

I read the linux.readme file and put the file path in bash.bashrc (added the two export lines for paths). I even went in terminal and tried to start there (from the PageStream5 directory) -- nothing.

So what am I doing wrong?


2017-12-31 11:58:54 CT #2
Rodney Volkmar
From: United States
Registered: 2006-02-10
Posts: 60
I use the 64 bit Pagesteam in linux mint 18.3 without a hitch although last year I started switching to Scribus 1.5.3 due to lack of pagesteam updates and support

On Sun, Dec 31, 2017 at 11:16 AM, farna@amc-mag.com [PageStreamSupport] <PageStreamSupport@yahoogroups.com> wrote:
 

I recently upgraded from Mint 14 to Mint 18.3. The "backup software selection" option failed, so I'm having to reinstall everything from scratch. I've been using PageStream for a few years (purchased in 2012). Downloaded the latest version and extracted everything from the tarball, but can't get it to actually run.

The program is in /home/frank/PageStream5 (all files extracted there). With the older version I could simply run "Run-PageStream5" and it would execute. I get nothing with version 5.0.5.8. I don't know what my older version was.

I read the linux.readme file and put the file path in bash.bashrc (added the two export lines for paths). I even went in terminal and tried to start there (from the PageStream5 directory) -- nothing.

So what am I doing wrong?





--
"when injustice becomes law, resistance becomes duty"
 -Thomas Jefferson-

“Patriotism is supporting your country all the time,

and your government when it deserves it.”

– Mark Twain


2017-12-31 20:09:29 CT #3
T.J. Zweers
From: Netherlands
Registered: 2006-02-07
Posts: 331
I am still here, but I cannot help you with Linux. I hope there are still Linux-users here, who can help.

Wishing you all  a happy New Year.

Greetings,

Theo

Redacteur Ligfiets.net

Op 31 dec. 2017 om 19:16 heeft farna@amc-mag.com [PageStreamSupport] <PageStreamSupport@yahoogroups.com> het volgende geschreven:

I recently upgraded from Mint 14 to Mint 18.3. The "backup software selection" option failed, so I'm having to reinstall everything from scratch. I've been using PageStream for a few years (purchased in 2012). Downloaded the latest version and extracted everything from the tarball, but can't get it to actually run.

The program is in /home/frank/PageStream5 (all files extracted there). With the older version I could simply run "Run-PageStream5" and it would execute. I get nothing with version 5.0.5.8. I don't know what my older version was.

I read the linux.readme file and put the file path in bash.bashrc (added the two export lines for paths). I even went in terminal and tried to start there (from the PageStream5 directory) -- nothing.

So what am I doing wrong?


2017-12-31 16:52:37 CT #4
Deron Kazmaier
From: United States
Registered: 2006-01-29
Posts: 4639

On 12/31/17 11:16 AM, farna@amc-mag.com [PageStreamSupport] wrote:
>
>
> I recently upgraded from Mint 14 to Mint 18.3. The "backup software
> selection" option failed, so I'm having to reinstall everything from
> scratch. I've been using PageStream for a few years (purchased in
> 2012). Downloaded the latest version and extracted everything from the
> tarball, but can't get it to actually run.
>
> The program is in /home/frank/PageStream5 (all files extracted there).
> With the older version I could simply run "Run-PageStream5" and it
> would execute. I get nothing with version 5.0.5.8. I don't know what
> my older version was.
>
> I read the linux.readme file and put the file path in bash.bashrc
> (added the two export lines for paths). I even went in terminal and
> tried to start there (from the PageStream5 directory) -- nothing.
>

When you say nothing, do you mean you ran PageStream (./PageStream5) and
nothing appeared at all on the terminal it just dropped back to command
prompt? Or did is dump some errors but nothing ran? Something should
have been dumped t the screen. I presume you are using 64bit version in
a 64bit OS? 99.99% of the time it is a dependency that is missing (some
Gnome ui library)

Deron

--
Deron Kazmaier - support@pagestream.org
Grasshopper LLC Publishing -http://www.pagestream.org
PageStream
DTP for Amiga, Linux, Macintosh, and Windows


2018-01-01 12:12:55 CT #5
Tony Cooke
From: Unknown
Registered: 2000-05-15
Posts: 187

On 31/12/2017 23:52, PageStream Support deron@pagestream.org
[PageStreamSupport] wrote:
> >
>
> When you say nothing, do you mean you ran PageStream (./PageStream5) and
> nothing appeared at all on the terminal it just dropped back to command
> prompt? Or did is dump some errors but nothing ran? Something should
> have been dumped t the screen. I presume you are using 64bit version in
> a 64bit OS? 99.99% of the time it is a dependency that is missing (some
> Gnome ui library)
>
> Deron

Hi Deron

Nice to see you still around!

Still using the Windows version here to good effect

May I wish you and yours the best 2018 ever


--
Tony Cooke
Samsung Galaxy Tab S8.4 tablet
Samsung Galaxy S8 64gb mobile phone
Amiga 1000
www.tonycooke.co.uk
If you hear an onion ring please answer it.

2018-01-03 16:07:34 CT #6
O. Bertold
From: Poland
Registered: 2006-02-18
Posts: 40

PageStream is still running on Debian 9 (Stretch) on which is based Mint.

Bertold

Dnia poniedziałek, 1 stycznia 2018 12:12:55 CET Tony Cooke
tony.j.cooke@btinternet.com [PageStreamSupport] pisze:
> On 31/12/2017 23:52, PageStream Support deron@pagestream.org
>
> [PageStreamSupport] wrote:
> > When you say nothing, do you mean you ran PageStream (./PageStream5) and
> > nothing appeared at all on the terminal it just dropped back to command
> > prompt? Or did is dump some errors but nothing ran? Something should
> > have been dumped t the screen. I presume you are using 64bit version in
> > a 64bit OS? 99.99% of the time it is a dependency that is missing (some
> > Gnome ui library)
> >
> > Deron
>
> Hi Deron
>
> Nice to see you still around!
>
> Still using the Windows version here to good effect
>
> May I wish you and yours the best 2018 ever


2018-01-06 15:47:14 CT #7
Frank Swygert
From: United States
Registered: 2012-01-08
Posts: 22
Deron, I'm using Mint 18.3, which is based on Ubuntu 16.04. Step by step, this is what I've done:

1 - I downloaded the tarball then extracted it into my home folder in it's own folder (/home/frank/PageStream5).

2 - Using the file manager, I open my home directory then open the folder with PageStream (PageStream5).

3 - I then double clicked on the icon titled "Run-PageStream5". A message box is displayed. "Do you want to run "Run-PageStream5", or display its contents". The selections are "Run in Terminal", "Display", "Cancel" or "Run". If I select "Run" nothing appears to happen. If I select "Run in Terminal", there is a brief flash of a terminal screen, then it's gone. Can't read anything, just notice the outline flash of the terminal screen before it disappears.

4 - If I open a terminal and CD to "PageStream5"....  If I simply type in "PageStream5" (not using quotes, of course), I get "no such file or directory.  Hmm... that's not right! So I type in "dir"... and there it is!  So I type "Run-PageStream5" (which also shows in the directory), and I get "line 5: home/frank/PageStream5/PageStream5: No such file or directory"

5 - I went to filesystem/etc/bash.rc and displayed it. I had added the "export" lines from the Linux-Readme file right after setting the prompt. Here is my bashrc file. You will see the export statements on lines 22 and 23 (counting blank lines).  I put the export lines there at the recommendation of someone on the Linux Mint forum. With the errors I'm getting I'm confident the problem is simple, and in the path.

**************************************************************************
# System-wide .bashrc file for interactive bash(1) shells.

# To enable the settings / commands in this file for login shells as well,
# this file has to be sourced in /etc/profile.

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, overwrite the one in /etc/profile)
PS1='${debian_chroot:+($debian_chroot)}\u@\h \w \$ '

#user added variables/paths
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/frank/PageStream5/SoftLogik/lib
export PATH=$PATH:/home/frank/PageStream5

# Commented out, don't overwrite xterm -T "title" -n "icontitle" by default.
# If this is an xterm set the title to user@host:dir
#case "$TERM" in
#xterm*|rxvt*)
#    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
#    ;;
#*)
#    ;;
#esac

# enable bash completion in interactive shells
#if ! shopt -oq posix; then
#  if [ -f /usr/share/bash-completion/bash_completion ]; then
#    . /usr/share/bash-completion/bash_completion
#  elif [ -f /etc/bash_completion ]; then
#    . /etc/bash_completion
#  fi
*************************************************************************

Looking at lines 3 & 4, I checked filesystem/etc for a "profile" folder. All I found was a folder titled "profile.d".
Nothing to lose by copying bash.rc to the profile.d folder...
Went back to terminal and type "Run-PageStream5" -- same results as before ("line 5: home/frank/PageStream5/PageStream5: No such file or directory")

Hopefully I've provided enough info for you (or someone) to assist -- if not let me know what additional info you need.
2018-01-06 16:10:19 CT #8
Frank Swygert
From: United States
Registered: 2012-01-08
Posts: 22
Oh, I'm running the 64 Bit MATE version of Mint 18.3. Computer is an Athlon Phenom II x4 945 (3.0GHz), with GeForce 9600GT video card, 8GB RAM, 153.3 GB SATA HD (total filesystem capacity reported by Disk Usage Analyzer).
2018-01-06 09:16:52 CT #9
Deron Kazmaier
From: United States
Registered: 2006-01-29
Posts: 4639

On 1/6/18 8:47 AM, farna@amc-mag.com [PageStreamSupport] wrote:
>
>
> Deron, I'm using Mint 18.3, which is based on Ubuntu 16.04. Step by
> step, this is what I've done:
....
> *************************************************************************
>
> Looking at lines 3 & 4, I checked filesystem/etc for a "profile"
> folder. All I found was a folder titled "profile.d".
> Nothing to lose by copying bash.rc to the profile.d folder...
> Went back to terminal and type "Run-PageStream5" -- same results as
> before ("line 5: home/frank/PageStream5/PageStream5: No such file or
> directory")
>
> Hopefully I've provided enough info for you (or someone) to assist --
> if not let me know what additional info you need.
>
> __._,_.

Just a quick note. First, from the shell enter the command "printenv".
That will dump out the defined shell environment variables. Check that
the line that starts with PATH= contains "/home/frank/PageStream5"

If it does then enter "ls -l /home/frank/PageStream5". That should show
permissions etc for the files in that folder. Send the results back to
here so we can take a look.

If it does not, you might simply need to reboot. Then also enter
"ldconfig" into the terminal. That basically refreshes the cache of
installed libraries.

You might also try typing "cd /home/frank/PageStream5" and then
"./PageStream5". That will run the local file PageStream5 in the local
folder, even if the path is not set to include current path. Libraries
might not be found etc, but you should at least get past the "can't find
PageStream5" nonsense.

Strange...

Deron

--
Deron Kazmaier - support@pagestream.org
Grasshopper LLC Publishing -http://www.pagestream.org
PageStream
DTP for Amiga, Linux, Macintosh, and Windows


2018-01-08 14:06:50 CT #10
Frank Swygert
From: United States
Registered: 2012-01-08
Posts: 22
Results of "printenv". I extracted just the PATH line. If the entire list
is needed let me know:

PATH=/home/frank/bin:/home/frank/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/frank/PageStream5



Results of "ls" command:

frank@Frank-Office ~ $ ls -l /home/frank/PageStream5
total 3424
-rwxrwxr-x  1 frank frank  174992 Jun 28  2009 BME
-rwxrwxr-x  1 frank frank  26716 Jan  1  2007 BME.rsc
-rwxrwxr-x  1 frank frank    230 Aug 30  2003 BME Scripts
drwxrwxr-x  2 frank frank    4096 Mar 21  2010 Defaults
drwxrwxr-x  4 frank frank    4096 Dec 31 09:33 Documents
drwxrwxr-x  2 frank frank    4096 Mar 21  2010 Graphics
drwxrwxr-x 13 frank frank    4096 Jun  3  2009 Help
-rwxrwxr-x  1 frank frank    2609 Jan  1  2007 HHV.rsc
drwxrwxr-x  4 frank frank    4096 Feb  8  2010 Locale
-rwxrwxr-x  1 frank frank 2599304 Oct 11  2010 PageStream5
-rwxrwxr-x  1 frank frank    4597 Mar 15  2004 PageStream5.png
-rwxrwxr-x  1 frank frank  394000 Oct 11  2010 PageStream5.rsc
-rwxrwxr-x  1 frank frank  10966 Jan 26  2009 ReadMe.3rdPartyLegal.txt
-rwxrwxr-x  1 frank frank    1668 Jan  3  2010 ReadMe.Amiga.txt
-rwxrwxr-x  1 frank frank    8409 Nov 26  2008 ReadMe.GettingHelp.txt
-rwxrwxr-x  1 frank frank  17376 Feb 10  2009 ReadMe.Linux.txt
-rwxrwxr-x  1 frank frank  19760 Jan  1  2007 ReadMe.Localizing.txt
-rwxrwxr-x  1 frank frank    1656 May 30  2009 ReadMe.Macintosh.txt
-rwxrwxr-x  1 frank frank  170966 Oct 11  2010 ReadMe.txt
-rwxrwxr-x  1 frank frank    654 Jul  3  2009 ReadMe.Windows.txt
-rwxrwxr-x  1 frank frank    160 Nov 28  2008 Run-PageStream5
drwxrwxr-x  5 frank frank    4096 Mar  6  2009 Scripts
drwxrwxr-x 12 frank frank    4096 Jun  3  2009 SoftLogik
drwxrwxr-x  2 frank frank    4096 Nov 30  2008 Text
frank@Frank-Office ~ $



I suppose you realize that "Frank-Office" is the computer name...
2018-01-10 16:18:07 CT #11
Deron Kazmaier
From: United States
Registered: 2006-01-29
Posts: 4639

Hello Frank,

I've scratched my head and can't think of any reason why you can't
execute "./PageStream5" when you are in that folder. (ie, from shell
type "cd /home/frank/PageStream5" and then "./PageStream5").

Any linux wizards lurking with some suggestions?

Deron


On 1/8/18 7:06 AM, farna@amc-mag.com [PageStreamSupport] wrote:
>
>
> Results of "printenv". I extracted just the PATH line. If the entire list
> is needed let me know:
>
> PATH=/home/frank/bin:/home/frank/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/frank/PageStream5
>
>
>
> Results of "ls" command:
>
> frank@Frank-Office <mailto:frank@Frank-Office> ~ $ ls -l
> /home/frank/PageStream5
> total 3424
> -rwxrwxr-x  1 frank frank  174992 Jun 28  2009 BME
> -rwxrwxr-x  1 frank frank  26716 Jan  1  2007 BME.rsc
> -rwxrwxr-x  1 frank frank    230 Aug 30  2003 BME Scripts
> drwxrwxr-x  2 frank frank    4096 Mar 21  2010 Defaults
> drwxrwxr-x  4 frank frank    4096 Dec 31 09:33 Documents
> drwxrwxr-x  2 frank frank    4096 Mar 21  2010 Graphics
> drwxrwxr-x 13 frank frank    4096 Jun  3  2009 Help
> -rwxrwxr-x  1 frank frank    2609 Jan  1  2007 HHV.rsc
> drwxrwxr-x  4 frank frank    4096 Feb  8  2010 Locale
> -rwxrwxr-x  1 frank frank 2599304 Oct 11  2010 PageStream5
> -rwxrwxr-x  1 frank frank    4597 Mar 15  2004 PageStream5.png
> -rwxrwxr-x  1 frank frank  394000 Oct 11  2010 PageStream5.rsc
> -rwxrwxr-x  1 frank frank  10966 Jan 26  2009 ReadMe.3rdPartyLegal.txt
> -rwxrwxr-x  1 frank frank    1668 Jan  3  2010 ReadMe.Amiga.txt
> -rwxrwxr-x  1 frank frank    8409 Nov 26  2008 ReadMe.GettingHelp.txt
> -rwxrwxr-x  1 frank frank  17376 Feb 10  2009 ReadMe.Linux.txt
> -rwxrwxr-x  1 frank frank  19760 Jan  1  2007 ReadMe.Localizing.txt
> -rwxrwxr-x  1 frank frank    1656 May 30  2009 ReadMe.Macintosh.txt
> -rwxrwxr-x  1 frank frank  170966 Oct 11  2010 ReadMe.txt
> -rwxrwxr-x  1 frank frank    654 Jul  3  2009 ReadMe.Windows.txt
> -rwxrwxr-x  1 frank frank    160 Nov 28  2008 Run-PageStream5
> drwxrwxr-x  5 frank frank    4096 Mar  6  2009 Scripts
> drwxrwxr-x 12 frank frank    4096 Jun  3  2009 SoftLogik
> drwxrwxr-x  2 frank frank    4096 Nov 30  2008 Text
> frank@Frank-Office <mailto:frank@Frank-Office> ~ $
>
>
>
> I suppose you realize that "Frank-Office" is the computer name...

--
Deron Kazmaier - support@pagestream.org
Grasshopper LLC Publishing -http://www.pagestream.org
PageStream
DTP for Amiga, Linux, Macintosh, and Windows


2018-01-11 17:08:34 CT #12
Anthony Hoffman
From: New Zealand
Registered: 2007-04-28
Posts: 25

Perhaps a shot in the dark, but in case the binary is damaged for any
reason, compare it against the same version of PGS running on a known
working system.


An example of this on Linux:
[taitnet@Q9361VM scadagw]$ cksum scadagw
3958008894 6634040 scadagw


3958008894 is the checksum, this value should be identical on a
working system - if it's different then the binary has been changed
somehow
6634040 is the size of the file in bytes and the value should also be
identical on the comparison system


I'm still using PGS 4 on AmigaOS 3.9 so can't give you a comparison.


Also see if the task is perhaps running but is non responsive. Something like:
ps -ef | grep pagest -i
will list any instances of PageStream running.


Anthony.


On 11 January 2018 at 12:18, PageStream Support deron@pagestream.org
[PageStreamSupport] <redirect@vodafone.co.nz> wrote:
> Hello Frank,
>
> I've scratched my head and can't think of any reason why you can't
> execute "./PageStream5" when you are in that folder. (ie, from shell
> type "cd /home/frank/PageStream5" and then "./PageStream5").
>
> Any linux wizards lurking with some suggestions?
>
> Deron

2018-01-11 05:14:40 CT #13
ahoffman.clear.net.nz
From: Unknown
Registered: 2018-01-11
Posts: 2
Perhaps a shot in the dark, but in case the binary is damaged for any reason, compare it against the same  version of PGS running on a known working system.

An example of this on Linux:
[taitnet@Q9361VM scadagw]$ cksum scadagw
3958008894 6634040 scadagw

3958008894 is the checksum, this value should be identical on a working system - if it's different then the binary has been changed somehow

6634040 is the size of the file in bytes and the value should also be identical on the comparison system

I'm still using PGS 4 on AmigaOS 3.9 so can't give you a comparison.


Also see if the task is perhaps running but is non responsive.  Something like:
ps -ef | grep pagest -i
will list any instances of PageStream running.

Anthony.
2018-01-11 11:29:44 CT #14
Frank Swygert
From: United States
Registered: 2012-01-08
Posts: 22
Hmm.. I've just been typing "PageStream5" from the PageStream5 directory. Will try "./PageStream5" and see what happens. Shouldn't make a difference AFAIK, but might. If that fails I'll post over on LinuxQuestions.org and the Linux Mint Forum and see if anyone has any ideas.
2018-01-11 15:18:25 CT #15
David Breakey
From: United States
Registered: 2006-03-05
Posts: 64
To run a command in the currently active folder, you must use ./<command>, unless the current folder happens to be in the PATH variable.

In Linux, everything is explicit, including things that other systems (mainly, Windows) handle "automatically".

In Windows, you could do something like "Pagestream5", and the first place Windows checks for the executable is the current active directory (ie: your path variable effectively starts with ".").

Linux does not do this, as it's considered a major security vulnerability--it makes it far too easy for an attacker to install a program that can then be run in some compromising manner.

So when you type PageStream5 in a command-line, it scans through the list of colon-separated paths specified in the PATH variable. The first copy of "PageStream5" it finds is what is executed.

"But why does this protect me against an attacker? Surely they can just run ./PageStream5 too?"

You have to remember, people attacking Linux systems are almost always doing so to try and gain 'root' access. One of the ways this is protected against is that the PATH variable is--deliberately--never inherited. When launching a program in a subshell, a properly-designed program will always ensure they use either a specifically tailored PATH that only allows access to code needed by the specific program (and these paths are almost always protected by requiring 'root' to modify), or they specifically inherit the system-wide PATH, completely ignoring the current PATH of the active process (which may well have been modified by a malicious agent). For example, this is what sudo (which allows execution of code as another user, including root) does by default (yes, you can override it and force it to inherit the current PATH, but to do so, you'd need 'root' access to be able to edit the sudo config file in the first place).

Does it prevent this kind of thing? No. But it does make it a lot more difficult. Effectively impossible for an attacker who can only access the system remotely.

This is why patching and updating your Linux system is important; an attacker might find a program that was not properly designed and written, potentially permitting this kind of compromise to be effective.
2018-01-11 08:34:25 CT #16
Deron Kazmaier
From: United States
Registered: 2006-01-29
Posts: 4639

You are right. We already checked your search paths. If it was not
executable (which we checked), it should say "Permission Denied".  If
the binary was damaged it should say "cannot execute binary file: Exec
format error".

Maybe the filename has a non-printing character in it. Try from the shell:

cd /home/frank/pagestream5 (or wherever the executable is. Deleting the
thread makes this hard to follow).
ls -l PageStream5

It should list the size and permissions for that one file. If the file
has funny characters in it, you will get "no such file or directory".

Deron

On 1/11/18 4:29 AM, farna@amc-mag.com [PageStreamSupport] wrote:
>
>
> Hmm.. I've just been typing "PageStream5" from the PageStream5
> directory. Will try "./PageStream5" and see what happens. Shouldn't
> make a difference AFAIK, but might. If that fails I'll post over on
> LinuxQuestions.org and the Linux Mint Forum and see if anyone has any
> ideas.
>
>


--
Deron Kazmaier - support@pagestream.org
Grasshopper LLC Publishing -http://www.pagestream.org
PageStream
DTP for Amiga, Linux, Macintosh, and Windows

2020-12-16 15:03:52 CT #17
Frank Swygert
From: United States
Registered: 2012-01-08
Posts: 22

I upgraded to Mint 20 and still couldn't get PageStream to run, but found out that it was because Mint 20 (based on Ubuntu 20.04) dropped 32 bit support! I will have to install the 32 bit stuff to get it to run. Unfortunately, I'm just going to drop using Linux. My wife prefers Windows, since she has to use it at work, and I needed to upgrade our desktop anyway. So I'm switching to Windows 10 (I was using Windows 10 on a laptop, which also needs upgrading!!). I'm about to purchase the Windows 10 version of PageStream. That should read all the files I made on the Linux version...

Sign in to add a comment. Pages: 1
Index » PageStream Support » General » Can't get PageStream5 to run in Linux Mint!!

This topic is closed due to inactivity.