LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   install of glib-5.1.0 (https://www.linuxquestions.org/questions/linux-newbie-8/install-of-glib-5-1-0-a-4175547568/)

yu_chem 07-09-2015 12:15 AM

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.

knudfl 07-09-2015 06:33 AM

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" ? ?


-

yu_chem 07-09-2015 01:26 PM

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-

John VV 07-09-2015 01:36 PM

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

knudfl 07-09-2015 03:45 PM

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


-


All times are GMT -5. The time now is 09:54 PM.