LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-12-2013, 12:31 PM   #1
skinney
Member
 
Registered: Oct 2012
Location: oakland,ca
Distribution: Arch, Ubuntu Server 12.04, Slack64-14.1
Posts: 86

Rep: Reputation: Disabled
i installed glib from source on debian but atk configure still see old ver of glib


Debian Squeeze kernel 3.9
dpkg libglib2.0-0 = 2.4
i installed glib 2.35.3 from source

I've looked around and i guess Debian package is installed /usr/ and installation from source goes to /usr/local/

this forum
http://stackoverflow.com/questions/1...been-installed
recommends changing...

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
LD_LIBRARY_PATH=/usr/local/lib

when i'm installing newer programs from source should i just change prefix to /usr/ ?
 
Old 05-12-2013, 02:00 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,144

Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
A little reading would show

Quote:
./configure --prefix=/usr {the rest of the options]
./configure --help |less also shows you the options you should be looking at.
 
Old 05-12-2013, 03:21 PM   #3
skinney
Member
 
Registered: Oct 2012
Location: oakland,ca
Distribution: Arch, Ubuntu Server 12.04, Slack64-14.1
Posts: 86

Original Poster
Rep: Reputation: Disabled
should i reinstall glib2 in /usr? or is that sketchy?

what is the proper way to install a newer version of a program (or library or whatever) that is already in stalled by the deb package sys?
you know what i mean?
Debian will give me binary of glib2 2.24.2 but i want to install something that requires 2.35.3

-thx for your help
 
Old 05-12-2013, 03:36 PM   #4
skinney
Member
 
Registered: Oct 2012
Location: oakland,ca
Distribution: Arch, Ubuntu Server 12.04, Slack64-14.1
Posts: 86

Original Poster
Rep: Reputation: Disabled
ok, got it

i added to .bashrc

Quote:
LD_LIBRARY_PATH=/usr/local/lib
added to /etc/ld.so.conf
Quote:
/usr/local/lib
and ran ldconfig

atk complied and installed

but i feel this was a little hacky :/

Last edited by skinney; 05-12-2013 at 03:38 PM.
 
  


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 01:18 AM
configure: Requested 'glib-2.0 >= 2.32.0' but version of GLib Uninstalled is 2.29.2 rohanp141@gmail.com Linux - Newbie 5 12-21-2012 06:12 AM
Do I have Glib installed? Can't ./configure tur third Mandriva 3 04-22-2007 08:59 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:52 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