[prev in list] [next in list] [prev in thread] [next in thread]
List: net-snmp-bugs
Subject: [ net-snmp-Bugs-1625170 ] Python modules depend on undocumented prereq
From: "SourceForge.net" <noreply () sourceforge ! net>
Date: 2008-09-04 22:44:55
Message-ID: E1KbNZP-0006BB-Ov () d45xhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Bugs item #1625170, was opened at 2006-12-31 03:48
Message generated for change (Settings changed) made by tanders
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1625170&group_id=12694
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
> Category: python
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Andrew Langmead (langmead)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python modules depend on undocumented prereq
Initial Comment:
The python modules added in Net-SNMP 5.4 depend on the python setuptools module which \
are not (yet?) part of the standard python distribution.
If Net-SNMP is built with python modules enabled, but one doesn't have setuptools, \
the build process fails during the "make" step.
The people responsible for setuptools have a small module that can download and \
bootstrap setuptools, for python installs that don't already have it. You could \
include this module so that the dependency resolves itself, or you could document the \
dependency (and maybe include a configure test) so the dependency is discovered \
earlier.
The included patch includes the ez_setup module, to automatically download and fetch \
setuptools. It also adds mention of the setuptools dependency to the python/README.
The problem occurs in Net-SNMP 5.4. I've confirmed this problem on Suse 10.0 and \
Cygwin 1.5.21-2.
rm -rf /var/tmp/purepython
mkdir /var/tmp/purepython
wget http://www.python.org/ftp/python/2.5/Python-2.5.tgz
gunzip -c Python-2.5.tgz |tar xf -
cd Python-2.5
sh configure --prefix=/var/tmp/purepython/&& make && make install
cd ..
gunzip -c net-snmp-5.4.tar.gz |tar xvf -
cd net-snmp-5.4
PATH=/var/tmp/purepython/bin:$PATH
sh configure --with-python-modules
make
----------------------------------------------------------------------
Comment By: Andrew Langmead (langmead)
Date: 2006-12-31 03:56
Message:
Logged In: YES
user_id=119306
Originator: YES
A corrected version of the patch. The original one was missing
ez_setup.py.
File Added: python-setuptools-prereq.patch
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1625170&group_id=12694
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic