Page 1 of 1

Make Release - Installing tar.bz2 Program

Posted: Tue Jan 03, 2012 4:09 pm
by guimaster
Greetings,

I am currently running LMDE and I am facing the age old problem that I have faced since I first installed Ubuntu back in 2008... Installing tar.bz programs. I suppose that I never asked for help in the past though, which is why I have never learned how to do it. The odd time things work out well and I am okay. But once again I have a problem.

I am attempting to install a program called MuseScore. The latest version for Debian is only available via the tar.bz2 download.

The instructions are as follows:

Code: Select all

Installation:
      - unpack source distribution
            tar xvofj mscore-x.x.x.tar.bz2

      - make
            cd mscore-x.x.x
            make release

      if something goes wrong, then remove the whole build subdirectory
      with "make clean" and start new with "make release"

      - install as root user
            sudo make install
Unpacking the file is a no-brainer, but when I type "make release" I get the following:

Code: Select all

if test ! -d build;                              \
         then                                          \
            mkdir build;                               \
            cd build;                                  \
            cmake -DCMAKE_BUILD_TYPE=RELEASE	       \
            	  -DCMAKE_INSTALL_PREFIX=""/usr/local"" \
            	   ../mscore; 			       \
            make lrelease;                             \
            make -j `grep -c processor /proc/cpuinfo`;                           \
         else                                          \
            echo "build directory does already exist, please remove first with 'make clean'"; \
         fi;
build directory does already exist, please remove first with 'make clean'
So then I type "make clean" and I get the following:

Code: Select all

rm -rf build
rm -rf win32build win32install
I wish I understood what all of the output meant...

Any help appreciated!

Re: Make Release - Installing tar.bz2 Program

Posted: Tue Jan 03, 2012 5:15 pm
by xenopeek
Moved here by moderator

Re: Make Release - Installing tar.bz2 Program

Posted: Wed Jan 04, 2012 4:16 pm
by rich_roast
80 odd Megabyte of download is dissuading from me personally downloading and trying the package but if the problem is as you say it is then it is an error with the makefiles that came with the archive. It looks as though instead of building the application it is instead sending output of itself to your terminal. By way of explanation of the rest that's going on, the idea of a build directory is to help ensure that the source files you downloaded remain pristine, and that if something should go wrong then you can start from scratch with no fuss just by removing the build directory (as what you can see explains). The developers must see fit to enforce this by preventing the "release" target from building anything if it finds the build directory (that's what that little snippet of code you can see is intended to do). The

Code: Select all

rm -rf
commands are run when you run the "clean" target with

Code: Select all

make clean
to remove said build directory.

But I don't understand why it would be printing some of the makefile to your terminal at all. Is that all it prints out when you do "make release"?

Re: Make Release - Installing tar.bz2 Program

Posted: Wed Jan 04, 2012 5:49 pm
by DrHu
Have you also installed the build essential package from Mint, so that you can compile installs onto your system
http://community.linuxmint.com/software ... -essential
http://forums.linuxmint.com/viewtopic.p ... 4&start=20


I might see if there is a deb (using gdebi utility) file or Ubuntu help on this one..
What this package also needs..
http://musescore.org/en/download

Code: Select all

Linux
    * Qt gui lib version 4.6 or newer MuseScore probably does not compile with older versions.
      Precompiled packages are often split into "runtime package" and "development package". You need to install both packages.
    * A recent X11 with freetype2 support and render extension (which gives antialiased screen fonts).
    * ALSA Version 1.0 or newer; this is only used for midi keyboard entry.
    * CMake 2.4.
    * lame (and libmp3lame-dev)
someone who compiles and installed this package..check their method.
http://musescore.org/en/developers-hand ... ubuntu-093

Re: Make Release - Installing tar.bz2 Program

Posted: Wed Jan 04, 2012 10:12 pm
by whirly
sourceforge has a .deb

http://sourceforge.net/projects/mscore/

hope that's helpful
i get trouble with tars too

Re: Make Release - Installing tar.bz2 Program

Posted: Wed Jan 18, 2012 2:19 am
by guimaster
Thanks for the responses everyone!

I am really beginning to wonder if I have the patience to learn Mint Debian. Just installing an Ubuntu/Mint compatible .Deb makes life so much easier. I want to learn but I am not sure that I am prepared to give the time commitment. Fiddling around with computers used to be more fun for me than it is now.

Re: Make Release - Installing tar.bz2 Program

Posted: Wed Jan 18, 2012 1:34 pm
by secipolla
You probably missed the first step: search it in the repo.

Code: Select all

apt-get install musescore
(in case the Mint repo doesn't have it, enable the Debian testing repo temporarily, update packages list, install musescore, disable Debian's repo and update package list again).

It's version 1.0 but version 1.1 should be soon in sid and then in testing (see http://bugs.debian.org/cgi-bin/bugrepor ... =655111#10 ).