/Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Tk-JPEG does not start with /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/darwin-thread-multi-2level i.e. building outside Tk itself Checking if your kit is complete... Looks good checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking how to run the C preprocessor... gcc -E checking for function prototypes... yes checking for stddef.h... yes checking for stdlib.h... yes checking for string.h... yes checking for size_t... yes checking for type unsigned char... yes checking for type unsigned short... yes checking for type void... yes checking for working const... yes checking for inline... __inline__ checking for broken incomplete types... ok checking for short external names... ok checking to see if char is signed... yes checking to see if right shift is signed... yes checking to see if fopen accepts b spec... yes checking for a BSD compatible install... /usr/bin/install -c checking for ranlib... ranlib checking libjpeg version number... 62 creating ./config.status creating Makefile creating jconfig.h Finding dependencies for JPEG.xs Finding dependencies for imgJPEG.c Writing Makefile for Tk::JPEG cp JPEG.pm blib/lib/Tk/JPEG.pm cd jpeg && make libjpeg.a gcc -O2 -I. -c -o jcapimin.o jcapimin.c gcc -O2 -I. -c -o jcapistd.o jcapistd.c gcc -O2 -I. -c -o jctrans.o jctrans.c gcc -O2 -I. -c -o jcparam.o jcparam.c gcc -O2 -I. -c -o jdatadst.o jdatadst.c gcc -O2 -I. -c -o jcinit.o jcinit.c gcc -O2 -I. -c -o jcmaster.o jcmaster.c gcc -O2 -I. -c -o jcmarker.o jcmarker.c gcc -O2 -I. -c -o jcmainct.o jcmainct.c gcc -O2 -I. -c -o jcprepct.o jcprepct.c gcc -O2 -I. -c -o jccoefct.o jccoefct.c gcc -O2 -I. -c -o jccolor.o jccolor.c gcc -O2 -I. -c -o jcsample.o jcsample.c gcc -O2 -I. -c -o jchuff.o jchuff.c gcc -O2 -I. -c -o jcphuff.o jcphuff.c gcc -O2 -I. -c -o jcdctmgr.o jcdctmgr.c gcc -O2 -I. -c -o jfdctfst.o jfdctfst.c gcc -O2 -I. -c -o jfdctflt.o jfdctflt.c gcc -O2 -I. -c -o jfdctint.o jfdctint.c gcc -O2 -I. -c -o jdapimin.o jdapimin.c gcc -O2 -I. -c -o jdapistd.o jdapistd.c gcc -O2 -I. -c -o jdtrans.o jdtrans.c gcc -O2 -I. -c -o jdatasrc.o jdatasrc.c gcc -O2 -I. -c -o jdmaster.o jdmaster.c gcc -O2 -I. -c -o jdinput.o jdinput.c gcc -O2 -I. -c -o jdmarker.o jdmarker.c gcc -O2 -I. -c -o jdhuff.o jdhuff.c gcc -O2 -I. -c -o jdphuff.o jdphuff.c gcc -O2 -I. -c -o jdmainct.o jdmainct.c gcc -O2 -I. -c -o jdcoefct.o jdcoefct.c gcc -O2 -I. -c -o jdpostct.o jdpostct.c gcc -O2 -I. -c -o jddctmgr.o jddctmgr.c gcc -O2 -I. -c -o jidctfst.o jidctfst.c gcc -O2 -I. -c -o jidctflt.o jidctflt.c gcc -O2 -I. -c -o jidctint.o jidctint.c gcc -O2 -I. -c -o jidctred.o jidctred.c gcc -O2 -I. -c -o jdsample.o jdsample.c gcc -O2 -I. -c -o jdcolor.o jdcolor.c gcc -O2 -I. -c -o jquant1.o jquant1.c gcc -O2 -I. -c -o jquant2.o jquant2.c gcc -O2 -I. -c -o jdmerge.o jdmerge.c gcc -O2 -I. -c -o jcomapi.o jcomapi.c gcc -O2 -I. -c -o jutils.o jutils.c gcc -O2 -I. -c -o jerror.o jerror.c gcc -O2 -I. -c -o jmemmgr.o jmemmgr.c gcc -O2 -I. -c -o jmemnobs.o jmemnobs.c rm -f libjpeg.a ar rc libjpeg.a jcapimin.o jcapistd.o jctrans.o jcparam.o jdatadst.o jcinit.o jcmaster.o jcmarker.o jcmainct.o jcprepct.o jccoefct.o jccolor.o jcsample.o jchuff.o jcphuff.o jcdctmgr.o jfdctfst.o jfdctflt.o jfdctint.o jdapimin.o jdapistd.o jdtrans.o jdatasrc.o jdmaster.o jdinput.o jdmarker.o jdhuff.o jdphuff.o jdmainct.o jdcoefct.o jdpostct.o jddctmgr.o jidctfst.o jidctflt.o jidctint.o jidctred.o jdsample.o jdcolor.o jquant1.o jquant2.o jdmerge.o jcomapi.o jutils.o jerror.o jmemmgr.o jmemnobs.o ranlib libjpeg.a gcc -O2 -I. -c -o cjpeg.o cjpeg.c gcc -O2 -I. -c -o rdppm.o rdppm.c gcc -O2 -I. -c -o rdgif.o rdgif.c gcc -O2 -I. -c -o rdtarga.o rdtarga.c gcc -O2 -I. -c -o rdrle.o rdrle.c gcc -O2 -I. -c -o rdbmp.o rdbmp.c gcc -O2 -I. -c -o rdswitch.o rdswitch.c gcc -O2 -I. -c -o cdjpeg.o cdjpeg.c gcc -o cjpeg cjpeg.o rdppm.o rdgif.o rdtarga.o rdrle.o rdbmp.o rdswitch.o cdjpeg.o libjpeg.a gcc -O2 -I. -c -o djpeg.o djpeg.c gcc -O2 -I. -c -o wrppm.o wrppm.c gcc -O2 -I. -c -o wrgif.o wrgif.c gcc -O2 -I. -c -o wrtarga.o wrtarga.c gcc -O2 -I. -c -o wrrle.o wrrle.c gcc -O2 -I. -c -o wrbmp.o wrbmp.c gcc -O2 -I. -c -o rdcolmap.o rdcolmap.c gcc -o djpeg djpeg.o wrppm.o wrgif.o wrtarga.o wrrle.o wrbmp.o rdcolmap.o cdjpeg.o libjpeg.a gcc -O2 -I. -c -o jpegtran.o jpegtran.c gcc -O2 -I. -c -o transupp.o transupp.c gcc -o jpegtran jpegtran.o rdswitch.o cdjpeg.o transupp.o libjpeg.a gcc -O2 -I. -c -o rdjpgcom.o rdjpgcom.c gcc -o rdjpgcom rdjpgcom.o gcc -O2 -I. -c -o wrjpgcom.o wrjpgcom.c gcc -o wrjpgcom wrjpgcom.o /Users/cpanrun/build/5.8.8/bin/perl /Users/cpanrun/build/5.8.8/lib/5.8.8/ExtUtils/xsubpp -typemap /Users/cpanrun/build/5.8.8/lib/5.8.8/ExtUtils/typemap -typemap /Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/darwin-thread-multi-2level/Tk/typemap JPEG.xs > JPEG.xsc && mv JPEG.xsc JPEG.c gcc -c -I/Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/darwin-thread-multi-2level/Tk -Ijpeg -I/usr/X11R6/include -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -fno-strict-aliasing -pipe -Wdeclaration-after-statement -O3 -DVERSION=\"2.014\" -DXS_VERSION=\"804.027\" "-I/Users/cpanrun/build/5.8.8/lib/5.8.8/darwin-thread-multi-2level/CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ JPEG.c gcc -c -I/Users/cpanrun/build/5.8.8/lib/site_perl/5.8.8/darwin-thread-multi-2level/Tk -Ijpeg -I/usr/X11R6/include -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -fno-strict-aliasing -pipe -Wdeclaration-after-statement -O3 -DVERSION=\"2.014\" -DXS_VERSION=\"804.027\" "-I/Users/cpanrun/build/5.8.8/lib/5.8.8/darwin-thread-multi-2level/CORE" -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ imgJPEG.c imgJPEG.c:112: warning: initialization from incompatible pointer type imgJPEG.c:113: warning: initialization from incompatible pointer type imgJPEG.c:117: warning: initialization from incompatible pointer type imgJPEG.c: In function 'ImgLoadJpegLibrary': imgJPEG.c:403: warning: the address of 'jpeg_destroy', will always evaluate as 'true' imgJPEG.c:404: warning: the address of 'jpeg_write_raw_data', will always evaluate as 'true' imgJPEG.c:405: warning: the address of 'jpeg_suppress_tables', will always evaluate as 'true' imgJPEG.c:406: warning: the address of 'jpeg_write_tables', will always evaluate as 'true' imgJPEG.c:407: warning: the address of 'jpeg_read_raw_data', will always evaluate as 'true' imgJPEG.c:407: warning: the address of 'jpeg_abort', will always evaluate as 'true' imgJPEG.c:112: warning: initialization from incompatible pointer type imgJPEG.c:113: warning: initialization from incompatible pointer type imgJPEG.c:117: warning: initialization from incompatible pointer type imgJPEG.c: In function 'CommonReadJPEG': imgJPEG.c: In function 'ImgLoadJpegLibrary': imgJPEG.c:403: warning: the address of 'jpeg_destroy', will always evaluate as 'true' imgJPEG.c:404: warning: the address of 'jpeg_write_raw_data', will always evaluate as 'true' imgJPEG.c:405: warning: the address of 'jpeg_suppress_tables', will always evaluate as 'true' imgJPEG.c:406: warning: the address of 'jpeg_write_tables', will always evaluate as 'true' imgJPEG.c:407: warning: the address of 'jpeg_read_raw_data', will always evaluate as 'true' imgJPEG.c:407: warning: the address of 'jpeg_abort', will always evaluate as 'true' imgJPEG.c: In function 'CommonReadJPEG': imgJPEG.c:976: warning: passing argument 3 of 'TcldeclsVptr->V_Tcl_GetIndexFromObj' from incompatible pointer type imgJPEG.c:976: warning: passing argument 3 of 'TcldeclsVptr->V_Tcl_GetIndexFromObj' from incompatible pointer type imgJPEG.c:1056: error: too few arguments to function 'TkimgphotoVptr->V_Tk_PhotoPutBlock' imgJPEG.c:1056: error: too few arguments to function 'TkimgphotoVptr->V_Tk_PhotoPutBlock' imgJPEG.c: In function 'CommonWriteJPEG': imgJPEG.c:1274: warning: passing argument 3 of 'TcldeclsVptr->V_Tcl_GetIndexFromObj' from incompatible pointer type imgJPEG.c: In function 'CommonWriteJPEG': imgJPEG.c:1274: warning: passing argument 3 of 'TcldeclsVptr->V_Tcl_GetIndexFromObj' from incompatible pointer type imgJPEG.c: In function 'fill_input_buffer': imgJPEG.c:1411: warning: pointer targets in passing argument 2 of 'ImgintVptr->V_ImgRead' differ in signedness imgJPEG.c: In function 'fill_input_buffer': imgJPEG.c:1411: warning: pointer targets in passing argument 2 of 'ImgintVptr->V_ImgRead' differ in signedness lipo: can't open input file: /var/tmp//cc3r0vX0.out (No such file or directory) make: *** [imgJPEG.o] Error 1