[opensuse] gedit was not compiled with Python support
System: openSUSE 10.3 gedit-2.20.0-8 I downloaded gedit_classbrowser-0.2.1 and copied its contents to ~/.gnome2/gedit/plugins. Launching gedit results in the following: @deimos ~] gedit ** (gedit:14112): WARNING **: Cannot load Python plugin '/home/ sprotsman/.gnome2/gedit/plugins/classbrowser.gedit-plugin' since gedit was not compiled with Python support. Does anyone know where I can get gedit with Python support? I've tried to compile the latest (2.22.3) myself but it disables Python support. Here is that output: @deimos ~/workspace/gedit-2.22.3] ./configure <snip> checking whether Python support is requested... autodetect checking for a Python interpreter with version >= 2.3... python checking for python... /usr/bin/python checking for python version... 2.5 checking for python platform... linux2 checking for python script directory... ${prefix}/lib64/python2.5/site- packages checking for python extension module directory... ${exec_prefix}/lib64/ python2.5/site-packages checking for headers required to compile python extensions... found sed: can't read /usr/lib/python2.5/config/Makefile: No such file or directory sed: can't read /usr/lib/python2.5/config/Makefile: No such file or directory sed: can't read /usr/lib/python2.5/config/Makefile: No such file or directory checking whether we can build a shared library depending on libpython... yes checking for PYGTK... no configure: WARNING: No package 'pygtksourceview-2.0' found configure: WARNING: Disabling python support checking for glib-genmarshal... /usr/bin/glib-genmarshal checking for glib-mkenums... /usr/bin/glib-mkenums checking what warning flags to pass to the C compiler... -Wall - Wmissing-prototypes checking what language compliance flags to pass to the C compiler... configure: creating ./config.status config.status: creating Makefile config.status: creating bindings/Makefile config.status: creating bindings/python/Makefile config.status: creating data/gedit.desktop.in config.status: creating data/gedit-bugreport.sh config.status: creating data/gedit.pc config.status: creating data/Makefile config.status: creating docs/Makefile config.status: creating docs/reference/Makefile config.status: creating gedit/dialogs/Makefile config.status: creating gedit/Makefile config.status: creating help/Makefile config.status: creating help/eu/Makefile config.status: creating help/ro/Makefile config.status: creating pixmaps/Makefile config.status: creating plugins/changecase/Makefile config.status: creating plugins/docinfo/Makefile config.status: creating plugins/externaltools/Makefile config.status: creating plugins/externaltools/tools/Makefile config.status: creating plugins/externaltools/data/Makefile config.status: creating plugins/externaltools/scripts/Makefile config.status: creating plugins/filebrowser/Makefile config.status: creating plugins/indent/Makefile config.status: creating plugins/Makefile config.status: creating plugins/modelines/Makefile config.status: creating plugins/pythonconsole/Makefile config.status: creating plugins/pythonconsole/pythonconsole/Makefile config.status: creating plugins/sample/Makefile config.status: creating plugins/snippets/Makefile config.status: creating plugins/snippets/snippets/Makefile config.status: creating plugins/snippets/data/Makefile config.status: creating plugins/snippets/data/lang/Makefile config.status: creating plugins/sort/Makefile config.status: creating plugins/spell/Makefile config.status: creating plugins/taglist/Makefile config.status: creating plugins/time/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing intltool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands Configuration: Source code location: . Compiler: gcc Libattr enabled: yes Python Plugins Support: no Spell Plugin enabled: yes ---------------------- Ideas? I cannot find pygtksourceview-2.0 in any of the repos. I have the following python packages that are relevant: python-devel-2.5.1-39.2 python-gnome-extras-2.14.2-126 python-gnome-2.20.0-3 python-gnome-extras-doc-2.14.2-126 python-gobject2-2.14.1-1.1 python-gobject2-devel-2.14.1-1.1 python-gtk-2.12.1-1.1 python-gtk-devel-2.12.1-1.1 --Shawn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 2008-07-08 at 18:12 -0700, Shawn Protsman wrote:
System: openSUSE 10.3 gedit-2.20.0-8
** (gedit:14112): WARNING **: Cannot load Python plugin '/home/ sprotsman/.gnome2/gedit/plugins/classbrowser.gedit-plugin' since gedit was not compiled with Python support.
Does anyone know where I can get gedit with Python support? I've tried to compile the latest (2.22.3) myself but it disables Python support. Here is that output:
<snip>
--Shawn
I added this repo http://download.opensuse.org/repositories/home:/FunkyM/openSUSE_10.3 which I found out about here http://blog.sukimashita.com/ and have gedit with python running quite happily. All plugins are working fine. Cheers, Allen -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 2008-07-08 at 18:12 -0700, Shawn Protsman wrote:
System: openSUSE 10.3 gedit-2.20.0-8
** (gedit:14112): WARNING **: Cannot load Python plugin '/home/ sprotsman/.gnome2/gedit/plugins/classbrowser.gedit-plugin' since gedit was not compiled with Python support.
Does anyone know where I can get gedit with Python support? I've tried to compile the latest (2.22.3) myself but it disables Python support. Here is that output:
<snip>
--Shawn
I added this repo http://download.opensuse.org/repositories/home:/FunkyM/openSUSE_10.3 which I found out about here http://blog.sukimashita.com/ and have gedit with python running quite happily. All plugins are working fine. Cheers, Allen -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Jul 8, 2008, at 10:24 PM, Allen wrote:
On Tue, 2008-07-08 at 18:12 -0700, Shawn Protsman wrote:
System: openSUSE 10.3 gedit-2.20.0-8
** (gedit:14112): WARNING **: Cannot load Python plugin '/home/ sprotsman/.gnome2/gedit/plugins/classbrowser.gedit-plugin' since gedit was not compiled with Python support.
Does anyone know where I can get gedit with Python support? I've tried to compile the latest (2.22.3) myself but it disables Python support. Here is that output:
<snip>
I added this repo http://download.opensuse.org/repositories/home:/FunkyM/openSUSE_10.3 which I found out about here http://blog.sukimashita.com/
and have gedit with python running quite happily. All plugins are working fine.
Unfortunately his 10.3 repo is missing in action. openSUSE_11.0 and openSUSE_Factory are all that remain. Anyone else have some ideas? I'm surprised that gedit is not compiled with Python support in openSUSE. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Jul 9, 2008, at 8:52 AM, Shawn Protsman wrote:
On Jul 8, 2008, at 10:24 PM, Allen wrote:
On Tue, 2008-07-08 at 18:12 -0700, Shawn Protsman wrote:
System: openSUSE 10.3 gedit-2.20.0-8
** (gedit:14112): WARNING **: Cannot load Python plugin '/home/ sprotsman/.gnome2/gedit/plugins/classbrowser.gedit-plugin' since gedit was not compiled with Python support.
Does anyone know where I can get gedit with Python support? I've tried to compile the latest (2.22.3) myself but it disables Python support. Here is that output:
<snip>
I added this repo http://download.opensuse.org/repositories/home:/FunkyM/openSUSE_10.3 which I found out about here http://blog.sukimashita.com/
and have gedit with python running quite happily. All plugins are working fine.
Unfortunately his 10.3 repo is missing in action. openSUSE_11.0 and openSUSE_Factory are all that remain. Anyone else have some ideas? I'm surprised that gedit is not compiled with Python support in openSUSE. --
I grabbed the source rpm from that 11.0 repo (python- gtksourceview-2.2.0-1.3.src.rpm), rebuilt it, installed it on my 10.3 box. Now I'm able to run "configure" on gedit 2.22.3 with python support enabled. But of course make bombs out. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2008-07-09 at 09:23 -0700, Shawn Protsman wrote:
Unfortunately his 10.3 repo is missing in action. openSUSE_11.0 and openSUSE_Factory are all that remain. Anyone else have some ideas? I'm surprised that gedit is not compiled with Python support in openSUSE. --
I grabbed the source rpm from that 11.0 repo (python-gtksourceview-2.2.0-1.3.src.rpm), rebuilt it, installed it on my 10.3 box. Now I'm able to run "configure" on gedit 2.22.3 with python support enabled. But of course make bombs out.
Then you should write a Bugzilla and ask. Perhaps it is not possible, perhaps they simply forgot. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIdP3qtTMYHG2NR9URAgv8AJ4xhE61LcaKJFtFHDCXeA859CojrACfUEMA hbEISBT4VJ2d7yUw/ErL+x8= =Gm2S -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Jul 9, 2008, at 9:23 AM, Shawn Protsman wrote:
I grabbed the source rpm from that 11.0 repo (python- gtksourceview-2.2.0-1.3.src.rpm), rebuilt it, installed it on my 10.3 box. Now I'm able to run "configure" on gedit 2.22.3 with python support enabled. But of course make bombs out.
Here is the section where gedit errors. It appears to be referencing a lib that I don't have. Does anyone know what library these "undefined reference" errors might be referring to? Thanks. gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -DPNG_NO_MMX_CODE -DORBIT2=1 - pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/ include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/ usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/ usr/include/libpng12 -I/usr/include/gtksourceview-2.0 -I/usr/include/ libxml2 -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/ include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/ libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/ libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome- vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 - I/usr/include/bonobo-activation-2.0 -I/usr/include/gail-1.0 -I/usr/ include/libglade-2.0 -Wall -Wmissing-prototypes -DDATADIR=\""/usr/ local/share"\" -DGEDIT_DATADIR=\""/usr/local/share/gedit-2"\" - DGEDIT_LOCALEDIR=\""/usr/local/share/locale"\" -DGEDIT_UI_DIR=\""/usr/ local/share/gedit-2/ui/"\" -DGEDIT_PLUGINDIR=\""/usr/local/lib/gedit-2/ plugins"\" -DGEDIT_GLADEDIR=\""/usr/local/share/gedit-2/glade/"\" - DGEDIT_ICONDIR=\""/usr/local/share/gedit-2/icons"\" -fno-strict- aliasing -DPNG_NO_MMX_CODE -I/usr/include/pygtk-2.0 -I/usr/include/ glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/ gtksourceview-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/ lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/ usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/ libpng12 -I/usr/include/python2.5 -g -O2 -MT gedit.o -MD -MP - MF .deps/gedit.Tpo -c -o gedit.o gedit.c mv -f .deps/gedit.Tpo .deps/gedit.Po /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -export-dynamic - no-undefined -export-symbols-regex "^[[^_]].*" -o gedit gedit.o libgedit.la -pthread -lgtksourceview-2.0 -lgnomeui-2 -lSM -lICE - lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo- activation -lart_lgpl_2 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo - lgnomevfs-2 -lgconf-2 -lgmodule-2.0 -ldl -lORBit-2 -lgthread-2.0 -lrt - lgobject-2.0 -lglib-2.0 -lattr gcc -g -O2 -o gedit gedit.o -pthread -Wl,--export-dynamic ./.libs/ libgedit.a -L/lib64 -L/usr/lib64 -L/usr/lib/python2.5/config - lpython2.5 /usr/lib64/libgtksourceview-2.0.so /usr/lib64/ libgnomeui-2.so /usr/lib64/libgnome-keyring.so -ljpeg /usr/lib64/ libbonoboui-2.so /usr/lib64/libSM.so -lICE /usr/lib64/ libgnomecanvas-2.so /usr/lib64/libgailutil.so -lpangoft2-1.0 /usr/ lib64/libgnome-2.so /usr/lib64/libesd.so -lasound /usr/lib64/ libaudiofile.so -lpopt /usr/lib64/libbonobo-2.so /usr/lib64/libbonobo- activation.so /usr/lib64/libORBitCosNaming-2.so /usr/lib64/ libart_lgpl_2.so /usr/lib64/libglade-2.0.so /usr/lib64/libgtk- x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/ lib64/libgdk_pixbuf-2.0.so -lpangocairo-1.0 -lpango-1.0 /usr/lib64/ libcairo.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so - lexpat /usr/lib64/libglitz.so /usr/lib64/libpng12.so /usr/lib64/libxcb- render-util.so /usr/lib64/libxcb-render.so /usr/lib64/libXrender.so / usr/lib64/libX11.so /usr/lib64/libxcb-xlib.so /usr/lib64/libxcb.so / usr/lib64/libXau.so /usr/lib64/libgnomevfs-2.so /usr/lib64/libxml2.so - lm /usr/lib64/libdbus-glib-1.so -lnsl -lssl -lcrypto -lz /usr/lib64/ libavahi-glib.so /usr/lib64/libavahi-client.so -ldbus-1 /usr/lib64/ libavahi-common.so -lresolv -lutil /usr/lib64/libgconf-2.so /usr/lib64/ libORBit-2.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/ libgthread-2.0.so -lpthread -lrt /usr/lib64/libgobject-2.0.so /usr/ lib64/libglib-2.0.so /usr/lib64/libpcre.so -lattr ./.libs/libgedit.a(gedit-print-job.o): In function `draw_page_cb': /home/sprotsman/workspace/gedit-2.22.3/gedit/gedit-print-job.c:650: undefined reference to `gtk_source_print_compositor_get_n_pages' ./.libs/libgedit.a(gedit-print-job.o): In function `paginate_cb': /home/sprotsman/workspace/gedit-2.22.3/gedit/gedit-print-job.c:614: undefined reference to `gtk_source_print_compositor_paginate' /home/sprotsman/workspace/gedit-2.22.3/gedit/gedit-print-job.c:624: undefined reference to `gtk_source_print_compositor_get_pagination_progress' /home/sprotsman/workspace/gedit-2.22.3/gedit/gedit-print-job.c:620: undefined reference to `gtk_source_print_compositor_get_n_pages' ./.libs/libgedit.a(gedit-print-job.o): In function `create_compositor': /home/sprotsman/workspace/gedit-2.22.3/gedit/gedit-print-job.c:506: undefined reference to `gtk_source_print_compositor_get_type' /home/sprotsman/workspace/gedit-2.22.3/gedit/gedit-print-job.c:539: undefined reference to `gtk_source_print_compositor_set_header_format' ./.libs/libgedit.a(gedit-print-job.o): In function `draw_page_cb': /home/sprotsman/workspace/gedit-2.22.3/gedit/gedit-print-job.c:663: undefined reference to `gtk_source_print_compositor_draw_page' collect2: ld returned 1 exit status make[4]: *** [gedit] Error 1 make[4]: Leaving directory `/home/sprotsman/workspace/gedit-2.22.3/ gedit' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/sprotsman/workspace/gedit-2.22.3/ gedit' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/sprotsman/workspace/gedit-2.22.3/ gedit' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/sprotsman/workspace/gedit-2.22.3' make: *** [all] Error 2 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Allen
-
Carlos E. R.
-
Shawn Protsman