LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   make cannot build - cannot locate installed dependencies (https://www.linuxquestions.org/questions/linux-software-2/make-cannot-build-cannot-locate-installed-dependencies-4175441267/)

flebber 12-13-2012 04:01 AM

make cannot build - cannot locate installed dependencies
 
When I am trying to build handbrake I have completed ./configure and I move into ./build and make the package

The build proceeds as normal then fails because:
Code:

configure: error: Package requirements (fribidi >= 0.19.0) were not met:

No package 'fribidi' found

Now fribidi is installed and was already installed I believe with the distribution so it should not be in a non standard location.

Proof
Code:

[sayth@renshawfamily build]$ sudo yum install fribidi
[sudo] password for sayth:
Loaded plugins: langpacks, presto, refresh-packagekit
Package fribidi-0.19.4-1.fc18.x86_64 already installed and latest version
Nothing to do

so I have a package of fribidi installed and greater then 0.19. Reviewing the fribidi website its latest release is 0.19.5 (http://www.fribidi.org/)

So why doesn't it see this dependency and how can I make it see the dependency?

Edit here is where fribidi is installed.
Code:

[sayth@renshawfamily build]$ rpm -ql fribidi
/usr/bin/fribidi
/usr/lib64/libfribidi.so.0
/usr/lib64/libfribidi.so.0.3.3
/usr/share/doc/fribidi-0.19.4
/usr/share/doc/fribidi-0.19.4/AUTHORS
/usr/share/doc/fribidi-0.19.4/COPYING
/usr/share/doc/fribidi-0.19.4/ChangeLog
/usr/share/doc/fribidi-0.19.4/NEWS
/usr/share/doc/fribidi-0.19.4/README
/usr/share/doc/fribidi-0.19.4/THANKS
/usr/share/doc/fribidi-0.19.4/TODO
[sayth@renshawfamily build]$


pan64 12-13-2012 04:18 AM

probably it is a path problem, configure cannot find it in your path. see configure -h about available options

knudfl 12-13-2012 04:55 AM

Quote:

No package 'fribidi' found
The missing file is /usr/lib64/pkgconfig/fribidi.pc ,
i.e. package 'fribidi' means "the package config file" suffix .pc

Finding fribidi.pc : yum provides */fribidi.pc
→ → fribidi-devel

# yum install fribidi-devel

.

flebber 12-13-2012 05:06 AM

Quote:

Originally Posted by knudfl (Post 4848347)
The missing file is /usr/lib64/pkgconfig/fribidi.pc ,
i.e. package 'fribidi' means "the package config file" suffix .pc

Finding fribidi.pc : yum provides */fribidi.pc
→ → fribidi-devel

# yum install fribidi-devel

.

Thanks I had just got it going. A nicer error like fribidi-devel would have been nice but oh well, I can see from your explanation how it is derived.

redfox2807 12-13-2012 05:10 AM

What distro do you use? Unless it's Slackware or similar, in order to compile something you need to install fribidi-devel package, not fribidi one. fribidi is just binaries to be executed, while the compiler wants headers.

flebber 12-13-2012 06:21 AM

Yeah fribidi-devel did work, I am on Fedora 18

knudfl 12-13-2012 10:33 AM

Quote:

A nicer error like fribidi-devel would have been nice
'fribidi-devel' is a {RedHat / Fedora / CentOS / Scientific} term only.

When you are building the source code, a full install of fribidi is required.
That's fribidi + fribidi-devel for Fedora. ( yum search fribidi ).
Also : The source code is not OS specific.
And will not trace if you have e.g. a Debian OS ( → libfribidi-dev ),
Mandriva / PCLinuxOS ( → libfribidi-devel ).
Or Slackware / Arch / Gentoo, that have no -devel packages.
( Those three use "All in one" packages for libraries.)

Good luck !
.


All times are GMT -5. The time now is 12:55 AM.