List Info

Thread: Re: pagestream 64-bit linux version




Re: pagestream 64-bit linux version
country flaguser name
United States
2008-05-18 11:46:13
On May 18, 2008, at 11:30 AM, Thomas Lemmens wrote:
> Hi Tim,
>
> I had tried to run Pagestream using get-libs to
determine and to  
> download the missing libs. I experienced that
Pagestream still  
> didn't run. Wine was not a solution and in my opinion a
32-bit  
> chroot is not that smooth elegant and light-weight
solution. So, in  
> the meantime I have changed my 64-bit
kubuntu-hardy-desktop for a 32- 
> bit one. Nevertheless, I am very interested to learn
how Pagestream  
> can run in a 64-bit environment using ia32 and
get-libs.
>

They are very terse, but here are my current notes are:

download getlibs
getlibs PageStream5Pro
getlibs -l libqtengine.so
getlibs -l libqt-mt.so.3
getlibs -l highcontrast.so
getlibs -l libfile.so
getlibs -p libgnomevfs2-0
sudo ln -s /usr/lib32 /usr/l32
sudo sed -i -e 's/usr/lib/usr/l32/g'
/usr/lib32/libgnomevfs-2.so. 
0.2200.0
download libfam0_2.7.0-13_i386.deb
dpkg -x libfam0_2.7.0-13_i386.deb deleteme
cp -a deleteme/usr/lib/libfam* /usr/lib32/ && rm -fr
deleteme
getlibs -p python2.4
getlibs -p python2.4-dev # not sure this one is needed
getlibs -p python2.4-minimal
sudo mv /usr/lib/python2.4 /usr/lib/python2.4-64
sudo ln -s /usr/lib32/python2.4 /usr/lib/python2.4

Note that the libgnomevfs is actually being edited as it has
hardcoded  
paths to /usr/lib/ so it will otherwise be trying to load
from the  
wrong location. I was never able to figure out how to get
python to  
work other than putting it in the /usr/lib/ directory. Doing
this is  
*wrong* but it works for me as I don't need the 64-bit
version of  
python-2.4 and hopefully Deron will get a true 64-bit
version out  
before there's an issue.

So far the only side effect I've had was each document was
marked as  
changed the first time I loaded it (that is, open the
document and PgS  
puts an asterisk in the title bar to indicate it has been
altered even  
though it hasn't). This only happened the first time I
loaded a  
document and may be because everything is on a network
share.

Other than that it has been working very well for me.

Tim Doty

> Thomas
>
> On Sun, 18 May 2008 10:45:53 -0500
> Tim Doty <thoromyrmac.com> wrote:
>
> > I've never gotten it to work under wine. But for
64-bit:
> >
> > obviously a 64-bit build would be preferable and
I'm looking forward
> > to it, but in the meantime are you having trouble
running PgS. As
> > David mentioned there are two ways to do so:
> >
> > 1. 32-bit chroot. This is the one I originally
favored as it kept
> > things nice, clean and distinct. Unfortunately it
also becomes a  
> PITA
> > if you want to use network drives (which I do).
I've given up on it.
> >
> > 2. ia32 compatibility libs. This is the
"seamless" way to run 32-bit
> > apps in a 64-bit linux. Unfortunately it is more
than a little
> > difficult to setup. Installing the ia32 libs is
easy, but that isn't
> > enough. There's a script called get-libs (IIRC)
that can be used to
> > automatically determine what libs are missing and
install them for
> > you. In the case of PgS this *still* isn't enough.
I *do* have PgS
> > running, though, and would be happy to share my
steps if you are
> > interested.
> >
> > Tim Doty
> >
> > On May 9, 2008, at 3:59 AM, Thomas Lemmens wrote:
> >
> > > Concerning pagestream (windows version) under
wine: I've tried it,
> > > but pagestream acts very buggy under wine 64
bit. Maybe it needs
> > > some fiddling with wineconfig.
> > >
> > > Thomas
> > >
> > >
> > > On Thu, 08 May 2008 11:55:46 -0600
> > > David Breakey <davidbreakey.name> wrote:
> > >
> > >> Very cool to hear.
> > >>
> > >> While Pagestream does work on a 64-bit
build (currently using  
> Hardy
> > >> Heron myself), it *is* a little quirky to
get set up (esp. if you
> > >> don't
> > >> really want to use the 32-bit chroot
approach).
> > >>
> > >> I'll be much happier when there is
finally a 64-bit native build;
> > >> should
> > >> integrate much more smoothly (I currently
use the 32-bit chroot
> > >> approach, as installing it otherwise is a
major PITA--nearly
> > >> impossible,
> > >> even; this means that it integrates
awkwardly with the standard
> > >> desktop
> > >> environment, although it works well
enough).
> > >>
> > >> I've been contemplating trying out the
Windows eval edition, to  
> see
> > >> how
> > >> well PGS functions under Wine, given that
Wine now integrates  
> very
> > >> well
> > >> into a 64-bit system.
> > >>
> > >> What I'd *really* like to see is PGS use
one of the native Linux
> > >> packaging tools (personally prefer DEB
myself, being an Ubuntu
> > >> user, but
> > >> given how easy it is to 'alien' a package
from one format to
> > >> another, I
> > >> don't think it really matters too much).
> > >>
> > >> Although I might try 'checkinstall', to
build a quick-n-dirty DEB
> > >> package ...
> > >>
> > >> On Thu, 2008-05-08 at 11:20 -0600,
PageStream Support wrote:
> > >>> Thomas Lemmens wrote:
> > >>>> Hello,
> > >>>>
> > >>>> I am using a 64 bit linux version
(ubuntu hardy heron). Is it
> > >>> possible to compile Pagestream for a
64 bit linux environment?
> > >>>>
> > >>>> Greetings,
> > >>>> Thomas Lemmens
> > >>>>
> > >>>>
> > >>>
> > >>> Hi Thomas,
> > >>>
> > >>> A native 64bit version of PageStream
is coming (as recently
> > >>> mentioned
> > >>> on
> > >>> this very list) but it is still a
ways off. You can expect to  
> see
> > >>> final
> > >>> Mac and Amiga versions before then.
Other than some installation
> > >>> issues
> > >>> on Linux, the current version is
fully functional on a 64bit
> > >>> computer.
> > >>>
> > >>> Deron
> > >>>
> > >>> --
> > >>> Deron Kazmaier - supportpagestream.org
> > >>> Grasshopper LLC Publishing - http://www.pagestream.org
> > >>> PageStream DTP for Amiga, Linux,
Macintosh, and Windows
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>
> > >>
> > >> [Non-text portions of this message have
been removed]
> > >>
> > >>
> > >
> > >
> > > --
> > > Thomas Lemmens <thomas.lemmenstelenet.be>
> > >
> > > ------------------------------------
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> >
> >
>
> -- 
> Thomas Lemmens <thomas.lemmenstelenet.be>
>
> 


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http
://groups.yahoo.com/group/PageStreamSupport/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    
http://groups.yahoo.com/group/PageStreamSupport/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:PageStreamSupport-digest@yahoogroups.com 
    mailto:PageStreamSupport-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    PageStreamSupport-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/


Re: pagestream 64-bit linux version
country flaguser name
United States
2008-05-18 12:28:19

Hmm. Never messed with getlibs; I guess it automates the manual method
I've always used. Will have to check it out.

On Sun, 2008-05-18 at 11:46 -0500, Tim Doty wrote:
&gt; They are very terse, but here are my current notes are:
>;
> download getlibs
> getlibs PageStream5Pro
> getlibs -l libqtengine.so
>; getlibs -l libqt-mt.so.3
> getlibs -l highcontrast.so
&gt; getlibs -l libfile.so
> getlibs -p libgnomevfs2-0
>; sudo ln -s /usr/lib32 /usr/l32
> sudo sed -i -e 's/usr/lib/usr/l32/g' /usr/lib32/libgnomevfs-2.so.
> 0.2200.0

D'oh!

Why didn't I think of that one? This is the very problem I had trying to
run it against the 32-bit libs, and this should solve that very neatly.

Just an FYI for anyone contemplating the same trick; notice that he
substitutes 'l32' for 'lib'; this is VERY important, as you MUST match
the byte-length exactly for whatever is being changed.

DO NOT try changing it to 'lib32'; that WILL cause things to break.
Possibly in very nasty ways.

If you're at all uncertain about this, use the chroot approach instead.
It's substantially more resource-intensive, but is far safer.

That said, this is a perfectly viable option as long as you're careful.

Apologies to anyone who already knows this; just wanted to warn anyone
who might not be as tech-savvy.

> download libfam0_2.7.0-13_i386.deb
&gt; dpkg -x libfam0_2.7.0-13_i386.deb deleteme
> cp -a deleteme/usr/lib/libfam* /usr/lib32/ && rm -fr deleteme
> getlibs -p python2.4
> getlibs -p python2.4-dev # not sure this one is needed
&gt; getlibs -p python2.4-minimal
&gt; sudo mv /usr/lib/python2.4 /usr/lib/python2.4-64
> sudo ln -s /usr/lib32/python2.4 /usr/lib/python2.4
>
> Note that the libgnomevfs is actually being edited as it has hardcoded
> paths to /usr/lib/ so it will otherwise be trying to load from the
> wrong location. I was never able to figure out how to get python to
> work other than putting it in the /usr/lib/ directory. Doing this is
> *wrong* but it works for me as I don't need the 64-bit version of
> python-2.4 and hopefully Deron will get a true 64-bit version out
> before there's an issue.
&gt;
> So far the only side effect I've had was each document was marked as
> changed the first time I loaded it (that is, open the document and PgS
> puts an asterisk in the title bar to indicate it has been altered even
> though it hasn't). This only happened the first time I loaded a
> document and may be because everything is on a network share.
&gt;
> Other than that it has been working very well for me.
>
> Tim Doty

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )