khuong.com

Point and shoot.

Compiling Scribes 0.2.9.86 preview with Ubuntu Edgy

I picked up a copy of the latest Scribes preview from here (download link) and templates.

On Ubuntu Edgy (I’m running an Ubuntu 6.06LTS upgraded to the latest Edgy development bits) scribes failed to compile. This is because I’m not running a complete set of dev libs.
I got various complaints when trying to run the initial ./configure script.

First error was a missing C compiler:

checking for gcc… gcc
checking for C compiler default output file name… configure: error: C compiler cannot create executables
See `config.log’ for more details.

So I installed G++ and it solved this problem.

Next, I ran into a missing DBUS:

checking for DBUS… configure: error: Package requirements (dbus-1 >= 0.60) were not met:

No package ‘dbus-1′ found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables DBUS_CFLAGS
and DBUS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Installing libdbus-glib and python-dbus resolved this dependancy. Then I ran into a few more:

No package ‘gnome-python-2.0′ found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GNOMEPYTHON_CFLAGS
and GNOMEPYTHON_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

here:

checking for GNOMEVFS… configure: error: Package requirements (gnome-vfs-2.0 >= 2.14.0) were not met:

No package ‘gnome-vfs-2.0′ found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GNOMEVFS_CFLAGS
and GNOMEVFS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

and here:

checking for GNOMEPYTHONEXTRAS… configure: error: Package requirements (gnome-python-extras-2.0 >= 2.12.0) were not met:

No package ‘gnome-python-extras-2.0′ found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

There were a few more which popped up. By installing the following packages I ended up with a successful run of ./configure:

libgtkspell-dev
libgnome2-vfs-dev
python-gnome2-desktop-dev
python-gnome2-dev
python-gnome2-extras-dev
python-gtk2-dev

I didn’t take complete notes as I did the installation, so please install any dependencies that apt-get or synaptic bugs you about.

checking for a Python interpreter with version >= 2.4… python
checking for python… /usr/bin/python
checking for python version… 2.4
checking for python platform… linux2
checking for python script directory… ${prefix}/lib/python2.4/site-packages
checking for python extension module directory… ${exec_prefix}/lib/python2.4/site-packages
checking for pkg-config… /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0… yes
checking for DBUS… yes
checking for GTKSPELL… yes
checking for GNOMEVFS… yes
checking for PYGTK… yes
checking for GNOMEPYTHON… yes
checking for GNOMEPYTHONDESKTOP… yes
checking for GNOMEPYTHONEXTRAS… yes
configure: creating ./config.status
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating Makefile
config.status: creating help/Makefile
config.status: creating help/scribes/Makefile
config.status: creating help/scribes/C/Makefile
config.status: creating SCRIBES/Makefile
config.status: creating data/Makefile
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands

Subsequent ‘make’ command worked and ‘sudo make install’ installed the build into /usr/local/bin.

Hope that helps.

technorati tags:, , ,

Blogged with Flock

posted by Khuong in [Random] and have Comment (1)

One Response to “Compiling Scribes 0.2.9.86 preview with Ubuntu Edgy”

Place your comment

Please fill your data and comment below.
Name
Email
Website
Your comment