Dependency issues on Kubuntu 10.04

If you have problems installing or running Algodoo, have found a bug or need in-game help - this is it!

Dependency issues on Kubuntu 10.04

Postby Passiday » Mon Oct 04, 2010 11:24 pm

Hello,

Me and my kids have been keen users of phun, and now looking forward to purchase Algodoo. But I can't make it run on my Linux:

Kernel: Linux 2.6.32-25-generic (i686)
Distribution: Ubuntu 10.04.1 LTS

This is what happens, when trying to install from deb package:

Code: Select all
$ sudo dpkg -i Algodoo_1_8_0-Linux32.deb
Selecting previously deselected package algodoo.
(Reading database ... 212885 files and directories currently installed.)
Unpacking algodoo (from Algodoo_1_8_0-Linux32.deb) ...
dpkg: dependency problems prevent configuration of algodoo:
algodoo depends on libcv1; however:
  Package libcv1 is not installed.
algodoo depends on libcvaux1; however:
  Package libcvaux1 is not installed.
algodoo depends on libhighgui1; however:
  Package libhighgui1 is not installed.
dpkg: error processing algodoo (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
algodoo


This is what happens, when unpacking gz and running in terminal:

Code: Select all
$ ./algodoo
  There are missing dependencies.
  Please make sure that all the required libraries are installed.
  Missing:
        libcxcore.so.1 => not found
        libcv.so.1 => not found
        libhighgui.so.1 => not found


I couldn't find those libraries anywhere, maybe someone can give me some hint, how to fix this?
Passiday
 
Posts: 7
Joined: Mon Oct 04, 2010 11:07 pm

Re: Dependency issues on Kubuntu 10.04

Postby electronicboy » Tue Oct 05, 2010 12:06 am

all libraries should be on this site. Check the 10.04 lts for them and if there is a few missinf from that, work you way backwards through them
packages.ubuntu.com/
When asking for help, READ THE STICKIES!
electronicboy
 
Posts: 1694
Joined: Mon Aug 31, 2009 6:18 pm

Re: Dependency issues on Kubuntu 10.04

Postby Passiday » Sat Oct 16, 2010 11:00 pm

Ok, well I've got it running now.

Here's what I did:

Intalled two additional packages:
libhighgui4 (contains the missing libhighgui.so.*)
libvc4 (contains the missing libcv.so.* and libcxcore.so.*

Installing those packages gave me the following files in the /usr/lib directory:
/usr/lib/libcv.so.4.0.0
/usr/lib/libcxcore.so.4.0.0
/usr/lib/libhighgui.so.4.0.0

I went on and created the links to those libs in the lib subfolder of the Algodoo folder:
ln /usr/lib/libcv.so.4.0.0 ./libcv.so.1
ln /usr/lib/libcxcore.so.4.0.0 ./libcxcore.so.1
ln /usr/lib/libhighgui.so.4.0.0 ./libhighgui.so.1

I am not sure if there was shorter way how to fix this, but now the Algodoo runs fine. Well, who knows, maybe I'll run in some incompatibility problem later. After all, it was looking for version 1, not 4.

But, can someone, please, explain, is this hacking expected to be done by average Linux user? Or I happen to be on too exotic distribution that did not contain those libraries by default?

Passiday
Passiday
 
Posts: 7
Joined: Mon Oct 04, 2010 11:07 pm

Re: Dependency issues on Kubuntu 10.04

Postby electronicboy » Sun Oct 17, 2010 12:55 am

its your ubuntu distro.
Ubuntu has that repositry already enabled so synaptic is able to get them.
It appears that kubuntu doesn't have that repositry added by default.

Also, i think that algodoo would be able to get to the libs without the links (not sure though)
When asking for help, READ THE STICKIES!
electronicboy
 
Posts: 1694
Joined: Mon Aug 31, 2009 6:18 pm

Re: Dependency issues on Kubuntu 10.04

Postby Passiday » Sun Oct 17, 2010 10:49 am

Ok, I now tried installing Algoogoo on another Kubuntu PC:

- Algodoo did not run unless I created the /lib subfolder and made the links there
- Now I'm running into black-screen problem: upon running Algodoo, it shows it's window with big text "Loading" across it, and then kills X, throwing me in full-screen console-style mode (not sure what it is, there are some messages that resemble log, the last message before the Algodoo errors is "Checking battery state [Ok]").

The last messages on this screen apparently is caused by Algodoo crash:
[154.232013] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
[154.232077] render error detected, EIR: 0x00000000

I don't know how to exit from this mode back to X.

Any ideas what's happening there?

Passiday
Passiday
 
Posts: 7
Joined: Mon Oct 04, 2010 11:07 pm

Re: Dependency issues on Kubuntu 10.04

Postby electronicboy » Sun Oct 17, 2010 12:06 pm

it looks like x is having a error and crashing back to the console.

Type shutdown -? And is should show what to type in
for the time to count put NOW

If that doesn't work, typing alt will force linux to unload itself and shutdown the pc.
When asking for help, READ THE STICKIES!
electronicboy
 
Posts: 1694
Joined: Mon Aug 31, 2009 6:18 pm

Re: Dependency issues on Kubuntu 10.04

Postby bix » Sat Oct 23, 2010 7:09 pm

Working full time and having children, you do not want to spend two days trying to get a program to work under Linux. So, since this excellent piece of software is meant for children, I humbly suggest that you consider the fact that the average parent doesn't have time to waste a weekend on geek-activities like searching for weird packages and trying various cheats suggested on various forums. I therefore suggest that you make your dependencies on packages that are NOT out-of-date.

Using Linux Mint 9
Kernel Linux 2.6.32-21-generic
I have tried, AND FAILED, to:
1 rename new lib-files to old lib-files (yeah I know it's stupid), crash!
2 make links as suggested in this post, thus cheating to make new lib-files old, crash!
3 download the old lib-files as rpm-files (only thing I could find when Googling), using "alien" to make them deb-files (another cheat), install, run, crash!
3 run the windows-version of Algodoo under Wine, crash!
4 finally found the files actually needed in this forum-post http://www.algodoo.com/forum/viewtopic.php?f=11&t=2603, download, install, run, no error messages about dependencies but...crash!

Is there any way to make it work under Linux? Any suggestions? How many hours of geek-activities needed to make it run?
bix
 
Posts: 1
Joined: Sat Oct 23, 2010 6:34 pm


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 3 guests