LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 12-29-2006, 09:05 PM   #1
bottled leaf
Member
 
Registered: Feb 2004
Distribution: opensuse 11.3 x64
Posts: 98

Rep: Reputation: 15
Need assistance installing TuxGuitar


I need some help installing TuxGuitar.
I extracted it but im not sure what the readme means when it says
Code:
$mv TuxGuitar-* /home/*/install_dir
Any help is appreciated.
 
Old 12-29-2006, 09:20 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
The /home/*/install_dir bit refers to where you've installed the software, e.g. /home/steve/tuxguitar. So you've be moving all of the files with names that start with TuxGuitar- to that directory.
 
Old 12-29-2006, 11:10 PM   #3
bottled leaf
Member
 
Registered: Feb 2004
Distribution: opensuse 11.3 x64
Posts: 98

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by gilead
The /home/*/install_dir bit refers to where you've installed the software, e.g. /home/steve/tuxguitar. So you've be moving all of the files with names that start with TuxGuitar- to that directory.
im still a litle confused
there are no files that start with tuxguitar
all there is build-linux.xml, build properties, build.xml
and some folders

when i try to do make build
*** No rule to make target `build'. Stop.
 
Old 12-29-2006, 11:51 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
OK, I had a look at the archive and they're referring to moving the extracted directory. For example if you downloaded TuxGuitar-0.8-linux-gtk-x86.tar.gz and wanted it under /home/steve/apps, the commands would be:
Code:
$tar -zxf TuxGuitar-0.8-linux-gtk-x86.tar.gz
$mv TuxGuitar-0.8-linux-gtk-x86 /home/steve/apps
$/home/steve/apps/TuxGuitar-0.8-linux-gtk-x86/tuxguitar # The script is tuxguitar, not TuxGuitar
I hope that helps, I haven't tried to run it, just to get the syntax for installing it...
 
Old 12-30-2006, 01:22 AM   #5
bottled leaf
Member
 
Registered: Feb 2004
Distribution: opensuse 11.3 x64
Posts: 98

Original Poster
Rep: Reputation: 15
thank you!
after extracting and understand what the readme what telling (due to your help)
i ran in the console
Code:
 /home/usr/Tuxguitar/tuxguitar
and the program executed!!!
great
i dont think suse likes "$"
now is there a way i can make an icon to desktop so i dont have to type this everytime?
edit** sometimes linux just ends session randomly any ideas?

Last edited by bottled leaf; 01-09-2009 at 09:33 PM.
 
Old 12-30-2006, 10:49 AM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by bottled leaf
i dont think suse likes "$"
The "$" is meant to represent the user command prompt, and is not to be typed in. Also you may come across "#" which means the root prompt.
 
Old 12-30-2006, 01:09 PM   #7
bottled leaf
Member
 
Registered: Feb 2004
Distribution: opensuse 11.3 x64
Posts: 98

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dive
The "$" is meant to represent the user command prompt, and is not to be typed in. Also you may come across "#" which means the root prompt.
ah ok. i thought maybe it was something like that.
two new problems arose.
No sound in tuxguitar and since it runs off of java i need to install some java sound stuffs.
Next problem---im trying to install Kguitar (just uses MIDI sound and I installed that through yast) just to see which one is better and i use the configure make and make install commands. configure works but when i do make and make install i get an error
Code:
usr@linux-z5yk:~> su
Password:
linux-z5yk:/home/usr # cd /home/drummond/kguitar-0.5
linux-z5yk:/home/usr/kguitar-0.5 # make
make: *** No targets specified and no makefile found.  Stop.
linux-z5yk:/home/usr/kguitar-0.5 # make install
make: *** No rule to make target `install'.  Stop.
linux-z5yk:/home/usr/kguitar-0.5 #
still wondering about that end session issue also.

Last edited by bottled leaf; 01-09-2009 at 09:34 PM.
 
Old 12-30-2006, 02:10 PM   #8
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
On the TuxGuitar doc page they give the following advice for getting sound working (you'll have to change the paths to those used on your system):
Code:
Make sure, the package javax.sound is correctly implemented on your Java virtual machine. TuxGuitar is written under Sun Java(TM) Development Kit (JDK) 5.0, if you have installed more than one JVM in your system, you can use one of these environment vars:  JAVA or  JAVA_HOME and run TuxGuitar.

Export JAVA:
$export JAVA=/usr/lib/jvm/java-1.5.0-sun/bin/java
$/home/user/TuxGuitar-*/TuxGuitar

Export JAVA_HOME:
$export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
$/home/user/TuxGuitar-*/TuxGuitar
I haven't seen KGuitar, but if you're getting a "no makefile found" error, either there was a problem with configure, or you're running make from the wrong directory. Was there any output from the configure script?
 
Old 12-30-2006, 05:17 PM   #9
bottled leaf
Member
 
Registered: Feb 2004
Distribution: opensuse 11.3 x64
Posts: 98

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by gilead
On the TuxGuitar doc page they give the following advice for getting sound working (you'll have to change the paths to those used on your system):
I haven't seen KGuitar, but if you're getting a "no makefile found" error, either there was a problem with configure, or you're running make from the wrong directory. Was there any output from the configure script?
ok so i got the deluxe sound set for java and it says just extract to the audio directory which i found. so everything is cool. but i dont have permissions to write or modify. so i go into properties and change the permissions but i still cant move it. hmmm...
ok now on to kguitar, yes when i do ./configure there is an output (its long but at the end there is an error):
Code:
Password:
linux-z5yk:/home/usr # cd /home/usr/kguitar-0.5
linux-z5yk:/home/usr/kguitar-0.5 # ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /opt/kde3/bin/kde-config
checking where to install... /opt/kde3 (as returned by kde-config)
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fno-common... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -O0... yes
checking whether g++ supports --Wl,--warn-unresolved-symbols... no
not using lib directory suffix
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... :
checking if C++ programs can be compiled... yes
checking for strlcat... no
checking if strlcat needs custom prototype... yes - in libkdefakes
checking for strlcpy... no
checking if strlcpy needs custom prototype... yes - in libkdefakes
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... yes
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking sys/bitypes.h usability... yes
checking sys/bitypes.h presence... yes
checking for sys/bitypes.h... yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking for res_init... yes
checking if res_init needs custom prototype... no
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... (cached) yes
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
linux-z5yk:/home/usr/kguitar-0.5 #
so if there is no makefile how else do i install it? and how come there wasnt one made for me? but in the install directions it works for others?

Last edited by bottled leaf; 01-09-2009 at 09:36 PM.
 
Old 12-30-2006, 05:30 PM   #10
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Quote:
Originally Posted by bottled leaf
i dont have permissions to write or modify. so i go into properties and change the permissions but i still cant move it.
Can you give some more info here please? Do you mean you don't have write permissions for the location you want to move the files to? If the location is under your home directory that's unusual. Have you checked that your permissions are OK for the destination directory? Is there a fat32 file system mounted there instead of a native Linux filesystem?
Quote:
Originally Posted by bottled leaf
Code:
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
linux-z5yk:/home/drummond/kguitar-0.5 #
so if there is no makefile how else do i install it? and how come there wasnt one made for me? but in the install directions it works for others?
You don't have the required X files for the program to compile against. Someone here who uses Suse can tell you which packages you'll need to install to get the X includes. Once you have those, re-running configure should generate the makefile.
 
Old 12-30-2006, 06:26 PM   #11
bottled leaf
Member
 
Registered: Feb 2004
Distribution: opensuse 11.3 x64
Posts: 98

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by gilead
Can you give some more info here please? Do you mean you don't have write permissions for the location you want to move the files to? If the location is under your home directory that's unusual. Have you checked that your permissions are OK for the destination directory? Is there a fat32 file system mounted there instead of a native Linux filesystem?
First off, I am not dual booting windows so writing to an ntfs or fat32 is out of the question. No worries on that. My location of the java is not home. it is
Code:
/usr/lib/jvm/java-1.5.0-sun-1.5.0_update8/jre/lib/audio
ok. I have dont have the write permissions for the location i want to move the file soundbank.gm to the location i gave you.
it says access denied
could not write to ...blah blah locatiom

Quote:
Originally Posted by gilead
You don't have the required X files for the program to compile against. Someone here who uses Suse can tell you which packages you'll need to install to get the X includes. Once you have those, re-running configure should generate the makefile.
thanks. it is good to know it is not just me.
im kinda surprised suse didnt install those necessary packages.
but if you go to kguitar's web site http://kguitar.sourceforge.net/req.php
it has requirements and i installed those through yast. so what gives?
oh yeah thanks for all your help.

Last edited by bottled leaf; 12-30-2006 at 06:31 PM.
 
Old 12-30-2006, 06:57 PM   #12
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Quote:
Originally Posted by bottled leaf
I have dont have the write permissions for the location i want to move the file soundbank.gm to the location i gave you. it says access denied could not write to ...blah blah locatiom
If you're trying to move the files there as a normal user it won't work. Try using sudo to run the command (e.g. sudo mv /some/file /usr/lib/jvm/java-1.5.0-sun-1.5.0_update8/jre/lib/audio). Otherwise, you can su to root and then run the command.

About the kguitar requirements, somebody else here (a Suse user) will have to help with the required packages...
 
Old 12-30-2006, 08:06 PM   #13
bottled leaf
Member
 
Registered: Feb 2004
Distribution: opensuse 11.3 x64
Posts: 98

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by gilead
If you're trying to move the files there as a normal user it won't work. Try using sudo to run the command (e.g. sudo mv /some/file /usr/lib/jvm/java-1.5.0-sun-1.5.0_update8/jre/lib/audio). Otherwise, you can su to root and then run the command.
great! i moved it sucessfully...but i still dont have sound...grr
maybe just moving the file doesnt do it
Quote:
Originally Posted by gilead
About the kguitar requirements, somebody else here (a Suse user) will have to help with the required packages...
do you know anyone?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need assistance with installing application nepenthean Linux - Newbie 8 11-21-2005 04:47 PM
Assistance installing GNOME 2.10 swampdog2002 Linux - Software 1 07-25-2005 10:12 AM
Need assistance installing MS Sidewinder Force Feedback Pro in Debian/KDE cast55 Linux - Hardware 1 12-03-2004 11:34 AM
Need assistance spotslayer Linux - Software 1 11-18-2004 07:49 AM
To all Mandrake8.2 users who need assistance on installing NVIDIA drivers neo77777 Linux - Distributions 0 07-21-2002 08:23 PM


All times are GMT -5. The time now is 10:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration