Tuesday, June 30, 2009

Projgen setup on Ubuntu 9.04 (Jaunty)

Just surfed around some news sites and stumbled upon the moblin (Intel's netbook Linux) site, as the 2.0 release is due. In the dev. section of the site I found projgen, a C/C++/Python project generator based on autotools and GTK. It actually has a nice GUI, though it is still *very* unstable. Now I had some hassle to get it running in the first place, so now I describe what did the trick until it will be fixed:

Note: You'll need git to fetch the sources, if you don't have them, sudo apt-get install git .

First I went to the project site: http://moblin.org/projects/linux-project-generator and did what was written there:

Opened a terminal and fetched the sources: git clone git://git.moblin.org/projgen.git

Installed the stuff that is listed there: sudo apt-get install libmagic-dev libglade2-dev libglib2.0-dev libgconf2-dev libxml2-dev

Entered ./autogen.sh , as it was described, which imediately bitched about missing libtoolize and gtkdocize , which I did not found as packages either. The right packages are: libtool and gtk-doc-tools . Installing these with sudo apt-get install libtool gtk-doc-tools will solve the problem.

Now autogen and
./autogen.sh
make
sudo make install

Now everything is in place, but running projgen will still bitch about a missing libprojgen.so.0, wich is located at /usr/local/lib . To make it work, you have to add it to the ldconfig thing. Do this by adding the path to a etc config file: sudo echo '/usr/local/lib' > /etc/ld.so.conf.d/projgen.conf and then update the cache: sudo /sbin/ldconfig .. Now you can run projgen.

As mentioned, it is still quite not mature right now.

No comments:

Post a Comment