durusmail: quixote-users: Ubuntu "Jaunty" Quixote package broken
Ubuntu "Jaunty" Quixote package broken
2009-05-18
2009-05-18
2009-05-18
2009-05-18
2009-05-19
2009-05-19
2009-05-19
2009-05-20
2009-05-19
2009-05-19
using compile_package rather than enable_ptl
2009-05-19
2009-05-19
2009-05-19
2009-05-19
Ubuntu "Jaunty" Quixote package broken
Michael Watkins
2009-05-19
On Mon, May 18, 2009 11:45 pm, Robert Ladyman wrote:
> This is installing from source, for both Quixote and mxDateTime.

Sorry, a quote attribution error at work, my comment was directed to Ian
as he'd referenced "packaging under Debian/Ubuntu" earlier.

Back to the issue: On FreeBSD and Debian systems for many years I've
compiled and run Python direct from source, usually from the svn sources,
and Quixote or QP from the tarballs. Perhaps its the FreeBSD habit - many
sysadmins never install binary packages, preferring to use the FreeBSD
Ports system and compile / install from source only what we need.

I don't trust Linux packages to contain only what is necessary. Python
packages are mostly clean but have a look at the default MySQL package on
Debian - if I recall correctly it installs an Exim mail server for gosh
sake!

Installation of both Quixote and mxDateTime on Python 2.6 just now on a
clean Debian "Lenny" machine that did not contain Quixote or mx.DateTime
tools before:

# untar Quixote && cd Quixote...
$ python setup.py build
$ sudo python2.6 setup.py install

Run app:
$ python quixote/demo

Test app:
$ curl -I http://localhost:8080/
HTTP/1.0 200 OK
Server: BaseHTTP/0.3 Python/2.6.1+
Date: Tue, 19 May 2009 14:49:38 GMT
Expires: -1
Content-Type: text/html; charset=iso-8859-1
Content-Length: 189

Ian Forbes had mentioned issues with mx.DateTime - I've seen this recently
as I had to restore an old Postgres/Quixote app to access some archived
data. You'll find that compiling MX from source appears to be successful
but import errors remain; use "easy_install" instead for a quick fix. It
also saves the hassle of downloading from the egenix form-based download
page which isn't curl/elinks/wget friendly.

If you don't find `easy_install` already on your system, visit the
Setuptools page on pypi:  http://pypi.python.org/pypi/setuptools

$ easy_install egenix-mx-base
$ python2.6
Python 2.6.1+ (release26-maint:70152, Mar  6 2009, 02:17:39)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from mx import DateTime
>>> DateTime.now()


HTH.




reply