We actually got it working on OSX Server today, after cleaning out /
Library/Python/2.5/site-packages/ and some scripts in /usr/local/bin.
We had to install in a specific order, but the thing that puzzles me
the most is Apple's stubborn version of setuptools. It turns out that
they keep an older version installed in /System/Library/Frameworks/
Python.framework/Versions/2.5/Extras/lib/python, and the copy of
easy_install installed inside is the one that gets run when you type
"easy_install". So, we installed the newest version of setuptools in /
Library/Python/2.5/site-packages/, along with easy_install getting
dropped in /usr/local/bin, and we just ran "/usr/local/bin/
easy_install ..." instead. This actually worked, but it's still quite
a pain to manage without virtualenv.

We had to install in this order, which I actually figured out on my
Vista laptop :v

* clean install of setuptools, everybody likes to have this
* Download 
http://www.turbogears.org/2.0/downloads/1.9.7a1/simplejson-1.9.1.tar.gz
and uncompress
  * Open and run "python setup.py --without-speedups install", this
will fail because "native_libs.txt" is missing.
  * Run the command again, simplejson should install this time.
* easy_install genshi
* easy_install sqlalchemy
* easy_install -i http://www.turbogears.org/2.0/downloads/1.9.7a1/index
TurboGears2
* easy_install -i http://www.turbogears.org/2.0/downloads/1.9.7a1/index
tg.devtools

I really doubt installing sqlalchemy before tg2 and devtools was
necessary, but I wanted beta 2 instead of 1 and didn't want to muck
around with easy_install anymore, so I ran it beforehand.

On Jul 21, 12:49 pm, "Mark Ramm" <[EMAIL PROTECTED]> wrote:
> Feel free to send it to me privately, and I'll see if I can see
> anything that's obviously not doing what it should in the install
> process.
>
> We definitely want to support OS X server, but I don't have any laying
> around, and it's not easy to test on everything ;)
>
> --Mark Ramm
>
> On Sat, Jul 19, 2008 at 11:10 PM, Bryan Koroleski
>
>
>
> <[EMAIL PROTECTED]> wrote:
>
> > Complete success on installing on Mac OS X 10.5 with virtualenv, a
> > little difficulty installing on Vista Ultimate 32-bit due to
> > simplejson, but no success on installing on OS X 10.5 Server.
>
> > On the first install attempt, easy_install quit while trying to
> > install tg.ext.repoze.who, and complained about an outdated setuptools
> > (10.5 Server had 0.6c7, tg.ext.repoze.who, requires 0.6c8). After we
> > updated setuptools, we retried the installation and it failed, again
> > complaining about outdated setuptools. We weren't using virtualenv
> > before (not my fault, I wanted to :/) , but we decided to see if using
> > it would let us get around OS X Server's default install, so we
> > created a new environment with --no-site-packages, and it allowed us
> > to continue.
>
> > We ran the installation script again, and it appeared to run
> > correctly, no errors were thrown anyway. When we tried typing 'paster
> > --help', though, we recieved a response that said, "Cannot load
> > command quickstart: tg.ext.repoze.who". The response was also missing
> > the TG2 stuff at the end. I had the guy sitting at the keyboard type
> > 'paster tginfo', which resulted in the virtual environment becoming
> > unusuable, due to a missing formencode. We tried this three times, and
> > ended up with three unusable virtual environments.
>
> > In the end I think this is 99% our fault for not using virtualenv to
> > start with, but people above me decided that virtualenv was a security
> > risk for no real reason at all, and decided to install globally. We
> > still don't have it working, and I can send the terminal session along
> > if anybody's interested.
>
> --
> Mark Ramm-Christensen
> email: mark at compoundthinking dot com
> blog:www.compoundthinking.com/blog

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to