mxDateTime on Openmoko?

Joseph Reeves iknowjoseph at
Thu Dec 18 16:40:00 CET 2008

Thanks Timo,

I'm wanting to install gnue-forms on my phone for some database work.
When I didn't have mxdate time installed at all, I would run the
gnue-forms installation script and it would complain, predictably,
that I hadn't met the requirements.

I apt-get installed it onto my ubuntu laptop and copied the produced
files onto the phone, the application now tells me that I have the
*wrong* mxdate time installed:

root at om-gta02:~/gnue-forms-0.6.1# python install
running install
checking GNUe Common Library
checking mxDateTime library
*** You don't have the (right) mxDateTime binaries installed !
Could not import the mx.DateTime package.
Please install mxDateTime from the mxtools suite.
The file 'INSTALL' contains more information about dependencies.
root at om-gta02:~/gnue-forms-0.6.1#

I can produce the same results with:

root at om-gta02:~/gnue-forms-0.6.1# python
Python 2.5.2 (r252:60911, Oct 14 2008, 01:51:25)
[GCC 4.1.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mx.DateTime
*** You don't have the (right) mxDateTime binaries installed !
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/usr/lib/python2.5/site-packages/mx/DateTime/",
line 8, in <module>
   from DateTime import *
 File "/usr/lib/python2.5/site-packages/mx/DateTime/",
line 9, in <module>
   from mxDateTime import *
 File "/usr/lib/python2.5/site-packages/mx/DateTime/mxDateTime/",
line 13, in <module>
   raise ImportError, why
ImportError: /usr/lib/python2.5/site-packages/mx/DateTime/mxDateTime/
cannot open shared object file: No such file or directory

I see that /usr/lib/python2.5/site-packages/mx/DateTime/mxDateTime/
is a binary file. Perhaps I could replace it with a compiled binary
from the Openmoko debian distribution and it would work? All I would
have to do then is get Debian to work on my openmoko ;-)



2008/12/12 Timo Juhani Lindfors <timo.lindfors at>:
> "Joseph Reeves" <iknowjoseph at> writes:
>> Has anyone had any joy installing Egenix mx base on openmoko?
>> Specifically I need mxDateTime, but I'm not having any luck getting
>> anything installed:
> Not sure how much this helps with openmoko distro but with debian
> mxdatetime seems to install just fine on the phone:
> lindi at ginger$ sudo apt-get install python-egenix-mxdatetime
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages were automatically installed and are no longer required:
>  libdrm2
> Use 'apt-get autoremove' to remove them.
> The following extra packages will be installed:
>  python-egenix-mxtools
> Suggested packages:
>  python-egenix-mxdatetime-dbg python-egenix-mxtools-dbg
> The following NEW packages will be installed:
>  python-egenix-mxdatetime python-egenix-mxtools
> 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> Need to get 1178kB of archives.
> After this operation, 2023kB of additional disk space will be used.
> Do you want to continue [Y/n]? y
> Get:1 unstable/main python-egenix-mxtools 3.1.1-1 [512kB]
> Get:2 unstable/main python-egenix-mxdatetime 3.1.1-1 [667kB]
> Fetched 1178kB in 3min47s (5177B/s)
> debconf: delaying package configuration, since apt-utils is not installed
> Selecting previously deselected package python-egenix-mxtools.
> (Reading database ... 36487 files and directories currently installed.)
> Unpacking python-egenix-mxtools (from .../python-egenix-mxtools_3.1.1-1_armel.deb) ...
> Selecting previously deselected package python-egenix-mxdatetime.
> Unpacking python-egenix-mxdatetime (from .../python-egenix-mxdatetime_3.1.1-1_armel.deb) ...
> Setting up python-egenix-mxtools (3.1.1-1) ...
> Setting up python-egenix-mxdatetime (3.1.1-1) ...
> _______________________________________________
> Openmoko community mailing list
> community at

More information about the community mailing list