LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   a path error compiling ardour (https://www.linuxquestions.org/questions/linux-newbie-8/a-path-error-compiling-ardour-322308/)

snakecreepsdown 05-11-2005 05:29 AM

a path error compiling ardour
 
Code:

checking for jack >= 0.66.0... Package jack was not found in the pkg-config sear ch path. Perhaps you should add the directory containing `jack.pc' to the PKG_CO NFIG_PATH environment variable No package 'jack' found
configure: error: Library requirements (jack >= 0.66.0) not met; consider adjust ing the PKG_CONFIG_PATH environment variable if your libraries are in a nonstand ard prefix so pkg-config can find them.
configure: error: /bin/sh './configure' failed for gtk_ardour
nyghtowl@snake_creeps_down:~/ardour/ardour-0.9beta26$

I can sort of see what this means, but,

is that a safe file to edit? or do I need to su and are there any things I should be careful about or should know before I edit? :study:

I'm guessing if I do a whereis or locate for jack.pc I can then add that path? or am I totally missing something here, please folks.


Peace Out
SnakeCreepsDown

Dark_Helmet 05-11-2005 10:48 PM

Quote:

is that a safe file to edit?
There's no need to edit any files in this case. What the error is saying, is that a package description file (jack.pc) wasn't found in any of the expected locations.

This is caused by one of three reasons (usually). In order of things to check:

1) The jack library/program is not installed. Make sure you have the software ardour is looking for.

2) This is your first time to compile from source (or relatively close), using a distribution with package management. Those distributions do not install all the support files needed to compile other programs. The reason for this is, they expect you to use the package management system. That's the whole reason it exists: to hide the details of compiling. So, check to see if there is a package for ardour available for Slackware. If there isn't, then you will probably have to install a "jack-devel" package from your install CD's or from wherever you got jack to begin with. The "-devel" packages contain the support files that other programs need to hook into jack, or other libraries/tools. Keep in mind, that you will have to do that for any other packages the configure script claims you're missing.

3) Your system has jack installed in a non-standard location. You'll have to inform the system (or the configure script directly) where jack's .pc file is located. If this is the case, then you knew what you were doing when you put it there, which means you would probably know how to fix it :)

Of the three, #2 is most likely.

foo_bar_foo 05-11-2005 10:49 PM

yea if you need to add it just add it to your local
~/.bash_profile
i think pkgconfig only by default looks for junk in it's own prefix but my /etc/profile goes hunting and adds the stuff in on it's own
example
Code:

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig:/opt/qt/lib/pkgconfig
then read in the changes since you don't want to log out and back in just to see if it worked
source ~/.bash_profile

BUT if you installed some binary jack package then make sure you go back and get the developement package
cause it's got the .pc file in it

snakecreepsdown 05-12-2005 03:06 AM

THank you both for those informative posts :D
I shall try what you suggest during today:study:


All times are GMT -5. The time now is 02:41 PM.