Python package missing for 12.3 - need some suggestions

I am running 12.3/KDE4.10.2, video is ATI fglrx
I am attempting to load and run PyCAM, which is python based.
A stated dependency is package python-gtkglext, which is not found (using PkageSearch) for 12.3.
I tried installing the package from the 12.2 repo, but it does not run.
Hacking about, I downloaded the Source from the 12.2 repo, but it will not build due to missing pygtk-2.0 package, which I can not find.

Rather than make a bigger mess of my system, I decided to ask for suggestions from a Python guru

My python is ver 2.7.3-10.1.1-x86 from the 12.3-Oss repo.

Thanks in advance

Am 06.05.2013 15:06, schrieb cmcgrath5035:
> not build due to missing -pygtk-2.0- package, which I can not find.

The package python-gtk contains the bindings to gtk-2.0, have you tried
it (most probably you also need python-gtk-devel)?


PC: oS 12.3 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.10.2 | GTX 650 Ti
ThinkPad E320: oS 12.3 x86_64 | i3@2.30GHz | 8GB | KDE 4.10.2 | HD 3000
HannsBook: oS 12.3 x86_64 | SU4100@1.3GHz | 2GB | KDE 4.10.2 | GMA4500

Thanks, Martin.
I added python-gtk-devel which does resolve the “missing pggtk-2.0” issue, but a new issue appears

./configure --prefix=/foo/bar
.....
.....
checking for PYGTK... yes
checking for pygtk-codegen-2.0... /usr/bin/pygtk-codegen-2.0
checking for pygtk defs... /usr/share/pygtk/2.0/defs
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... yes (version 2.34.3)
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes (version 2.24.14)
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GtkGLExt - version >= 1.0.0... 
*** pkg-config cannot find gtkglext-1.0 >= 1.0.0
*** Set the environment variable PKG_CONFIG_PATH to point to the correct
*** configuration files.
no
configure: error: GtkGLExt not found


But now I realize I am probably doing this wrong, I downloaded the file python-gtkglext-1.1.0-126.1.2.src.rpm, so I probably need to build/rebuild the rpm.

I have done that once, forget how-to

You need “gtkglext-devel” which is available for openSUSE 12.3 in the standard update repo.

But now I realize I am probably doing this wrong, I downloaded the file python-gtkglext-1.1.0-126.1.2.src.rpm, so I probably need to build/rebuild the rpm.

I have done that once, forget how-to

rpmbuild --rebuild python-gtkglext-1.1.0-126.1.2.src.rpm

It should tell you which packages are still missing to build it, if any…

Thanks wolfi323, it appears I have the dependencies resolved, but a library macro is found missing.
Googled a bit, see this error pop up a while ago but nothing recent.

Perhaps this is why this RPM did not make it into the 12.3 release (would not build)

rpmbuild --rebuild python-gtkglext-1.1.0-126.1.2.src.rpm
Installing python-gtkglext-1.1.0-126.1.2.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GCjpXy
+ umask 022
+ cd /home/carl/rpmbuild/BUILD
+ cd /home/carl/rpmbuild/BUILD
+ rm -rf pygtkglext-1.1.0
+ /usr/bin/bzip2 -dc /home/carl/rpmbuild/SOURCES/pygtkglext-1.1.0.tar.bz2
+ /bin/tar -xvvf -
drwxrwxrwx 1000/100          0 2006-04-16 22:29 pygtkglext-1.1.0/
drwxrwxrwx 1000/100          0 2006-04-16 22:29 pygtkglext-1.1.0/gtk/
drwxrwxrwx 1000/100          0 2006-04-16 22:29 pygtkglext-1.1.0/gtk/gdkgl/
-rw-r--r-- 1000/100      14916 2003-05-12 05:12 pygtkglext-1.1.0/gtk/gdkgl/gdkglext.defs
-rw-r--r-- 1000/100       9682 2003-08-01 01:24 pygtkglext-1.1.0/gtk/gdkgl/gdkglext.override
-rw-r--r-- 1000/100       3576 2003-04-13 02:13 pygtkglext-1.1.0/gtk/gdkgl/gdkglmodule.c
-rw-r--r-- 1000/100       2060 2003-09-06 01:35 pygtkglext-1.1.0/gtk/gdkgl/ext.py
-rw-r--r-- 1000/100       1326 2003-09-03 01:34 pygtkglext-1.1.0/gtk/gdkgl/Makefile.am
-rw-r--r-- 1000/100      25839 2006-04-16 21:22 pygtkglext-1.1.0/gtk/gdkgl/Makefile.in
-rw-r--r-- 1000/100        877 2003-09-03 01:34 pygtkglext-1.1.0/gtk/gdkgl/__init__.py
-rw-r--r-- 1000/100       7118 2003-03-06 03:28 pygtkglext-1.1.0/gtk/gdkgl/gdkglext-types.defs
drwxrwxrwx 1000/100          0 2006-04-16 22:29 pygtkglext-1.1.0/gtk/gtkgl/
-rw-r--r-- 1000/100       2213 2003-03-06 03:28 pygtkglext-1.1.0/gtk/gtkgl/gtkglext.defs
-rw-r--r-- 1000/100      18144 2006-04-16 16:25 pygtkglext-1.1.0/gtk/gtkgl/apputils.py
-rw-r--r-- 1000/100       1368 2003-03-18 23:02 pygtkglext-1.1.0/gtk/gtkgl/Makefile.am
-rw-r--r-- 1000/100      25881 2006-04-16 21:22 pygtkglext-1.1.0/gtk/gtkgl/Makefile.in
-rw-r--r-- 1000/100       2370 2006-04-16 16:25 pygtkglext-1.1.0/gtk/gtkgl/widget.py
-rw-r--r-- 1000/100       2851 2003-03-15 04:13 pygtkglext-1.1.0/gtk/gtkgl/gtkglmodule.c
-rw-r--r-- 1000/100       1346 2003-08-01 01:24 pygtkglext-1.1.0/gtk/gtkgl/gtkglext.override
-rw-r--r-- 1000/100        880 2006-04-16 16:25 pygtkglext-1.1.0/gtk/gtkgl/__init__.py
-rw-r--r-- 1000/100         78 2003-05-04 03:35 pygtkglext-1.1.0/gtk/Makefile.am
-rw-r--r-- 1000/100      14356 2006-04-16 21:22 pygtkglext-1.1.0/gtk/Makefile.in
-rw-r--r-- 1000/100          0 2003-03-06 03:28 pygtkglext-1.1.0/NEWS
-rwxr-xr-x 1000/100       2774 2005-02-02 19:22 pygtkglext-1.1.0/compile
-rwxr-xr-x 1000/100      13866 2005-02-02 19:22 pygtkglext-1.1.0/depcomp
-rw-r--r-- 1000/100     306308 2006-04-16 21:22 pygtkglext-1.1.0/aclocal.m4
-rw-r--r-- 1000/100      26536 2003-03-06 04:17 pygtkglext-1.1.0/COPYING.LIB
-rw-r--r-- 1000/100       2476 2003-11-20 04:35 pygtkglext-1.1.0/README
-rw-r--r-- 1000/100      18653 2003-09-15 04:47 pygtkglext-1.1.0/ChangeLog.pre-1-0
-rw-r--r-- 1000/100     200488 2006-01-21 00:55 pygtkglext-1.1.0/ltmain.sh
-rwxr-xr-x 1000/100     732148 2006-04-16 21:22 pygtkglext-1.1.0/configure
-rw-r--r-- 1000/100       5381 2006-04-16 21:22 pygtkglext-1.1.0/configure.in
-rw-r--r-- 1000/100        201 2003-03-15 03:51 pygtkglext-1.1.0/pygtkglext.pc.in
-rwxr-xr-x 1000/100      44643 2006-03-19 11:04 pygtkglext-1.1.0/config.guess
-rwxr-xr-x 1000/100       7122 2005-02-02 19:22 pygtkglext-1.1.0/install-sh
-rwxr-xr-x 1000/100      32695 2006-03-19 11:04 pygtkglext-1.1.0/config.sub
-rwxr-xr-x 1000/100      10266 2005-02-02 19:22 pygtkglext-1.1.0/missing
-rwxr-xr-x 1000/100       1988 2005-02-02 19:22 pygtkglext-1.1.0/mkinstalldirs
-rw-r--r-- 1000/100        503 2003-09-15 04:47 pygtkglext-1.1.0/Makefile.am
-rw-r--r-- 1000/100      21042 2006-04-16 21:22 pygtkglext-1.1.0/Makefile.in
-rw-r--r-- 1000/100       2920 2003-08-22 14:45 pygtkglext-1.1.0/README.win32
-rw-r--r-- 1000/100       1553 2006-04-16 22:28 pygtkglext-1.1.0/config.h.in
-rw-r--r-- 1000/100       1995 2003-04-16 16:04 pygtkglext-1.1.0/acinclude.m4
-rw-r--r-- 1000/100       5983 2003-09-03 01:42 pygtkglext-1.1.0/setup.py.in
-rw-r--r-- 1000/100        517 2003-08-20 08:33 pygtkglext-1.1.0/AUTHORS
-rw-r--r-- 1000/100       5807 2006-04-16 21:22 pygtkglext-1.1.0/setup.py
-rw-r--r-- 1000/100       9414 2003-03-06 03:28 pygtkglext-1.1.0/INSTALL
drwxrwxrwx 1000/100          0 2006-04-16 22:29 pygtkglext-1.1.0/examples/
-rw-r--r-- 1000/100       4749 2006-04-16 16:25 pygtkglext-1.1.0/examples/MoveLight.py
-rw-r--r-- 1000/100       4936 2006-04-16 16:25 pygtkglext-1.1.0/examples/SimpleScene.py
-rw-r--r-- 1000/100      15116 2006-04-16 16:25 pygtkglext-1.1.0/examples/Shapes.py
-rw-r--r-- 1000/100       7781 2003-03-16 23:10 pygtkglext-1.1.0/examples/Wall.png
-rw-r--r-- 1000/100       2056 2006-04-16 16:25 pygtkglext-1.1.0/examples/scribble-gl.py
-rw-r--r-- 1000/100       9592 2006-04-16 16:25 pygtkglext-1.1.0/examples/scribbling-worms.py
-rw-r--r-- 1000/100       5725 2006-04-16 16:25 pygtkglext-1.1.0/examples/teapot.py
-rw-r--r-- 1000/100      10464 2006-04-16 16:24 pygtkglext-1.1.0/examples/NeHe6Multi.py
-rw-r--r-- 1000/100       6739 2006-04-16 16:25 pygtkglext-1.1.0/examples/share-lists.py
-rw-r--r-- 1000/100       6781 2006-04-16 16:25 pygtkglext-1.1.0/examples/low-level.py
-rw-r--r-- 1000/100       2997 2006-04-16 16:25 pygtkglext-1.1.0/examples/scribble.py
-rw-r--r-- 1000/100       7876 2006-04-16 16:25 pygtkglext-1.1.0/examples/button.py
-rw-r--r-- 1000/100      10668 2006-04-16 16:25 pygtkglext-1.1.0/examples/gears-func.py
-rw-r--r-- 1000/100       5832 2006-04-16 16:25 pygtkglext-1.1.0/examples/color.py
-rw-r--r-- 1000/100       4656 2006-04-16 16:25 pygtkglext-1.1.0/examples/font.py
-rw-r--r-- 1000/100      10509 2006-04-16 16:25 pygtkglext-1.1.0/examples/gears-darea.py
-rw-r--r-- 1000/100        451 2003-08-22 14:45 pygtkglext-1.1.0/examples/Makefile.am
-rw-r--r-- 1000/100       9423 2006-04-16 21:22 pygtkglext-1.1.0/examples/Makefile.in
-rw-r--r-- 1000/100       6052 2006-04-16 16:25 pygtkglext-1.1.0/examples/simple-mixed.py
-rw-r--r-- 1000/100       6661 2006-04-16 16:25 pygtkglext-1.1.0/examples/pixmap-mixed.py
-rw-r--r-- 1000/100       6004 2006-04-16 16:25 pygtkglext-1.1.0/examples/pixmap.py
-rw-r--r-- 1000/100      47024 2003-03-16 23:10 pygtkglext-1.1.0/examples/NeHe.png
-rw-r--r-- 1000/100       8995 2006-04-16 16:24 pygtkglext-1.1.0/examples/coolwave.py
-rw-r--r-- 1000/100       5352 2006-04-16 16:25 pygtkglext-1.1.0/examples/simple.py
-rw-r--r-- 1000/100       5300 2006-04-16 16:25 pygtkglext-1.1.0/examples/teapot2.py
-rw-r--r-- 1000/100       1312 2004-01-28 11:28 pygtkglext-1.1.0/ChangeLog
-rw-r--r-- 1000/100       1629 2003-08-31 02:43 pygtkglext-1.1.0/pygtkglext.spec.in
-rw-r--r-- 1000/100      17992 2003-03-06 03:28 pygtkglext-1.1.0/COPYING
-rw-r--r-- 1000/100       1571 2006-04-16 21:22 pygtkglext-1.1.0/pygtkglext.spec
-rwxr-xr-x 1000/100       2533 2005-02-02 19:22 pygtkglext-1.1.0/py-compile
+ STATUS=0
+ '' 0 -ne 0 ']'
+ cd pygtkglext-1.1.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (python-gtkglext-1.1.0-install-pyexecdir.patch):'
Patch #0 (python-gtkglext-1.1.0-install-pyexecdir.patch):
+ /usr/bin/cat /home/carl/rpmbuild/SOURCES/python-gtkglext-1.1.0-install-pyexecdir.patch
+ /usr/bin/patch -p0 --fuzz=0
patching file gtk/gdkgl/Makefile.am
patching file gtk/gtkgl/Makefile.am
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.K4kTYh
+ umask 022
+ cd /home/carl/rpmbuild/BUILD
+ /usr/bin/rm -rf /home/carl/rpmbuild/BUILDROOT/python-gtkglext-1.1.0-126.1.2.x86_64
++ dirname /home/carl/rpmbuild/BUILDROOT/python-gtkglext-1.1.0-126.1.2.x86_64
+ /usr/bin/mkdir -p /home/carl/rpmbuild/BUILDROOT
+ /usr/bin/mkdir /home/carl/rpmbuild/BUILDROOT/python-gtkglext-1.1.0-126.1.2.x86_64
+ cd pygtkglext-1.1.0
+ autoreconf -f -i
acinclude.m4:4: warning: underquoted definition of AM_CHECK_PYMOD
acinclude.m4:4:   run info Automake 'Extending aclocal'
acinclude.m4:4:   or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
configure.in:174: warning: macro 'AM_PATH_GTKGLEXT_1_0' not found in library
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
acinclude.m4:4: warning: underquoted definition of AM_CHECK_PYMOD
acinclude.m4:4:   run info Automake 'Extending aclocal'
acinclude.m4:4:   or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
configure.in:174: warning: macro 'AM_PATH_GTKGLEXT_1_0' not found in library
configure.in:137: error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:174: error: possibly undefined macro: AM_PATH_GTKGLEXT_1_0
autoreconf: /usr/bin/autoconf failed with exit status: 1
error: Bad exit status from /var/tmp/rpm-tmp.K4kTYh (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.K4kTYh (%build)

I am not sure where to look next

I know this doesn’t answer your specific point but I must admit I’ve encountered a number of problems using RPM builds
from texlive and python packages. Have you considered the traditional `pythonic’ approach of using distutils from source
(e.g. https://github.com/GNOME/pygtkglext ), a route I’ve found more reliable than anything else? The disadvantage is
that distutils AFAIK has no good way of uninstalling packages. YMMV

On 2013-05-06, cmcgrath5035 cmcgrath5035@no-mx.forums.opensuse.org wrote:

Thanks wolfi323, it appears I have the dependencies resolved, but a
library macro is found missing.
Googled a bit, see this error pop up a while ago but nothing recent.

Perhaps this is why this RPM did not make it into the 12.3 release
(would not build)

Code:

rpmbuild --rebuild python-gtkglext-1.1.0-126.1.2.src.rpm

Installing python-gtkglext-1.1.0-126.1.2.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GCjpXy

  • umask 022
  • cd /home/carl/rpmbuild/BUILD
  • cd /home/carl/rpmbuild/BUILD
  • rm -rf pygtkglext-1.1.0
  • /usr/bin/bzip2 -dc /home/carl/rpmbuild/SOURCES/pygtkglext-1.1.0.tar.bz2
  • /bin/tar -xvvf -
    drwxrwxrwx 1000/100 0 2006-04-16 22:29 pygtkglext-1.1.0/
    drwxrwxrwx 1000/100 0 2006-04-16 22:29 pygtkglext-1.1.0/gtk/
    drwxrwxrwx 1000/100 0 2006-04-16 22:29 pygtkglext-1.1.0/gtk/gdkgl/
    -rw-r–r-- 1000/100 14916 2003-05-12 05:12 pygtkglext-1.1.0/gtk/gdkgl/gdkglext.defs
    -rw-r–r-- 1000/100 9682 2003-08-01 01:24 pygtkglext-1.1.0/gtk/gdkgl/gdkglext.override
    -rw-r–r-- 1000/100 3576 2003-04-13 02:13 pygtkglext-1.1.0/gtk/gdkgl/gdkglmodule.c
    -rw-r–r-- 1000/100 2060 2003-09-06 01:35 pygtkglext-1.1.0/gtk/gdkgl/ext.py
    -rw-r–r-- 1000/100 1326 2003-09-03 01:34 pygtkglext-1.1.0/gtk/gdkgl/Makefile.am
    -rw-r–r-- 1000/100 25839 2006-04-16 21:22 pygtkglext-1.1.0/gtk/gdkgl/Makefile.in
    -rw-r–r-- 1000/100 877 2003-09-03 01:34 pygtkglext-1.1.0/gtk/gdkgl/init.py
    -rw-r–r-- 1000/100 7118 2003-03-06 03:28 pygtkglext-1.1.0/gtk/gdkgl/gdkglext-types.defs
    drwxrwxrwx 1000/100 0 2006-04-16 22:29 pygtkglext-1.1.0/gtk/gtkgl/
    -rw-r–r-- 1000/100 2213 2003-03-06 03:28 pygtkglext-1.1.0/gtk/gtkgl/gtkglext.defs
    -rw-r–r-- 1000/100 18144 2006-04-16 16:25 pygtkglext-1.1.0/gtk/gtkgl/apputils.py
    -rw-r–r-- 1000/100 1368 2003-03-18 23:02 pygtkglext-1.1.0/gtk/gtkgl/Makefile.am
    -rw-r–r-- 1000/100 25881 2006-04-16 21:22 pygtkglext-1.1.0/gtk/gtkgl/Makefile.in
    -rw-r–r-- 1000/100 2370 2006-04-16 16:25 pygtkglext-1.1.0/gtk/gtkgl/widget.py
    -rw-r–r-- 1000/100 2851 2003-03-15 04:13 pygtkglext-1.1.0/gtk/gtkgl/gtkglmodule.c
    -rw-r–r-- 1000/100 1346 2003-08-01 01:24 pygtkglext-1.1.0/gtk/gtkgl/gtkglext.override
    -rw-r–r-- 1000/100 880 2006-04-16 16:25 pygtkglext-1.1.0/gtk/gtkgl/init.py
    -rw-r–r-- 1000/100 78 2003-05-04 03:35 pygtkglext-1.1.0/gtk/Makefile.am
    -rw-r–r-- 1000/100 14356 2006-04-16 21:22 pygtkglext-1.1.0/gtk/Makefile.in
    -rw-r–r-- 1000/100 0 2003-03-06 03:28 pygtkglext-1.1.0/NEWS
    -rwxr-xr-x 1000/100 2774 2005-02-02 19:22 pygtkglext-1.1.0/compile
    -rwxr-xr-x 1000/100 13866 2005-02-02 19:22 pygtkglext-1.1.0/depcomp
    -rw-r–r-- 1000/100 306308 2006-04-16 21:22 pygtkglext-1.1.0/aclocal.m4
    -rw-r–r-- 1000/100 26536 2003-03-06 04:17 pygtkglext-1.1.0/COPYING.LIB
    -rw-r–r-- 1000/100 2476 2003-11-20 04:35 pygtkglext-1.1.0/README
    -rw-r–r-- 1000/100 18653 2003-09-15 04:47 pygtkglext-1.1.0/ChangeLog.pre-1-0
    -rw-r–r-- 1000/100 200488 2006-01-21 00:55 pygtkglext-1.1.0/ltmain.sh
    -rwxr-xr-x 1000/100 732148 2006-04-16 21:22 pygtkglext-1.1.0/configure
    -rw-r–r-- 1000/100 5381 2006-04-16 21:22 pygtkglext-1.1.0/configure.in
    -rw-r–r-- 1000/100 201 2003-03-15 03:51 pygtkglext-1.1.0/pygtkglext.pc.in
    -rwxr-xr-x 1000/100 44643 2006-03-19 11:04 pygtkglext-1.1.0/config.guess
    -rwxr-xr-x 1000/100 7122 2005-02-02 19:22 pygtkglext-1.1.0/install-sh
    -rwxr-xr-x 1000/100 32695 2006-03-19 11:04 pygtkglext-1.1.0/config.sub
    -rwxr-xr-x 1000/100 10266 2005-02-02 19:22 pygtkglext-1.1.0/missing
    -rwxr-xr-x 1000/100 1988 2005-02-02 19:22 pygtkglext-1.1.0/mkinstalldirs
    -rw-r–r-- 1000/100 503 2003-09-15 04:47 pygtkglext-1.1.0/Makefile.am
    -rw-r–r-- 1000/100 21042 2006-04-16 21:22 pygtkglext-1.1.0/Makefile.in
    -rw-r–r-- 1000/100 2920 2003-08-22 14:45 pygtkglext-1.1.0/README.win32
    -rw-r–r-- 1000/100 1553 2006-04-16 22:28 pygtkglext-1.1.0/config.h.in
    -rw-r–r-- 1000/100 1995 2003-04-16 16:04 pygtkglext-1.1.0/acinclude.m4
    -rw-r–r-- 1000/100 5983 2003-09-03 01:42 pygtkglext-1.1.0/setup.py.in
    -rw-r–r-- 1000/100 517 2003-08-20 08:33 pygtkglext-1.1.0/AUTHORS
    -rw-r–r-- 1000/100 5807 2006-04-16 21:22 pygtkglext-1.1.0/setup.py
    -rw-r–r-- 1000/100 9414 2003-03-06 03:28 pygtkglext-1.1.0/INSTALL
    drwxrwxrwx 1000/100 0 2006-04-16 22:29 pygtkglext-1.1.0/examples/
    -rw-r–r-- 1000/100 4749 2006-04-16 16:25 pygtkglext-1.1.0/examples/MoveLight.py
    -rw-r–r-- 1000/100 4936 2006-04-16 16:25 pygtkglext-1.1.0/examples/SimpleScene.py
    -rw-r–r-- 1000/100 15116 2006-04-16 16:25 pygtkglext-1.1.0/examples/Shapes.py
    -rw-r–r-- 1000/100 7781 2003-03-16 23:10 pygtkglext-1.1.0/examples/Wall.png
    -rw-r–r-- 1000/100 2056 2006-04-16 16:25 pygtkglext-1.1.0/examples/scribble-gl.py
    -rw-r–r-- 1000/100 9592 2006-04-16 16:25 pygtkglext-1.1.0/examples/scribbling-worms.py
    -rw-r–r-- 1000/100 5725 2006-04-16 16:25 pygtkglext-1.1.0/examples/teapot.py
    -rw-r–r-- 1000/100 10464 2006-04-16 16:24 pygtkglext-1.1.0/examples/NeHe6Multi.py
    -rw-r–r-- 1000/100 6739 2006-04-16 16:25 pygtkglext-1.1.0/examples/share-lists.py
    -rw-r–r-- 1000/100 6781 2006-04-16 16:25 pygtkglext-1.1.0/examples/low-level.py
    -rw-r–r-- 1000/100 2997 2006-04-16 16:25 pygtkglext-1.1.0/examples/scribble.py
    -rw-r–r-- 1000/100 7876 2006-04-16 16:25 pygtkglext-1.1.0/examples/button.py
    -rw-r–r-- 1000/100 10668 2006-04-16 16:25 pygtkglext-1.1.0/examples/gears-func.py
    -rw-r–r-- 1000/100 5832 2006-04-16 16:25 pygtkglext-1.1.0/examples/color.py
    -rw-r–r-- 1000/100 4656 2006-04-16 16:25 pygtkglext-1.1.0/examples/font.py
    -rw-r–r-- 1000/100 10509 2006-04-16 16:25 pygtkglext-1.1.0/examples/gears-darea.py
    -rw-r–r-- 1000/100 451 2003-08-22 14:45 pygtkglext-1.1.0/examples/Makefile.am
    -rw-r–r-- 1000/100 9423 2006-04-16 21:22 pygtkglext-1.1.0/examples/Makefile.in
    -rw-r–r-- 1000/100 6052 2006-04-16 16:25 pygtkglext-1.1.0/examples/simple-mixed.py
    -rw-r–r-- 1000/100 6661 2006-04-16 16:25 pygtkglext-1.1.0/examples/pixmap-mixed.py
    -rw-r–r-- 1000/100 6004 2006-04-16 16:25 pygtkglext-1.1.0/examples/pixmap.py
    -rw-r–r-- 1000/100 47024 2003-03-16 23:10 pygtkglext-1.1.0/examples/NeHe.png
    -rw-r–r-- 1000/100 8995 2006-04-16 16:24 pygtkglext-1.1.0/examples/coolwave.py
    -rw-r–r-- 1000/100 5352 2006-04-16 16:25 pygtkglext-1.1.0/examples/simple.py
    -rw-r–r-- 1000/100 5300 2006-04-16 16:25 pygtkglext-1.1.0/examples/teapot2.py
    -rw-r–r-- 1000/100 1312 2004-01-28 11:28 pygtkglext-1.1.0/ChangeLog
    -rw-r–r-- 1000/100 1629 2003-08-31 02:43 pygtkglext-1.1.0/pygtkglext.spec.in
    -rw-r–r-- 1000/100 17992 2003-03-06 03:28 pygtkglext-1.1.0/COPYING
    -rw-r–r-- 1000/100 1571 2006-04-16 21:22 pygtkglext-1.1.0/pygtkglext.spec
    -rwxr-xr-x 1000/100 2533 2005-02-02 19:22 pygtkglext-1.1.0/py-compile
  • STATUS=0
  • ‘’ 0 -ne 0 ‘]’
  • cd pygtkglext-1.1.0
  • /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
  • echo ‘Patch #0 (python-gtkglext-1.1.0-install-pyexecdir.patch):’
    Patch #0 (python-gtkglext-1.1.0-install-pyexecdir.patch):
  • /usr/bin/cat /home/carl/rpmbuild/SOURCES/python-gtkglext-1.1.0-install-pyexecdir.patch
  • /usr/bin/patch -p0 --fuzz=0
    patching file gtk/gdkgl/Makefile.am
    patching file gtk/gtkgl/Makefile.am
  • exit 0
    Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.K4kTYh
  • umask 022
  • cd /home/carl/rpmbuild/BUILD
  • /usr/bin/rm -rf /home/carl/rpmbuild/BUILDROOT/python-gtkglext-1.1.0-126.1.2.x86_64
    ++ dirname /home/carl/rpmbuild/BUILDROOT/python-gtkglext-1.1.0-126.1.2.x86_64
  • /usr/bin/mkdir -p /home/carl/rpmbuild/BUILDROOT
  • /usr/bin/mkdir /home/carl/rpmbuild/BUILDROOT/python-gtkglext-1.1.0-126.1.2.x86_64
  • cd pygtkglext-1.1.0
  • autoreconf -f -i
    acinclude.m4:4: warning: underquoted definition of AM_CHECK_PYMOD
    acinclude.m4:4: run info Automake ‘Extending aclocal’
    acinclude.m4:4: or see automake
    configure.in:174: warning: macro ‘AM_PATH_GTKGLEXT_1_0’ not found in library
    libtoolize: putting auxiliary files in .'. > libtoolize: copying file ./ltmain.sh’
    libtoolize: Consider adding AC_CONFIG_MACRO_DIR([m4])' to configure.in and > libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. > libtoolize: Consider adding -I m4’ to ACLOCAL_AMFLAGS in Makefile.am.
    > acinclude.m4:4: warning: underquoted definition of AM_CHECK_PYMOD
    > acinclude.m4:4: run info Automake ‘Extending aclocal’
    > acinclude.m4:4: or see automake
    > configure.in:174: warning: macro ‘AM_PATH_GTKGLEXT_1_0’ not found in library
    > configure.in:137: error: possibly undefined macro: AC_MSG_ERROR
    > If this token and others are legitimate, please use m4_pattern_allow.
    > See the Autoconf documentation.
    > configure.in:174: error: possibly undefined macro: AM_PATH_GTKGLEXT_1_0
    > autoreconf: /usr/bin/autoconf failed with exit status: 1
    > error: Bad exit status from /var/tmp/rpm-tmp.K4kTYh (%build)
    >
    >
    > RPM build errors:
    > Bad exit status from /var/tmp/rpm-tmp.K4kTYh (%build)
    > --------------------
    >
    >
    > I am not sure where to look next
    >
    >

Yes, I think so too.
The problem is that python-gtkglext and gtkglext are “dead” for quite some time already.
From the gtkglext package changelog:

NOTE: gtkglext is unmaintained and provided as-is for 3rd party
packages only. Nothing inside openSUSE is supposed to use it.

Unfortunately the latest git version from https://github.com/GNOME/pygtkglext doesn’t compile either, which is not surprising since that is exactly the version contained in the 12.2 package. The last change for python-gtkglext in its git repo was in 2010, the last release was 2006.

Well, I will try to get it to build, but it doesn’t look too good…:\

I was able to compile the python-gtkglext src rpm for openSUSE 12.3 by installing “gtkglext-devel” and “libgtkglext-x11” from 12.2! (the 12.3 packages are missing some stuff)

Afterwards you can update those packages again to the 12.3 versions without breaking a dependency.

But I haven’t tested the resulting package, so I cannot say if it really works…

I installed the 12.2 packages and was also able to compile.

It works!, at least for PYCAM ver 0.6-svn it does.

Thanks!!

If both getglext and libgtkgkext-x11 are both deprecated, I wonder why they changed 12.2 to 12.3…

Anyway, I live to fight another day

I don’t know if I understand this correctly. You mean, why it is included at all in 12.3?
Well, originally it wasn’t. But it was released as online update a few days before the general release of 12.3 because of this bug report:
https://bugzilla.novell.com/show_bug.cgi?id=799544

After looking at the Bug you highlighted and contemplating for a bit, I think I better understand the issue.
The python code is deprecated and is unchanged for quite a while.
Modifications were required to the system libraries(“gtkglext-devel” and “libgtkglext-x11”) to accommodate the updated X used in 12.3.
These modifications apparently did not implement the entire legacy API interface.

PYCAM is itself rather legacy code, being tweaked in areas of functionality but (probably) not in the UI code.

I’ll dig around in Bugzilla to see if other python code has a similar issue already logged.
It might be useful for the package maintainers to know what APIs are still in use as they make the “fix” vs “No Fix” decision.

An added note, for anyone trying this hack – for pycam to run, the packages from 12.2 need to be left installed.
They are | libgtkglext-x11-1_0-0 - OpenGL Extension to GTK
|
|

gtkglext-devel - OpenGL Extension to GTK

So far, I have not seen detrimental side effects