Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#844 closed defect (wontfix)

iup egg can't find iup headers

Reported by: Mario Domenech Goulart Owned by: Thomas Chust
Priority: major Milestone:
Component: extensions Version: 4.7.x
Keywords: iup Cc:
Estimated difficulty:

Description

The default installation path for headers used by iup is /usr/include/iup. iup egg doesn't try to find headers there. See http://tests.call-cc.org/master/linux/x86/2012/05/15/salmonella-report/install/iup.html for the full error message.

The patch at http://paste.call-cc.org/paste?id=c45a1b3094d23a288f98b987483081e0d18467b1 should fix that.

Change History (3)

comment:1 Changed 12 years ago by felix winkelmann

Milestone: 4.8.0

comment:2 Changed 11 years ago by Thomas Chust

Resolution: wontfix
Status: newclosed

In my opinion, if IUP was installed system-wide its libraries and headers should be placed in a system wide default path.

If this is not the case, however, one can always set CSC_OPTIONS to list an include path that should by searched by egg installations. Listing some arbitrary collection of search paths in the egg setup script doesn't look like a good idea to me.

comment:3 Changed 11 years ago by Mario Domenech Goulart

That's unfortunate.

The fix is not adding arbitrary collection of search paths, but adding the default installation path as set by IUP itself.

Users that install IUP using the default paths won't be able to install the iup egg unless they tweak CSC_OPTIONS (which is horrible and not even mentioned in the iup egg documentation) or they change the .setup file (which is worse).

Note: See TracTickets for help on using tickets.