View Single Post
Guest | Posts: n/a | Thanked: 0 times | Joined on
#1
Having some troubles getting alarmd to work on the vmware sdk.

Attempting to import alarm, alarmd, libalarm, etc all gives module not found errors.

So, I checked out python-alarm from garage.maemo.org/svn/pymaemo/packages/python-alarm/trunk, and tried to compile that, and this is what I got:

Code:
maemo@maemo-desktop:/scratchbox/users/maemo/home/maemo/0.1-0maemo1$ sudo -E python setup.py install
running install
running build
running build_ext
cythoning alarm.pyx to alarm.c

Error converting Pyrex file to C:
------------------------------------------------------------
...
                     ^
------------------------------------------------------------

/scratchbox/users/maemo/home/maemo/0.1-0maemo1/alarm.pyx:2:22: 'import *' not supported
building 'alarm' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/alarmd -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/python2.5 -c alarm.c -o build/temp.linux-i686-2.5/alarm.o -Werror
gcc: alarm.c: No such file or directory
gcc: no input files
error: command 'gcc' failed with exit status 1
Anyone know what the solution to this is? I don't really care how I do it, i'd just like to be able to import alarm

Thanks