The process of running makecompat creates a symlink to the actual file which is moved to ../../QtPalmtop.compat/bin (iirc - off the top of my head).
Ensure that this symlink has been created - the binary is normally copied to the compat directory I think so that it can be run with the appropriate libs, etc.
The above is pretty much correct, but I've not looked at it in a while so I may have made a mistake.
Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=73990\"][{POST_SNAPBACK}][/a][/div]
Thats pretty close. Here's what I have on chaffee:
[root@chaffee bin]# ls -l otpkeygen
lrwxrwxrwx 1 root root 28 Apr 7 10:14 otpkeygen -> /opt/QtPalmtop/bin/runcompat
[root@chaffee bin]# ls -l /opt/QtPalmtop/bin/runcompat
lrwxrwxrwx 1 root root 35 Apr 6 22:15 /opt/QtPalmtop/bin/runcompat -> /opt/QtPalmtop.compat/bin/runcompat
[root@chaffee bin]# ls -l /opt/QtPalmtop.compat/bin/runcompat
-rwxr-xr-x 1 root root 221 Nov 30 17:56 /opt/QtPalmtop.compat/bin/runcompat
So the original binary name gets executed, but it is a link to a link to a shell script /opt/QtPalmtop.compat/bin/runcompat. This script changes the LD_LIBRARY_PATH and PATH to point to the compatibility directories:
more /opt/QtPalmtop.compat/bin/runcompat
#! /bin/sh
export LD_LIBRARY_PATH=/opt/QtPalmtop.compat/lib:$LD_LIBRARY_PATH
export PATH=/opt/QtPalmtop.compat/bin:$PATH
echo $0
PROG=`basename $0`
if [ "$PROG" != "runcompat" ]; then
exec $PROG $@
else
exec $@
fi
It should work. But the message it gives me,
No Qt/Embedded server appears to be running.
If you want to run this program as a server,
add the "-qws" command-line option.
makes me think that it doesn't think that Qt is running even though Opie is in fact running. (Perhaps the dependency to qpe-base that I force-depends on?)
Thanks,
--Storm