No package 'fribidi' found - linux

I try to install module Text::Bidi with cpan but I get the following message:
Package fribidi was not found in the pkg-config search path. Perhaps you should add the directory containing `fribidi.pc' to the
PKG_CONFIG_PATH environment variable
No package 'fribidi' found
at Makefile.PL line 13.
It seems that fribidi is missing.
fribidi should be installed prior to the installation of this module.
I try to:
yum install fribidi
Loaded plugins: refresh-packagekit, security
Setting up Install Process No package fribidi available. Error:
Nothing to do
I search for this issue, but don't find nothing.
**OS: **Oracle Linux 6.6

Oracle only have a package for this for version 4 of their distro. It looks like you'll need to build it from source. See GNU FriBidi.

Related

How to add a directory to the PKG_CONFIG_PATH environment variable?

Im new using Ubuntu, the problem is that i want to install opencv, then i want to see the version of the installed program using this sentence
pkg-config --modversion opencv
Then the terminal shows me this type of "error"
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
I tried to do everything and it doesnt work, someone knows how to fix it?
Install the development package as:
apt install libopencv-dev

FFmpeg -bash: ffmpeg: command not found

OK, so I have gone up and down the internet trying to figure out what it is I am doing wrong ... and yet I'm in the middle of nowhere.
I am basically trying to install the FFmpeg on my CENTOS 6.6 dedicated server by following the instructions here: https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
Everything seems to go just fine throughout the process. When it's all done, I type in "ffmpeg" hit the enter and keep on getting this extremely ugly error:
-bash: -bash:: command not found
I'm not much of a shell guy, but working with it all day today, I can say that this means that it's not installed correctly. So, I tried re-installing it, and it tells me all the packages already exist now ... . Here is a copy if what I am doing and what I am getting:
root#server1 [~]# ffmpeg -version
-bash: ffmpeg: command not found
root#server1 [~]# yum install autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel
Loaded plugins: fastestmirror, priorities, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.mirror.ndchost.com
* extras: centos-distro.cavecreek.net
* updates: mirrors.easynews.com
Package autoconf-2.63-5.1.el6.noarch already installed and latest version
Package automake-1.11.1-4.el6.noarch already installed and latest version
Package gcc-4.4.7-11.el6.x86_64 already installed and latest version
Package gcc-c++-4.4.7-11.el6.x86_64 already installed and latest version
Package git-1.7.1-3.el6_4.1.x86_64 already installed and latest version
Package libtool-2.2.6-15.5.el6.x86_64 already installed and latest version
Package 1:make-3.81-20.el6.x86_64 already installed and latest version
Package nasm-2.07-7.el6.x86_64 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.x86_64 already installed and latest version
Package zlib-devel-1.2.3-29.el6.x86_64 already installed and latest version
Nothing to do
Any ideas or help is greatly appreciated!
OK, after paying more attention, I realized that there was an error
Unable to create and execute files in /tmp. Set the TMPDIR environment
variable to another directory and make sure that it is not mounted noexec.
Sanity test failed.
So, I just made the /tmp directory and ran this:
export TMPDIR=$HOME/tmp
And then ran the installation command!

How to specify dependency location in rpm?

While installing Mono using RPM, GLIBC_2.16 is listed as a dependency. Since I'm having an older version of glibc, and didn't want to corrupt my kernel, i installed the newer glibc from sources in my home folder.
I now want the RPM to refer to this newer glibc lib directory in my home folder while installing mono. What is the RPM option for mentioning dependency locations for a package?
I am currently using the following RPM command:
sudo rpm -ivh mono-core-3.2.3-0.x86_64.rpm
I get the following error messages:
libc.so.6(GLIBC_2.14)(64bit) is needed by mono-core-3.2.3-0.x86_64
libc.so.6(GLIBC_2.15)(64bit) is needed by mono-core-3.2.3-0.x86_64
libc.so.6(GLIBC_2.16)(64bit) is needed by mono-core-3.2.3-0.x86_64
My newer glibc path is:
~/Desktop/glibc/glibc1/lib
What option should i include in rpm to reference this path while installing mono?
Thanks
I guess there is no way to install the package without --nodeps unless you install the proper version of glibc in your system.
If your goal is to run mono command completely, it may work fine by the following steps.
Installing the package by adding the --nodeps option to rpm command to ignore any dependencies.
Running mono-related commands with LD_LIBRARY_PATH set to /your/alternative/path/to/glibc.
However, I think that the best solution is to build the mono's source on your machine.

Haskell cabal install: missing C library iw

I'm running Fedora 19 x64, and
I'm trying to install xmobar via cabal install. After installing a bunch of dependencies, I'm stuck at
cabal: Missing dependency on a foreign library:
* Missing C library: iw
I can't find anything about this iw library and I'm a bit lost at how to continue.
I've got all of the standard c libs installed, as far as I can tell.
sudo yum install glibc-common glibc glibc-devel glibc-headers glibc-utils glibc-devel glib2-devel gcc-c++ gcc
Loaded plugins: auto-update-debuginfo, langpacks, refresh-packagekit
Package glibc-common-2.17-18.fc19.x86_64 already installed and latest version
Package glibc-2.17-18.fc19.x86_64 already installed and latest version
Package glibc-devel-2.17-18.fc19.x86_64 already installed and latest version
Package glibc-headers-2.17-18.fc19.x86_64 already installed and latest version
Package glibc-utils-2.17-18.fc19.x86_64 already installed and latest version
Package glibc-devel-2.17-18.fc19.x86_64 already installed and latest version
Package glib2-devel-2.36.3-3.fc19.x86_64 already installed and latest version
Package gcc-c++-4.8.1-1.fc19.x86_64 already installed and latest version
Package gcc-4.8.1-1.fc19.x86_64 already installed and latest version
Nothing to do
Under Ubuntu the same workaround:
cabal: Missing dependency on a foreign library:
* Missing C library: iw
was resolved though I thought that it can be also two libraries for C language build tools:
liwc : Tools for manipulating C source code
iwyu : Analyze #includes in C and C++ source files
after these additions & libiw-dev library new xmobar was compiled.
Libraries are packaged differently by your OS. For fedora, if you're missing library A, you often will find packages named libA and libA-devel. Luckily, you don't need to guess - instead just ask yum what packages has some file of interest. Below, I asked about the shared object file libiw.so.
yum whatprovides *libiw.so*
...
1:wireless-tools-devel-29-9.1.fc19.x86_64 : Development headers for the
: wireless-tools package
Repo : fedora
Matched from:
Filename : /usr/lib64/libiw.so
1:wireless-tools-29-9.1.fc19.x86_64 : Wireless ethernet configuration tools
Repo : installed
Matched from:
Provides : libiw.so.29()(64bit)
Filename : /lib64/libiw.so.29
I'm surprised Fedora would install without these packages, but if that's the case then obtaining the packages is just a yum install command away.
For anyone trying to install xmobar through cabal on arch,
the missing package that includes iw is called wireless_tools.
You can install that with
pacman -S wireless_tools

PKG_CONFIG_PATH error when installing nautilus RPM on Fedora 15

I'm trying to install nautilus RPM in Fedora 15.
configure: error: Library requirements (libnautilus >= 2.0.0 gtk+-2.0 >= 2.0.0)
not met; consider adjusting the PKG_CONFIG_PATH environment variable
if your libraries are in a nonstandard prefix so pkg-config can find them.
I already installed the nautilus package with apt-get install.
What can I do to solve this problem?
Add)
What I want to install is nautilus RPM(GUI RPM management software) and
What I installed is nautilus package.
If you want to build software that uses nautilus, then you will need to install the nautilus-devel package.

Resources