LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 03-27-2013, 02:05 PM   #1
PeterUK
Member
 
Registered: May 2009
Posts: 277

Rep: Reputation: 16
GTK3 making a big mess. Now help dividing what partition to divide to.


After no be able to compile GTK3 on 10.04 I have decided update to other distro I am trying to move on to Slackware.

I find it to be a big task as I have lot of working on Ubuntu.

But I want to start with the partition:

I have been working for some time now with
5.2 G Fat 32 (only the boot loader)
Extended 155GB:
80 FAT32
72 GB ext4
3.1 swap

I have not used Windows OS in ages now but I have been thinking to leave it there anyway (still not sure maybe is a waste of space)

Now if I try to follow the same it should be something like:
1 G Fat 32
50 G NTFS (for Window as it need to be installed first, right?)
100 G Slackware Sys
500 G Home Dir
20 G encrypted drive
80 G Ubuntu Sys

Maybe take 20 G (two 10G) from 500 for future distro testing?

What do you think? What is the best way to install this?

Thanks
 
Old 03-27-2013, 02:31 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 13,242

Rep: Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774
Building a newer version of GTK than the OS uses
can be daunting

i stopped a bit back - just too MUCH WORK
I used to build the early testing version of Gimp on Fedora
the gtk used was often too NEW even for the NEW version of Fedora

it will require a newer version of about 1/4 of the OS
glib
autotools
plus ALL and every dependency for GTK

you need to build it out of the system tree !!!!!!!!!!!

in a build folder that is NOT found by the system

say /opt/GTK3 ( do NOT put it in the system $PATH !!!! )

build every prerequisite in there and export that "build folder" to configure and include the /opt/GTK3/lib64 and /opt/GTK3/lib64/pkgconfig
required settings
for EVERY prerequisite

it is a lot of work
 
Old 03-29-2013, 03:46 PM   #3
PeterUK
Member
 
Registered: May 2009
Posts: 277

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by John VV View Post

you need to build it out of the system tree !!!!!!!!!!!

in a build folder that is NOT found by the system

say /opt/GTK3 ( do NOT put it in the system $PATH !!!! )
What do you mean by the system path?

I am doing the steps here
https://developer.gnome.org/gtk3/sta...-building.html

if you looked on the website
PKG_CONFIG_PATH="/opt/gtk/lib/pkgconfig"
export CPPFLAGS LDFLAGS PKG_CONFIG_PATH
and
LD_LIBRARY_PATH="/opt/gtk/lib"
PATH="/opt/gtk/bin:$PATH"
export LD_LIBRARY_PATH PATH

Is that the System PATH??

I am having lot of dealing with the GLIB (I have opened a thread about it, pls feel free to comment)

It was not that hard to get GTK 2 on 10.04 going!
 
Old 03-29-2013, 05:28 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 13,242

Rep: Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774
gtk3 though is going to need a newer version of glib on ubuntu 10.04 ( and will be in conflict with the version ubuntu 10 is using )
and a newer version of autotools and package config
newer than is on the os
and not compatible with the os

Quote:
f you looked on the website
PKG_CONFIG_PATH="/opt/gtk/lib/pkgconfig"
export CPPFLAGS LDFLAGS PKG_CONFIG_PATH
and
LD_LIBRARY_PATH="/opt/gtk/lib"
PATH="/opt/gtk/bin:$PATH"
export LD_LIBRARY_PATH PATH

Is that the System PATH??
that looks right

just make sure that without exporting the above paths that that folder is not seen by the os
when you just use the normal system variables

without exporting /opt/gtk/???? that folder and any other needed are NOT outputted by
Code:
echo $PATH
echo $LD_LIBRARY_PATH
echo $PKG_CONFIG_PATH
 
Old 03-30-2013, 03:39 AM   #5
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by PeterUK View Post
After no be able to compile GTK3 on 10.04 ...
Ubuntu 10.04 will reach end of life on May 9 2013: https://lists.ubuntu.com/archives/ub...ch/000169.html
If you want GTK 3 on Ubuntu, your best bet would be to do a clean install of the current version of Ubuntu, which is 12.10.
Ubuntu 12.10 comes with GTK 3: http://packages.ubuntu.com/quantal/gtk-3-examples
 
Old 03-30-2013, 01:08 PM   #6
PeterUK
Member
 
Registered: May 2009
Posts: 277

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by tommcd View Post
Ubuntu 10.04 will reach end of life on May 9 2013: https://lists.ubuntu.com/archives/ub...ch/000169.html
If you want GTK 3 on Ubuntu, your best bet would be to do a clean install of the current version of Ubuntu, which is 12.10.
Ubuntu 12.10 comes with GTK 3: http://packages.ubuntu.com/quantal/gtk-3-examples
I went to GTK example and I did try to stalled by "apt-get"

Can it display the version installed?? when I do apt-get its says the news version could it displayed what version is that?

gsettings-backend

Code:
Note, selecting 'dconf-gsettings-backend' instead of 'gsettings-backend'
dconf-gsettings-backend is already the newest version.
The following package was automatically installed and is no longer required:
  libxrandr-ltsq2
so it did to:
dconf-gsettings-backend
libc6
libcairo2
libgdk-pixbuf2.0-0
libglib2.0-0 (If I do sudo apt-get install libglib2.33.10, I get Unable to locate package libglib2.33.10)
libgtk-3-0
libpango1.0-0

So if I try to installed gtk 3.2.0 I get:

configure: error: Package requirements (glib-2.0 >= 2.29.14 atk >= 2.1.5 pango >= 1.29.0 cairo >= 1.10.0 cairo-gobject >= 1.10.0 gdk-pixbuf-2.0 >= 2.23.5) were not met:

But I already compile and install a new version of "glib"

How can I make it to update or perhaps just use the new glib already installed?
 
Old 03-30-2013, 01:31 PM   #7
John VV
Guru
 
Registered: Aug 2005
Posts: 13,242

Rep: Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774
Quote:
configure: error: Package requirements (glib-2.0 >= 2.29.14 atk >= 2.1.5 pango >= 1.29.0 cairo >= 1.10.0 cairo-gobject >= 1.10.0 gdk-pixbuf-2.0 >= 2.23.5) were not met:
this is coming from package conf
it is not finding the new versions you installed from source in /opt/GTK3/lib/pkgconfig
it needs to find the *.pc files in that folder
hence the exporting of $PKG_CONFIG_PATH for the non standard location

also with this type of build it is ofter needed to run
Code:
autoreconf -iv 
---- or if provided ---
sh autoconf.sh
after the exports and before "./configure"
that rebuilds the autotool AM macros
but understanding "m4" is a discipline all to is's self

and is one of the reasons i decided a bit back that getting newer versions of glib,"autotools",pkgconfig and alike to build , was just too much work .

Do not get me wrong , it is a very GOOD learning exercise .And one that most people should learn to do, and do so once or twice .

but it will take a bit of time
 
  


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
LXer: Making GTK3 themes Part 1: Basics LXer Syndicated Linux News 0 07-15-2012 04:21 AM
Wrote to partition while making image file w/ dd: Did I mess it up? vincebs Linux - General 3 06-24-2010 09:18 AM
Divide a big file into small pieces, each has same number of lines Kunsheng Linux - Software 1 10-16-2009 05:08 PM
Dividing a NTFS partition Plice Slackware 3 10-04-2004 04:02 PM
Big mess RockHound Linux - Newbie 6 09-01-2004 07:10 AM


All times are GMT -5. The time now is 01:24 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration