pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: net/wireshark looks for wrong python version on 6.0_BETA/i386



It was an administrator (me) error.

On the problem machine, at some time in the past, I was experimenting
with some 3rd-party software that expected the python interpreter to be
simply named 'python', not 'pythonX.Y', so I made a hard link
"/usr/local/bin/python" to "/usr/pkg/bin/python2.6" (of NetBSD5.1
vintage).

When wireshark's configure script went looking for python, it found my
old stale binary (thanks to the hard link) and determined to use it, so
it failed when it tried to locate its now long-gone libraries.

Here's a case where a broken symlink would have been a good thing.

Maybe also an argument for the autoconf folks to test whether any
particular language interpreter works, like they do with C compilers.
That would have flagged the problem in the configure phase rather than
wait until late in the build phase.

Sorry for the noise.

--
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index