Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using Ubuntu 12.04 . I am trying to install GKT+3.4.4 on my system.
I get no error when I configure it , implying that it has all the required dependencies.
But when I make it I'm getting some error.
Code :
aditya$:make
make all-recursive
make[1]: Entering directory `/home/ketan/Downloads/gtk+-3.4.4'
Making all in po
make[2]: Entering directory `/home/ketan/Downloads/gtk+-3.4.4/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ketan/Downloads/gtk+-3.4.4/po'
Making all in po-properties
make[2]: Entering directory `/home/ketan/Downloads/gtk+-3.4.4/po-properties'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ketan/Downloads/gtk+-3.4.4/po-properties'
Making all in gdk
make[2]: Entering directory `/home/ketan/Downloads/gtk+-3.4.4/gdk'
GEN gdkconfig.h
make all-recursive
make[3]: Entering directory `/home/ketan/Downloads/gtk+-3.4.4/gdk'
Making all in x11
make[4]: Entering directory `/home/ketan/Downloads/gtk+-3.4.4/gdk/x11'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/ketan/Downloads/gtk+-3.4.4/gdk/x11'
Making all in .
make[4]: Entering directory `/home/ketan/Downloads/gtk+-3.4.4/gdk'
GEN gdkconfig.h
make[4]: Leaving directory `/home/ketan/Downloads/gtk+-3.4.4/gdk'
Making all in tests
make[4]: Entering directory `/home/ketan/Downloads/gtk+-3.4.4/gdk/tests'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/ketan/Downloads/gtk+-3.4.4/gdk/tests'
make[3]: Leaving directory `/home/ketan/Downloads/gtk+-3.4.4/gdk'
make[2]: Leaving directory `/home/ketan/Downloads/gtk+-3.4.4/gdk'
Making all in gtk
make[2]: Entering directory `/home/ketan/Downloads/gtk+-3.4.4/gtk'
make[3]: Entering directory `/home/ketan/Downloads/gtk+-3.4.4/gtk'
CCLD gtk-update-icon-cache
/usr/lib/libgio-2.0.so.0: undefined reference to `g_list_copy_deep'
/usr/lib/libgio-2.0.so.0: undefined reference to `g_type_ensure'
/usr/lib/libgio-2.0.so.0: undefined reference to `g_variant_check_format_string'
/usr/lib/libgio-2.0.so.0: undefined reference to `g_spawn_check_exit_status'
collect2: error: ld returned 1 exit status
make[3]: *** [gtk-update-icon-cache] Error 1
make[3]: Leaving directory `/home/ketan/Downloads/gtk+-3.4.4/gtk'
make[2]: *** [gtkbuiltincache.h] Error 2
make[2]: Leaving directory `/home/ketan/Downloads/gtk+-3.4.4/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ketan/Downloads/gtk+-3.4.4'
make: *** [all] Error 2
aditya$:
Package: libgtk-3-0
New: yes
State: installed
Automatically installed: yes
Multi-Arch: same
Version: 3.4.2-6
Priority: optional
Section: libs
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Description: GTK+ graphical user interface library
GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of
widgets, GTK+ is suitable for projects ranging from small one-off tools to complete application suites.
I don't think the version should make a difference. You can also get the unstable version: Package: libgtk-3-0 (3.8.2-1 and others)
The command I used was:
Code:
aptitude show libgtk-3-0
I use Debian not Ubuntu but I suppose Ubuntu should have something similar.
jdk
I have already done that .. installing libgtk-3-0 using apt-get for ubuntu.
I think that the problem is because of some path related issues.
I feel that WebKit isn't able to find the right path of gtk.
If you've installed it already then why are you compiling it? I don't understand. Installing package already compiled means you don't have to go through the configure--make--make install procedure. What exactly are you trying to do?
jdk
The reason is that I have been given a project to develop a browser which another team has started.
They told me to use the same version of Webkit they have been using. So I'm trying to build that new one.
For WebKit I need a higher version of GTK.
I'm trying to build WebKit in Ubuntu (12.04 )
I can 'configure' it successfully but when I try to 'make' it ,it's showing some error .
The reason is that I have been given a project to develop a browser which another team has started.
They told me to use the same version of Webkit they have been using. So I'm trying to build that new one.
As I said before I don't think the difference between 3.4.4 and 3.4.2-6 will make much difference. Why not try it and see if it works. There is also a 3.8.2-1 version of libgtk-3-0 you could use if the 3.4.2-6 doesn't work. This will save you the trouble of having to compile the library from source which is causing you problems. You probably have the wrong version of some dev packages needed for the compilation.
jdk
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.