errors encountered while installing Python -- please advise; an update

Richard Rucker rrucker at mac.com
Fri Sep 19 12:43:34 PDT 2008


I ran the two sudo commands recommended in the log to install python  
and to select python25 with these results:

--->  Fetching python_select
--->  Attempting to fetch select-0.1.tar.gz from http://svn.macports.org/repository/macports/contrib/select/
--->  Verifying checksum(s) for python_select
--->  Extracting python_select
--->  Configuring python_select
--->  Building python_select with target all
--->  Staging python_select into destroot
--->  Installing python_select 0.1_4+darwin_9
--->  Activating python_select 0.1_4+darwin_9
--->  Cleaning python_select
<me>$ sudo python_select python25
Selecting version "python25" for python

Does this mean that I can ignore the two error reports at the end of  
the log and consider the installation command to have been  
successfully completed?

Dick


Begin forwarded message:

> From: Richard Rucker <rrucker at mac.com>
> Date: September 19, 2008 3:27:25 PM EDT
> To: MacPorts users <macports-users at lists.macosforge.org>
> Subject: errors encountered while installing Python -- please advise
>
> Here's the installation command being executed:
> <me>$ sudo port install py25-gtk py-serial py25-xml py25-hashlib
>
>
> Here's the relevant portion of the installing script's reports:
> ----------------------------------------
> To fully complete your installation and make python 2.5 the default,
> please run
>
> 	sudo port install python_select
> 	sudo python_select python25
>
> --->  Cleaning python25
> --->  Fetching py25-hashlib
> --->  Attempting to fetch Python-2.5.2.tar.bz2 from http://www.python.org/ftp/python/2.5.2/
> --->  Verifying checksum(s) for py25-hashlib
> --->  Extracting py25-hashlib
> --->  Configuring py25-hashlib
> --->  Building py25-hashlib with target build
> Error: Target org.macports.build returned: shell command " cd "/opt/
> local/var/macports/build/
> _opt_local_var_macports_sources_rsync
> .macports.org_release_ports_python_py25-hashlib/work/Python-2.5.2/
> Modules" && /opt/local/bin/python2.5 setup.py build " returned error 1
> Command output: running build
> running build_ext
> building '_hashlib' extension
> creating build
> creating build/temp.macosx-10.3-i386-2.5
> -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include
> -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/
> python2.5 -c _hashopenssl.c -o build/temp.macosx-10.3-i386-2.5/
> _hashopenssl.o
> unable to execute -DNDEBUG: No such file or directory
> error: command '-DNDEBUG' failed with exit status 1
>
> Error: The following dependencies failed to build: py25-cairo py25-
> numpy py25-hashlib py25-gobject libxslt
> Error: Status 1 encountered during processing.
>
> So should I do now?
>
> Dick
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



More information about the macports-users mailing list