Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-22-2008, 10:59 PM   #1
LQ Newbie
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
compile error with gtk+-2.12.0

Hey all, i have just installed Xubuntu 8.04 and coming across a strange error when im trying to 'make' gtk+-2.12.0.

I have compiled and installed all the pre req packages and it did a successful ./configure but when i type make i get the following error:

Making all in tests
make[2]: Entering directory `/home/justin/Desktop/gtk+-2.12.0/tests'
/bin/bash ../libtool --mode=link -o autotestkeywords
libtool: unrecognized option `-o'
Try `libtool --help' for more information.
make[2]: *** [autotestkeywords] Error 1
make[2]: Leaving directory `/home/justin/Desktop/gtk+-2.12.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/justin/Desktop/gtk+-2.12.0'
make: *** [all] Error 2

I have made sure i had the update ver of libtool and still get the same error.

Has anyone else come across this?

PS: first post on this site.. have been a lurker for a while now and for a kick ass site!
Old 07-24-2008, 08:05 AM   #2
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Indeed -o is not an option for libtool. The correct command line should be
/bin/bash ../libtool --mode=link gcc -o autotestkeywords
where -o becomes an option of the gcc compiler. Have you tried to explicitly assign the environment variable
export CC=gcc
before running configure? Maybe the command line is built upon the value of CC: if it is empty or undefined, the resulting command line is wrong.
Old 07-24-2008, 08:12 AM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,391

Rep: Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604Reputation: 3604
I haven't investigated your errors yet, but why
are you trying to compile version '2.12.0' ,
when ver. '2.12.9' is already installed ???

These packages should be on your system after
the OS install:
libgtk2.0-0 2.12.9-3ubuntu4
libgtk2.0-bin 2.12.9-3ubuntu4
libgtk2.0-cil 2.12.0-2ubuntu3
libgtk2.0-common 2.12.9-3ubuntu4
If you need the gtk2.0 devel files (needed when
compiling other things) please find the package
with 'synaptic' ('libgtk2.0-dev')

To make a list of all installed stuff please
use command 'dpkg --get-selections > packages.txt'
or have a look in 'synaptic'


Last edited by knudfl; 07-24-2008 at 08:15 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK+ compile error : glib-mkenums Sjaaksken SUSE / openSUSE 6 12-11-2005 03:16 PM
GTK+-2.6.2 compile error: libtool looking in wrong place for Locura Linux - Software 5 02-17-2005 03:51 PM
GTK error when starting gtk-chtheme Dswissmiss Linux - Software 1 10-01-2004 11:53 PM
Why this GTK example code compile error? searun Programming 1 07-22-2004 08:21 AM
compiling gaim/ gtk error (two versions of gtk) webazoid Linux - Software 0 07-06-2004 06:05 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration