Yuv wrote:
> Results: SVN built on both 32bit and 64bit. It worked well on 32bit.
> On 64bit it showed the same quirky output at full resolution. I
> notified Giuseppe of the bug.
>
> Consequences for me: the last step of my process runs on the 32bit
> box. Since it can handle the filesize, the only inconvenience is the
> slower performance of the older 32bit box.
Wouldn't it be possible to run the 32Bit binary on a 64Bit box ? Sure,
you have to transfer the required 32Bit libraries to the 64 Bit machine.
E.g., on my 64Bit-openSUSE 10.3 I do have to run a 32Bit Firefox just
because there is no 64Bit Java plugin available from Sun and the
ns plugin wrapper doesn't work with Sun's Java.
Here, 64Bit libs are stored in the "lib64" subdirectory whereas 32Bit
libs are stored as usual in "lib".
As of compiling qpfsgui on openSUSE 10.3, qmake for Qt4 is in /usr/bin
(qmake for Qt3 is in /usr/lib/qt3/bin/qmake) when the devel package is
installed. After that the "make" procedure works fine.
Regards,
Stephan.
Yuv wrote:
> Being a noob, I have no idea how the 32bit on 64bit would work. Simply
> copying the binary into /usr/bin and the libraries it needs to /usr/
> lib32?
Yes, I think so. Plus making the this library path visible to the link
loader by adding it to /etc/ld.so.conf - if not already done - and
running ldconf (as root) to update the ld cache.
A short survey with the "file" command in /usr/bin, /opt/kde/bin and
/opt/gnome/bin revealed that there are more applications which are
32-bit. Among them e.g. wine. Probably they haven't been ported to
64-bit or need to be 32-bit but they work out of the box on my x86_64
Intel Dual-Core PC.
Generally, for openSUSE users it is quite easy as one can select the
i586 version in Yast2 and the required 32-bit libraries are installed
automatically.
> would compiling qtpfsgui statically make things even easier?
> what would I do to compile it statically?
I remember the linker options "-static" and "static-libgcc" but AFAIR
you need the static versions of all libs (lib*.a). However, I haven't
tried this. In case of qtpfsqui this would be a lot of work ... ldd
lists 39 (!) shared libraries here.
> Giuseppe gave me a couple of pointers and when I come back from my
> next trip, in ten days, I will be learning about valgrind and
> providing him with (hopefully) valuable testing feedback to hunt the
> bug. Somehow I am more attracted to bug-hunting than to workarounds,
> even if the workaround you suggest seems to be a very simple and valid
> option.
Good luck to you ... :).
Regards,
Stephan.