LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-18-2005, 08:21 AM   #1
pujolasdf
Member
 
Registered: Feb 2005
Posts: 70

Rep: Reputation: 15
JACK driving me crazy...


Ok, what I am trying to do is to run Rosegarden-4 with full audio support (I get in the configuration window 'MIDI ok, no audio') so I've been lurking forums and pages to get some answers. It seems that I have to run JACK (I don't know much of this audio server) and that I have to install the AGNULA kernel modules for it to run. I'm running Suse 9.2 Pro and there are only packages for Redhat and Debian and I can't find the source code in their page, so what now? Moreover, when I downloaded JACK just to reinstall it in case I didn't have it installed (which is rather impossible, but just in case), I try to compile it but when I type ./configure I get this:

checking for gcc... gcc
checking for C compiler default output... 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 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 how to run the C++ preprocessor... g++ -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking whether QTDIR environment variable is set... /usr/lib/qt3
checking for Qt library... qt-mt
checking for Qt library version >= 3.1.1... yes
checking for qmake... /usr/lib/qt3/bin/qmake
checking for moc... /usr/lib/qt3/bin/moc
checking for uic... /usr/lib/qt3/bin/uic
checking for main in -lm... yes
checking for main in -lX11... yes
checking for main in -lXext... yes
checking for main in -lqt-mt... yes
checking for main in -ljack... no
configure: error: JACK library not found.

---> JACK library not found??? but when I type this...
linux:/home/gtubio/qjackctl-0.2.15a # whereis jack

I get this output, so I don't understand a thing
jack: /usr/lib/jack

Help, please! and thanks in advance!

PS: I'm using a viaxx (can't remember) integrated sound card in a A7V8X-X motherboard, from Asus.

Last edited by pujolasdf; 05-18-2005 at 08:22 AM.
 
Old 05-18-2005, 08:35 AM   #2
SpiderIRE
Member
 
Registered: Jan 2005
Distribution: FC (Planet CCRMA Kernel)
Posts: 81

Rep: Reputation: 15
this should help:

http://ccrma.stanford.edu/planetccrma/software/

everthing u need to know about jack should be found on this site somewhere!

-David
 
Old 05-18-2005, 08:48 AM   #3
pujolasdf
Member
 
Registered: Feb 2005
Posts: 70

Original Poster
Rep: Reputation: 15
Ok, I have installed some packages related to JACK that I've found in the 4th CD of my SUSE distribution, now I have qjackctl installed among other things. When I click at Start I just get this disappointing output:
5:47:37.543 artsshell -q terminate
15:47:37.835 Startup script terminated with exit status=256.
15:47:37.836 JACK is starting...
15:47:37.837 jackstart -R -dalsa -dhw:0 -r48000 -p1024 -n2
15:47:37.844 Could not start JACK. Sorry.
15:47:39.050 JACK was stopped successfully.

and a message box saying the same: Could not start JACK. Sorry.
 
Old 05-18-2005, 08:56 AM   #4
pujolasdf
Member
 
Registered: Feb 2005
Posts: 70

Original Poster
Rep: Reputation: 15
Maybe if I run it as root...

nah, didn't work

Well I have been able to run the JACK server by typing jackd -dalsa, but rosegarden still doesn't produce any sound. This is somewhat, sorry for my profanity, retarded.

Last edited by pujolasdf; 05-18-2005 at 09:05 AM.
 
Old 05-18-2005, 09:44 AM   #5
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Perhaps not relevant, but my FC3 system seemed to have no sound before I noticed that the volume control was defaulting to "mute" on "master" every time I booted.

(Fixed, per a suggestion by "bdox," to run kmix, and check the "restore volume on login" option. Strangely, this was checked, so I unchecked and rechecked it, and now it works fine.)

Last edited by PTrenholme; 05-18-2005 at 09:46 AM.
 
Old 05-18-2005, 11:13 AM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
i think you'll also need a softsynth to change the midi-signals
into wav that can be sent to the dsp.

( btw. i like zynnaddsubfx )

also, if you start qjackctl, check the settings ( setup button )
you could try to uncheck the realtime option, but that will not give a good sound i guess.

also, about the error in your first post:
did you set the PKG_CONFIG_PATH to the dir where jack.pc is ?
i remember i had to do that for almost everything i compiled for jack.

and what kernel do you use ?
for the 2.6 kernel you can gat the realtime module, that gives users
realtime privileges.

egag
 
Old 05-18-2005, 02:50 PM   #7
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
ok there is something really confused about this post
you have to clearly identify what package you are trying to configure or run

in the opening post you say you are trying to configure jack but then you show jack checking to see of you have Qt and jack already installed ? that don't make no sense.

How do I install JACK?
Prerequisites

* 2.4, 2.5 or 2.6 series kernel with tmpfs turned on (CONFIG_TMPFS)
* Shared memory file system mounted on /dev/shm. add the following to /etc/fstab to get it mounted at boot:

shmfs /dev/shm shm defaults 0 0

(Note: you may have to make the /dev/shm directory)

Once you have the correct shmfs support, you should be able to build jack with the following sequence of commands:

sh ./autogen.sh
./configure
make
make install

Good luck!
 
  


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
[ ] @ are driving me crazy FireInTheDark Linux - Software 1 11-28-2004 09:42 AM
Help this is driving me crazy!!!!!! Wolfy Linux - Hardware 1 07-07-2004 01:32 AM
rhythmbox driving me crazy... Camasii Linux - Software 4 01-22-2004 09:08 AM
Glftpd driving me crazy ! _KDF Linux - Software 10 01-14-2004 03:35 PM
wlan-ng is driving me crazy! andrew001 Linux - Hardware 19 04-28-2003 03:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:47 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
Open Source Consulting | Domain Registration