LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-11-2013, 06:09 AM   #1
yasu
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Rep: Reputation: 0
ibus compile error


Hello, all.

I have encountered a issue.
I just installed ibus package from slackbuild.
But following issue is occured.

error
==============================
...
CC test_stress-test-client.o
test-client.c:23:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
make[2]: *** [test_stress-test-client.o] Error 1
make[2]: Leaving directory `/tmp/SBo/ibus-1.3.9/bus'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/ibus-1.3.9'
make: *** [all] Error 2
...
==============================

I have installed all gtk library.

results slackpkg search command
=================================
The list below shows all packages with name matching "gtk".

[?25h[ installed ] - gtk+-1.2.10-i486-5
[ installed ] - gtk+2-2.24.10-i486-2
[ installed ] - gtk+3-3.4.4-i486-1
[ installed ] - gtkspell-2.0.16-i486-1
[ installed ] - pygtk-2.24.0-i486-1

You can search specific files using "slackpkg file-search file".
=================================

What require to install ibus package?
 
Old 05-11-2013, 06:31 AM   #2
gmgf
Member
 
Registered: Jun 2012
Location: France
Distribution: Slackware Zenwalk
Posts: 159

Rep: Reputation: Disabled
probably need also pygobject pycairo
 
Old 05-11-2013, 08:01 AM   #3
yasu
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Thank you for gmgf reply.

I check pycairo package.
My machine have installed pycairo packeage.
 
Old 05-11-2013, 09:44 AM   #4
gmgf
Member
 
Registered: Jun 2012
Location: France
Distribution: Slackware Zenwalk
Posts: 159

Rep: Reputation: Disabled
probably, also pyxdg.
 
Old 05-15-2013, 08:16 AM   #5
yasu
LQ Newbie
 
Registered: Jun 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks gmgf.

I have installed pyxdg package.


sample code
====================
#include<gtk/gtk.h>
int main() {
return 0;
}

====================


library path is nothing.
===============================
$ gcc `pkg-config --libs gtk+-2.0` test.c -o test
test.c:1:20: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
===============================

refer url: http://www.linuxquestions.org/questi...ectory-795475/
 
Old 05-15-2013, 09:15 AM   #6
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 3,995

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
you will need the dev package (or probably more): package_name-dev will give you the headers
 
Old 05-15-2013, 09:39 AM   #7
gmgf
Member
 
Registered: Jun 2012
Location: France
Distribution: Slackware Zenwalk
Posts: 159

Rep: Reputation: Disabled
gtk.h is in gtk+2 and gtk+3, package.

these package are also needed.

at-spi2-atk,at-spi2-core,atk,bzip2,cairo,cxxlibs,dbus,dconf,expat,fontconfig,freetype,gcc,gdk-pixbuf2,glib2,gtk+2,gtk+3,libICE,libSM,libX11,libXau,libXcomposite,libXcursor,libXdamage,libXdmcp,li bXext,libXfixes,libXi,libXinerama,libXrandr,libXrender,libffi,libpng,libxcb,pango,pixman,python,util-linux,zlib

Last edited by gmgf; 05-15-2013 at 09:47 AM.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] enable ibus ibus-chewing input method on slackware 13.37 ted_chou12 Linux - Software 1 08-23-2012 09:35 AM
no ibus Pedroski Ubuntu 4 06-09-2012 12:51 PM
Slackbuild enconters error with missing "ibus.csh" ShellyCat Slackware 3 01-11-2011 07:07 AM
The error compile C/C++ in linux (but it does compile on Win) hikaru1505 Programming 2 12-30-2010 09:11 AM


All times are GMT -5. The time now is 07:49 AM.

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