Announcement

Collapse
No announcement yet.

compiling Rosegarden-1.2.4 with scons

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    compiling Rosegarden-1.2.4 with scons

    I'm tearing my hair out: I'd really like a MIDI (and audio would be great) sequencer, and Rosegarden seems to fit the bill. It's not available through any of the normal repositories (as far as i know -- please, please, _please_ correct me if I'm wrong) so I'm compiling from source.

    the readme instructs:
    scons configure
    scons
    scons install

    (scons being a replacement for make, which I have installed)
    the configure I have got to work (with some extra options). the next step, the scons (what should I call that?), does a hell of a lot of compiling before finally spitting the dummy. I get warnings about deprecated functions, conversions between variable types, and a few like this:
    Code:
    gui/trackeditor.cpp:461: warning: passing 'double' for argument 1 to 'void CompositionView::setPointerPos(int)'
    , but as far as I can tell, the major dummy-spit is at the end, as follows:
    Code:
    ranlib RGbuild/sound/libRosegardenSound.a
    ar: creating RGbuild/sound/libRosegardenSound.a
    g++ -Wl,--rpath=/usr/lib/qt3//lib -Wl,--rpath=/usr/lib -Wl,--rpath=/usr/lib/kde3 -lasound -lm -ldl -lpthread -ljack -L/usr/local/lib -llo -lXft -lXrender -lfontconfig -lfreetype -lz -lX11 -llrdf -llirc_client -o RGbuild/gui/rosegarden RGbuild/gui/audiocommands.o RGbuild/gui/audiomanagerdialog.o RGbuild/gui/audioplugindialog.o RGbuild/gui/audiopluginmanager.o RGbuild/gui/audiopluginoscgui.o RGbuild/gui/audiopreviewthread.o RGbuild/gui/audiopreviewupdater.o RGbuild/gui/audiosynthmanager.o RGbuild/gui/bankeditor.o RGbuild/gui/barbuttons.o RGbuild/gui/basiccommand.o RGbuild/gui/chordnameruler.o
    and so on, several lines omitted for brevity's sake....
    Code:
    RGbuild/gui/velocitycolour.o RGbuild/gui/vumeter.o RGbuild/gui/widgets.o RGbuild/gui/xmlstorableevent.o RGbuild/gui/lircclient.o RGbuild/gui/lirccommander.o -LRGbuild/base -Lbase -LRGbuild/sound -Lsound -L/usr/X11R6/lib -L/usr/lib -L/usr/lib/qt3/lib -lqt-mt -lkdeui -lkdecore -lkdeprint -lkio -lXft -lRosegardenSequencer -lRosegardenSound -lbase
    RGbuild/gui/audiopluginoscgui.o: In function `AudioPluginOSCGUIManager::checkOSCThread()':audiopluginoscgui.cpp:(.text+0x562): undefined reference to `lo_server_thread_new'
    :audiopluginoscgui.cpp:(.text+0x589): undefined reference to `lo_server_thread_add_method'
    :audiopluginoscgui.cpp:(.text+0x594): undefined reference to `lo_server_thread_start'
    :audiopluginoscgui.cpp:(.text+0x59f): undefined reference to `lo_server_thread_get_url'
    RGbuild/gui/audiopluginoscgui.o: In function `AudioPluginOSCGUI::setGUIUrl(QString)':audiopluginoscgui.cpp:(.text+0x60b): undefined reference to `lo_address_free'
    :audiopluginoscgui.cpp:(.text+0x61b): undefined reference to `lo_url_get_hostname'
    :audiopluginoscgui.cpp:(.text+0x62d): undefined reference to `lo_url_get_port'
    :audiopluginoscgui.cpp:(.text+0x63b): undefined reference to `lo_address_new'
    :audiopluginoscgui.cpp:(.text+0x661): undefined reference to `lo_url_get_path'
    RGbuild/gui/audiopluginoscgui.o: In function `AudioPluginOSCGUIManager::getOSCUrl(unsigned int, int, QString)':audiopluginoscgui.cpp:(.text+0xf93): undefined reference to `lo_server_thread_get_url'
    RGbuild/gui/audiopluginoscgui.o: In function `AudioPluginOSCGUI::show()':audiopluginoscgui.cpp:(.text+0x15c8): undefined reference to `lo_send_internal'
    RGbuild/gui/audiopluginoscgui.o: In function `AudioPluginOSCGUI::hide()':audiopluginoscgui.cpp:(.text+0x16e8): undefined reference to `lo_send_internal'
    RGbuild/gui/audiopluginoscgui.o: In function `AudioPluginOSCGUI::quit()':audiopluginoscgui.cpp:(.text+0x1808): undefined reference to `lo_send_internal'
    RGbuild/gui/audiopluginoscgui.o: In function `AudioPluginOSCGUI::sendProgram(int, int)':audiopluginoscgui.cpp:(.text+0x1b3c): undefined reference to `lo_send_internal'
    RGbuild/gui/audiopluginoscgui.o: In function `AudioPluginOSCGUI::sendPortValue(int, float)':audiopluginoscgui.cpp:(.text+0x1c6a): undefined reference to `lo_send_internal'
    RGbuild/gui/audiopluginoscgui.o:audiopluginoscgui.cpp:(.text+0x1f29): more undefined references to `lo_send_internal' follow
    collect2: ld returned 1 exit status
    scons: *** [RGbuild/gui/rosegarden] Error 1
    scons: building terminated because of errors.
    Sorry to bombard with code; I don't know what's relevant and what's not. There's over 1000 lines of output when I actually run it. It looks to me like I'm missing something that the configure didn't pick up on, but I really don't have a clue what it is or if I'm right . Any ideas?

    #2
    Re: compiling Rosegarden-1.2.4 with scons

    Fortunately, I don't have to read all that stuff. All I have to do is to tell you to activate the "universe" repositories, which you can do by removing a # sign in the /etc/apt/sources.list file. Then you have to update your package files in Synaptic, Adept (if you must) or Apt-get and make the choice between Rosegarden4 and Rosegarden2 (both of which are available).

    Comment


      #3
      Re: compiling Rosegarden-1.2.4 with scons

      Hi askrieger -- turns out I was missing the liblo dev files (thanks Pedro on the Rosegarden-user mailing list for "reading all that" ). So: I finally had a successful compile last night, booted up Rosegarden and thought "Hm. This looks slightly challenging" and so read the tutorial.... uh-oh. Not sure if MIDI is going to work properly -- all the documentation seems to imply I need either an Emu10k1 or an AWE32 (or something) soundcard, I have a SiS something-or-other....

      But: question: I'm still a bit hazy on exactly how the whole repositories thing works; I've had a look at https://help.ubuntu.com/kubuntu/desk...ositories.html but that doesn't explain everything,
      e.g. how are the lines

      deb http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
      deb-src http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

      different to having

      deb http://archive.ubuntu.com/ubuntu dapper-backports main
      deb-src http://archive.ubuntu.com/ubuntu dapper-backports main
      deb http://archive.ubuntu.com/ubuntu dapper-backports restricted
      deb-src http://archive.ubuntu.com/ubuntu dapper-backports restricted
      and so on (i.e. list main, restricted, universe, multiverse separately)?

      At any rate, I uncommented my universe repositories and the new rosegarden is still not there. (sources.list copied below... does it look depleted to you? the only edits I've done are uncommented the backports universe lines and the stuff down the bottom) Is there a way to get more information about the status of packages on the ubuntu "tree"?



      ## Automatix sources.list
      ## This is automatically generated by Automatix


      ####################################
      ### Official Ubuntu Repositories ###
      ####################################

      # Dapper Final Release Repository
      deb http://archive.ubuntu.com/ubuntu dapper main
      deb-src http://archive.ubuntu.com/ubuntu dapper main

      deb http://archive.ubuntu.com/ubuntu dapper restricted
      deb-src http://archive.ubuntu.com/ubuntu dapper restricted

      deb http://archive.ubuntu.com/ubuntu dapper universe
      deb-src http://archive.ubuntu.com/ubuntu dapper universe

      deb http://archive.ubuntu.com/ubuntu dapper multiverse
      deb-src http://archive.ubuntu.com/ubuntu dapper multiverse

      # Dapper Security Updates
      deb http://archive.ubuntu.com/ubuntu dapper-security main
      deb-src http://archive.ubuntu.com/ubuntu dapper-security main

      deb http://archive.ubuntu.com/ubuntu dapper-security restricted
      deb-src http://archive.ubuntu.com/ubuntu dapper-security restricted

      deb http://archive.ubuntu.com/ubuntu dapper-security universe
      deb-src http://archive.ubuntu.com/ubuntu dapper-security universe

      deb http://archive.ubuntu.com/ubuntu dapper-security multiverse
      deb-src http://archive.ubuntu.com/ubuntu dapper-security multiverse

      # Dapper Bugfix Updates
      deb http://archive.ubuntu.com/ubuntu dapper-updates main
      deb-src http://archive.ubuntu.com/ubuntu dapper-updates main

      deb http://archive.ubuntu.com/ubuntu dapper-updates restricted
      deb-src http://archive.ubuntu.com/ubuntu dapper-updates restricted

      deb http://archive.ubuntu.com/ubuntu dapper-updates universe
      deb-src http://archive.ubuntu.com/ubuntu dapper-updates universe

      deb http://archive.ubuntu.com/ubuntu dapper-updates multiverse
      deb-src http://archive.ubuntu.com/ubuntu dapper-updates multiverse

      # Dapper Backports (new software versions, provided by the Ubuntu Backports Project)
      #deb http://archive.ubuntu.com/ubuntu dapper-backports main
      #deb-src http://archive.ubuntu.com/ubuntu dapper-backports main

      #deb http://archive.ubuntu.com/ubuntu dapper-backports restricted
      #deb-src http://archive.ubuntu.com/ubuntu dapper-backports restricted

      deb http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
      deb-src http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

      deb http://archive.ubuntu.com/ubuntu dapper-backports universe
      deb-src http://archive.ubuntu.com/ubuntu dapper-backports universe

      #deb http://archive.ubuntu.com/ubuntu dapper-backports multiverse
      #deb-src http://archive.ubuntu.com/ubuntu dapper-backports multiverse

      deb http://archive.canonical.com/ubuntu dapper-commercial main


      ##############################
      ### Automatix Repositories ###
      ##############################

      deb http://www.beerorkid.com/automatix/apt kubuntu main

      ## created by automatixrepo2

      ##############################
      ###Repositories added by me because I need some bloody software!
      ##############################

      # This should get kde devel libraries and modules?
      # see http://kubuntuforums.net/forums/index.php?topic=7159.0
      deb http://kubuntu.org/packages/kde-latest/ dapper main

      # http://kubuntuforums.net/forums/index.php?topic=7352.0
      # deb http://www.debian-multimedia.org/ sarge main

      Comment


        #4
        Re: compiling Rosegarden-1.2.4 with scons

        To learn about installing software READ THIS.

        You should have found have found Rosegarden in the package list after activating the universe repos and updating your package list. It's certainly there in my package list.

        Comment


          #5
          Re: compiling Rosegarden-1.2.4 with scons

          Can I view the repository lists somewhere like you can with gentoo (http://packages.gentoo.org)?

          Yes, Rosegarden is available through Adept; but (even after I run an update) it looks like an _old_ version that I don't want. The new version does not seem to be available on the universe repositories. It has not even made it onto the gentoo repositories (http://packages.gentoo.org). The version that is on the ubuntu repositories is 1.0 or 1.2, I think. (see attached snapshot of info adept gives about rosegarden)

          Thanks for the link to the ubuntu guide; however it didn't tell me anything I didn't already know. I would still like to understand the syntax of repository lists, and to know if it is weird to have both

          deb http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
          deb-src http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

          and

          deb http://archive.ubuntu.com/ubuntu dapper-backports universe
          deb-src http://archive.ubuntu.com/ubuntu dapper-backports universe

          seeing as the first two lines seem to have universe covered?
          Attached Files

          Comment


            #6
            Re: compiling Rosegarden-1.2.4 with scons

            Can I view the repository lists somewhere like you can with gentoo (http://packages.gentoo.org)?
            Yes. It's called (curiously, enough) http://packages.ubuntu.com/

            You can find an extensive tutorial on repositories by starting here and follwing the links.

            You are absolutely correct that you don't need both "universe multiverse" and "universe" lines (unless they refer to different websites). Moreover, at this point in time, I don't think there's anything in the backports repositories, at all. (I may be wrong, though.) You do need lines like
            Code:
            deb [url]http://archive.ubuntu.com/ubuntu[/url] dapper universe multiverse
            deb-src [url]http://archive.ubuntu.com/ubuntu[/url] dapper universe multiverse
            You should also get rid of the lines added by Automatix, they will only cause you pain after the initial install of restricted packages. Also, you don't need the deb-src lines either, unless you like to read code, as I do, or you plan to compile something for yourself.

            Comment


              #7
              Re: compiling Rosegarden-1.2.4 with scons

              Thankyou! it does help

              From what i can tell you're right, there's nothing in the backports.

              I do like to read code. Can't really write it but. oh well .

              Comment

              Working...
              X