Mailinglist Archive: opensuse (1325 mails)

< Previous Next >
Re: [opensuse] install error message from eee-control
  • From: "Hawit" <hans.linux@xxxxxxxxxxxxxxxx>
  • Date: Fri, 1 May 2009 11:48:15 +0700 (WIT)
  • Message-id: <51064.114.121.84.6.1241153295.squirrel@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups