Installation Problem

Marshall Dudley mdudley at king-cart.com
Sun Jun 4 19:36:49 EDT 2006


Warren Block wrote:

> Marshall Dudley <mdudley at king-cart.com> wrote:
> > Sorry, this is a FreeBSD system 4.8-RELEASE
> >
> > I found another set of documents that say to use the following to
> > install::
> >
> > python setup.py install
> >
> > but after running it, I still have the same problem.
>
> [top-posting trimmed, please don't do that]
>
> Doesn't the port work for 4.8?  It does work on FreeBSD 4.11, but there
> may have been changes to the ports system since 4.8.  (You should
> consider updating to 4.11.)
>
> There are several patch files in the FreeBSD port, including
> one to setup.py.
>
> The easiest way is to cvsup your ports tree and then
>
> cd /usr/ports/lang/python
> make
> make install
> make clean
>
> --
> Warren Block * Rapid City, South Dakota * USA

Now I have a python that runs, but the application I want to run it on
"denyhosts" gives me the following error:

Python >= 2.3 required.  You are using: 2.2.2 (#1, Jun  4 2006, 16:29:13)
[GCC 2.95.4 20020320 [FreeBSD]]

######################################################################

Visit http://www.python.org and download a more recent version of
Python.

You should install this version in addition to your current version
(rather than upgrading your current version) because your system might
depend on the current version.  After installing the newer version, for
instance version 2.4, simply invoke DenyHosts explicitly with the new
version of python, eg:

$ python2.4 ./denyhosts.py

######################################################################

Is it not possible to install the latest version of python on my FreeBSD
system?  Upgrading the FreeBSD is not an option since this is a production
system and everything else is working fine.

Marshall




More information about the Python-list mailing list