build & install GTK library [closed] - gtk

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I need to build & install GTK library so i need source code for it. So i searched & come to this link which contains its GIT hub path.
http://www.gtk.org/download/
Is this procedure correct ?
git clone git://git.gnome.org/gtk+
cd gtk+
./configure
make
make install
1> As per link it states it requires some libraries. Do i need to perform the same step for ---> glib, pango, gdk-pixbuf and atk.
2> Does cairo comes with pango or have to be downloaded, build & install seprately ?
3> Does i need xlib ?
Please suggest what all dependency packages are required by GTK ? which i have to compile & install seprately.

This post should give you a full idea of what you need to build GTK+
http://developer.gnome.org/gtk3/stable/gtk-building.html

Related

Properly Uninstall MongoDB via Command Line [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I've installed MongoDB version i686-2.2.3 from source, in a Ubuntu 12.10 box. Now I want to remove it.
How can I do it properly?
Best wishes,
If you installed from source you would not have compiled it but instead just extracted the tar it came in and ran it.
The very first thing you need to do is figure out what additional stuff you put on, i.e.: a init.d script.
Once you remove all the additional threads you have created you can remove the directory that houses the mongo binary, normally a folder called mongo on most systems and then you need to delete your data directory, normally /data/db/ under the source version.
Of course, this assumes you installed from source and not a package, if you installed from a package you can do:
apt-get remove --purge mongodb
Edit
Alternatively if you are using autoremove:
apt-get autoremove --purge mongodb

Locate xcodeproj in terminal [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How can i locate my project in terminal which i created in xcode?
How can i add or install Submodules of Sharekit to my project?
I am trying to locate my project created in Xcode.
When i type in locate abc.xcodeproj
it gives this warning
WARNING: The locate database (/var/db/locate.database) does not exist.
To create the database, run the following command:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
Please be aware that the database can take some time to generate; once
the database has been created, this message will no longer appear.
Thanks for help.
locate is somewhat obsolete. Use Spotlight instead:
$ mdfind abc.xcodeproj

Cygwin wants to downgrade my Perl [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm using Cygwin 2.769. I used setup.exe to upgrade Perl to version 5.14.1-2, which works fine. But now whenever I open setup.exe to upgrade/install some other package, it by default wants to downgrade Perl back to 5.10.1-5. If I don't remember to manually cycle that box over to my current version each time, Perl gets downgraded without my noticing.
Is this expected behavior, or have I hosed something up? It seems like using the "Curr" setting should not by default downgrade things.
I've had this problem, and it's made package managers almost unbearable. When disparate packages want to rely on different versions of a package that can only install in one version at a time, bad things happen.
Don't use the system perl for anything. Install a perl that other packages don't care about.

What's the difference between rpm and yum? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Is there any difference between rpm and yum? I know the recent system prefer yum, but want to know if there is need for rpm also.
to expand on the Udo's answer, there is the program, "rpm", which manipulates specifically the packages it is asked to manipulate, and there is "yum", which is a more intelligent management system that can find dependencies and download .rpm files even if they're not in the system.
with the "rpm" command, you need to know the exact location of the .rpm package, but with "yum", you just need to know the name of it, and as long as it's available through your repositories list, it will be installed along with its dependencies
Yum is a package manager and rpms are the actual packages.
With yum you can add or remove software. The software itself comes within a rpm.
The package manager allows you to install the software from hosted repositories and it will usually install dependencies as well.

Upgrading Perl in Ubuntu [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Since May 14th the current version of Perl is 5.14. In Ubuntu repository the current version of Perl is 5.10 which is no longer supported. So Im trying to manually upgrading Perl.
What is the recommended way to upgrade perl 5.10 to perl 5.14 in Ubuntu?
I found the perlbrew tool, but it seems to install just in the users home.
Perlbrew docs says that you can change your $HOME dir to something else:
The directory ~/perl5/perlbrew will contain all install perl
executables, libraries, documentations, lib, site_libs. If you need to
install perlbrew, and the perls it brews, into somewhere else because,
say, your HOME has limited quota, you can do that by setting a
PERLBREW_ROOT environment variable before running the installer:
export PERLBREW_ROOT=/opt/perlbrew curl -L
http://xrl.us/perlbrewinstall | bash
download, configure, compile ....