LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-29-2015, 09:49 AM   #1
Vect13
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Rep: Reputation: Disabled
[SOLVED] Problem to install Gtk+


Hi guys,

I am currently working on a research project regarding fluid dynamics and I use the software Gfs Flow Solver, working on Linux.
I installed a virtual machine (VMware player) with Ubuntu 12 (the software doesn't work on Ubuntu 14).
I manages to install Gerris Flow Solver, but the tutorial says it is very helpful to also install GfsView, which permits to visualize simulation files.
However, in order to install it, I first need to install Gtk+ (and its extension called GtkGlExt).
So I went there : http://www.gtk.org/download/linux.php and I have downloaded GTK+ 3.16
Then I started to do the installation guide : https://developer.gnome.org/gtk3/sta...-building.html
When I wrote in my terminal :
Code:
./configure --prefix=/opt/gtk
the terminal says that it misses The GLib library, GdkPixbuf library, Pango, ATK et Gobject Introspection.
In the installation guide, they say that I need pkg-config and different versions of make (in the Dependencies part) in order to install all the previous things.
And right there I am stuck, I am a beginner on Linux so I really don't know what to do.

If someone could help it would be great !
Thanks

Last edited by Vect13; 06-30-2015 at 05:57 AM. Reason: problem solved
 
Old 06-29-2015, 12:10 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

Gerris : You can install gerris with your 'Package Manager',
.. or open a terminal window and type : sudo apt-get install gerris
.. and the dependencies libgfs etc. will be installed automatically.
http://packages.ubuntu.com/precise/gerris



-

Last edited by knudfl; 06-29-2015 at 12:13 PM.
 
Old 06-29-2015, 02:32 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,636

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
gtk ( Gimp Tool Kit) is installed by default on almost EVERY linux machine
the Gnome desktop manager is BUILT ON GTK

it is like wanting to install Microsoft Media player on a windows OS

it is installed already


now

there are 3 versions of GTK
the current GTK 3
the older gtk2
and the ancient GTK1


the very OLD ubuntu 12 ( the 12 as in the year 2012 ) is a bit old
so it will be using the GTK2


now GTK is installed
but what you might be missing are the DEVELOPMENT source headers
Code:
sudo apt-get update
sudo apt-get in gtk-dev
and from your post
i am betting you are also missing ALL of the needed development tools and code
start with installing the ubuntu "build-essentials "

Last edited by John VV; 06-29-2015 at 02:34 PM.
 
Old 06-30-2015, 12:55 AM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
If you still want to build gtk from source and nice guide would be BLFS book.
 
Old 06-30-2015, 05:54 AM   #5
Vect13
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks guys for your help.
John VV was right, I missed the development source headers. Gtk+ was already installed but it was not the good version...

Sincerely.
 
  


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
fsv install problem with gtk+ alabamaman Linux - Software 3 09-13-2007 08:06 PM
gtk+-2.8.10 install problem tkossak Linux - Software 10 01-20-2006 04:32 PM
Trying to install Gaim. gtk+ problem Matt Barnes Linux - Software 2 12-28-2005 12:51 PM
Trying to Install cinepaint-0.18-2 and theres a GTK Problem ThePDW Linux - Software 3 04-29-2004 07:33 AM
gtk install problem with pangoxft bacon22 Linux - Software 1 04-28-2004 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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