Hi there!
Don´t know where to send this question but try here. I downloaded the wxPythonGTK-py2.2-2.4.0.7-rpm and rebuilt it on my redhat 8.0 system. It worked flawlessly. When i upgraded to redhat 9 and tried to rebuild the rpm, the binary was built without problems. But when i was trying to install it rpm complained about dependency problem that libwx_gtkd-2.4.so and three more files including libwx_gtkd_gl-2.4.so was needed. But the files is in the package! The package provides this files itself. When i then verified the package, output showed that no files was there at all! In the package. Though the package was built without problems. Anybody experienced this? And what to do?
In redhat 9, the macros in rpm got much stricter. It also generates a
debuginfo rpm package which contains the debug-enabled libraries. This
means that the libwx_gtkd*so and libwx_gtk2d_gl*so are placed in the
debuginfo rpm.
Anyway I've managed to solve the dependancy problems and got it installed.
First, install the source rpm and edit the wxPythonGTK.spec file. I had
to add the following line near the top of spec file:
# turn off the generation of debuginfo rpm
%define debug_package %{nil}
Near the main package Provide tags, I've also add the following lines:
Hi there!
Don´t know where to send this question but try here. I downloaded the
wxPythonGTK-py2.2-2.4.0.7-rpm and rebuilt it on my redhat 8.0 system. It
worked flawlessly. When i upgraded to redhat 9 and tried to rebuild the
rpm, the binary was built without problems. But when i was trying to
install it rpm complained about dependency problem that
libwx_gtkd-2.4.so and three more files including libwx_gtkd_gl-2.4.so
was needed. But the files is in the package! The package provides this
files itself. When i then verified the package, output showed that no
files was there at all! In the package. Though the package was built
without problems. Anybody experienced this? And what to do?
Regards P. Ekholm
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
In redhat 9, the macros in rpm got much stricter. It also generates a
debuginfo rpm package which contains the debug-enabled libraries. This
means that the libwx_gtkd*so and libwx_gtk2d_gl*so are placed in the
debuginfo rpm.
Interesting. What version of RPM is this?
Anyway I've managed to solve the dependancy problems and got it installed.
First, install the source rpm and edit the wxPythonGTK.spec file. I had
to add the following line near the top of spec file:
# turn off the generation of debuginfo rpm
%define debug_package %{nil}
Near the main package Provide tags, I've also add the following lines: