id summary reporter owner description type status priority component severity resolution keywords cc release 6321 Install fails anonymous Álvaro Iradier "Try to install, getting errors... First, just an F.Y.I: PIL fails to install with a bunch of syntax errors like these: {{{ [...snip...] Running PIL-1.1.7/setup.py -q bdist_egg --dist-dir /tmp/easy_install-QOQ7e1/PIL-1.1.7/egg-dist-tmp-KyghDe WARNING: '' not a valid package name; please use only.-separated package names in setup.py _imaging.c:75:20: error: Python.h: No such file or directory In file included from libImaging/Imaging.h:14, from _imaging.c:77: libImaging/ImPlatform.h:10:20: error: Python.h: No such file or directory libImaging/ImPlatform.h:14:2: error: #error Sorry, this library requires support for ANSI prototypes. libImaging/ImPlatform.h:17:2: error: #error Sorry, this library requires ANSI header files. libImaging/ImPlatform.h:55:2: error: #error Cannot find required 32-bit integer type In file included from _imaging.c:77: libImaging/Imaging.h:90: error: expected specifier-qualifier-list before ‘INT32’ libImaging/Imaging.h:264: error: expected specifier-qualifier-list before ‘INT32’ [...snip...] }}} I fixed that by running '''apt-get install python-imaging'''. Next, the plugin itself failed with similar errors: {{{ [...snip...] Installed /usr/lib/python2.5/site-packages/TracWikiPrintPlugin-1.6-py2.5.egg Processing dependencies for TracWikiPrintPlugin==1.6 Searching for reportlab>=2.2 Reading http://pypi.python.org/simple/reportlab/ Reading http://www.reportlab.com/ Best match: reportLab 2.3 Downloading http://pypi.python.org/packages/source/r/reportlab/reportLab-2.3.zip#md5=7d98b26fa287a9e4be4d35d682ce64ac Processing reportLab-2.3.zip Running ReportLab_2_3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-_4hEDa/ReportLab_2_3/egg-dist-tmp-DGrUMs ################################################ #Attempting install of _rl_accel, sgmlop & pyHnj #extensions from '/tmp/easy_install-_4hEDa/ReportLab_2_3/src/rl_addons/rl_accel' ################################################ ################################################ #Attempting install of _renderPM #extensions from '/tmp/easy_install-_4hEDa/ReportLab_2_3/src/rl_addons/renderPM' # installing without freetype no ttf, sorry! ################################################ /tmp/easy_install-_4hEDa/ReportLab_2_3/src/rl_addons/renderPM/gt1/gt1-namecontext.c: In function ‘gt1_name_context_strdup’: /tmp/easy_install-_4hEDa/ReportLab_2_3/src/rl_addons/renderPM/gt1/gt1-namecontext.c:100: warning: implicit declaration of function ‘strlen’ /tmp/easy_install-_4hEDa/ReportLab_2_3/src/rl_addons/renderPM/gt1/gt1-namecontext.c:100: warning: incompatible implicit declaration of built-in function ‘strlen’ /tmp/easy_install-_4hEDa/ReportLab_2_3/src/rl_addons/renderPM/gt1/gt1-namecontext.c:102: warning: implicit declaration of function ‘memcpy’ /tmp/easy_install-_4hEDa/ReportLab_2_3/src/rl_addons/renderPM/gt1/gt1-namecontext.c:102: warning: incompatible implicit declaration of built-in function ‘memcpy’ /tmp/easy_install-_4hEDa/ReportLab_2_3/src/rl_addons/renderPM/gt1/gt1-namecontext.c: In function ‘gt1_name_context_strdup_size’: /tmp/easy_install-_4hEDa/ReportLab_2_3/src/rl_addons/renderPM/gt1/gt1-namecontext.c:125: warning: incompatible implicit declaration of built-in function ‘memcpy’ /tmp/easy_install-_4hEDa/ReportLab_2_3/src/rl_addons/renderPM/gt1/gt1-namecontext.c: In function ‘gt1_name_context_intern’: /tmp/easy_install-_4hEDa/ReportLab_2_3/src/rl_addons/renderPM/gt1/gt1-namecontext.c:172: warning: implicit declaration of function ‘strcmp’ /tmp/easy_install-_4hEDa/ReportLab_2_3/src/rl_addons/renderPM/gt1/parseAFM.c:162: warning: function declaration isn’t a prototype /tmp/easy_install-_4hEDa/ReportLab_2_3/src/rl_addons/renderPM/gt1/parseAFM.c:198: warning: function declaration isn’t a prototype [...snip...] }}} " defect closed normal TracWikiPrintPlugin normal fixed 0.11