glib-devel-2


 
Thread Tools Search this Thread
Operating Systems Linux glib-devel-2
# 1  
Old 09-13-2010
glib-devel-2

Hi

I want to install glib-devel-2.xx on suse 9 linux.

I downloaded from below site,

Index of /pub/gnome/sources/glib/2.24

and installed using normal configure,make,make install.

Am I correct or something else is required?

Thanks.
# 2  
Old 09-13-2010
Usually you'd install using your distro's package manager instead of building from source unless there's an extremely good reason not to. Packages for your distro know where everything belongs, source tarballs are generic things which don't. 'make install' installed both headers and binaries, and may not have put them in the place your distro needs them in order to find them unless you picked your ./configure options carefully. You probably have the necessary header files now, but may have overwritten your glib binaries or installed extra copies somewhere else (check /usr/local/lib)

Last edited by Corona688; 09-13-2010 at 02:06 PM..
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 09-13-2010
Quote:
Originally Posted by Corona688
Usually you'd install using your distro's package manager instead of building from source unless there's an extremely good reason not to. Packages for your distro know where everything belongs, source tarballs are generic things which don't. 'make install' installed both headers and binaries, and may not have put them in the place your distro needs them in order to find them unless you picked your ./configure options carefully. You probably have the necessary header files now, but may have overwritten your glib binaries or installed extra copies somewhere else (check /usr/local/lib)
Hello Corona688. thanks for quick reply.

actually I forgot to mention a couple of things. I'd like to keep the old version of glib-devel-1.2.10-586.2 and glib-devel-32bit-9-200501051723
These got installed using RPMS while OS was installed.

Someone requested for glib-devel-2.x version which was not installed. I thought I could install it using source without affecting any part of current system files and as a unique package in /usr/local which that user could make use of when wanted.

First thing I was confused because package on that website or even gnome ftp site is glib and NOT glib-devel. So, I hope the package 'glib' itself is correct. And, secondly now that I have installed glib-2.24.2 using default ./configure options, will it mess up any part of the system or it will still be compatible with old glib-devel?

Also, is there anyway to find using rpm command where glib-devel-1.2.x package files get installed. Meaning what all locations of file system.

Now that you said the installation from source might have overwritten old binaries or libraries, I am really concerned.

Below is make install log
Code:
http://pastebin.ca/1939860

Smilie
# 4  
Old 09-13-2010
Quote:
Originally Posted by upengan78
Someone requested for glib-devel-2.x version which was not installed. I thought I could install it using source without affecting any part of current system files and as a unique package in /usr/local which that user could make use of when wanted.
Where it installs is controlled by what options you gave ./configure. Try ./configure --help if you're curious.
Quote:
First thing I was confused because package on that website or even gnome ftp site is glib and NOT glib-devel. So, I hope the package 'glib' itself is correct.
Most binary distros split packages into base and -dev versions to save space, since the headers, objects, etc. aren't needed to run the libraries and executables, just compile with them. They are needed to compile using the library, so they're optionally available.

Having built glib from source, there is no base and -dev package, just one source tarball. 'make install' installs everything, headers included. Usually, anyway. Not all makefiles are the same.
Quote:
And, secondly now that I have installed glib-2.24.2 using default ./configure options, will it mess up any part of the system or it will still be compatible with old glib-devel?
From the log it looks to have safetly installed everything under /usr/local, even the headers. Hooray for sane defaults. Your users ought to be able to use it there, though they'll need to give these extra header and library search paths the compiler and linker (and maybe point their executables to the right library paths by exporting LD_LIBRARY_PATH before running them).

Last edited by Corona688; 09-13-2010 at 02:46 PM..
This User Gave Thanks to Corona688 For This Post:
# 5  
Old 09-13-2010
Many thanks. Your input was very informative.

Good day.Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Programming

Yum install qt-devel qt-doc qt-creator qt5?

hi all, i use yum install qt-devel qt-doc qt-creator to install qt4 on fedora 20 what command line used to install qt5 (1 Reply)
Discussion started by: cetu
1 Replies

2. Red Hat

How to uninstall limbcrypt-devel?

my os is # cat /etc/redhat-release CentOS release 6.4 (Final) from Pinoyden Blog: configure: error: mcrypt.h not found. Please reinstall libmcrypt. # rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Retrieving... (1 Reply)
Discussion started by: jediwannabe
1 Replies

3. Solaris

GLib 2.14.1

Hi, I have downloaded the glib 2.14.1 package from sunfreeware.com and installed it with pkgadd. However, glib-config --version shows the old version which is 1.2.10. I tried using crle but it just blew stuff up. I also tried glib-config --prefix=/usr/local but it doesn't seem to stick. I need... (2 Replies)
Discussion started by: cshore
2 Replies

4. Red Hat

trying to install openssl-devel

Hi there, I am using redhat 7.3 and I am trying to install openssl-devel-0.9.6b-18.i386.rpm but I get the following error message when I try to install: error: failed dependencies: openssl = 0.9.6b-18 is needed by openssl-devel-0.9.6b-18 The thing that confuses me most is that when I... (0 Replies)
Discussion started by: redhat_newb101
0 Replies

5. Solaris

mysql-devel

I am trying to install Postfix on a Sun SPARC Solaris 9 server. I am not sure whether it is essential or not but still installed MySQL on that server and it is running fine.Now when I am trying to run the make command as a part of installation of Postfix, it reports the following error. # make ... (1 Reply)
Discussion started by: chrs0302
1 Replies

6. Programming

devel.rpm

I have a question on how to make an rpm out of the source package distribution. just looking for a general procedure. Like say I have the MIT kerberos source, would I "make -C libs" or something like that? (2 Replies)
Discussion started by: thmnetwork
2 Replies
Login or Register to Ask a Question