[MacPorts] #32080: cmake build error on OSX 10.6.8: use of undeclared identifier 'DT_SONAME'

MacPorts noreply at macports.org
Thu May 17 11:17:22 PDT 2012


#32080: cmake build error on OSX 10.6.8: use of undeclared identifier 'DT_SONAME'
-----------------------------------------+----------------------------------
 Reporter:  anotherperson2011@…          |       Owner:  css@…           
     Type:  defect                       |      Status:  assigned        
 Priority:  Normal                       |   Milestone:                  
Component:  ports                        |     Version:  2.0.3           
 Keywords:                               |        Port:  cmake           
-----------------------------------------+----------------------------------

Comment(by anotherperson2011@…):

 Replying to [comment:15 pixilla@…]:
 > Replying to [comment:14 anotherperson2011@…]:
 > > Replying to [comment:13 css@…]:
 > > > It looks like files are getting picked up from `/usr/local`.
 > > The only ones from /usr/local I see being referenced within
 CMakeCache.txt are a few from /usr/local/bin
 >
 > See [https://trac.macports.org/wiki/FAQ#usrlocal FAQ /usr/local]
 >
 > Try:
 > {{{
 > sudo mv /usr/local /usr/local_tmp
 > sudo port clean cmake
 > sudo port install cmake
 > }}}

 System is now OSX 10.7.4 Lion with Xcode Version 4.3.2 (4E2002)
 I tried:

 {{{
 rm /usr/include/elf.h (which was the workaround which had been working)
 sudo port uninstall cmake
 sudo port install cmake
 }}}

 and it built with no problems.
 I don't know if it was a change to MacPort, CMake, OSX or Xcode which
 fixed things,
 but you may close the ticket. Thanks for looking at this.

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


More information about the macports-tickets mailing list