[MacPorts] #18414: strigi uses multiple system libs

MacPorts noreply at macports.org
Sun Feb 8 12:28:45 PST 2009


#18414: strigi uses multiple system libs
------------------------------+---------------------------------------------
 Reporter:  jmr@…             |       Owner:  clubjuggler@…        
     Type:  defect            |      Status:  new                  
 Priority:  Normal            |   Milestone:  Port Bugs            
Component:  ports             |     Version:  1.7.0                
 Keywords:                    |        Port:  strigi               
------------------------------+---------------------------------------------

Comment(by vvrbanc@…):

 If strigi won't compile for you, install it with "port -d install strigi"
 and look at the configure output. If it says it found it somewhere other
 than your local ports installation and you get char casting errors while
 compiling, here's a workaround:

 I got strigi to compile by modifying its FindIconv.cmake FindLibXml2.cmake

 Here's how it worked for me:

 For FindLibXml2.cmake:
 {{{
 SET(LIBXML2_LIBRARIES "/opt/local/lib/libxml2.2.7.3.dylib")
 SET(LIBXML2_INCLUDE_DIR "/opt/local/include/libxml2")
 }}}
 Insert this just before the line that says
 {{{FIND_PROGRAM(XMLLINT_EXECUTABLE xmllint)}}}. Ofcourse, correct the
 above path according to your system setup.

 For FindIconv.cmake:
 {{{
 set(ICONV_INCLUDE_DIR "/opt/local/include")
 set(ICONV_LIBRARIES "/opt/local/lib/libiconv.2.4.0.dylib")
 }}}
 Insert this just before the line that says {{{set(CMAKE_REQUIRED_INCLUDES
 ${ICONV_INCLUDE_DIR})}}} and change the path if your lib is located
 somewhere else.

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


More information about the macports-tickets mailing list