Hawit escribió:
i m trying to install eee-control for my opensuse 11.1, but i got this error (rather long..):
python setup.py install running install running build running build_py running build_ext building 'EeeControl.ioport' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fwrapv -fPIC -I/usr/include/python2.6 -c ioport/ioport.c -o build/temp.linux-i686-2.6/ioport/ioport.o ioport/ioport.c:46:20: error: Python.h: No such file or directory ioport/ioport.c:58: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token ioport/ioport.c: In function âvalidateâ: ioport/ioport.c:69: warning: implicit declaration of function âPyErr_SetStringâ ioport/ioport.c:69: error: âErrorObjâ undeclared (first use in this function) ioport/ioport.c:69: error: (Each undeclared identifier is reported only once ioport/ioport.c:69: error: for each function it appears in.) ioport/ioport.c: At top level: ioport/ioport.c:77: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token ioport/ioport.c:97: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token ioport/ioport.c:117: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token ioport/ioport.c:140: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token ioport/ioport.c:162: error: array type has incomplete element type ioport/ioport.c:163: error: âPyCFunctionâ undeclared here (not in a function) ioport/ioport.c:163: error: expected â}â before âiop_outbâ ioport/ioport.c:164: error: expected â}â before âiop_inbâ ioport/ioport.c:165: error: expected â}â before âiop_iopermâ ioport/ioport.c:166: error: expected â}â before âiop_ioplâ ioport/ioport.c:167: error: âNULLâ undeclared here (not in a function) ioport/ioport.c:167: error: expected â}â before âNULLâ ioport/ioport.c: In function âinitioportâ: ioport/ioport.c:176: error: âPyObjectâ undeclared (first use in this function) ioport/ioport.c:176: error: âmâ undeclared (first use in this function) ioport/ioport.c:176: error: âdâ undeclared (first use in this function) ioport/ioport.c:176: warning: left-hand operand of comma expression has no effect ioport/ioport.c:178: warning: implicit declaration of function âPy_InitModule4â ioport/ioport.c:180: error: expected expression before â)â token ioport/ioport.c:183: warning: implicit declaration of function âPyModule_GetDictâ ioport/ioport.c:184: error: âErrorObjâ undeclared (first use in this function) ioport/ioport.c:184: warning: implicit declaration of function âPyString_FromStringâ ioport/ioport.c:185: warning: implicit declaration of function âPyDict_SetItemStringâ ioport/ioport.c:192: warning: implicit declaration of function âPyErr_Occurredâ ioport/ioport.c:193: warning: implicit declaration of function âPy_FatalErrorâ error: command 'gcc' failed with exit status 1
is there any dependency
that i missed? Yes, python-devel .. however please follow Herbert advice.
-- okay since u guys said so, i wont install this one. but i still miss hotkey to turn on and off my wifi :( i hv to do in windows, hate that. i wish opensuse developer will come up with this feature soon.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org