JJ
unread,Jun 21, 2011, 4:46:38 PM6/21/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python-ad
i've installed the prereq'd software. gcc is installed. any ideas?
[root@monk python-ad-0.9]# python setup.py install
running install
running bdist_egg
running egg_info
writing lib/python_ad.egg-info/PKG-INFO
writing top-level names to lib/python_ad.egg-info/top_level.txt
writing dependency_links to lib/python_ad.egg-info/
dependency_links.txt
reading manifest file 'lib/python_ad.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'lib/python_ad.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
building 'ad.protocol.krb5' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC -I/usr/include/
python2.4 -c lib/ad/protocol/krb5.c -o build/temp.linux-x86_64-2.4/lib/
ad/protocol/krb5.o
lib/ad/protocol/krb5.c:10:20: error: Python.h: No such file or
directory
lib/ad/protocol/krb5.c:14: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
lib/ad/protocol/krb5.c:27: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
lib/ad/protocol/krb5.c:68: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
lib/ad/protocol/krb5.c: In function â_k5_set_password_errorâ:
lib/ad/protocol/krb5.c:129: warning: implicit declaration of function
âPyErr_NoMemoryâ
lib/ad/protocol/krb5.c:134: warning: implicit declaration of function
âstrncpyâ
lib/ad/protocol/krb5.c:134: warning: incompatible implicit declaration
of built-in function âstrncpyâ
lib/ad/protocol/krb5.c:146: warning: incompatible implicit declaration
of built-in function âstrncpyâ
lib/ad/protocol/krb5.c:150: warning: implicit declaration of function
âPyErr_Formatâ
lib/ad/protocol/krb5.c:150: error: âk5_errorâ undeclared (first use in
this function)
lib/ad/protocol/krb5.c:150: error: (Each undeclared identifier is
reported only once
lib/ad/protocol/krb5.c:150: error: for each function it appears in.)
lib/ad/protocol/krb5.c: At top level:
lib/ad/protocol/krb5.c:157: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
lib/ad/protocol/krb5.c:205: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
lib/ad/protocol/krb5.c:260: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
lib/ad/protocol/krb5.c:291: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
lib/ad/protocol/krb5.c:329: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
lib/ad/protocol/krb5.c:365: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âk5_methodsâ
lib/ad/protocol/krb5.c: In function âinitkrb5â:
lib/ad/protocol/krb5.c:388: error: âPyObjectâ undeclared (first use in
this function)
lib/ad/protocol/krb5.c:388: error: âmoduleâ undeclared (first use in
this function)
lib/ad/protocol/krb5.c:388: error: âdictâ undeclared (first use in
this function)
lib/ad/protocol/krb5.c:388: warning: left-hand operand of comma
expression has no effect
lib/ad/protocol/krb5.c:392: warning: implicit declaration of function
âPy_InitModuleâ
lib/ad/protocol/krb5.c:392: error: âk5_methodsâ undeclared (first use
in this function)
lib/ad/protocol/krb5.c:393: warning: implicit declaration of function
âPyModule_GetDictâ
lib/ad/protocol/krb5.c:394: error: âk5_errorâ undeclared (first use in
this function)
lib/ad/protocol/krb5.c:394: warning: implicit declaration of function
âPyErr_NewExceptionâ
lib/ad/protocol/krb5.c:395: warning: implicit declaration of function
âPyDict_SetItemStringâ
error: command 'gcc' failed with exit status 1