Modify

Opened 16 years ago

Closed 15 years ago

Last modified 10 years ago

#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)

err.log.zip (1.5 KB) - added by anonymous 16 years ago.
Error Log
TracWikiPrintPlugin-1.6-py2.5.egg.err.zip (1.0 KB) - added by anonymous 16 years ago.

Download all attachments as: .zip

Change History (8)

Changed 16 years ago by anonymous

Attachment: err.log.zip added

Error Log

comment:1 Changed 16 years ago by Álvaro Iradier

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 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
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 anonymous

comment:3 Changed 16 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?):

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 Álvaro Iradier

Status: newassigned

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 Álvaro Iradier

Resolution: fixed
Status: assignedclosed

comment:6 Changed 13 years ago by anonymous

Component: TracWikiPrintPluginTracTicketChangesetsPlugin
Priority: normalhigh
Severity: normalblocker

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Álvaro Iradier.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.