LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-09-2015, 12:15 AM   #1
yu_chem
LQ Newbie
 
Registered: Jul 2015
Posts: 4

Rep: Reputation: Disabled
install of glib-5.1.0


Hello everyone

I have difficulty in installing glib-5.1.0 into centOS7
from GTK+ site, I found link into glib-2.45.3.zip and got the file.
However, I couldn't find configure file in unpackaged folder.
INSTALL.in file dectate ./configure on command line.
So I try to command ./configure.as which exist in this folder.
But only error happens
Could you help me ? what command should I input?
I want to know how to install.
 
Old 07-09-2015, 06:33 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The system Glib, version 2.40.0 : Do not change, please.
"2.45.3" : Use a "hideaway" install location for any different version :
$ tar xvf glib-2.45.3.tar.xz
http://caesar.acc.umu.se/mirror/gnom...-2.45.3.tar.xz
$ cd glib-2.45.3/
$ ./configure --prefix=/usr/local/glib245


P.S. : What do you mean by the "glib-5.1.0" ? ?


-
 
Old 07-09-2015, 01:26 PM   #3
yu_chem
LQ Newbie
 
Registered: Jul 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you for answer.
However, There is only "configure.as" file in unpakeged folder from http://caesar.acc.umu.se/mirror/gnom...-2.45.3.tar.xz
And when ./configure or ./configure.as are executed, error happen.
What cause the problem? How should I set up.

and I'm sorry my mistake about 5.1.0. 5.1.0 means the version of gcc and the umber was wrote behind glib-

Last edited by yu_chem; 07-09-2015 at 01:31 PM.
 
Old 07-09-2015, 01:36 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
if you want to use the version of gcc5.1 that almost NO software has YET been upgraded to
then install Fedora 22

cent is a rebuild of RedHat
a VERY VERY VERY!!!! conservative operating system
they use OLDER AND VERY WELL tested older versions of software

CentOS/RHEL will NEVER!!!! have the NEWEST software


mind you not many programs have been YET!!! updates to build using the NEW gcc 5.1 compiller

YOU!!! will NEED to port the software you are building

but seeing as you do not YET know what to do with a autotools" configure.ac file
or the *.m4 files

i doubt you will be able to rewrite the software

CentOS 7 uses Gcc 4.8

USE THAT DEFAULT compiler
changing it CAN CAUSE MAJOR PROBLEMS if caution is not taken

Code:
su -
yum groupinstall "Development Tools"
that will install the default compiler

Last edited by John VV; 07-09-2015 at 01:38 PM.
 
Old 07-09-2015, 03:45 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #3, @yu_chem.
Quote:
There is only "configure.ac" file in unpacked folder
? A corrupt glib-2.45.3.tar.xz ?
... Then please download a new package.

Important : install the glib build prerequisites :
# yum install gcc-c++ autoconf zlib-devel libffi-devel.x86_64

$ cd glib-2.45.3/ && ./configure --prefix=/usr/local/glib245
.... No issues here, CentOS 7 !
$ make : Also OK.
# make install : OK.


... By the way, why do you want glib-2.45.3 ? ?
Installing / (updating to) the complete glib-2.40.0 : # yum install glib2-devel


-
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] i installed glib from source on debian but atk configure still see old ver of glib skinney Linux From Scratch 3 05-13-2013 01:18 AM
i installed glib from source on debian but atk configure still see old ver of glib skinney Debian 3 05-12-2013 03:36 PM
AcidRip Install - Glib Install Problems - Dependecy Issue? Crash90 Linux - Software 4 03-02-2008 05:52 PM
xmms install (needs glib>1.22), just installed glib 2.4.8 and still get error message eskiled Linux - Software 2 12-19-2005 09:12 PM
can't install gtk 2.4.4: "Requested 'glib-2.0 >= 2.4.0' but version of GLib is 2.2.3 webazoid Linux - Software 0 07-15-2004 06:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration