Zzub music software

Crossplatform modular audio software

Skip to content

Trouble running Aldrin on Ubuntu 9.04

The second clone on the moon.

Re: Trouble running Aldrin on Ubuntu 9.04

Postby gimmeapill on Sun May 17, 2009 1:26 pm

Yep, thanks a lot for your work Victor
That was it for the most part, everything should install under dist-packages for python2.6.
I'm still struggling to build correct packages and current hg doesn't seem to work anyway(I have problems on Debian as well with python2.5).
gimmeapill
 
Posts: 30
Joined: Thu Jun 26, 2008 4:54 pm

Re: Trouble running Aldrin on Ubuntu 9.04

Postby gimmeapill on Sun May 17, 2009 1:58 pm

ok, done finally:
Code: Select all
deb http://www.pohunek.free.fr/aldrin-nightly-builds/ubuntu/9.04/ binary/
deb-src http://www.pohunek.free.fr/aldrin-nightly-builds/ubuntu/9.04/ source/

I applied all of Victor's fixes and corrected as well python-zzub, so now everything installs under /...python2.6/dist-packages.
But...I had to rollback aldrin to 20090329 (latest functional build for Ubuntu 8.10), as there's definitely something unholy with the latest hg.

Victor - can you have a look?
gimmeapill
 
Posts: 30
Joined: Thu Jun 26, 2008 4:54 pm

Re: Trouble running Aldrin on Ubuntu 9.04

Postby victor on Sun May 17, 2009 3:20 pm

I couldn't build debs from the armstron latest hg revision. I just copied the debian directory from the march package to the fresh hg revision, chaged the changelog, and tried to build with debuild -us -uc. It fails to install CustomLFO ( I attach the build log).

I could build the aldrin package from the latest revision, though, but there are several import errors that I fixed (see patch below). With the patch, aldrin runs and plays songs, but I haven't tested it thoroughly if there are more errors.

----patch begins here -----------
Code: Select all
diff -r 6491f2b5f1d9 src/components/parameterlinker.py
--- a/src/components/parameterlinker.py   Sat May 02 21:06:07 2009 +0200
+++ b/src/components/parameterlinker.py   Sun May 17 17:08:22 2009 +0200
@@ -26,13 +26,13 @@
import gobject
import cairo
import pangocairo
-from utils import prepstr, filepath, db2linear, linear2db, is_debug, filenameify, \
+from aldrin.utils import prepstr, filepath, db2linear, linear2db, is_debug, filenameify, \
   get_item_count, question, error, new_listview, add_scrollbars, get_clipboard_text, set_clipboard_text, \
   gettext, new_stock_image_button, diff, file_filter
import config
import zzub
import sys,os
-import common
+from aldrin import common
import aldrin.com as com

class ParameterLinkView(gtk.VBox):
diff -r 6491f2b5f1d9 src/components/presetbrowser.py
--- a/src/components/presetbrowser.py   Sat May 02 21:06:07 2009 +0200
+++ b/src/components/presetbrowser.py   Sun May 17 17:08:22 2009 +0200
@@ -26,14 +26,14 @@
import gobject
import cairo
import pangocairo
-from utils import prepstr, filepath, db2linear, linear2db, is_debug, filenameify, \
+from aldrin.utils import prepstr, filepath, db2linear, linear2db, is_debug, filenameify, \
   get_item_count, question, error, new_listview, add_scrollbars, get_clipboard_text, set_clipboard_text, \
   gettext, new_stock_image_button, diff, file_filter
import config
import zzub
import sys,os
-from preset import PresetCollection, Preset
-import common
+from aldrin.preset import PresetCollection, Preset
+from aldrin import common
import aldrin.com as com

class PresetView(gtk.VBox):
victor
 
Posts: 12
Joined: Thu May 14, 2009 7:57 am

Re: Trouble running Aldrin on Ubuntu 9.04

Postby victor on Sun May 17, 2009 3:29 pm

Sorry, of course it won't install CustomLFO, as it is not present in the hg repo.
I'm going to try with your sources.
victor
 
Posts: 12
Joined: Thu May 14, 2009 7:57 am

Re: Trouble running Aldrin on Ubuntu 9.04

Postby victor on Sun May 17, 2009 3:48 pm

I successfully built armstromg from your sources, I had to delete the .hg/ folder (I also deleted the .hgtags file though maybe it's not necessary). Aldrin runs fine with this revision. I attach my diff.
Attachments

armstrong_0.2.6+hg20090517-1.diff.gz
(33.49 KiB) Downloaded 48 times
victor
 
Posts: 12
Joined: Thu May 14, 2009 7:57 am

Re: Trouble running Aldrin on Ubuntu 9.04

Postby djauto23 on Mon May 18, 2009 8:48 am

Not quite there yet, it seems. When I try to load for example the demosong "paniq-knark", i get these messages:
Code: Select all
lunar: loading module '/tmp/b1c5234897d1dc8fe5468e7f097064fe42646fbc/panning.so'
lunar: error loading module '/tmp/b1c5234897d1dc8fe5468e7f097064fe42646fbc/panning.so': /tmp/b1c5234897d1dc8fe5468e7f097064fe42646fbc/panning.so: cannot open shared object file: No such file or directory
lunar: could not load module 'panning'.
ccm: couldn't find loader for @trac.zeitherrschaft.org/aldrin/lunar/effect/panning;1
ccm: storing data for @trac.zeitherrschaft.org/aldrin/lunar/effect/filter;1/filter.cpp
ccm: storing data for @trac.zeitherrschaft.org/aldrin/lunar/effect/filter;1/filter.h
ccm: storing data for @trac.zeitherrschaft.org/aldrin/lunar/effect/filter;1/manifest.xml
ccm: storing data for @trac.zeitherrschaft.org/aldrin/lunar/effect/filter;1/svf.h
ccm: searching for loader for @trac.zeitherrschaft.org/aldrin/lunar/effect/filter;1
lunar: searching for '@trac.zeitherrschaft.org/aldrin/lunar/effect/filter;1' in archive
lunar: building info for '@trac.zeitherrschaft.org/aldrin/lunar/effect/filter;1'.
lunar: loading module '/tmp/b8452260237ee71e8fef524b8b84975c2a152f0c/filter.so'
lunar: error loading module '/tmp/b8452260237ee71e8fef524b8b84975c2a152f0c/filter.so': /tmp/b8452260237ee71e8fef524b8b84975c2a152f0c/filter.so: cannot open shared object file: No such file or directory
lunar: could not load module 'filter'.
ccm: couldn't find loader for @trac.zeitherrschaft.org/aldrin/lunar/effect/filter;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/generator/synth;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/generator/kick;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/effect/reverb;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/effect/gain;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/effect/gain;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/generator/synth;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/effect/delay;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/effect/reverb;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/effect/panning;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/effect/gain;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/effect/gain;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/effect/filter;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/effect/gain;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/effect/panning;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/effect/panning;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/effect/panning;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/effect/gain;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/effect/gain;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/effect/gain;1
ccm: unable to find loader for uri @trac.zeitherrschaft.org/aldrin/lunar/effect/gain;1

AFAICT none of these plugins are available in aldrin as I load it. I tried to look at /etc/aldrin/path.cfg, but all I found suspicious was this line:
Code: Select all
site_packages = /home/gimmeapill/Software/Aldrin/packaging_aldrin/aldrin/debian/aldrin/usr/lib/python2.6/dist-packages

Which I changed to:
Code: Select all
site_packages = /usr/lib/python2.6/dist-packages


But it didn't make any difference. This is for the packages from the repository posted by gimmeapill. Any ideas/suggestions would be appreciated.
djauto23
 
Posts: 6
Joined: Thu Oct 02, 2008 11:31 am

Re: Trouble running Aldrin on Ubuntu 9.04

Postby gimmeapill on Mon May 18, 2009 10:55 am

hmm, crap - I'll fix it ASAP (as soon as I figure out what could possibly go wrong...)

Thx for the report!

In the meantime, I can only suggest you to try Victor's packages
gimmeapill
 
Posts: 30
Joined: Thu Jun 26, 2008 4:54 pm

Re: Trouble running Aldrin on Ubuntu 9.04

Postby victor on Mon May 18, 2009 11:49 am

This was hard to debug. The problem is that the lunar plugin path is hardcoded in liblunar.so. When building the packages DESTDIR is set to the debian build directory, and this value is passed to the compiler, so liblunar.so tries to find lunar plugins in the debian build directory. As gimmeapill and me had build directories as we built the packages lunar plugins are loaded alright, but if I delete this dir, lunar plugins are not found by liblunar.so.

I attach a patch that omits passing DESTDIR to the compiler when liblunar.so is built. Now lunar plugins are found by liblunar.so. This is ugly, as it is recommended not to modify the sources in order to build debian packages, so if you find a better way to fix this tell me.

The wrong site-packages path in /etc/aldrin/path.cfg does not affect aldrin (it does not in my system), and I think it can be ignored, though I can try to fix the SConstruct script so this path is correct.

Hope now we can build correct packages.

Code: Select all
--- armstrong-0.2.6+hg20090517.orig/src/plugins/lunar/SConscript
+++ armstrong-0.2.6+hg20090517/src/plugins/lunar/SConscript
@@ -58,7 +58,9 @@
      ])
   pluginenv.Append(CCFLAGS=[
      '-DZZUB_SHARE_DIR_PATH="\\"%s\\""' % str(pluginenv.Dir("${DESTDIR}${PREFIX}/share/zzub")),
-      '-DZZUB_LIB_DIR_PATH="\\"%s\\""' % str(pluginenv.Dir("${DESTDIR}${PREFIX}${LIBDIR}/zzub")),
+#       Fixes installation in Ubuntu
+      '-DZZUB_LIB_DIR_PATH="\\"%s\\""' % str(pluginenv.Dir("${PREFIX}${LIBDIR}/zzub")),
+#      '-DZZUB_LIB_DIR_PATH="\\"%s\\""' % str(pluginenv.Dir("${DESTDIR}${PREFIX}${LIBDIR}/zzub")),
      '-DSHLIBSUFFIX="\\"%s\\""' % pluginenv['SHLIBSUFFIX'],
      '-DUSE_LUNAR',
   ])
victor
 
Posts: 12
Joined: Thu May 14, 2009 7:57 am

Re: Trouble running Aldrin on Ubuntu 9.04

Postby gimmeapill on Mon May 18, 2009 8:15 pm

ok, new packages built with Victor's latest patch - I hope they work this time, because it's starting to get really messy...
gimmeapill
 
Posts: 30
Joined: Thu Jun 26, 2008 4:54 pm

Re: Trouble running Aldrin on Ubuntu 9.04

Postby djauto23 on Tue May 19, 2009 9:36 am

Thanks a whole lot! Now it finally works! :D
djauto23
 
Posts: 6
Joined: Thu Oct 02, 2008 11:31 am

Previous



Return to Aldrin

Who is online

Users browsing this forum: No registered users and 1 guest


cron