[egenix-users] Re: python-egenix-mxdatetime on Openmoko

Joseph Reeves iknowjoseph at gmail.com
Fri Dec 12 15:37:54 CET 2008


I've just apt-get installed date time onto my Ubuntu machine and
recreated the produced file structure onto the Openmoko. Now when I
try and install gnue-forms I'm told:

root at 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.
root at om-gta02:~/gnue-forms-0.6.1#

Obviously the binaries I've apt-get'd onto my laptop are for i686
machines, not the arm4 architecture of the Openmoko.

Again, any help would be massively appreciated.

Thanks, Joseph



2008/12/12 Joseph Reeves <iknowjoseph at gmail.com>:
> Dear all,
>
> I'm trying to install gnue-forms on Openmoko (www.openmoko.org), a
> requirement of which is python-egenix-mxdatetime.
>
> I've installed gcc (4.1.2-r14) downloaded the source directory
> (genix-mx-base-3.1.1) and have tried to install as per the
> instructions on the egenix website. The installation fails with:
>
> root at 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
> root at om-gta02:~/egenix-mx-base-3.1.1#
>
> Any help getting python-egenix-mxdatetime installed would be greatly
> appreciated.
>
> Thanks, Joseph
>



More information about the egenix-users mailing list