Sean Boudreau(deleted)
|
Re: Building Python 2.5 with pkgsrc
|
Sean Boudreau(deleted)
02/19/2009 10:44 AM
post22532
|
Re: Building Python 2.5 with pkgsrc
On Thu, Feb 19, 2009 at 04:06:07AM -0500, Gianluca Angelici wrote:
> Hi all,
>
> I've made the svn checkout of the whole HEAD_640 repository.
>
> Then
>
> cd /bootstrap/HEAD_640/pkgsrc/lang/python25 and
> bmake install successfully.
>
> pkg_info gives me the subsequent informations:
>
> -------------------pkg_info START----------------------
> bootstrap-mk-files-20090114 *.mk files for the bootstrap bmake utility
> install-sh-20070712 install script compatible with the BSD install program
> bmake-20081111 Portable (autoconf) version of NetBSD 'make' utility
> nawk-20050424nb3 Brian Kernighan's pattern-directed scanning and processing language
> nbsed-20040821nb1 NetBSD-current's sed(1)
> pkg_install-20090205 Package management and administration tools for pkgsrc
> digest-20080510 Message digest wrapper utility
> figlet-2.2.2 Print text banners in fancy ASCII art characters
> libtool-base-1.5.26 Generic shared library support script (the script itself)
> bzip2-1.0.5 Block-sorting file compressor
> pkg_install-info-4.5nb3 Standalone GNU info file installation utility
> readline-5.2nb2 GNU library that can recall and edit previous input
> db4-4.7.25.3 Berkeley DB version 4 from Oracle
> libiconv-1.12nb1 Character set conversion library
> gettext-lib-0.14.6 Internationalized Message Handling Library (libintl)
> zlib-1.2.3 General purpose data compression library
> python25-2.5.2nb4 Interpreted, interactive, object-oriented
> programming language
> -------------------pkg_info END------------------------
>
> I can successfully run python2.5 executable in /usr/pkg/bin from everywhere but I cannot find (and run) the plain
python executable.
Couple of options:
1: ln -s python2.5 /usr/pkg/bin/python
2: Have pkg_alternatives present during 'bmake install' of python
- install pkgsrc/misc/getopt and pkgsrc/pkgtools/pkg_alternatives
- cd lang/python2.5 && bmake deinstall && bmake install
Unfortunately the pkg_alternatives stuff doesn't seem to be doc'd very
well.
BTW we ship python with 6.4
-seanb
|
|
|