NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 122 - Build fails on OS X 10.6.2 Java 1.6.0_17
Build fails on OS X 10.6.2 Java 1.6.0_17
Status: RESOLVED WORKSFORME
Product: Fiji
Classification: Unclassified
Component: Other
unspecified
Macintosh Mac OS
: P2 blocker
Assigned To: Johannes Schindelin
Depends on:
Blocks:
 
Reported: 2009-12-13 22:46 CST by mark burge
Modified: 2010-03-11 13:42 CST
0 users

See Also:

Description mark burge 2009-12-13 22:46:10 CST
Building FIJI fails under OS X 10.6.2 with Java 1.6.0_17.  The build of fiji.cxx is failing.

./Build.sh 
JavaVM: requested Java version (1.5) not available. Using Java at "/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home" instead.
Building fiji <- fiji.cxx
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:41,
                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:38,
                 from fiji.cxx:30:
/usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for Intel with Mac OS X Deployment Target < 10.4 is invalid.
In file included from fiji.cxx:6:
/usr/include/c++/4.2.1/iostream:44:28: error: bits/c++config.h: No such file or directory
In file included from /usr/include/c++/4.2.1/ios:43,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /usr/include/c++/4.2.1/iostream:45,
                 from fiji.cxx:6:
/usr/include/c++/4.2.1/iosfwd:45:29: error: bits/c++locale.h: No such file or directory
/usr/include/c++/4.2.1/iosfwd:46:25: error: bits/c++io.h: No such file or directory
In file included from /usr/include/c++/4.2.1/bits/ios_base.h:45,
                 from /usr/include/c++/4.2.1/ios:48,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /usr/include/c++/4.2.1/iostream:45,
                 from fiji.cxx:6:
/usr/include/c++/4.2.1/ext/atomicity.h:39:23: error: bits/gthr.h: No such file or directory
/usr/include/c++/4.2.1/ext/atomicity.h:40:30: error: bits/atomic_word.h: No such file or directory
In file included from /usr/include/c++/4.2.1/memory:54,
                 from /usr/include/c++/4.2.1/string:48,
                 from /usr/include/c++/4.2.1/bits/locale_classes.h:47,
                 from /usr/include/c++/4.2.1/bits/ios_base.h:47,
                 from /usr/include/c++/4.2.1/ios:48,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /usr/include/c++/4.2.1/iostream:45,
                 from fiji.cxx:6:
/usr/include/c++/4.2.1/bits/allocator.h:53:31: error: bits/c++allocator.h: No such file or directory
In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:44,
                 from /usr/include/c++/4.2.1/ios:50,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /usr/include/c++/4.2.1/iostream:45,
                 from fiji.cxx:6:
/usr/include/c++/4.2.1/bits/locale_facets.h:47:30: error: bits/ctype_base.h: No such file or directory
/usr/include/c++/4.2.1/bits/locale_facets.h:1533:31: error: bits/ctype_inline.h: No such file or directory
/usr/include/c++/4.2.1/bits/locale_facets.h:3040:33: error: bits/time_members.h: No such file or directory
/usr/include/c++/4.2.1/bits/locale_facets.h:4599:37: error: bits/messages_members.h: No such file or directory
In file included from fiji.cxx:19:
/usr/include/c++/4.2.1/fstream:49:29: error: bits/basic_file.h: No such file or directory
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:41,
                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:38,
                 from fiji.cxx:30:
/usr/include/AvailabilityMacros.h:110:14: warning: #warning Building for ppc64 with Mac OS X Deployment Target < 10.4 is invalid.
In file included from /usr/include/c++/4.2.1/iosfwd:47,
                 from /usr/include/c++/4.2.1/ios:43,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /usr/include/c++/4.2.1/iostream:45,
                 from fiji.cxx:6:
/usr/include/c++/4.2.1/cctype:68: error: expected constructor, destructor, or type conversion before ‘(’ token
/usr/include/c++/4.2.1/cctype:84: error: ‘_GLIBCXX_END_NAMESPACE’ does not name a type
In file included from /usr/include/c++/4.2.1/iosfwd:48,
                 from /usr/include/c++/4.2.1/ios:43,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /usr/include/c++/4.2.1/iostream:45,
                 from fiji.cxx:6:
/usr/include/c++/4.2.1/bits/stringfwd.h:55: error: expected type-specifier before ‘allocator’
/usr/include/c++/4.2.1/bits/stringfwd.h:55: error: expected ‘>’ before ‘allocator’
/usr/include/c++/4.2.1/bits/stringfwd.h:60: error: template argument 3 is invalid
/usr/include/c++/4.2.1/bits/stringfwd.h:60: error: invalid type in declaration before ‘;’ token
In file included from /usr/include/c++/4.2.1/cstddef:51,
                 from /usr/include/c++/4.2.1/cwchar:51,
                 from /usr/include/c++/4.2.1/bits/postypes.h:46,
                 from /usr/include/c++/4.2.1/iosfwd:49,
                 from /usr/include/c++/4.2.1/ios:43,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /usr/include/c++/4.2.1/iostream:45,
                 from fiji.cxx:6:
/usr/lib/gcc/powerpc-apple-darwin10/4.2.1/include/stddef.h:152: error: expected constructor, destructor, or type conversion before ‘typedef’
In file included from /usr/include/c++/4.2.1/cwchar:51,
                 from /usr/include/c++/4.2.1/bits/postypes.h:46,
                 from /usr/include/c++/4.2.1/iosfwd:49,
                 from /usr/include/c++/4.2.1/ios:43,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /usr/include/c++/4.2.1/iostream:45,
                 from fiji.cxx:6:
/usr/include/c++/4.2.1/cstddef:53: error: expected constructor, destructor, or type conversion before ‘(’ token
In file included from /usr/include/_structs.h:24,
                 from /usr/include/time.h:69,
                 from /usr/include/c++/4.2.1/ctime:51,
                 from /usr/include/c++/4.2.1/cwchar:52,
                 from /usr/include/c++/4.2.1/bits/postypes.h:46,
                 from /usr/include/c++/4.2.1/iosfwd:49,
                 from /usr/include/c++/4.2.1/ios:43,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /usr/include/c++/4.2.1/iostream:45,
                 from fiji.cxx:6:
/usr/include/sys/_structs.h:88: error: expected constructor, destructor, or type conversion before ‘struct’
In file included from /usr/include/c++/4.2.1/cwchar:52,
                 from /usr/include/c++/4.2.1/bits/postypes.h:46,
                 from /usr/include/c++/4.2.1/iosfwd:49,
                 from /usr/include/c++/4.2.1/ios:43,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /usr/include/c++/4.2.1/iostream:45,
                 from fiji.cxx:6:
/usr/include/c++/4.2.1/ctime:64: error: expected constructor, destructor, or type conversion before ‘(’ token
In file included from /usr/include/c++/4.2.1/bits/postypes.h:46,
                 from /usr/include/c++/4.2.1/iosfwd:49,
                 from /usr/include/c++/4.2.1/ios:43,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /usr/include/c++/4.2.1/iostream:45,
                 from fiji.cxx:6:
/usr/include/c++/4.2.1/cwchar:61: error: expected constructor, destructor, or type conversion before ‘extern’
In file included from /usr/include/c++/4.2.1/ios:44,
                 from /usr/include/c++/4.2.1/ostream:45,
                 from /usr/include/c++/4.2.1/iostream:45,
                 from fiji.cxx:6:
/usr/include/c++/4.2.1/exception:40: error: expected declaration before end of line
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:41,
                 from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:38,
                 from fiji.cxx:30:
/usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for Intel with Mac OS X Deployment Target < 10.4 is invalid.
lipo: can't figure out the architecture type of: /var/folders/Bm/BmlQzRdfFpywYHULOSbEQk+++TI/-Tmp-//ccffWxCz.out
Could not compile fiji.cxx: Failed: 1
	in rule fiji <- fiji.cxx
	in rule  <- fiji
Comment 1 Johannes Schindelin 2010-02-03 15:33:10 CST
Are you sure you have a working C++ compiler? "/usr/include/c++/4.2.1/iostream:44:28: error: bits/c++config.h: No such file or
directory" suggests that you do not...

Also, "warning: #warning Building for Intel with Mac OS X Deployment Target < 10.4 is invalid." does not make me confident about your build environment.
Comment 2 Johannes Schindelin 2010-02-24 00:38:56 CST
Mark, I know that it took a long time for me to respond, I am sorry, but could you please answer the question, or at least say that you do not have time to answer? :-)

Thank you!
Comment 3 Johannes Schindelin 2010-03-11 13:42:58 CST
Closing the bug, as I assume the bug vanished miraculously (judging by the original poster's silence).