PDA

View Full Version : No package 'gtkmm-2.0' found



tom66
January 31st, 2008, 09:00 PM
I'm trying to compile a glade app I've built. I get this error when I try and run configure or autogen.sh.



No package 'gtkmm-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 GTKMM_CFLAGS
and GTKMM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


I've searched around and can't find any information about this.

Thanks,
Tom

lnostdal
January 31st, 2008, 09:10 PM
pkg-config --list-all | grep gtkmm

..anything?

you might not have the gtkmm libraries installed



aptitude search libgtkmm


..probably want



sudo aptitude install libgtkmm-2.4-dev


oh, and:



CL-USER> (sqrt pi)
1.7724538509055159d0

tom66
January 31st, 2008, 09:29 PM
I got this:



gtkmm-2.4 gtkmm - C++ wrapper for GTK+


I must think of another puzzle.

lnostdal
January 31st, 2008, 09:48 PM
wait, maybe i read that wrong .. try installing libgtkmm2.0-dev (not 2.4)

lnostdal
January 31st, 2008, 09:52 PM
nvm ..

tom66
February 1st, 2008, 09:27 AM
Ok, I'm not getting that error any more. Thanks!

But I'm getting another one...



...
checking for xgettext... /usr/bin/xgettext
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTKMM... yes
configure: creating ./config.status
./config.status: line 346: -c
# If no file are specified by the user, then we need to provide default
# value. By we need to know if files were specified by the user.
ac_need_defaults=:
while test $# != 0
do
case $1 in
--*=*)
ac_option=`expr "X$1" : X([^=]*)=`
ac_optarg=`expr "X$1" : X[^=]*=(.*)`
ac_shift=:
;;
*)
ac_option=$1
ac_optarg=$2
ac_shift=shift
;;
esac

case $ac_option in
# Handling of the options.
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
ac_cs_recheck=: ;;
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
echo "$ac_cs_version"; exit ;;
--debug | --debu | --deb | --de | --d | -d )
debug=: ;;
--file | --fil | --fi | --f )
$ac_shift
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
ac_need_defaults=false;;
--header | --heade | --head | --hea )
$ac_shift
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
ac_need_defaults=false;;
--he | --h)
# Conflict between --help and --header
{ echo "$as_me: error: ambiguous option: $1
Try \`$0 --help: command not found
./config.status: line 394: Try: command not found
./config.status: line 421: s/./-/g: No such file or directory
./config.status: line 421: s/^.../##: No such file or directory
./config.status: line 421: s/...$/: No such file or directory
./config.status: line 423: _ASBOX: command not found

This file was extended by ----- config.status 0.0, which was
generated by GNU Autoconf 2.61. Invocation command line was

CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status

on orpheus

./config.status: line 425: syntax error near unexpected token `}'
./config.status: line 425: `} >&5'

lnostdal
February 1st, 2008, 11:48 AM
great .. just great .. man .. what are you compiling? are you using some IDE that generates the buildscripts for you?

listen .. just skip all that, and code your own build script .. it's usually like 5-10 lines anyway :) .. (edit: then have your IDE execute the build-script you've setup by ways of a shortcut key .. it will in most cases be 100% transparent)

post the code and i'll see what i can do

tom66
February 1st, 2008, 08:35 PM
I'm using Glade to make an app.

I'm fairly new to Linux programming - I don't know how to create a build file...

Thanks!

tom66
February 2nd, 2008, 11:35 PM
Bump?

If anyone knows, please help! Thanks!