Opened 8 years ago

Closed 7 years ago

Last modified 2 years ago

#5288 closed defect (fixed)

error: Setup script exited with error: command 'gcc' failed with exit status 1

Reported by: anonymous Owned by: airadier
Priority: high Component: TracTicketChangesetsPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11


On trac 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) (1.5 KB) - added by anonymous 8 years ago.
Error Log (1.0 KB) - added by anonymous 8 years ago.

Download all attachments as: .zip

Change History (8)

Changed 8 years ago by anonymous

Error Log

comment:1 Changed 8 years ago by airadier

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 8 years ago by ice.polar@…

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
| 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 8 years ago by anonymous

comment:3 Changed 8 years ago by ice.polar@…

Hi, it's me again (i put my email in the box above but the tickets are allways from anonymous?):


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 8 years ago by airadier

  • Status changed from new to 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 7 years ago by airadier

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:6 Changed 5 years ago by anonymous

  • Component changed from TracWikiPrintPlugin to TracTicketChangesetsPlugin
  • Priority changed from normal to high
  • Severity changed from normal to blocker

Add Comment

Modify Ticket

as closed The owner will remain airadier.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.