Re: mxDateTime on Openmoko?

2008-12-18 Thread Joseph Reeves
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:

r...@om-gta02:~/gnue-forms-0.6.1# python setup.py 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.
r...@om-gta02:~/gnue-forms-0.6.1#

I can produce the same results with:

r...@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/__init__.py,
line 8, in module
   from DateTime import *
 File /usr/lib/python2.5/site-packages/mx/DateTime/DateTime.py,
line 9, in module
   from mxDateTime import *
 File /usr/lib/python2.5/site-packages/mx/DateTime/mxDateTime/__init__.py,
line 13, in module
   raise ImportError, why
ImportError: 
/usr/lib/python2.5/site-packages/mx/DateTime/mxDateTime/mxDateTime.so:
cannot open shared object file: No such file or directory




I see that /usr/lib/python2.5/site-packages/mx/DateTime/mxDateTime/mxDateTime.so
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 ;-)

Cheers,

Joseph




2008/12/12 Timo Juhani Lindfors timo.lindf...@iki.fi:
 Joseph Reeves iknowjos...@gmail.com 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:

 li...@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 http://ftp.fi.debian.org unstable/main python-egenix-mxtools 3.1.1-1 
 [512kB]
 Get:2 http://ftp.fi.debian.org 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@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: mxDateTime on Openmoko?

2008-12-18 Thread Timo Juhani Lindfors
Joseph Reeves iknowjos...@gmail.com writes:
 have to do then is get Debian to work on my openmoko ;-)

Just install debian to chroot if you don't want to replace your
current distro completely.

http://iki.fi/lindi/schroot.txt has instructions on how to make this
more or less transparent to use (instructions for x86 but should adapt).



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: mxDateTime on Openmoko?

2008-12-13 Thread Steven Kurylo
 arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No
 such file or directory
 failure.


Do you have cpp and all the gcc related packages installed?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


mxDateTime on Openmoko?

2008-12-12 Thread Joseph Reeves
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:

r...@om-gta02:~/egenix-mx-base-3.1.1# python setup.py install
running install
running build
running mx_autoconf
arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -DNDEBUG
-g -O3 -Wall -Wstrict-prototypes -fPIC -D_GNU_SOURCE=1 -I/usr/include
-c _configtest.c -o _configtest.o
arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No
such file or directory
failure.
removing: _configtest.c _configtest.o
arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -DNDEBUG
-g -O3 -Wall -Wstrict-prototypes -fPIC -D_GNU_SOURCE=1
-I/usr/include/python2.5 -I/usr/include -c _configtest.c -o
_configtest.o
arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No
such file or directory
failure.
removing: _configtest.c _configtest.o
macros to define: [('BAD_STATIC_FORWARD', '1')]
macros to undefine: ['HAVE_STRPTIME']
running build_ext

building extension mx.DateTime.mxDateTime.mxDateTime (required)
building 'mx.DateTime.mxDateTime.mxDateTime' extension
arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -DNDEBUG
-g -O3 -Wall -Wstrict-prototypes -fPIC -DUSE_FAST_GETCURRENTTIME
-DBAD_STATIC_FORWARD=1 -UHAVE_STRPTIME -Imx/DateTime/mxDateTime
-I/usr/include/python2.5 -I/usr/include -c
mx/DateTime/mxDateTime/mxDateTime.c -o
build/temp.linux-armv4tl-2.5_ucs2/mx-DateTime-mxDateTime-mxDateTime/mx/DateTime/mxDateTime/mxDateTime.o
arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No
such file or directory
error: command 'arm-angstrom-linux-gnueabi-gcc' failed with exit status 1
r...@om-gta02:~/egenix-mx-base-3.1.1#

Any pointers etc would be gratefully received.

Thanks, Joseph

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: mxDateTime on Openmoko?

2008-12-12 Thread Timo Juhani Lindfors
Joseph Reeves iknowjos...@gmail.com 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:

li...@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 http://ftp.fi.debian.org unstable/main python-egenix-mxtools 3.1.1-1 
[512kB]
Get:2 http://ftp.fi.debian.org 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@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: mxDateTime on Openmoko?

2008-12-12 Thread iknowjoseph
Thanks, i can do the same on my ubuntu laptop, but i really want it to happen 
on an openmoko distribution.

-original message-
Subject: Re: mxDateTime on Openmoko?
From: Timo Juhani Lindfors timo.lindf...@iki.fi
Date: 12/12/2008 11:07 PM

Joseph Reeves iknowjos...@gmail.com 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:

li...@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 http://ftp.fi.debian.org unstable/main python-egenix-mxtools 3.1.1-1 
[512kB]
Get:2 http://ftp.fi.debian.org 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@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community