cmake 2.6.2: _FILE_OFFSET_BITS=64/uClibc built w/o large file support

Michael Brian Bentley bentley at crenelle.com
Wed Mar 4 00:36:18 PST 2009


Hi!

I'm having a moment of trouble building cmake 2.6.2 with the current 
MacPort. I'm on Mac OS X 10.5.6.

It is complaining that _FILE_OFFSET_BITS=64, but uClibc was built 
without large file support enabled.

I looked around but apparently haven't found the obvious toggle switch.



bentley-MBP-OSX:~ bentley$ sudo port install cmake
--->  Fetching cmake
--->  Verifying checksum(s) for cmake
--->  Extracting cmake
--->  Configuring cmake
--->  Building cmake
Error: Target org.macports.build returned: shell command
  " cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/cmake-2.6.2" 
&& make all " returned error 2


Command output: [ 57%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmComputeLinkDepends.o
[ 57%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmComputeLinkInformation.o
[ 58%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmComputeTargetDepends.o
[ 58%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmCustomCommand.o
[ 58%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmDepends.o
[ 59%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmDependsC.o
[ 59%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmDependsFortran.o
[ 59%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmDependsFortranLexer.o
[ 60%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmDependsFortranParser.o
[ 60%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmDependsJava.o
[ 60%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmDependsJavaLexer.o
[ 61%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmDependsJavaParser.o
[ 61%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmDependsJavaParserHelper.o
[ 61%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmDocumentation.o
[ 62%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmDocumentationFormatter.o
[ 62%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmDocumentationFormatterHTML.o
[ 62%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmDocumentationFormatterDocbook.o
[ 63%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmDocumentationFormatterMan.o
[ 63%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmDocumentationFormatterText.o
[ 63%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmDocumentationFormatterUsage.o
[ 63%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmDocumentationSection.o
[ 64%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmDocumentVariables.o
[ 64%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmDynamicLoader.o
[ 64%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmELF.o
In file included from /usr/include/elf.h:23,
                  from 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/work/cmake-2.6.2/Source/cmELF.cxx:27:
/usr/include/features.h:348:2: error: #error It appears you have 
defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without 
large file support enabled.

make[2]: *** [Source/CMakeFiles/CMakeLib.dir/cmELF.o] Error 1
make[1]: *** [Source/CMakeFiles/CMakeLib.dir/all] Error 2
make: *** [all] Error 2


More information about the macports-users mailing list