[reportlab-users] Anybody else hungry for Image shapes?

Dinu Gherman reportlab-users@reportlab.com
Sat, 27 Jul 2002 16:08:11 +0200


Robin Becker:

> well since I posted y'day I've heard nothing. I guess that could mean
> utter indifference or complete satisfaction (at least with renderPM).
> Last time I changed _renderPM.c/libart it was quite badly broken and
> there was still no uproar.

I just made a CVS checkout/update and tried to compile it on OS X.
In the absence of a README I simply tried "python setup.py build"
which results in the error below. Not sure, if this is my own en-
vironment to be blamed, but I remember it used to compile on it
some day. But pyRXP does compile compile now (as it did before).

Regards,

Dinu


[localhost:~/Desktop/renderPM] dinu% python setup.py build
running build
running build_clib
building '_renderPM_libart' library
creating build
creating build/temp.darwin-5.5-Power Macintosh-2.2
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_affine.c 
-o build/temp.darwin-5.5-Power Macintosh-2.2/art_affine.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_alphagamma.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_alphagamma.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_bpath.c -o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_bpath.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_gray_svp.c 
-o build/temp.darwin-5.5-Power Macintosh-2.2/art_gray_svp.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_misc.c -o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_misc.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_pixbuf.c 
-o build/temp.darwin-5.5-Power Macintosh-2.2/art_pixbuf.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_rect.c -o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_rect.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_rect_svp.c 
-o build/temp.darwin-5.5-Power Macintosh-2.2/art_rect_svp.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_rect_uta.c 
-o build/temp.darwin-5.5-Power Macintosh-2.2/art_rect_uta.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_render.c 
-o build/temp.darwin-5.5-Power Macintosh-2.2/art_render.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_render_gradient.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_render_gradient.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_render_mask.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_render_mask.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_render_svp.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_render_svp.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_rgb.c -o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_rgb.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_rgb_a_affine.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_rgb_a_affine.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_rgb_affine.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_rgb_affine.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_rgb_affine_private.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_rgb_affine_private.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_rgb_bitmap_affine.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_rgb_bitmap_affine.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_rgb_pixbuf_affine.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_rgb_pixbuf_affine.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_rgb_rgba_affine.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_rgb_rgba_affine.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_rgb_svp.c 
-o build/temp.darwin-5.5-Power Macintosh-2.2/art_rgb_svp.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_rgba.c -o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_rgba.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_svp.c -o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_svp.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_svp_intersect.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_svp_intersect.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_svp_ops.c 
-o build/temp.darwin-5.5-Power Macintosh-2.2/art_svp_ops.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_svp_point.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_svp_point.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_svp_render_aa.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_svp_render_aa.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_svp_vpath.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_svp_vpath.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_svp_vpath_stroke.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_svp_vpath_stroke.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_svp_wind.c 
-o build/temp.darwin-5.5-Power Macintosh-2.2/art_svp_wind.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_uta.c -o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_uta.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_uta_ops.c 
-o build/temp.darwin-5.5-Power Macintosh-2.2/art_uta_ops.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_uta_rect.c 
-o build/temp.darwin-5.5-Power Macintosh-2.2/art_uta_rect.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_uta_svp.c 
-o build/temp.darwin-5.5-Power Macintosh-2.2/art_uta_svp.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_uta_vpath.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_uta_vpath.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c ./libart_lgpl/art_vpath.c -o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_vpath.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_vpath_bpath.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_vpath_bpath.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_vpath_dash.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_vpath_dash.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -I. -I./libart_lgpl -c 
./libart_lgpl/art_vpath_svp.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/art_vpath_svp.o
ar -cr build/temp.darwin-5.5-Power Macintosh-2.2/lib_renderPM_libart.a 
build/temp.darwin-5.5-Power Macintosh-2.2/art_affine.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_alphagamma.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_bpath.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_gray_svp.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_misc.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_pixbuf.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_rect.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_rect_svp.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_rect_uta.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_render.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_render_gradient.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_render_mask.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_render_svp.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_rgb.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_rgb_a_affine.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_rgb_affine.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_rgb_affine_private.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_rgb_bitmap_affine.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_rgb_pixbuf_affine.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_rgb_rgba_affine.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_rgb_svp.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_rgba.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_svp.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_svp_intersect.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_svp_ops.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_svp_point.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_svp_render_aa.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_svp_vpath.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_svp_vpath_stroke.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_svp_wind.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_uta.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_uta_ops.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_uta_rect.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_uta_svp.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_uta_vpath.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_vpath.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_vpath_bpath.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_vpath_dash.o 
build/temp.darwin-5.5-Power Macintosh-2.2/art_vpath_svp.o
ranlib build/temp.darwin-5.5-Power Macintosh-2.2/lib_renderPM_libart.a
building '_renderPM_gt1' library
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp -I. -I./gt1 
-I./glib -c ./gt1/gt1-dict.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/gt1-dict.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp -I. -I./gt1 
-I./glib -c ./gt1/gt1-namecontext.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/gt1-namecontext.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp -I. -I./gt1 
-I./glib -c ./gt1/gt1-parset1.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/gt1-parset1.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp -I. -I./gt1 
-I./glib -c ./gt1/gt1-region.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/gt1-region.o
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp -I. -I./gt1 
-I./glib -c ./gt1/parseAFM.c -o build/temp.darwin-5.5-Power 
Macintosh-2.2/parseAFM.o
./gt1/parseAFM.c:162: warning: function declaration isn't a prototype
./gt1/parseAFM.c:198: warning: function declaration isn't a prototype
./gt1/parseAFM.c:231: warning: function declaration isn't a prototype
./gt1/parseAFM.c:274: warning: function declaration isn't a prototype
./gt1/parseAFM.c:526: warning: function declaration isn't a prototype
./gt1/parseAFM.c:627: warning: function declaration isn't a prototype
./gt1/parseAFM.c:738: warning: function declaration isn't a prototype
./gt1/parseAFM.c:842: warning: function declaration isn't a prototype
./gt1/parseAFM.c:968: warning: function declaration isn't a prototype
ar -cr build/temp.darwin-5.5-Power Macintosh-2.2/lib_renderPM_gt1.a 
build/temp.darwin-5.5-Power Macintosh-2.2/gt1-dict.o 
build/temp.darwin-5.5-Power Macintosh-2.2/gt1-namecontext.o 
build/temp.darwin-5.5-Power Macintosh-2.2/gt1-parset1.o 
build/temp.darwin-5.5-Power Macintosh-2.2/gt1-region.o 
build/temp.darwin-5.5-Power Macintosh-2.2/parseAFM.o
ranlib build/temp.darwin-5.5-Power Macintosh-2.2/lib_renderPM_gt1.a
running build_ext
building '_renderPM' extension
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp 
-DLIBART_COMPILATION -DLIBART_VERSION=\"2.3.10\" -I. -I./libart_lgpl 
-I./gt1 -I/usr/local/include/python2.2 -c _renderPM.c -o 
build/temp.darwin-5.5-Power Macintosh-2.2/_renderPM.o
_renderPM.c:0: unterminated string or character constant
_renderPM.c:0: possible real start of unterminated constant
error: command 'cc' failed with exit status 1
[localhost:~/Desktop/renderPM] dinu%