Koozali.org: home of the SME Server
		Obsolete Releases => SME Server 7.x => Topic started by: hitman012 on September 03, 2006, 11:24:44 PM
		
			
			- 
				Hi,
 
 I'm trying to install an IRC proxy/bouncer on my SME installation, but am having some problems. After getting and compiling pkg-config (which its configure script needs), I recieve this error:
 
 checking for libxml-2.0 glib-2.0 gmodule-2.0... configure: error: libxml and glib are required
 
 I've tried various variations of this with yum in order to try and download but have had no luck. I also tried compiling the latest version of glib but the script still gives me this error (do I need to reboot after that?).
 
 Thanks :)
- 
				Hi,
 
 I'm trying to install an IRC proxy/bouncer on my SME installation, but am having some problems. After getting and compiling pkg-config (which its configure script needs), I recieve this error:
 
 checking for libxml-2.0 glib-2.0 gmodule-2.0... configure: error: libxml and glib are required
 
 I've tried various variations of this with yum in order to try and download but have had no luck. I also tried compiling the latest version of glib but the script still gives me this error (do I need to reboot after that?).
 
 Thanks :)
 Which repositories do you have enabled? Do you also have the 3rd Party Yum repositories (http://no.longer.valid/phpwiki/index.php/3rdPartyYumRepositories) enabled? Maybe those repositories also hold an rpm for the package you are trying to install, this will save you building the package. I mainly use the dries, dag en atrpms repositories in case I cannot find it in the default repositories. Be sure to use Centos or RHEL RPM's, they have worked for me all the time.
- 
				Nope... couldn't find an up-to-date version in the repositories you suggest :(
			
- 
				Nope... couldn't find an up-to-date version in the repositories you suggest :( 
 
 Whats an uptodate one ?
 
 Tryyum --enablerepo=base --enablerepo=updates list libxml2 glib2
 
 Which for me gives[root@tiger ~]# yum --enablerepo=base --enablerepo=updates list libxml2 glib2
 ==============================================================
 WARNING: Additional commands may be required after running yum
 ==============================================================
 Setting up repositories
 Reading repository metadata in from local files
 Installed Packages
 glib2.i386                               2.4.7-1                installed
 libxml2.i386                             2.6.16-6               installed
 ================================================================
 No new rpms were installed. No additional commands are required.
 ================================================================
 [root@tiger ~]#
 
 To see which repositories are on your system..
 db yum_repositories show | more
 
 Take note of the Visible and status fields.
 
 If Visible is 'no' then they wont be seen in the Server-Manager and staus 'no' means they wont be used by yum unless you specify them with the --enablerepo option.
- 
				Interesting - that returns that they're installed. In that case, I must be missing gmodule?
 
 Thanks for your replies so far.
- 
				Interesting - that returns that they're installed. In that case, I must be missing gmodule?
 
 Thanks for your replies so far.
 
 
 
 What exactly are you trying to install ?
- 
				I'm trying to install ctrlproxy 2.6.2 (located here (http://ctrlproxy.vernstok.nl/)).
			
- 
				I'm trying to install ctrlproxy 2.6.2 (located here (http://ctrlproxy.vernstok.nl/)). 
 
 Try
 
 yum --enablerepo=base --enablerepo=updates install cpp gcc libxml2-devel glib2-devel
 wget http://ctrlproxy.vernstok.nl/releases/ctrlproxy-2.6.2.tar.gz
 tar -xzf ctrlproxy-2.6.2.tar.gz
 cd ctrlproxy-2.6.2
 ./configure
 make
 make install
 
 It appears to have worked for me.
- 
				The packages installed fine, but unfortunately it's still giving me the same error. I've tried restarting the system but to no avail.
			
- 
				The packages installed fine, but unfortunately it's still giving me the same error. I've tried restarting the system but to no avail. 
 
 Hmm
 
 I'm sure thats all I did..
 yum --enablerepo=base --enablerepo=updates install cpp gcc libxml2-devel glib2-devel
 wget http://ctrlproxy.vernstok.nl/releases/ctrlproxy-2.6.2.tar.gz
 tar -xzf ctrlproxy-2.6.2.tar.gz
 cd ctrlproxy-2.6.2
 ./configure
 make
 make install
 
 You replied while I was editing the yum line.
- 
				Interesting - I ran your updated yum line and it added another package. However, it still returns that error when obviously they are installed. Perhaps through trying to compile glib myself I inadvertently caused this? If so, is there a way to remove glib completely and start again to eliminate the possibility?
			
- 
				Interesting - I ran your updated yum line and it added another package. However, it still returns that error when obviously they are installed. Perhaps through trying to compile glib myself I inadvertently caused this? If so, is there a way to remove glib completely and start again to eliminate the possibility? 
 
 I have no idea.
 
 I gatheryum --enablerepo=base --enablerepo=updates remove glib
 says nothing to do.
 If so try
 yum --enablerepo=base --enablerepo=updates install glib
- 
				Had to do this as well..
 yum --enablerepo=base --enablerepo=updates install pkgconfig
 
- 
				Nope.. that doesn't seem to do it either. I've tried removing the packages and installing them again, but with no success. This is a strange one :-?
			
- 
				Nope.. that doesn't seem to do it either. I've tried removing the packages and installing them again, but with no success. This is a strange one :-? 
 
 Just to make sure I didn't miss anything I tried it again on a stock SME 7 install ( in VMware ).
 
 List of the commands I used..
 [root@vmsme2 ctrlproxy-2.6.2]# history
 1  yum --enablerepo=base --enablerepo=updates install cpp gcc libxml2-devel glib2-devel pkgconfig
 2  wget http://ctrlproxy.vernstok.nl/releases/ctrlproxy-2.6.2.tar.gz
 3  tar -xzf ctrlproxy-2.6.2.tar.gz
 4  cd ctrlproxy-2.6.2
 5  ./configure
 6  make
 7  make install
 8  history
 [root@vmsme2 ctrlproxy-2.6.2]#
 
 I was logged in as root and started in the /root directory.
 
 My only 'error' was the following during make install
 make[1]: Entering directory /root/ctrlproxy-2.6.2/doc'
 
 ---------------------------------------------------------------
 You are using ctrlproxy from CVS and have not enabled the docs
 (./configure --enable-docs). No documentation will be installed
 ---------------------------------------------------------------
 
 make[1]: Leaving directory /root/ctrlproxy-2.6.2/doc'
 
 
 It appears to be installed ok..
 [root@vmsme2 ctrlproxy-2.6.2]# ctrlproxy -v
 ctrlproxy 2.6.2
 (c) 2002-2003 Jelmer Vernooij <jelmer@nl.linux.org>
 [root@vmsme2 ctrlproxy-2.6.2]#
 
 [root@vmsme2 ctrlproxy-2.6.2]# ctrlproxy -?
 Usage: ctrlproxy [OPTION...]
 -d, --debug=FILE       Write irc traffic to specified file
 -D, --daemon           Run in the background (as a daemon)
 -l, --log=FILE         Log messages to specified file
 -r, --rc-file=FILE     Use configuration file from specified location
 -v, --version          Show version information
 
 Help options:
 -?, --help             Show this help message
 --usage                Display brief usage message
 [root@vmsme2 ctrlproxy-2.6.2]#