[MacPorts] #33421: libglade2 looks for libexpat in the wrong location

MacPorts noreply at macports.org
Mon Mar 26 16:05:54 PDT 2012


#33421: libglade2 looks for libexpat in the wrong location
------------------------------+---------------------------------------------
 Reporter:  cwacek@…          |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  2.0.4                                
 Keywords:                    |        Port:  libglade2                            
------------------------------+---------------------------------------------

Comment(by ryandesign@…):

 Replying to [comment:5 cwacek@…]:
 > Replying to [comment:4 ryandesign@…]:
 > > What's in /usr/local/lib/pkgconfig? What's in /usr/local/bin?
 >
 > I just moved /usr/local to /usr/local-off, cleaned and tried again, with
 exactly the same result.

 Thank you for testing that. Could you attach the new main.log so I can
 compare it with mine?

 > For the record, it also doesn't make any sense that things in /usr/local
 would be causing an issue when macports' prefix is /opt/local.

 It is nevertheless the case. Many projects hardcode /usr/local as a place
 to look for things; although we try to patch these out when we find them,
 we are unlikely to ever find all such occurrences. More importantly,
 /usr/local is a special directory: the compiler looks for things in it,
 even if we don't tell it to; we don't know of a way to tell the compiler
 not to do that, so the only thing we can do is tell people not to install
 things there.

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


More information about the macports-tickets mailing list