#5288 closed defect (fixed)
error: Setup script exited with error: command 'gcc' failed with exit status 1
Reported by: | anonymous | Owned by: | Álvaro Iradier |
---|---|---|---|
Priority: | high | Component: | TracTicketChangesetsPlugin |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
On trac 0.11.2.1 under ubuntu 8.04 with sqlite i encounter a problem, when doing sudo easy_install TracWikiPrintPlugin-1.6-py2.5.egg please help.
Attachments (2)
Change History (8)
Changed 16 years ago by
Attachment: | err.log.zip added |
---|
comment:1 Changed 16 years ago by
From the log, I can see easy_install is trying to install ReportLab dependency. It downloads ReportLab, and tries to build and install it, but gcc, the C compiler, fails to find some header files.
You could try installing ReportLab from your linux distribution, there probably exists a package, something like python-reporlab in Ubuntu, or try installing the missing header files (in the log file, at least python.h is missing, so python-devel packages must be missing, and stdlib.h is missing too, so probably basic libc development files are not installed).
comment:2 Changed 16 years ago by
Hi, Thx for replying, i did as you said.
Out of the ubuntu packetsources i fetched:
- python-reportlab, python-reportlab-accel
- libc6, libc6-dev
- python2.5-dev
dpkg --list python-reportlab-accel python-reportlab libc6 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Beschreibung +++-==============-==============-============================================ ii libc6 2.7-10ubuntu4 GNU C Library: Shared libraries ii python-reportl 2.1dfsg-1ubunt ReportLab library to create PDF documents us ii python-reportl 0.60-20061203- C coded extension accelerator for the Report ii python2.5-dev 2.5.2-2ubuntu4 Header files and a static library for Python
Changed 16 years ago by
Attachment: | TracWikiPrintPlugin-1.6-py2.5.egg.err.zip added |
---|
comment:3 Changed 16 years ago by
Hi, it's me again (i put my email in the box above but the tickets are allways from anonymous?):
trac.log:
2009-05-28 21:53:21,481 Trac[loader] DEBUG: Loading wikiprint.formats from /usr/lib/python2.5/site-packages/TracWikiPrintPlugin-1.6-py2.5.egg 2009-05-28 21:53:21,482 Trac[loader] ERROR: Skipping "wikiprint.formats = wikiprint.formats": (version conflict "(Reportlab 2.1 (/usr/lib/python2.5/site-packages), Requirement.parse('reportlab>=2.2'))") 2009-05-28 21:53:21,483 Trac[loader] DEBUG: Loading wikiprint.wikiprint from /usr/lib/python2.5/site-packages/TracWikiPrintPlugin-1.6-py2.5.egg 2009-05-28 21:53:21,483 Trac[loader] ERROR: Skipping "wikiprint.wikiprint = wikiprint.wikiprint": (version conflict "(Reportlab 2.1 (/usr/lib/python2.5/site-packages), Requirement.parse('reportlab>=2.2'))") 2009-05-28 21:53:21,483 Trac[loader] DEBUG: Loading wikiprint.web_ui from /usr/lib/python2.5/site-packages/TracWikiPrintPlugin-1.6-py2.5.egg 2009-05-28 21:53:21,484 Trac[loader] ERROR: Skipping "wikiprint.web_ui = wikiprint.web_ui": (version conflict "(Reportlab 2.1 (/usr/lib/python2.5/site-packages), Requirement.parse('reportlab>=2.2'))"
comment:4 Changed 16 years ago by
Status: | new → assigned |
---|
Installed reportlab is version 2.1 (the one available in ubuntu). xhtml2pdf, on which wikiprint depends, depends on reportlab 2.2 or higher, as seen in the log...
I recommend you uninstall python-reportlab, and install build-essential and python-dev packeges, then try reinstalling wikiprint with easy_install. The latest reportlab version should be downloaded and installed.
comment:5 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:6 Changed 13 years ago by
Component: | TracWikiPrintPlugin → TracTicketChangesetsPlugin |
---|---|
Priority: | normal → high |
Severity: | normal → blocker |
Error Log