Jorge Vargas schrieb:
> On 1/10/07, Jeff Hinrichs - DM&T <[EMAIL PROTECTED]> wrote:
>> Method:
>>  sudo apt-get install libc6-dev python-dev
>>  wget http://www.turbogears.org/download/tgsetup.py
>>  sudo python setup.py
>>
> if you do not install libc6-dev python-dev where does it fails?
> ruledispatch? or there is another place?

I tested this on a minimal Ubuntu Dapper 6.06 installation, leaving out
installation of 'libc6-dev', but installing 'python-dev', which suggests
'libc6-dev' but does not require it.

    sudo apt-get install python-dev
    wget http://www.turbogears.org/download/tgsetup.py
    sudo python tgsetup.py

This fails for several packages with the "command 'gcc' failed with exit status
1" because gcc can not be found (of course) - btw: package 'libc6-dev' only
suggests package 'gcc', it is not installed simultaneously by default.

For every failed package, I built a corresponding binary egg on another machine
with a Ubuntu 6.06 desktop installation in a workingenv.py environment with

    easy_install -Uzmf http://files.turbogears.org/eggs <package name>

and copied that to the target host and installed it with

    sudo easy_install -Z <egg file>

1) first try fails at RuleDispatch

1a) built RuleDispatch-0.5a0.dev_r2115-py2.4-linux-i686.egg and installed it on
target host

2) second try fails at cElementTree

2a) built cElementTree-1.0.5_20051216-py2.4-linux-i686.egg and installed it on
target host

3) third try fails at PyProtocols

3a) built PyProtocols-1.0a0-py2.4-linux-i686.egg and installed it on target host

4) third try fails at Cheetah

4a) built Cheetah-2.0rc7-py2.4-linux-i686.egg and installed it on target host

5) Finally, the fifth try runs without errors and a subsequent 'tg-admin info'
gives me [1].

6) Test a quickstarted app:

    sudo apt-get install links
    echo n | tg-admin quickstart -p mytest MyTest
    cd MyTest
    ./start-mytest.py &>mytest.log &
    links -dump http://localhost:8080/

Success!


If you want, I can upload the created .egg files somewhere, but please note
that they are built for the i686 architecture and I won't maintain them.

That's all, Chris

[1] Output of 'tg-admin info' below. You can get rid of the warning with:

    sudo apt-get install python-profiler

/usr/local/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/lib/profiler.py:54:
UserWarning: Your installation of Python doesn't have a profile module. If
you're on Debian, you can apt-get python2.4-profiler from non-free in a
separate step. See http://www.cherrypy.org/wiki/ProfilingOnDebian for details.
  warnings.warn(msg)
TurboGears Complete Version Information

TurboGears requires:

* TurboGears 1.0
* configobj 4.3.2
* RuleDispatch 0.5a0.dev-r2115
* setuptools 0.6c3
* FormEncode 0.6
* cElementTree 1.0.5-20051216
* PasteScript 1.1
* elementtree 1.2.6-20050316
* simplejson 1.4
* CherryPy 2.2.1
* TurboKid 0.9.9
* TurboCheetah 0.9.5
* TurboJson 1.0
* PyProtocols 1.0a0
* Cheetah 2.0rc7
* PasteDeploy 1.1
* Paste 1.1.1
* kid 0.9.4
* Cheetah 2.0rc7
* elementtree 1.2.6-20050316

Identity Providers

* sqlobject (TurboGears 1.0)
* sqlalchemy (TurboGears 1.0)

tg-admin Commands

* info (TurboGears 1.0)
* shell (TurboGears 1.0)
* quickstart (TurboGears 1.0)
* update (TurboGears 1.0)
* sql (TurboGears 1.0)
* i18n (TurboGears 1.0)
* toolbox (TurboGears 1.0)

Visit Managers

* sqlobject (TurboGears 1.0)
* sqlalchemy (TurboGears 1.0)

Template Engines

* kid (TurboKid 0.9.9)
* cheetah (TurboCheetah 0.9.5)
* json (TurboJson 1.0)

Widget Packages


TurboGears Extensions

* visit (TurboGears 1.0)
* identity (TurboGears 1.0)


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to