sudo port install trac +mysql +postgres (install errors)
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
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 ?
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/
.macports.org_release_ports_python_py26-genshi/work/Genshi-0.5.1" && /
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>
lib/python2.6/doctest.py", line 99, in <module>
import unittest, difflib, pdb, tempfile
lib/python2.6/tempfile.py", line 34, in <module>
from random import Random as _Random
lib/python2.6/random.py", line 871, in <module>
_inst = Random()
lib/python2.6/random.py", line 96, in __init__
lib/python2.6/random.py", line 115, in seed
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-
Error: Status 1 encountered during processing.
[2009.11.04](09:31PM) -> [roscoe] ~ $
More information about the macports-users