sudo port install trac +mysql +postgres (install errors)

Bill Hernandez ms at mac-specialist.com
Sun Apr 12 08:19:54 PDT 2009


I tried installing trac on my Tiger Server and got the errors below,  
so I ran items ( 1 ) thru ( 5 ) and tried again...

( 1 ) $ sudo port selfupdate
( 2 ) $ sudo port upgrade all
( 3 ) $ sudo port uninstall inactive

After the first time it failed to install the next three commands.   
Items ( 5 ) and ( 6 ) were part of the python26 install messages

( 4 ) $ sudo port install python_select
	Password:
	Skipping org.macports.activate (python_select +darwin_8) since this  
port is already active
	--->  Cleaning python_select

( 5 ) $ sudo python_select python26
	Selecting version "python26" for python

( 6 ) $ sudo port install trac +mysql +postgres

AND STILL GOT THESE ERRORS ?

Any Ideas ?

Bill Hernandez
Plano, Texas

Warning: MySQL support is currently experimental. That means it works  
for some people, but several issues remain, in particular regarding  
the use of unicode and the key length in the repository cache.
See http://trac.edgewall.org/wiki/MySqlDb for more detailed information.
--->  Building py26-genshi
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_py26-genshi/work/Genshi-0.5.1" && / 
opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/ 
python2.6 setup.py --no-user-cfg build " returned error 1
Command output: Traceback (most recent call last):
   File "setup.py", line 18, in <module>
     import doctest
   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/doctest.py", line 99, in <module>
     import unittest, difflib, pdb, tempfile
   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/tempfile.py", line 34, in <module>
     from random import Random as _Random
   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/random.py", line 871, in <module>
     _inst = Random()
   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/random.py", line 96, in __init__
     self.seed(x)
   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ 
lib/python2.6/random.py", line 115, in seed
     super(Random, self).seed(a)
SystemError: error return without exception set

Error: The following dependencies failed to build: py26-genshi py26-mx- 
base py26-mysql py26-setuptools py26-pgsql py26-pygments subversion- 
python26bindings
Error: Status 1 encountered during processing.

[2009.11.04](09:31PM) -> [roscoe] ~ $



More information about the macports-users mailing list