[Bug-report] [Lunar Linux 0000267]: pil fails to compile

bug-reports at lunar-linux.org bug-reports at lunar-linux.org
Fri Apr 4 13:49:35 GMT 2003


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.lunar-linux.org/view_bug_page.php?f_id=0000267
=======================================================================
Reporter:                   jmhodges
Handler:                    
=======================================================================
Project:                    Lunar Linux
Bug ID:                     0000267
Category:                   moonbase
Reproducibility:            always
Severity:                   minor
Priority:                   none
Status:                     new
=======================================================================
Date Submitted:             2003-04-03 08:31 GMT
Last Modified:              2003-04-04 13:49 GMT
=======================================================================
Summary:                    pil fails to compile
Description: 
>From pil compile, note the continuing error after log file was written :(
::: 

building '_imagingtk' extension
Tk/tkImaging.c: In function `PyImagingPhoto':
Tk/tkImaging.c:165: too few arguments to function `Tk_PhotoPutBlock'
Tk/tkImaging.c:175: too few arguments to function `Tk_PhotoPutBlock'
Tk/tkImaging.c:182: too few arguments to function `Tk_PhotoPutBlock'
Tk/tkImaging.c: In function `TkImaging_Init':
Tk/tkImaging.c:192: warning: passing arg 3 of `Tcl_CreateCommand' from
incompatible pointer type
Creating /var/log/lunar/compile/pil-1.1.3.bz2 
! Problem detected during "BUILD" !
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -IlibImaging
-I/usr/include/python2.2 -c _imagingtk.c -o
build/temp.linux-i686-2.2/_imagingtk.o -O3 -mcpu=athlon-tbird
-march=athlon-tbird -funroll-loops
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -IlibImaging
-I/usr/include/python2.2 -c Tk/tkImaging.c -o
build/temp.linux-i686-2.2/tkImaging.o -O3 -mcpu=athlon-tbird
-march=athlon-tbird -funroll-loops
error: command 'gcc' failed with exit status 1

=======================================================================

-----------------------------------------------------------------------
 jmhodges - 2003-04-04 13:49 GMT 
-----------------------------------------------------------------------
I"ve discovered a fix and will add the patch to the moonbase later today
unless someone else wants to add #define USE_COMPOSITELESS_PHOTO_PUT_BLOCK
before the #include tk.h in tkImaging.c and fix it themselves.


More information about the Lunar-bugs mailing list