Re: acroread on amd64
Hello List,
Emmanuel Fleury wrote:
Jerome BENOIT wrote:
do you mean that there is a ready to use Debian _amd64_ package to
install acroread ?
No, Acroread is not yet ported to 64 bits architectures. You should ask
Adobe about it. :)
As a matter of fact the 32bit version can run with appropriate packages and fixes.
For the record, as for January 3rd 2007 and on a Etch machine:
apt-get install ia32-libs ia32-libs-gtk
dpkg -i --force-all acroread_7.0.8-0.0_i386.deb
where acroread_7.0.8-0.0_i386.deb can be grab here
http://www.debian-multimedia.org/pool/main/a/acroread/
Then in the script `/usr/bin/acroread' the line near the end
exec "$ACRO_EXEC_CMD" ${1+"$@"}
was replaced by
export GTK_PATH=/usr/lib32/gtk-2.0/
export GCONV_PATH=/usr/lib32/gconv
export PANGO_RC_FILE=/etc/pango32/pangorc
export GDK_PIXBUF_MODULE_FILE=/etc/gtk-2.0/gdk-pixbuf.loaders.32
export GTK_IM_MODULE_FILE=/etc/gtk-2.0/gdk.immodules.32
exec "$ACRO_EXEC_CMD" ${1+"$@"} 2> ${TMPDIR:-/tmp}/acroread-err.log
`stderr' is redirected to avoid remaining noise.
The configuration file `/etc/pango32/pangorc' had to be added, it contains:
[Pango]
ModuleFiles=/etc/pango32/pango.modules
ModulesPath=/usr/lib32/pango/1.5.0/modules
[PangoX]
AliasFiles=/etc/pango/pangox.aliases
and in the file `/etc/gtk-2.0/gdk-pixbuf.loaders.32'
/usr/lib32/gtk-2.0/2.10.0/<WHATEVER>
must be replaced by
/usr/lib32/gtk-2.0/2.4.0/<WHATEVER>
The main information are here (further informations can be find there too):
http://wiki.debian.org/DebianAMD64Faq
Otherwise, to debug I had to play with `strace' anf Google:
`strace' to figure out which files were badly opened,
and Google to get the answer (nothing new here).
I have certainly forget some other steps:
anyhow the basic idea are here.
hth,
Jerome
Regards
--
Jerome BENOIT
jgmbenoit_at_mailsnare_dot_net
Reply to: