CentOS 5 :: Missing Expat Headers In Package For XML Parser
Jan 25, 2009
I Recently set up a dedicated server using CentOS as a new Linux wing of my Web services hosting business. To provision online varios Tucows services (names, blogs etc.) I need to use the Perl API provided by Tucows/OpenSRS. The API requires various extra perl modules including XML::Parser - without which the API will not function.
I was able to add with PPM to my Windows servers no problem but it will not install in CentOS.
As best I can tell the cause may be missing headers and libs for the c compile of Expat - required to build XML::Parser so after days of hunting I found your repository holds package expat-devel which claims to hold libs and headers for Expat similar to libexpat1-dev on other dists. I used YUM with success but although 3 libs were installed no headers were installed.
Is there a reason these headers are not included? I have downloaded them manually but am afraid of breaking something. Is there a reason I should not attempt to install with these headers? Is CentOS capable of using the Parser modules?
I have tried looking for expat xml parser version 2.0.1 rpm package for centos or RHEL but have not been able to find one. I did find one based for fedora (x86), can this be installed on centos without any issues? Also, I have found a tar package (expat-2.0.1.tar.gz), is the correct directory to decompress and install this under the /usr/local/bin?
I am getting some error when i compile cross compile "dbus-1.2.20". error Code: checking for XML_ParserCreate_MM in -lexpat... no configure: error: Could not find expat.h, check config.log for failed attempts so i downloaded te expat library sources i cross compiled. But again i am getting same error. I think i have to add "-lexpat" in LDFLAG. But i dont know how to do that.
I have a CentOS release 5.5 (Final) box and can't find the kinit command.
I installed the krb5-workstation package which lists the program as one of its contents, but it does't come with it.
Here is the output for yum info krb5-workstation
Name : krb5-workstation Arch : x86_64 Version : 1.6.1 Release : 36.el5_5.4 Size : 1.7 M Repo : installed Summary : Kerberos 5 programs for use on workstations. URL : http://web.mit.edu/kerberos/www/ License : MIT, freely distributable. Description: Kerberos is a network authentication system. The krb5-workstation : package contains the basic Kerberos programs (kinit, klist, kdestroy, : kpasswd). If your network uses Kerberos, this package should be : installed on every workstation.
Anyone know if a more complete poppler-devel can be found for CentOS 5.5? There seems to be an enormous number of missing files from poppler-devel (page.h and PDFDoc.h are just two examples) resulting in applications that require it refusing to compile.
I'm not sure if I'm posting in the right section. But when i start the Package Updater it get's a (Error resolving dependencies). The Details in the error are: Missing Dependency: liblzo.so.1 is needed by package mplayer Missing Dependency: libdvdread.so.3 is needed by package lsdvd Missing Dependency: libcucul.so.0 is needed by package mplayer Missing Dependency: libdvdread.so.3 is needed by package gstreamer-plugins-ugly
What do i do? I'm thinking i have to get and install/download these package's but cant find them tried regular searching the web and using Yum. Cant find any of them to install to fix this issue.
I don't know if this is the right place to do this so I will try. I have noticed a lot of posts around the web with the same problems, so I guess this is something that is common, you think it would be fixed by now but anyways. Almost constantly when I try to install a new package with yum in my system it almost always gives me a dependency error, this is the latest one when I try to install HTOP:
Error: Missing Dependency: rtld(GNU_HASH) is needed by package htop Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package htop
I'm trying to install Dell Openmanage, which requires sblim-sfcb.Normally this wouldn't be a problem but it requires LWP::UserAgent to be installed.However there are no RPMs for LWP::UserAgent. There are RPMs for perl-libwww-perl-5.805-1.1.1.noarch.rpm, which people say should work.However yum doesn't see anything with libwww as an option so that won't work either.Running CentOS 5.5
Note: I do have LWP::UserAgent installed via cpan, however the RPM won't compile without the actual LWP::UserAgent RPM installed.
Yesterday, I think I did something stupid: I removed kernel-headers, gcc, glibc-devel and glibc-headers. My box is a CentOS 5.4 webserver (it has loads of packages installed, but that was done through Virtualmin config, so it's quite coherent all in all). The thing is that now I need to reinstall at least the headers and glibc, but hey! this is what I get :
I was trying to compile the driver for my wireless device and stumbled upon the 'missing kernel headers' error. Found the kernel header somewhere on the internet, named kernel.lzm. If I boot Backtrack 3 directly from the cd and not installing it, how do I use the kernel header? Do I need to install it, place it somewhere or just load it?
Today, I try to update firefox by Package Updater but show error by bellow. "Missing Dependency: xulrunner >= 1.9.0.19-1 is needed by package firefox-3.0.19-1.el5.centos.x86_64 (CentOS5updates)"
Here's my problem: I'm running a Lenny laptop and I need both wifi and virtualbox to work. I had to do a kernel upgrade to run the wifi. It works with either the 2.6.29 or 2.6.30 kernels, but with 2.6.30 I'm having screen brightness issues that I can't seem to get rid of. So I want to run 2.6.29, but virtualbox is a bit of a problem because it requires linux-headers-2.6.29, but when I try to install the amd64 headers it tells me that it cannot install the dependency linux-kbuild-2.6.29. Is there any way I can get that dependency installed on my computer?
The problem is that I need to use kernel headers like <linux/interrupt.h>. However, those files do not exist in folder /usr/include/linux. Thus, compilation fails. On the other hand, the files exist in folder /usr/src/kernels/2.6.30.10-105.2.4.fc11.i586/include/linux.
How can I get the missing headers into proper place in /usr/include/? I even tried coping, but extra files are then needed and so on.
I tried to use "make menuconfig", but I couldn't see a missing configuration I need.
I also tried to use " yum install kernel-devel". This tells me "Package kernel-devel 2.6.30.10-105.2.23.fc11.i586 already installed and latest version Nothing to do".
While i am using yum update am getting an error: Error: Missing Dependency: libgpod.so.0()(64bit) is needed by package rhythmbox-0.11.6-4.el5.x86_64 (installed).
I'm trying to compile Ardour 2.8.4 under openSUSE 11.2 with VST support. I think I've installed all the dependencies, but when I run scons I come up with this:
I'm trying to install the current drivers (from the Hardware Drivers tool) but it fails, refering me to jockey.log, which contains this:
Code: 2010-05-23 16:19:46,978 DEBUG: nvidia_current is not the alternative in use 2010-05-23 16:19:47,106 DEBUG: nvidia_current is not the alternative in use
I've been trying to install Vmware Workstation and keep getting an error about Kernel Headers missing! Although I am pretty sure I have the headers installed for my system. It's looking for the PAE version of my headers which I believe it doesn't exist!
currently I'm using a kernel from kernel-mainline [url], because thermal won't work satisfying with the shipped kernel from ubuntu and would like to install tp_smapi (including modules hdaps and thinkpad_ec), but the installation failed, because the system pretending, that kernel-headers missing.
Code:
Results in telling the system, that kernel-headers are installed.
Code:
But then the upcoming dialog-box of module-assistant telling me, that the kernel-headers are not installed and therefore installation of tp_smapi fails.
I am trying to install kcachegrind and during the ./configure phase I got the following error: Checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation!
Now I guess I have QT installed and I tried to do the following: ./configure --with-qt-includes=/usr/lib64/qt4/include but that did not work either.. actually checking further I found that the folder include is missing in usr/lib64/qt4/ !!!!
How to properly integrate these RPMs into our system?
Option 1: we could take those missing OS RPMs and install them? Option 2: can we package the missing files from missing OS RPMs into the existing Linux-xxx.rpm?
But the system run into problem with WLAN, and I've search in this site and sombody posted in here: [URL] It's almost the same, the different is the card I use is TP-LINK. Then I decided to remove the newly installed kernel:
I am using Opensuse 11.2 on an HP Pavilion laptop. The internal wireless (Broadcom device) quit on me - It is no longer detected at boot so I assume it is dead. No problem since I have a D_Link USB adaptor (DWL-G132). To get it working however I need ndiswrapper. I then installed ndiswrapper 1.55 and the user interface supplied with Opensuse. Problem1- The interface says "The program 'kernel-headers' is missing on your system".
I have checked with Yast and the kernel-headers are installed. Problem2- I have downloaded ndiswrapper 1.55 from Sourceforge.net to attempt the traditional installation method. The 'make' command returns the following message: "Cannot find kernel version in /lib/modules/2.6.31.8-0.1-desktop/build, is it configured?."
I'm trying to install Alsa Player in my CentOS 5.2 using add/remove software. I get the following error:
Missing Dependency: libsndfile.so.1(libsndfile.so.1.0) is needed by package alsaplayer Missing Dependency: libjack.so.0 is needed by package alsaplayer Missing Dependency: libFLAC.so.8 is needed by package alsaplayer Missing Dependency: libsndfile.so.1 is needed by package alsaplayer Missing Dependency: libxosd.so.2 is needed by package alsaplayer Missing Dependency: libid3tag.so.0 is needed by package alsaplayer Missing Dependency: libmad.so.0 is needed by package alsaplayer
When I try to search the depencies using yum (yum search libsndfile), the result is : No Matches found.
After install CentOS 5.3, when execute yum update in a terminal, with root I had this error:
yum update Loaded plugins: fastestmirror Config Error: File contains no section headers. file: file://///etc/yum.repos.d/CentOS-Media.repo, line: 17 ' #file:///media/cdrom/ ' I think I have something wrong with the repositories but I'm not sure.
I have a program that needs kernel headers. The machine is running CentOS release 5.4 (Final). uname -r output: 2.6.18-164.9.1.el5 When I try to do a - yum install kernel-devel or kernel-headers I get: kernel-headers i386 2.6.18-194.3.1.el5 updates 1.0 M Why don't they match?
I'm trying to install some nvidia drivers but I need to install the correct headers. uname -r says: 2.6.31-21-serverbut I can't find the headers anywhere to install. 2.6.31-21 and 2.6.31-21-generic are installed but not the server version. It's not showing up in synaptic and using apt-get I get the error message in the title.I have 2.6.31-22-server headers but for some reason when I boot into 2.6.31-22 the OS can't see my 3ware cards and, obviously, the arrays they control. So, I can't use 2.6.31-22 yet.
As a follow-on to something Telemachos said in another post:
Quote:
Originally Posted by Telemachos
You can see what kernels you have installed - to check if you have a virtual kernel and to clean up - by running this command:
Code:
If you've been installing kernel-headers along with the kernels (say to build modules for graphics or wireless), you should remove those when you remove the corresponding kernel. The command to search for those is parallel:
Code:
I would have thought that removing a given kernel package would trigger the removal of the older kernel headers. Can someone confirm that is, or is not, the behavior? I ask this because it seemed to me that the older kernel header packages were indeed removed when I removed some older kernel packages.
For example, the linux kernels I have installed are:
Code:
Also, the linux-headers packages I have installed are:
Code:
So, when I get around to removing the linux-image-2.6.25-2-amd64 package like this:
Code:
I would expect apt-get to automatically also remove linux-headers-2.6.25-2-amd64 and linux-headers-2.6.25-2-common. Is that what will happen, or do I need to explicitly state all three packages on the apt-get remove command?