Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am pretty much new to Linux. I am trying to install tint2 on CentOS. When I try to install using the command yum install tint2, it gave following error

checking for X11... configure: error: Package requirements (x11 xcomposite xdamage xinerama xrender xrandr) were not met:

No package 'xcomposite' found
No package 'xdamage' found
No package 'xinerama' found
No package 'xrandr' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables X11_CFLAGS
and X11_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.`

When I try to install those packages which I belive should be done using

$>yum install xinerama
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.lga7.us.voxel.net
 * extras: mirror.rackspace.com
 * updates: mirror.atlanticmetro.net
Setting up Install Process
No package xinerama available.
Nothing to do

I am bit unclear here. How can I change the yum settings to look for x* packages at the different repository where packages are available?

What does it mean when it says

"Alternatively, you may set the environment variables X11_CFLAGS
and X11_LIBS to avoid the need to call pkg-config.
share|improve this question
1  
do you have X11 installed? you can try yum search X11. that will give you all the packages that mention X11 in their description (its probably going to be a lot consider piping the output to less) –  h3rrmiller Oct 29 '12 at 18:55
add comment

migrated from askubuntu.com Oct 29 '12 at 17:37

This question came from our site for Ubuntu users and developers.

1 Answer

You can set Yum to phrase alternative repo's by downloading & installing the .rpm file of the repo. Proper instructions can be found in EPEL repo installation

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.