compiling BeOpen-Python-2.0-1.src.rpm

Blair Lowe Blair.Lowe at compeng.net
Fri Dec 22 00:34:02 CET 2000


Hi,

We are using Stock RedHat 6.2. We want to re-configure the 
BeOpen-Python source code for SSL, and general use.

We were compiling the BeOpen-Python-2.0-1.src.rpm with the command:

rpm -bi BeOpen-Python-2.0.spec

, and got the following error:


gcc -fpic  -I/usr/local/include/xmlparse -g -O2 -Wall 
-Wstrict-prototypes -I./..
/Include -I.. -DHAVE_CONFIG_H -c ./pyexpat.c
./pyexpat.c: In function `newxmlparseobject':
./pyexpat.c:639: warning: implicit declaration of function `XML_ParserCreateNS'
./pyexpat.c:639: warning: assignment makes pointer from integer without a cast
./pyexpat.c: In function `pyxml_SetStartNamespaceDeclHandler':
./pyexpat.c:1024: `XML_SetNamespaceDeclHandler' undeclared (first use 
in this fu
nction)
./pyexpat.c:1024: (Each undeclared identifier is reported only once
./pyexpat.c:1024: for each function it appears in.)
./pyexpat.c: In function `pyxml_SetEndNamespaceDeclHandler':
./pyexpat.c:1032: `XML_SetNamespaceDeclHandler' undeclared (first use 
in this fu
nction)
./pyexpat.c: In function `pyxml_SetStartCdataSection':
./pyexpat.c:1040: `XML_SetCdataSectionHandler' undeclared (first use 
in this fun
ction)
./pyexpat.c: In function `pyxml_SetEndCdataSection':
./pyexpat.c:1048: `XML_SetCdataSectionHandler' undeclared (first use 
in this fun
ction)
./pyexpat.c: At top level:
./pyexpat.c:1077: `XML_SetCommentHandler' undeclared here (not in a function)
./pyexpat.c:1077: initializer element for `handler_info[8].setter' is 
not consta
nt
./pyexpat.c:1089: `XML_SetDefaultHandlerExpand' undeclared here (not 
in a functi
on)
./pyexpat.c:1089: initializer element for `handler_info[12].setter' 
is not const
ant
./pyexpat.c:1092: `XML_SetNotStandaloneHandler' undeclared here (not 
in a functi
on)
./pyexpat.c:1092: initializer element for `handler_info[13].setter' 
is not const
ant
make[1]: *** [pyexpat.o] Error 1
make[1]: Leaving directory `/home/blade/src/BUILD/Python-2.0/Modules'
make: *** [sharedmods] Error 2
Bad exit status from /var/tmp/rpm-tmp.8833 (%build)



Why doesn't this compile cleanly? Does it need a patch for RH6.2? 
Seems like an unlikely thing to do.

Thanks,
Blair Lowe
Computer Engineering Inc. http://www.compeng.net
Phone: 780 499 5687 (9 - 5 MST) Fax:   780 435 0693 (24 Hours)

-- 
http://www.python.org/mailman/listinfo/python-list
Computer Engineering Inc. http://www.compeng.net
Phone: 780 499 5687 (9 - 5 MST) Fax:   780 435 0693 (24 Hours)
All email advice that is provided for free is without warrantee: use 
at your own risk. 




More information about the Python-list mailing list