Linux - SoftwareThis 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.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Making install in .
make[1]: Entering directory '/tmp/install-pygtk-29541/pygtk-2.24.0'
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include/python3.4m -I/usr/include/python3.4m -I/home/trekjunky/.virtualenvs/mycroft/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./gtk -DDISABLE_THREADING -I/usr/local/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -Wall -fno-strict-aliasing -std=c9x -MT atk_la-atkmodule.lo -MD -MP -MF .deps/atk_la-atkmodule.Tpo -c -o atk_la-atkmodule.lo `test -f 'atkmodule.c' || echo './'`atkmodule.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include/python3.4m -I/usr/include/python3.4m -I/home/trekjunky/.virtualenvs/mycroft/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./gtk -DDISABLE_THREADING -I/usr/local/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -Wall -fno-strict-aliasing -std=c9x -MT atk_la-atkmodule.lo -MD -MP -MF .deps/atk_la-atkmodule.Tpo -c atkmodule.c -fPIC -DPIC -o .libs/atk_la-atkmodule.o
atkmodule.c:36:1: warning: return type defaults to ‘int’ [enabled by default]
DL_EXPORT(void)
^
atkmodule.c: In function ‘DL_EXPORT’:
atkmodule.c:37:1: error: expected declaration specifiers before ‘initatk’
initatk(void)
^
atkmodule.c:48:1: error: expected ‘{’ at end of input
}
^
atkmodule.c:48:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Makefile:609: recipe for target 'atk_la-atkmodule.lo' failed
make[1]: *** [atk_la-atkmodule.lo] Error 1
make[1]: Leaving directory '/tmp/install-pygtk-29541/pygtk-2.24.0'
Makefile:706: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
I have Opensuse Leap 42.1 and Plasma 5 KDE. I think it is trying to install gtk, but I thought I already have it installed. How can I check to see if it is already installed? How can I fix this error?
zypper se python-gtk
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+----------------------------+---------------------------------------------------------+-----------
i | python-gtk | Python bindings for the GTK+ widget set | package
| python-gtk | Python bindings for the GTK+ widget set | srcpackage
i | python-gtk-devel | Files needed to build wrappers for GTK+ addon libraries | package
| python-gtk-doc | Python bindings for the GTK+ widget set | package
i | python-gtk-vnc | Python bindings for the gtk-vnc library | package
i | python-gtksourceview | Python bindings for the GTK+ source editing widget | package
| python-gtksourceview | Python bindings for the GTK+ source editing widget | srcpackage
i | python-gtksourceview-devel | Python bindings for the GTK+ source editing widget | package
i | python-gtkspell | Python bindings for GtkSpell | package
The i means already installed...Why doesn't dev_setup.sh see it?
Last edited by TrekJunky; 07-06-2016 at 12:48 PM.
Reason: Adding questions
.... The installed python-gtk, python-gtk-devel are python 2.7 packages, not usable by python3.
If you want to build "mycroft ai", I suggest you change the python link back to default.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #5.
Quote:
I manually did a make and installed pygtk
? What do you mean by that ? You already had {python-gtk, python-gtk-devel}.
Your issues are caused by mixing python versions : See post #4 ; If you want to build "mycroft ai", I suggest you change the python link back to default.
I.e. /usr/bin/python must be a link to python2.7
I'm sorry to see that you are having some issues with the Mycroft setup. You might be the first person to try to install it on OpenSUSE. I see that you are using the virtualenv, and the dev_setup script should restrict your python version to 2.7, so I don't see any problem there. Feel free to contact us at #mycroft on freenode.net, join us on slack: https://mycroft-ai-slack-invite.herokuapp.com/ , or open an issue on our github project; https://github.com/MycroftAI/mycroft-core/issues.
Thanks for giving it a shot! Pop by and we will try to help.
? What do you mean by that ? You already had {python-gtk, python-gtk-devel}.
Your issues are caused by mixing python versions : See post #4 ; If you want to build "mycroft ai", I suggest you change the python link back to default.
I.e. /usr/bin/python must be a link to python2.7
I didn't know how to change the version of python, so I thought I would navigate to the downloaded pygtk folder and do a configure, make and make install. Now it skips over the GTK install (I think) and gives my the new error. Would you please tell me HOW I can change the python link back to 2.7? It seems that the link is generated rather than hard coded. I couldn't find it in any of the files.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.