[MacPorts] #20586: tk 8.5.6: X11/Xlib.h: No such file or directory (was: tk 8.5.6 Build error: syntax error in tk3d.c)

MacPorts noreply at macports.org
Wed Aug 26 15:37:39 PDT 2009


#20586: tk 8.5.6: X11/Xlib.h: No such file or directory
------------------------------+---------------------------------------------
 Reporter:  rictic@…          |       Owner:  mww@…           
     Type:  defect            |      Status:  new             
 Priority:  Normal            |   Milestone:                  
Component:  ports             |     Version:                  
 Keywords:                    |        Port:  tk              
------------------------------+---------------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)


Comment:

 This was also reported on the mailing list by Ivan "Rambius" Ivanov who
 was using MacPorts 1.7.1 on Mac OS X 10.4.11. He
 [http://lists.macosforge.org/pipermail/macports-
 users/2009-August/016291.html found] that the solution was to change the
 line

 {{{
 configure.cppflags  "-I${workpath}/tcl${version}/generic"
 }}}

 in the Portfile to

 {{{
 configure.cppflags  "-I${workpath}/tcl${version}/generic
 -I${prefix}/include"
 }}}

 I'm not sure what the implications of this are, or why the port currently
 deletes -I${prefix}/include from its cppflags.

 In trunk (what will be 1.8.0 by the end of this week) we [changeset:54368
 now have CPATH] set to ${prefix}/include so maybe that will preclude the
 need for any change in the tk port.

-- 
Ticket URL: <http://trac.macports.org/ticket/20586#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list