pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: python24 dependency issue?
On Sun, 9 Dec 2007 15:06:59 +0000
"Steven M. Bellovin" <smb%cs.columbia.edu@localhost> wrote:
> On Sun, 9 Dec 2007 22:03:36 +0800
> Clayton <ckoeni%gmail.com@localhost> wrote:
>
> > which are installed. In trying to test run the program in the
> > tarball, I get the following behavior:
> >
> > ./cycle.py
> > Traceback (most recent call last):
> > File "./cycle.py", line 14, in ?
> > import wx
> > File
> > "/usr/pkg/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/__init__.py",
> > line 42, in ? from wx._core import * File
> > "/usr/pkg/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/_core.py",
> > line 4, in ? import _core_
> > ImportError:
> > /usr/pkg/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/_core_.so:
> > Undefined symbol "_ZTV17wxMemoryFSHandler" (symnum = 489)
> >
> > which I am guessing is a missing or stale dependency, but I cannot
> > figure out what I need to install or re-install to fix this. I have
> > already reinstalled gtk2.
> >
> At a guess, pkgsrc/x11/py-wxWidgets
Yes indeed, a reinstall of py24-wxWidgets-2.6.3.3.tgz did the trick. I
could have sworn I just installed x11/py-wxWidgets from source
yesterday, but maybe I was mistaken.
Or are there file conflicts between packages? This is what I just saw:
pkg_add py24-wxWidgets-2.6.3.3.tgz
pkg_add: Warning: package `/tmp/./py24-wxWidgets-2.6.3.3.tgz' was built
for a different version of the OS:
pkg_add: NetBSD/i386 4.0_RC1 (pkg) vs. NetBSD/i386 4.0_RC3 (this host)
pkg_add:
Overwriting
/usr/pkg/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/build/config.pyc
- pkg py24-wxWidgets-2.6.3.3 bogus/conflicting?
pkg_add:
Overwriting
/usr/pkg/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/lib/fancytext.pyc
- pkg py24-wxWidgets-2.6.3.3 bogus/conflicting?
pkg_add:
Overwriting
/usr/pkg/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/lib/masked/ipaddrctrl.pyc
- pkg py24-wxWidgets-2.6.3.3 bogus/conflicting?
pkg_add:
Overwriting
/usr/pkg/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/lib/masked/maskededit.pyc
- pkg py24-wxWidgets-2.6.3.3 bogus/conflicting?
pkg_add:
Overwriting
/usr/pkg/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/lib/masked/numctrl.pyc
- pkg py24-wxWidgets-2.6.3.3 bogus/conflicting?
pkg_add:
Overwriting
/usr/pkg/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/lib/masked/timectrl.pyc
- pkg py24-wxWidgets-2.6.3.3 bogus/conflicting?
The "Overwriting .... bogus/conflicting" doesn't sound good.
In any case, my program is running and I can now work on the packaging.
Thanks,
Clayton
Home |
Main Index |
Thread Index |
Old Index