LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   how to install gtkmm from source (https://www.linuxquestions.org/questions/red-hat-31/how-to-install-gtkmm-from-source-729446/)

cnhappy 05-30-2009 12:22 AM

how to install gtkmm from source
 
how to install gtkmm from source? teach me ,ok? my OS is centos5.3.
MSN:cnhappy@yeah.net.
Thank you for your help!

repo 05-30-2009 12:29 AM

Download the tar file
untar the file
Code:

tar -xvzf foo.tar.gz
cd to the directory created by the untar command
Code:

cd foo
read the readme and install files.

In general
Code:

./configure
make
sudo make install

To avoid problems (dependencies, problems with upgrades, uninstal) first look if the package isn't available in your packetmanager

lazlow 05-30-2009 12:30 AM

Start by grabing the src.rpm from the repo. It will contain the spec file and the patches needed to get it done. The two main gtkmm packages for Centos are gtkmm2 and gtkmm24.

Is there a particular reason you want to install it from source? On rpm based systems compiling from source is normally done only as a last resort. Doing so creates issues with package management (as well as a host of other things).


All times are GMT -5. The time now is 02:57 PM.