[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fink-users
Subject:    Re: [Fink-users] Fink install of QGIS 2.10 failing on Mac OS 10.11.2
From:       美彦 馬場 <babayoshihiko () mac ! com>
Date:       2016-01-17 7:25:13
Message-ID: B614FE7F-EA79-4943-99AA-50B6F94E69F9 () mac ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Monica,

> 2016/01/16 20:11、Monica L Wolfson <monniewolf@gmail.com> のメール:
> 
> > Hi BABA,
> > I'm attaching a pastebin link with the contents of the requested file, as \
> > attaching it here made the email too big for the server. 
> > http://pastebin.com/eK5hntC4

CMakeCache.txt does not contain any Qt.Framework, but Fink's /sw/lib/qt4-mac.  

Your previous pastebin contains a line:

/sw/var/lib/fink/path-prefix-clang/c++  ... -std=c++11 ... -F/Library/Frameworks ... \
../../output/lib/qgis_core.framework/Versions/2.10/qgis_core  ...

On my box, the equivalent line is:

cd /sw/src/fink.build/qgis212-py27-2.12.2-1/qgis-2.12.2/build/src/core && \
                /sw/bin/cmake -E cmake_link_script CMakeFiles/qgis_core.dir/link.txt \
                --verbose=1
/sw/var/lib/fink/path-prefix-clang/c++  ... -std=c++11 -Wno-error=c++11-narrowing ... \
-F/Library/Frameworks ... -o \
../../output/lib/qgis_core.framework/Versions/2.12/qgis_core ...

So, my guess is c++ ignores CMake options and picks /Library/Frameworks anyway.  I \
searched where /Library/Frameworks are set and found:

cd /data/fink/qgis-2.12.0
Babas-MacBook-Pro:qgis-2.12.0 baba$ grep -r -e -F/Library/Frameworks *
CMakeLists.txt:    SET (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} \
                -F/Library/Frameworks")
CMakeLists.txt:    SET (CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} \
                -F/Library/Frameworks")
CMakeLists.txt:    SET (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} \
                -F/Library/Frameworks")
cmake/FindOSGEARTH.cmake:        SET(CMAKE_REQUIRED_LIBRARIES "-F/Library/Frameworks" \
                ${CMAKE_REQUIRED_LIBRARIES})
cmake/FindSPATIALITE.cmake:       SET(CMAKE_REQUIRED_LIBRARIES \
"-F/Library/Frameworks" ${CMAKE_REQUIRED_LIBRARIES})

I think removing all the -F things will solve the issue  but it may cause another \
issue.  So, It would take a while to make sure everything goes whithout them.  


Sorry for inconvenience.

--
BABA Yoshihiko


[Attachment #5 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html \
charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space;">Monica,<div><br></div><div><div><blockquote \
type="cite"><div style="font-size: 9pt;font-family: Geneva;"><div style="font-size: \
9pt;font-family: Geneva;"><div style="font-family: Helvetica;">2016/01/16 \
20:11、Monica L Wolfson &lt;<a \
href="mailto:monniewolf@gmail.com">monniewolf@gmail.com</a>&gt; \
のメール:</div><br class="Apple-interchange-newline" style="font-family: \
Helvetica;"><blockquote type="cite" style="font-family: Helvetica;"><div \
bgcolor="#FFFFFF" text="#000000" style="font-size: 9pt; font-family: Geneva;"><div \
style="font-size: 9pt;">Hi BABA,<br>&nbsp; I'm attaching a pastebin link with the \
contents of the requested file, as attaching it here made the email too big for the \
server.<br><br><a class="moz-txt-link-freetext" \
href="http://pastebin.com/eK5hntC4">http://pastebin.com/eK5hntC4</a></div></div></blockquote></div></div></blockquote><br></div><div><div>CMakeCache.txt \
does not contain any Qt.Framework, but Fink's /sw/lib/qt4-mac. \
&nbsp;</div><div><br></div><div>Your previous pastebin contains a \
line:</div><div><br></div><div>/sw/var/lib/fink/path-prefix-clang/c++ &nbsp;... \
-std=c++11 ... -F/Library/Frameworks ... \
../../output/lib/qgis_core.framework/Versions/2.10/qgis_core \
&nbsp;...</div><div><br></div><div>On my box, the equivalent line \
is:</div><div><br></div><div>cd \
/sw/src/fink.build/qgis212-py27-2.12.2-1/qgis-2.12.2/build/src/core &amp;&amp; \
/sw/bin/cmake -E cmake_link_script CMakeFiles/qgis_core.dir/link.txt \
--verbose=1</div><div>/sw/var/lib/fink/path-prefix-clang/c++ &nbsp;... -std=c++11 \
-Wno-error=c++11-narrowing ... -F/Library/Frameworks ... -o \
../../output/lib/qgis_core.framework/Versions/2.12/qgis_core \
...</div><div><br></div><div>So, my guess is c++ ignores CMake options and picks \
/Library/Frameworks anyway. &nbsp;I searched where /Library/Frameworks are set and \
found:</div><div><br></div><div>cd \
/data/fink/qgis-2.12.0</div><div>Babas-MacBook-Pro:qgis-2.12.0 baba$ grep -r -e \
-F/Library/Frameworks *</div><div>CMakeLists.txt: &nbsp; &nbsp;SET \
(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} \
-F/Library/Frameworks")</div><div>CMakeLists.txt: &nbsp; &nbsp;SET \
(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} \
-F/Library/Frameworks")</div><div>CMakeLists.txt: &nbsp; &nbsp;SET \
(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} \
-F/Library/Frameworks")</div><div>cmake/FindOSGEARTH.cmake: &nbsp; &nbsp; &nbsp; \
&nbsp;SET(CMAKE_REQUIRED_LIBRARIES "-F/Library/Frameworks" \
${CMAKE_REQUIRED_LIBRARIES})</div><div>cmake/FindSPATIALITE.cmake: &nbsp; &nbsp; \
&nbsp; SET(CMAKE_REQUIRED_LIBRARIES "-F/Library/Frameworks" \
${CMAKE_REQUIRED_LIBRARIES})</div><div><br></div><div>I think removing all the -F \
things will solve the issue &nbsp;but it may cause another issue. &nbsp;So, It would \
take a while to make sure everything goes whithout them. \
&nbsp;</div><div><br></div><div><br></div><div>Sorry for \
inconvenience.</div><div><br></div></div><div>--</div><div>BABA \
Yoshihiko</div><div><br></div><div><br></div><br></div></body></html>



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140

_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic