Sponsored Content
Full Discussion: glib-devel-2
Operating Systems Linux glib-devel-2 Post 302452949 by Corona688 on Monday 13th of September 2010 01:36:47 PM
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:
 

6 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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
GLIB(1) 							      1.2.10								   GLIB(1)

NAME
glib-config - script to get information about the installed version of GLib SYNOPSIS
glib-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] [LIBRARIES] DESCRIPTION
glib-config is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link programs that use GLib. It is also used internally to the .m4 macros for GNU autoconf that are included with GLib. OPTIONS
glib-config accepts the following options: LIBRARIES GLib has three libraries 'glib', 'gmodule' and 'gthread'. If you specify one of them, only the appropriate things for that library will be printed. --version Print the currently installed version of GLib on the standard output. --libs Print the linker flags that are necessary to link a GLib program. --cflags Print the compiler flags that are necessary to compile a GLib program. --prefix=PREFIX If specified, use PREFIX instead of the installation prefix that GLib was built with when computing the output for the --cflags and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be specified before any --libs or --cflags options. --exec-prefix=PREFIX If specified, use PREFIX instead of the installation exec prefix that GLib was built with when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. SEE ALSO
gtk-config(1), gimp(1), gimptool(1) COPYRIGHT
Copyright (C) 1998 Owen Taylor Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, pro- vided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in sup- porting documentation. Version 16 December 1998 GLIB(1)
All times are GMT -4. The time now is 02:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy