On 3/15/13 5:13 PM, Ragothaman Yennamalli wrote: > Hi, > I wanted to install coot using fink and I followed the instructions in > this > website: > http://scottlab.ucsc.edu/~wgscott/xtal/wiki/index.php/Installing_Coot_on_OS_X#Compiling_Coot_from_source:_Please_use_Fink > I did run "fink selfupdate" and tried thrice, still I get the error > (copied below) with installation wit cmake. I am installing this in Mac > laptop OSX 10.7.5. Please let me know how to troubleshoot this issue. > I tried installing the .dmg file from here > http://www.cmake.org/cmake/resources/software.html , thinking that fink > will detect the installed cmake, seems like it didn't.
Nope. Fink manages _packages_ and not _files_. We can't guarantee that third-party builds (even official ones) are compatible with the way we do things. And having third-party build tools in your PATH can result in Fink packages _not_ building, because they expect either tools that are part of Fink or provided by Apple. > > Thanks and Regards, > Raghu > <snip> > g++ -L/sw/lib -framework CoreFoundation > -I/sw/src/fink.build/cmake-2.8.10.2-1/cmake-2.8.10.2/Bootstrap.cmk > -I/sw/src/fink.build/cmake-2.8.10.2-1/cmake-2.8.10.2/Source > -I/sw/src/fink.build/cmake-2.8.10.2-1/cmake-2.8.10.2/Bootstrap.cmk > cmStandardIncludes.o cmake.o cmakemain.o cmakewizard.o > cmCommandArgumentLexer.o cmCommandArgumentParser.o > cmCommandArgumentParserHelper.o cmDefinitions.o cmDepends.o cmDependsC.o > cmDocumentationFormatter.o cmDocumentationFormatterText.o cmPolicies.o > cmProperty.o cmPropertyMap.o cmPropertyDefinition.o > cmPropertyDefinitionMap.o cmMakeDepend.o cmMakefile.o > cmExportFileGenerator.o cmExportInstallFileGenerator.o cmExportSet.o > cmExportSetMap.o cmInstallDirectoryGenerator.o cmGeneratedFileStream.o > cmGeneratorTarget.o cmGeneratorExpressionDAGChecker.o > cmGeneratorExpressionEvaluator.o cmGeneratorExpressionLexer.o > cmGeneratorExpressionParser.o cmGeneratorExpression.o > cmGlobalGenerator.o cmLocalGenerator.o cmInstallGenerator.o > cmInstallExportGenerator.o cmInstallFilesGenerator.o > cmInstallScriptGenerator.o cmInstallTargetGenerator.o > cmScriptGenerator.o cmSourceFile.o cmSourceFileLocation.o > cmSystemTools.o cmTestGenerator.o cmVersion.o cmFileTimeComparison.o > cmGlobalUnixMakefileGenerator3.o cmLocalUnixMakefileGenerator3.o > cmMakefileExecutableTargetGenerator.o cmMakefileLibraryTargetGenerator.o > cmMakefileTargetGenerator.o cmMakefileUtilityTargetGenerator.o > cmOSXBundleGenerator.o cmNewLineStyle.o cmBootstrapCommands.o > cmCommands.o cmTarget.o cmTest.o cmCustomCommand.o > cmCustomCommandGenerator.o cmDocumentVariables.o cmCacheManager.o > cmListFileCache.o cmComputeLinkDepends.o cmComputeLinkInformation.o > cmOrderDirectories.o cmComputeTargetDepends.o cmComputeComponentGraph.o > cmExprLexer.o cmExprParser.o cmExprParserHelper.o > cmGlobalNinjaGenerator.o cmLocalNinjaGenerator.o > cmNinjaTargetGenerator.o cmNinjaNormalTargetGenerator.o > cmNinjaUtilityTargetGenerator.o cmListFileLexer.o Directory.o Glob.o > RegularExpression.o SystemTools.o ProcessUNIX.o String.o System.o -o cmake > loading initial cache file > /sw/src/fink.build/cmake-2.8.10.2-1/cmake-2.8.10.2/Bootstrap.cmk/InitialCacheFlags.cmake > -- The C compiler identification is Clang 4.2.0 > -- The CXX compiler identification is Clang 4.2.0 > CMake Error at Modules/Platform/Darwin.cmake:190 (message): > CMAKE_OSX_DEPLOYMENT_TARGET is '10.7' but CMAKE_OSX_SYSROOT: > > "" > > is not set to a MacOSX SDK with a recognized version. Either set > CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET to > empty. > Call Stack (most recent call first): > Modules/CMakeSystemSpecificInformation.cmake:36 (include) > CMakeLists.txt:14 (project) > > > -- Configuring incomplete, errors occurred! > --------------------------------------------- > Error when bootstrapping CMake: > Problem while running initial CMake > --------------------------------------------- <snip> > > Also include the following system information: > Package manager version: 0.34.6 > Distribution version: selfupdate-rsync Fri Mar 15 18:33:16 2013, 10.7, > x86_64 > Trees: local/main stable/main > No recognized Xcode.app installed > Xcode command-line tools: 4.6.0.0.1.1362189000 > Max. Fink build jobs: 1 > > > Install the full Xcode. It appears that cmake uses the system SDKs, and these are installed only with Xcode, not the command-line tools. The package probably needs to declare a build dependency on xcode. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
