LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Unable to install libxorg-x11-devel on Mandriva (https://www.linuxquestions.org/questions/linux-software-2/unable-to-install-libxorg-x11-devel-on-mandriva-387499/)

syeronne 11-29-2005 01:58 AM

Unable to install libxorg-x11-devel on Mandriva
 
Hi,

I'm trying to install wxGTK-2.6.2 but I'm facing a problem when compiling :

checking for GTK+ - version >= 2.0.0... no

+ Could not run GTK+ test program, checking why...
+ The test program failed to compile or link. See the file config.log for the
+ exact error that occured. This usually means GTK+ is incorrectly installed.

configure: error:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.

...

Package xrender was not found in the pkg-config search path.
Perhaps you should add the directory containing `xrender.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xrender', required by 'cairo', not found

I found that xrender.pc should be installed along with libxorg-x11-devel (In fact I've just check with "rpm -qpl" command).
When trying to install this package from Mandrake Control Center, nothing happens. I mean there is no error but package is still in the list of packages to install ! Using RPM command I can confirm that it was not installed at all.

So I tried "rpm -qivh" command and got following message (This is a translation of original message as I'm using a french version)

Préparation... ########################################### [100%]
1:libxorg-x11-devel ########################################### [100%]
error: Failed to open archive in fil /usr/include/GL : cpio: rename failure - is a folder.

Original one: "erreur: échec du déballage de l'archive dans le fichier /usr/include/GL: cpio: rename échec - est un répertoire"


Please any help ?

reddazz 11-29-2005 06:25 AM

Why not just install the packages you need using urpmi?

syeronne 11-29-2005 07:22 AM

I'm new to Linux so I did not know that command.

What's the difference between : "rpm -i package" and "urpmi package" ?

reddazz 11-29-2005 08:54 AM

Urpmi installs the required dependenies automatically and rpm does not. To find out more about urpmi, go to zebulon.org.uk. Follow the instructions at easyurpmi and setup the main, contrib, plf and updates repositories.


All times are GMT -5. The time now is 01:29 PM.