Make Release - Installing tar.bz2 Program

Archived topics about LMDE 1
Forum rules
guimaster
Level 2
Level 2
Posts: 93
Joined: Sat Nov 20, 2010 2:16 am

Make Release - Installing tar.bz2 Program

Postby guimaster » Tue Jan 03, 2012 4:09 pm

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!

User avatar
xenopeek
Level 23
Level 23
Posts: 19031
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Make Release - Installing tar.bz2 Program

Postby xenopeek » Tue Jan 03, 2012 5:15 pm

Moved here by moderator
Image

User avatar
rich_roast
Level 6
Level 6
Posts: 1131
Joined: Sat Sep 05, 2009 4:37 pm

Re: Make Release - Installing tar.bz2 Program

Postby rich_roast » Wed Jan 04, 2012 4:16 pm

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"?

User avatar
DrHu
Level 17
Level 17
Posts: 7563
Joined: Wed Jun 17, 2009 8:20 pm

Re: Make Release - Installing tar.bz2 Program

Postby DrHu » Wed Jan 04, 2012 5:49 pm

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
viewtopic.php?f=90&t=9234&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

whirly
Level 2
Level 2
Posts: 68
Joined: Tue Jul 05, 2011 7:20 pm

Re: Make Release - Installing tar.bz2 Program

Postby whirly » Wed Jan 04, 2012 10:12 pm

sourceforge has a .deb

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

hope that's helpful
i get trouble with tars too

guimaster
Level 2
Level 2
Posts: 93
Joined: Sat Nov 20, 2010 2:16 am

Re: Make Release - Installing tar.bz2 Program

Postby guimaster » Wed Jan 18, 2012 2:19 am

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.

secipolla
Level 4
Level 4
Posts: 356
Joined: Sun Sep 05, 2010 5:19 pm

Re: Make Release - Installing tar.bz2 Program

Postby secipolla » Wed Jan 18, 2012 1:34 pm

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 ).


Return to “Archive”

Who is online

Users browsing this forum: No registered users and 0 guests