Note that Mac OS X 10.4 ships with python 2.3. Don't know what version 10.5 ships with.

On 16 Nov 2007, at 13:41, R T wrote:

My company started to move to the Mac for our system development so I am new to Macports. Our current system requires the use of python 2.3 during its build process. I was attempting to use macports to install python23 and ran into a problem. Below is a listing with the error. Any insite would be helpful.

$ sudo port -v -d install python23

DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/lang/python23 DEBUG: Changing to port directory: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/lang/python23
DEBUG: Requested variant i386 is not provided by port python23.
DEBUG: Requested variant macosx is not provided by port python23.
DEBUG: Executing variant darwin provides darwin
DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/archivers/gnutar DEBUG: Changing to port directory: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/archivers/gnutar
DEBUG: Requested variant darwin is not provided by port gnutar.
DEBUG: Requested variant i386 is not provided by port gnutar.
DEBUG: Requested variant macosx is not provided by port gnutar.
DEBUG: Searching for dependency: gnutar
DEBUG: Didn't find receipt, going to depspec regex for: gnutar
DEBUG: Found Dependency: path: /usr/bin filename: gnutar regex: ^gnutar$
DEBUG: Skipping completed org.macports.main (python23)
DEBUG: Skipping completed org.macports.fetch (python23)
DEBUG: Skipping completed org.macports.checksum (python23)
DEBUG: setting option extract.cmd to /usr/bin/bzip2
DEBUG: Skipping completed org.macports.extract (python23)
DEBUG: Skipping completed org.macports.patch (python23)
DEBUG: Skipping completed org.macports.configure (python23)
--->  Building python23 with target all
DEBUG: Executing org.macports.build (python23)
DEBUG: Environment:
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ python23/work/Python-2.3.6" && make all' gcc -L/opt/local/lib -u __dummy -u _PyMac_Error -framework System - framework CoreServices -framework Foundation -o python.exe \
            Modules/python.o \
-L. -lpython2.3 -ldl -framework CoreServices -framework Foundation
Undefined symbols:
  "__dummy", referenced from:
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [python.exe] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ python23/work/Python-2.3.6" && make all " returned error 2 Command output: gcc -L/opt/local/lib -u __dummy -u _PyMac_Error - framework System -framework CoreServices -framework Foundation -o python.exe \
            Modules/python.o \
-L. -lpython2.3 -ldl -framework CoreServices -framework Foundation
Undefined symbols:
  "__dummy", referenced from:
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [python.exe] Error 1

Warning: the following items did not execute (for python23): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.


Help yourself to FREE treats served up daily at the Messenger Café. Stop by today!
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users



Randall Wood
[EMAIL PROTECTED]
http://shyramblings.blogspot.com

"The rules are simple: The ball is round. The game lasts 90 minutes. All the
rest is just philosophy."


_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to