List Info

Thread: 64-bit Linux and odd dependency in 5.0.3.4




64-bit Linux and odd dependency in 5.0.3.4
country flaguser name
United States
2007-05-01 18:54:51

I just got a new 64-bit computer and despite my long use of SuSE have defected
to kubuntu. The following is of note for anyone running 64-bit linux and
wanting to run PgS -- until we get a 64-bit compile and can run natively
(which is in the works, but unknown delivery time).

So, in the meantime, how to run PgS on 64-bit systems?

I'll give the SuSE method first as it is by far the simpler: during install
accept the prompt to install 32-bit environment. That's it, everything else
resolves to normal dependencies.

Kubuntu/Ubuntu involves using dchroot. This was taken from
http://ubuntuforums.org/showthread.php?t=24575 and adapted slightly. There
are three types of instructions: commands to execute, lines to type in, and
meta instructions. Meta instructions are set of by an indented 'o'. To
facilitate copy and paste lines to type in are not indented. Commands to
execute are indented. WARNING: email wrapping will cause a multiline command
to wrap. With some work this could be rolled into a script, but it shouldn't
be too hard to follow.

Thoughts: I used feisty for the install which means python is at v2.5 and
won't work for PgS's external scripting. Substituting an older version (hoary
maybe?) might resolve that but I have not tested and have only been using
kubuntu for less than a week now.

Deron: running PgS results in many calls for /usr/bin/esd. I can't imagine
that PgS itself is trying to use the Enlightened Sound Daemon so I'm assuming
this is a gnome dependency? Note: to remove the "not found"; errors that occur
in the shell install install 'esound'

sudo apt-get install dchroot debootstrap
sudo mkdir /chroot/
sudo nedit /etc/dchroot.conf
o Add this line: feisty /chroot
sudo debootstrap --arch i386 feisty /chroot/
http://archive.ubuntu.com/ubuntu
sudo chroot /chroot/
dpkg-reconfigure locales
o in another terminal window
sudo nedit /chroot/etc/apt/sources.list
o Add the following lines:
deb http://archive.ubuntu.com/ubuntu feisty main restricted universe
multiverse
deb http://security.ubuntu.com/ubuntu feisty-security main restricted universe
multiverse
o following commands in a new terminal
sudo chroot /chroot
apt-get update ; apt-get upgrade
apt-get install nedit
o following commands in a new terminal:
sudo cp /etc/passwd /chroot/etc/
sudo cp /etc/shadow /chroot/etc/
sudo cp /etc/group /chroot/etc/
sudo cp /etc/sudoers /chroot/etc/
sudo cp /etc/hosts /chroot/etc/
sudo nedit /etc/fstab
o Add the following lines:
/home /chroot/home none bind 0 0
/tmp /chroot/tmp none bind 0 0
/dev /chroot/dev none bind 0 0
/proc /chroot/proc proc defaults 0 0
/media/cdrom0 /chroot/media/cdrom0 none bind 0 0
/usr/share/fonts /chroot/usr/share/fonts none bind 0 0
sudo mkdir /chroot/media/cdrom0
sudo mount -a
sudo nedit /usr/local/bin/do_dchroot
o Add the following:
#!/bin/sh
/usr/bin/dchroot -d "`echo $0 | sed 's|^.*/||'` $*"
sudo chmod 755 /usr/local/bin/do_dchroot
o following commands in a new terminal:
dchroot -d
sudo apt-get install synaptic
sudo ln -s /usr/sbin/synaptic /usr/sbin/synaptic32
exit
sudo ln -s /usr/local/bin/do_dchroot /usr/local/bin/synaptic32
sudo synaptic32
o mark libgnomeui-0 for install
o mark liblcms1 for install
apply
o edit the Run-PageStream5Pro script, changing the line that executes PgS
as follows:
dchroot -d "$PGSPATH/Run-PageStream5Pro"

__._,_.___
.

__,_._,___
[1]

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