[reportlab-users] problems building reportlab 2.5 on Python2.6 SUSE 11

Chris Withers chris at simplistix.co.uk
Tue Nov 29 15:08:07 EST 2011


Hi All,

While trying to fix the platypus tadle width problem I'm having, I
thought I'd try and install reportab 2.5 to see if it made a difference
and got the following:

/python2.6 -c
/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/gt1/gt1-namecontext.c
-o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/gt1/gt1-namecontext.o
/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/gt1/gt1-namecontext.c:
In function ‘gt1_name_context_strdup’:
/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/gt1/gt1-namecontext.c:100:
warning: implicit declaration of function ‘strlen’
/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/gt1/gt1-namecontext.c:100:
warning: incompatible implicit declaration of built-in function
‘strlen’
/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/gt1/gt1-namecontext.c:102:
warning: implicit declaration of function ‘memcpy’
/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/gt1/gt1-namecontext.c:102:
warning: incompatible implicit declaration of built-in function
‘memcpy’
/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/gt1/gt1-namecontext.c:
In function ‘gt1_name_context_strdup_size’:
/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/gt1/gt1-namecontext.c:125:
warning: incompatible implicit declaration of built-in function
‘memcpy’
/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/gt1/gt1-namecontext.c:
In function ‘gt1_name_context_intern’:
/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/gt1/gt1-namecontext.c:172:
warning: implicit declaration of function ‘strcmp’
gcc -pthread -fno-strict-aliasing -DNDEBUG -fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -g -fwrapv -fPIC -DRENDERPM_FT
-DLIBART_COMPILATION -DLIBART_VERSION="2.3.12"
-I/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM
-I/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl
-I/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/gt1
-I/usr/include -I/usr/include/freetype2 -I/usr/include/python2.6 -c
/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/gt1/gt1-region.c
-o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/gt1/gt1-region.o
gcc -pthread -shared
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/_renderPM.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl/art_vpath_bpath.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl/art_rgb_pixbuf_affine.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl/art_rgb_svp.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl/art_svp.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl/art_svp_vpath.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl/art_svp_vpath_stroke.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl/art_svp_ops.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl/art_vpath.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl/art_vpath_dash.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl/art_affine.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl/art_rect.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl/art_rgb_affine.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl/art_rgb_affine_private.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl/art_rgb.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl/art_rgb_rgba_affine.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl/art_svp_intersect.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl/art_svp_render_aa.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/libart_lgpl/art_misc.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/gt1/gt1-parset1.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/gt1/gt1-dict.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/gt1/gt1-namecontext.o
build/temp.linux-x86_64-2.6/home/cwithers/Downloads/reportlab-2.5/src/rl_addons/renderPM/gt1/gt1-region.o
-L/usr/local/lib -L/usr/lib -L/usr/lib64 -lfreetype -lpython2.6 -o
build/lib.linux-x86_64-2.6/_renderPM.so
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
/usr/local/lib/libpython2.6.a(abstract.o): relocation R_X86_64_32
against `a local symbol' can not be used when making a shared object;
recompile with -fPIC
/usr/local/lib/libpython2.6.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

Has anyone seen this before? Maybe a 64 bit issue?

cheers,

Chris

--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk


More information about the reportlab-users mailing list