Reply
Thread Tools
Posts: 238 | Thanked: 131 times | Joined on May 2011 @ Bulgaria
#181
Hi Marmistrz I just tried that game but the game start to load and then crash.When i check it my root directory i had the that folder .tuxracer but what to do with that folder,maybe i shoud try to download those "TRWC-data files" or not,any ideas
regards
/opt/meecolay # dpkg -x /opt/Tuxrace_1.0.1_N9FanClub.com.deb /opt/meecolay/
/opt/meecolay # meecolay opt/tuxrace/bin/tuxracer
Based on Tux Rider World Challenge -- http://www.barlow-server.com
a fork from:
Tux Racer 1.0.0 -- a Sunspire Studios Production (http://www.sunspirestudios.com)
(c) 1999-2000 Jasmin F. Patry <jfpatry@sunspirestudios.com>
"Tux Racer" is a trademark of Jasmin F. Patry
Tux Rider World Challenge comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
See http://www.gnu.org/copyleft/gpl.html for details.

*** tuxracer error: Can't find the tuxracer data directory. Please check the
value of `data_dir' in ~/.tuxracer/options and set it to the location where you
installed the TRWC-data files.

Couldn't chdir to /opt/tuxrace/share (No such file or directory)
/opt/meecolay #

Last edited by disappear; 2012-06-25 at 11:07.
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#182
Originally Posted by disappear View Post
Hi Marmistrz I just tried that game but the game start to load and then crash.When i check it my root directory i had the that folder .tuxracer but what to do with that folder,maybe i shoud try to download those "TRWC-data files" or not,any ideas
regards
*Never* use root for running apps if it's not necessary. Such problems as with ripoff or tuxrace are common if you run as root. Btw. tuxrace is afaik in the repos. Ripoff has some texture problems, and I don't know how to fix it. (screenshot soon)
Btw. tuxrace seems to have a hardcoded path, so you can't just dpkg -x it anywhere you want.


Originally Posted by amr.fayz View Post
Found the solution. You have to do it like desribed here:

http://www.developer.nokia.com/Commu...ation_on_Maemo

apt-get install libqtm-12


For Qt to know which mobility version to use, you will need to specify the following

maemo5 {
CONFIG += mobility12
} else {
CONFIG += mobility
}
But the LD_LIBRARY_PATH points to /opt/qtm12/lib in meecolay. So why isn't the qml-12's location module not used.
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following 2 Users Say Thank You to marmistrz For This Useful Post:
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#183
Originally Posted by disappear View Post
Hi Marmistrz I just tried that game but the game start to load and then crash.When i check it my root directory i had the that folder .tuxracer but what to do with that folder,maybe i shoud try to download those "TRWC-data files" or not,any ideas
regards
Tuxracer is, as marmistrz wrote, ported to Fremantle and can be found in Extras repository under name Tuxrace (without "r" at the end). It even supports turning using accelerometer Why did you try to run Harmattan version?
 
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#184
Originally Posted by marmistrz View Post
But the LD_LIBRARY_PATH points to /opt/qtm12/lib in meecolay. So why isn't the qml-12's location module not used.
What does "ldd /path/to/executable" say? [warning noob with very little knowledge about linking]maybe the binary has e.g. /opt/qtm/lib path hardcoded? (or any other path that the "old" qml modules are placed at?) I'm not sure now, but I thik I remember we could hardcode the path to libraries on compile time...[/warning]
 
Posts: 238 | Thanked: 131 times | Joined on May 2011 @ Bulgaria
#185
Originally Posted by misiak
Tuxracer is, as marmistrz wrote, ported to Fremantle and can be found in Extras repository under name Tuxrace (without "r" at the end). It even supports turning using accelerometer Why did you try to run Harmattan version?
Hi just for fun,by the way i make some changes but yet i can't run that game,here result from console
regards
home/user # chmod +x /opt/tuxrace/bin/tuxracer
/home/user # meecolay /opt/tuxrace/bin/tuxracer
Based on Tux Rider World Challenge -- http://www.barlow-server.com
a fork from:
Tux Racer 1.0.0 -- a Sunspire Studios Production (http://www.sunspirestudios.com)
(c) 1999-2000 Jasmin F. Patry <jfpatry@sunspirestudios.com>
<"Tux Racer" is a trademark of Jasmin F. Patry
Tux Rider World Challenge comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
See http://www.gnu.org/copyleft/gpl.html for details.

Segmentation fault
 
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#186
Originally Posted by amr.fayz
What does "ldd /path/to/executable" say?
This is list of used libraries
Code:
ldd MyRoutes 
        libQtLocation.so.1 => /usr/lib/libQtLocation.so.1 (0x40025000)
        libQtDeclarative.so.4 => /usr/lib/libQtDeclarative.so.4 (0x4005b000)
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x4046a000)
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x40e85000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4112e000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4114e000)
        libm.so.6 => /lib/libm.so.6 (0x4121c000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x41292000)
        libc.so.6 => /lib/libc.so.6 (0x412a4000)
        liblocation.so.0 => /usr/lib/liblocation.so.0 (0x413c9000)
        libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0x413d9000)
        libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0x413fd000)
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x41420000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x4145d000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x4149e000)
        libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0x4157a000)
        libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x4160d000)
        libQtScript.so.4 => /usr/lib/libQtScript.so.4 (0x4165b000)
        libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0x418fb000)
        libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0x4195e000)
        libQtXmlPatterns.so.4 => /usr/lib/libQtXmlPatterns.so.4 (0x419a2000)
        libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x41eda000)
        librt.so.1 => /lib/librt.so.1 (0x42024000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x42033000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x4203f000)
        libz.so.1 => /usr/lib/libz.so.1 (0x42067000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4207f000)
        libEGL.so => /usr/lib/libEGL.so (0x420f2000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x420fc000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x4210b000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x42129000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x42139000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x42162000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x42179000)
        libdl.so.2 => /lib/libdl.so.2 (0x42268000)
        /lib/ld-linux.so.3 (0x40000000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x42273000)
        libIMGegl.so => /usr/lib/libIMGegl.so (0x4227e000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x42293000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x422b9000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x422c3000)
        libsrv_um.so => /usr/lib/libsrv_um.so (0x422cf000)
It is not using /opt/qtm12/lib/libQtLocation.so.1.2.1, but /opt/lib/libQtLocation.so.1.0.2.
LD_LIBRARY_PATH is not changing it, so seems it is hard coded to the binary.
 

The Following User Says Thank You to AapoRantalainen For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#187
Originally Posted by AapoRantalainen View Post
This is list of used libraries
Code:
ldd MyRoutes 
        libQtLocation.so.1 => /usr/lib/libQtLocation.so.1 (0x40025000)
        libQtDeclarative.so.4 => /usr/lib/libQtDeclarative.so.4 (0x4005b000)
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x4046a000)
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x40e85000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4112e000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4114e000)
        libm.so.6 => /lib/libm.so.6 (0x4121c000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x41292000)
        libc.so.6 => /lib/libc.so.6 (0x412a4000)
        liblocation.so.0 => /usr/lib/liblocation.so.0 (0x413c9000)
        libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0x413d9000)
        libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0x413fd000)
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x41420000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x4145d000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x4149e000)
        libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0x4157a000)
        libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x4160d000)
        libQtScript.so.4 => /usr/lib/libQtScript.so.4 (0x4165b000)
        libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0x418fb000)
        libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0x4195e000)
        libQtXmlPatterns.so.4 => /usr/lib/libQtXmlPatterns.so.4 (0x419a2000)
        libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x41eda000)
        librt.so.1 => /lib/librt.so.1 (0x42024000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x42033000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x4203f000)
        libz.so.1 => /usr/lib/libz.so.1 (0x42067000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4207f000)
        libEGL.so => /usr/lib/libEGL.so (0x420f2000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x420fc000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x4210b000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x42129000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x42139000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x42162000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x42179000)
        libdl.so.2 => /lib/libdl.so.2 (0x42268000)
        /lib/ld-linux.so.3 (0x40000000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x42273000)
        libIMGegl.so => /usr/lib/libIMGegl.so (0x4227e000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x42293000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x422b9000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x422c3000)
        libsrv_um.so => /usr/lib/libsrv_um.so (0x422cf000)
It is not using /opt/qtm12/lib/libQtLocation.so.1.2.1, but /opt/lib/libQtLocation.so.1.0.2.
LD_LIBRARY_PATH is not changing it, so seems it is hard coded to the binary.
Try
Code:
meecolay ldd MyRoutes
Or are u runnning this in meecolay shell?
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following 2 Users Say Thank You to marmistrz For This Useful Post:
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#188
Originally Posted by AapoRantalainen View Post
This is list of used libraries
Code:
ldd MyRoutes 
        libQtLocation.so.1 => /usr/lib/libQtLocation.so.1 (0x40025000)
        libQtDeclarative.so.4 => /usr/lib/libQtDeclarative.so.4 (0x4005b000)
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x4046a000)
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x40e85000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4112e000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4114e000)
        libm.so.6 => /lib/libm.so.6 (0x4121c000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x41292000)
        libc.so.6 => /lib/libc.so.6 (0x412a4000)
        liblocation.so.0 => /usr/lib/liblocation.so.0 (0x413c9000)
        libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0x413d9000)
        libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0x413fd000)
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x41420000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x4145d000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x4149e000)
        libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0x4157a000)
        libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x4160d000)
        libQtScript.so.4 => /usr/lib/libQtScript.so.4 (0x4165b000)
        libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0x418fb000)
        libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0x4195e000)
        libQtXmlPatterns.so.4 => /usr/lib/libQtXmlPatterns.so.4 (0x419a2000)
        libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x41eda000)
        librt.so.1 => /lib/librt.so.1 (0x42024000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x42033000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x4203f000)
        libz.so.1 => /usr/lib/libz.so.1 (0x42067000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4207f000)
        libEGL.so => /usr/lib/libEGL.so (0x420f2000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x420fc000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x4210b000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x42129000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x42139000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x42162000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x42179000)
        libdl.so.2 => /lib/libdl.so.2 (0x42268000)
        /lib/ld-linux.so.3 (0x40000000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x42273000)
        libIMGegl.so => /usr/lib/libIMGegl.so (0x4227e000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x42293000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x422b9000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x422c3000)
        libsrv_um.so => /usr/lib/libsrv_um.so (0x422cf000)
It is not using /opt/qtm12/lib/libQtLocation.so.1.2.1, but /opt/lib/libQtLocation.so.1.0.2.
LD_LIBRARY_PATH is not changing it, so seems it is hard coded to the binary.
I knew it ever used dlopen in Linux? I guess it can take both "library.so" and "/full/absolute/path/to/library.so.version" strings, I think we've just discoveres which options is used in this app (and maybe more apps, maybe it's even somewhere inside our version of Qt - if i have more time, i will grep Fremantle's Qt sources for "dlopen" function calls and see if it's there).
 

The Following User Says Thank You to misiak For This Useful Post:
Posts: 372 | Thanked: 61 times | Joined on Jan 2012
#189
is it possible (or near future) to have a seperate repository for meego apps which can be run in N900. dependency are meecolay and all the libs.?
 
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#190
Originally Posted by marmistrz View Post
Try
Code:
meecolay ldd MyRoutes
Only difference is place of libstdc++.so:

Code:
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x412dd000)
libstdc++.so.6 => /opt/meecolay/lib/libstdc++.so.6 (0x40025000)
 
Reply

Tags
compatibility, harmattan, meecolay, meego, mee_env


 
Forum Jump


All times are GMT. The time now is 07:28.