LinuxQuestions.org
Help answer threads with 0 replies.
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, 01: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, 07:33 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,325

Rep: Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583
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, 02: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 02:31 PM.
 
Old 07-09-2015, 02:36 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,465

Rep: Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606
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 02:38 PM.
 
Old 07-09-2015, 04:45 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,325

Rep: Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583Reputation: 3583
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:18 AM
i installed glib from source on debian but atk configure still see old ver of glib skinney Debian 3 05-12-2013 04:36 PM
AcidRip Install - Glib Install Problems - Dependecy Issue? Crash90 Linux - Software 4 03-02-2008 06: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 10: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 07:07 PM

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

All times are GMT -5. The time now is 04:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration