[reportlab-users] Setup.py-problem

Dinu Gherman reportlab-users@reportlab.com
Tue, 12 Aug 2003 21:04:33 +0200


reinhard gantar:

> I read some mails from a guy named Dinu; in one of them he
> recommends fixing up autoconf.m4f. I did that to no avail.

I can't reproduce this. See below the output of this command sequence:

   curl --url http://www.reportlab.com/ftp/pyRXP-0-9.tgz > pyRXP-0-9.tgz
   mkdir pyRXP
   mv pyRXP-0-9.tgz pyRXP
   cd pyRXP
   tar xfz pyRXP-0-9.tgz
   python setup.py build

running build
running build_ext
building 'pyRXP' extension
creating build
creating build/temp.darwin-6.6-Power Macintosh-2.2
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DCHAR_SIZE=8 -Irxp -I/usr/include/python2.2 -c pyRXP.c -o 
build/temp.darwin-6.6-Power Macintosh-2.2/pyRXP.o
pyRXP.c:7: warning: `__version__' defined but not used
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DCHAR_SIZE=8 -Irxp -I/usr/include/python2.2 -c rxp/xmlparser.c -o 
build/temp.darwin-6.6-Power Macintosh-2.2/xmlparser.o
rxp/xmlparser.c:7: warning: `vcid' defined but not used
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DCHAR_SIZE=8 -Irxp -I/usr/include/python2.2 -c rxp/url.c -o 
build/temp.darwin-6.6-Power Macintosh-2.2/url.o
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DCHAR_SIZE=8 -Irxp -I/usr/include/python2.2 -c rxp/charset.c -o 
build/temp.darwin-6.6-Power Macintosh-2.2/charset.o
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DCHAR_SIZE=8 -Irxp -I/usr/include/python2.2 -c rxp/string16.c -o 
build/temp.darwin-6.6-Power Macintosh-2.2/string16.o
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DCHAR_SIZE=8 -Irxp -I/usr/include/python2.2 -c rxp/ctype16.c -o 
build/temp.darwin-6.6-Power Macintosh-2.2/ctype16.o
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DCHAR_SIZE=8 -Irxp -I/usr/include/python2.2 -c rxp/dtd.c -o 
build/temp.darwin-6.6-Power Macintosh-2.2/dtd.o
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DCHAR_SIZE=8 -Irxp -I/usr/include/python2.2 -c rxp/input.c -o 
build/temp.darwin-6.6-Power Macintosh-2.2/input.o
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DCHAR_SIZE=8 -Irxp -I/usr/include/python2.2 -c rxp/stdio16.c -o 
build/temp.darwin-6.6-Power Macintosh-2.2/stdio16.o
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DCHAR_SIZE=8 -Irxp -I/usr/include/python2.2 -c rxp/system.c -o 
build/temp.darwin-6.6-Power Macintosh-2.2/system.o
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DCHAR_SIZE=8 -Irxp -I/usr/include/python2.2 -c rxp/hash.c -o 
build/temp.darwin-6.6-Power Macintosh-2.2/hash.o
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DCHAR_SIZE=8 -Irxp -I/usr/include/python2.2 -c rxp/version.c -o 
build/temp.darwin-6.6-Power Macintosh-2.2/version.o
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DCHAR_SIZE=8 -Irxp -I/usr/include/python2.2 -c rxp/namespaces.c -o 
build/temp.darwin-6.6-Power Macintosh-2.2/namespaces.o
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DCHAR_SIZE=8 -Irxp -I/usr/include/python2.2 -c rxp/http.c -o 
build/temp.darwin-6.6-Power Macintosh-2.2/http.o
creating build/lib.darwin-6.6-Power Macintosh-2.2
gcc -bundle -bundle_loader /usr/bin/python build/temp.darwin-6.6-Power 
Macintosh-2.2/pyRXP.o build/temp.darwin-6.6-Power 
Macintosh-2.2/xmlparser.o build/temp.darwin-6.6-Power 
Macintosh-2.2/url.o build/temp.darwin-6.6-Power Macintosh-2.2/charset.o 
build/temp.darwin-6.6-Power Macintosh-2.2/string16.o 
build/temp.darwin-6.6-Power Macintosh-2.2/ctype16.o 
build/temp.darwin-6.6-Power Macintosh-2.2/dtd.o 
build/temp.darwin-6.6-Power Macintosh-2.2/input.o 
build/temp.darwin-6.6-Power Macintosh-2.2/stdio16.o 
build/temp.darwin-6.6-Power Macintosh-2.2/system.o 
build/temp.darwin-6.6-Power Macintosh-2.2/hash.o 
build/temp.darwin-6.6-Power Macintosh-2.2/version.o 
build/temp.darwin-6.6-Power Macintosh-2.2/namespaces.o 
build/temp.darwin-6.6-Power Macintosh-2.2/http.o -o 
build/lib.darwin-6.6-Power Macintosh-2.2/pyRXP.so

dinu% python
Python 2.2.2 (#1, Mar 13 2003, 12:11:28)
[GCC 3.1 20020420 (prerelease)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Welcome to rlcompleter2 0.95 for nice experiences hit <tab> multiple 
times
 >>> import distutils
 >>> distutils.__version__
'1.0.3'
 >>>

Dinu

--
Dinu C. Gherman
......................................................................
"If you tell the truth, you don't have to remember anything."
(Mark Twain)