using native python 2.5 as opposed to installing 2.4
Randy Bush
randy at psg.com
Sun Apr 6 03:55:41 PDT 2008
Randall Wood wrote:
> On Sun, Apr 6, 2008 at 12:13 AM, Randy Bush <randy at psg.com> wrote:
>> < insert old unix geek whining about macos and unsearchable mailman
>> mailing list archives >
>>
>> trying to install rdiff-backup. it, and py-xattr want to install python
>> 2.4 port when there is a perfectly good python 2.5 native in leopard. i
>> can not find the equivalent of freebsd's /usr/local/etc/pkgtools.conf to
>> whack the port's build parms. and doc reading does not give me a lot of
>> clue.
>
> I can speak to why we don't use the system python, but not to rdiff-backup:
>
> The system python would have to be modified to see the
> MacPorts-installed python packages or MacPorts would have to stick
> those packages outside of its managed directory. MacPorts uses a
> single managed directory[1] to avoid collisions with other software
> that would break the ability to manage the ports. To avoid modifying
> the system python, MacPorts installs its own python as well.
>
> [1] /opt/local by default. There are some exceptions
> /Applications/MacPorts so that apps just work and are visible in the
> Applications directory and a couple of others related to bootstrapping
> in MacPorts to begin with.
as i sit here watching a whole parallel universe of gnu utils, python,
... being built and installed, i am not comfortable. i know that i will
now have to maintain this overbuilt universe as time passes.
and then i get the appended and wonder how i scrape all this stuff i do
not need out. sqlite? someone's kidding, right?
sigh.
randy
---
---> Fetching sqlite3
---> Attempting to fetch sqlite-3.5.7.tar.gz from http://www.sqlite.org/
---> Verifying checksum(s) for sqlite3
---> Extracting sqlite3
---> Configuring sqlite3
---> Building sqlite3 with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_sqlite3/work/sqlite-3.5.7"
&& gnumake all " returned error 2
Command output: sed -e s/--VERS--/3.5.7/ ./src/sqlite.h.in | \
sed -e s/--VERSION-NUMBER--/3005007/ >sqlite3.h
/usr/bin/gcc-4.0 -O2 -o mkkeywordhash ./tool/mkkeywordhash.c
./mkkeywordhash >keywordhash.h
/usr/bin/gcc-4.0 -O2 -o lemon ./tool/lemon.c
cp ./tool/lempar.c .
cp ./src/parse.y .
./lemon parse.y
mv parse.h parse.h.temp
f ./addopcodes.awk parse.h.temp >parse.h
/bin/sh: f: command not found
gnumake: [parse.c] Error 127 (ignored)
cat parse.h ./src/vdbe.c | -f ./mkopcodeh.awk >opcodes.h
/bin/sh: -f: command not found
cat: stdout: Broken pipe
gnumake: *** [opcodes.h] Error 127
Error: The following dependencies failed to build: subversion apr-util
sqlite3 neon
Error: Status 1 encountered during processing.
randy
More information about the macports-users
mailing list