Hi, I'm trying to get started contributing to libreoffice by setting up my Mac. I'm following the
steps to prepare my system for dependencies and I'm using this document:
http://wiki.documentfoundation.org/Development/Install_Mac_OS_10.6.4_Dependencies
I'm getting make errors about halfway through the Install LibIDL step:
Install libIDL (Index of /pub/gnome/sources/libIDL/0.8)
curl http://ftp.acc.umu.se/pub/gnome/sources/libIDL/0.8/libIDL-0.8.14.tar.gz -o libIDL-0.8.14.tar.gz
tar -xf libIDL-0.8.14.tar.gz
cd libIDL-0.8.14
./configure
make $PAR
At this point, I start getting warnings:
make $PAR
make all-recursive
Making all in include
Making all in libIDL
make all-am
make[4]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
CC libIDL_2_la-parser.lo
CC libIDL_2_la-lexer.lo
./lexer.l: In function ‘__IDL_lex’:
./lexer.l:272: warning: format ‘%llo’ expects type ‘long long unsigned int *’, but argument 3 has
type ‘IDL_longlong_t *’
./lexer.l:277: warning: format ‘%llu’ expects type ‘long long unsigned int *’, but argument 3 has
type ‘IDL_longlong_t *’
./lexer.l:282: warning: format ‘%llx’ expects type ‘long long unsigned int *’, but argument 3 has
type ‘IDL_longlong_t *’
./parser.y: In function ‘__IDL_parse’:
./parser.y:1357: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type
‘IDL_longlong_t’
./parser.y:1357: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type
‘IDL_longlong_t’
./lexer.l: At top level:
<stdout>:2098: warning: ‘__IDL_unput’ defined but not used
CC libIDL_2_la-ns.lo
CC libIDL_2_la-util.lo
util.c: In function ‘IDL_emit_IDL_literal’:
util.c:2821: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type
‘IDL_longlong_t’
CC tstidl.o
CCLD libIDL-2.la
CCLD tstidl
sudo make install
./configure CC="gcc -arch i386" CXX="g++ -arch i386" CPP="gcc -E" CXXCPP="g++ -E"
And then this causes make to break with errors:
make $PAR
make all-recursive
Making all in include
Making all in libIDL
make all-am
make[4]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
CC libIDL_2_la-parser.lo
CC libIDL_2_la-lexer.lo
./lexer.l: In function ‘__IDL_lex’:
./lexer.l:272: warning: format ‘%llo’ expects type ‘long long unsigned int *’, but argument 3 has
type ‘IDL_longlong_t *’
./lexer.l:277: warning: format ‘%llu’ expects type ‘long long unsigned int *’, but argument 3 has
type ‘IDL_longlong_t *’
./lexer.l:282: warning: format ‘%llx’ expects type ‘long long unsigned int *’, but argument 3 has
type ‘IDL_longlong_t *’
./parser.y: In function ‘__IDL_parse’:
./parser.y:1357: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type
‘IDL_longlong_t’
./parser.y:1357: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type
‘IDL_longlong_t’
./lexer.l: At top level:
<stdout>:2098: warning: ‘__IDL_unput’ defined but not used
CC libIDL_2_la-ns.lo
CC libIDL_2_la-util.lo
util.c: In function ‘IDL_emit_IDL_literal’:
util.c:2821: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type
‘IDL_longlong_t’
CC tstidl.o
CCLD libIDL-2.la
ld: warning: in /usr/local/lib/libglib-2.0.dylib, file was built for unsupported file format which
is not the architecture being linked (i386)
Undefined symbols:
"_g_strdup_printf", referenced from:
_IDL_parse_filename in libIDL_2_la-util.o
"_g_str_hash", referenced from:
_g_str_hash$non_lazy_ptr in libIDL_2_la-ns.o
(maybe you meant: _g_str_hash$non_lazy_ptr)
"_g_string_free", referenced from:
_IDL_ns_ident_make_repo_id in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
_IDL_ns_version in libIDL_2_la-parser.o
"_g_malloc0", referenced from:
_IDL_file_set in libIDL_2_la-parser.o
_IDL_ns_new in libIDL_2_la-ns.o
_IDL_node_new in libIDL_2_la-util.o
"_g_hash_table_insert", referenced from:
_IDL_file_set in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
_IDL_ns_load_idents_to_tables in libIDL_2_la-ns.o
_load_empty_modules in libIDL_2_la-util.o
_load_inhibits in libIDL_2_la-util.o
_load_forward_dcls in libIDL_2_la-util.o
_IDL_tree_property_set in libIDL_2_la-util.o
_remove_list_node in libIDL_2_la-util.o
_IDL_gentree_new in libIDL_2_la-util.o
_IDL_gentree_chain_child in libIDL_2_la-util.o
"_g_slist_prepend", referenced from:
_IDL_tree_is_recursive_walker_pre in libIDL_2_la-util.o
"_g_assertion_message_expr", referenced from:
___IDL_lex in libIDL_2_la-lexer.o
_IDL_tree_is_recursive_walker_post in libIDL_2_la-util.o
_IDL_tree_is_recursive_walker_pre in libIDL_2_la-util.o
_IDL_tree_is_recursive in libIDL_2_la-util.o
"_g_slist_free", referenced from:
___IDL_tree_free in libIDL_2_la-util.o
___IDL_tree_free in libIDL_2_la-util.o
_IDL_parse_filename_with_input in libIDL_2_la-util.o
_IDL_parse_filename in libIDL_2_la-util.o
"_g_ascii_table", referenced from:
_g_ascii_table$non_lazy_ptr in libIDL_2_la-parser.o
_g_ascii_table$non_lazy_ptr in libIDL_2_la-lexer.o
(maybe you meant: _g_ascii_table$non_lazy_ptr)
"_g_string_printf", referenced from:
_IDL_ns_ident_make_repo_id in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
_IDL_ns_version in libIDL_2_la-parser.o
"_g_malloc", referenced from:
___IDL_parse in libIDL_2_la-parser.o
_IDL_ns_pragma_parse_name in libIDL_2_la-parser.o
_IDL_ns_pragma_parse_name in libIDL_2_la-parser.o
_IDL_ns_ident_to_qstring in libIDL_2_la-ns.o
_IDL_do_escapes in libIDL_2_la-util.o
"_g_tree_destroy", referenced from:
_IDL_ns_check_for_ambiguous_inheritance in libIDL_2_la-ns.o
"_g_tree_lookup", referenced from:
_insert_heap_cb in libIDL_2_la-ns.o
"_g_str_equal", referenced from:
_g_str_equal$non_lazy_ptr in libIDL_2_la-ns.o
(maybe you meant: _g_str_equal$non_lazy_ptr)
"_g_string_new", referenced from:
_IDL_ns_ident_make_repo_id in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
_IDL_ns_version in libIDL_2_la-parser.o
_IDL_tree_to_IDL_string in libIDL_2_la-util.o
"_g_direct_equal", referenced from:
_g_direct_equal$non_lazy_ptr in libIDL_2_la-parser.o
_g_direct_equal$non_lazy_ptr in libIDL_2_la-ns.o
_g_direct_equal$non_lazy_ptr in libIDL_2_la-util.o
(maybe you meant: _g_direct_equal$non_lazy_ptr)
"_g_ascii_strcasecmp", referenced from:
___IDL_do_pragma in libIDL_2_la-parser.o
___IDL_do_pragma in libIDL_2_la-parser.o
___IDL_do_pragma in libIDL_2_la-parser.o
___IDL_do_pragma in libIDL_2_la-parser.o
___IDL_do_pragma in libIDL_2_la-parser.o
___IDL_do_pragma in libIDL_2_la-parser.o
_IDL_strcase_cmp in libIDL_2_la-util.o
_IDL_strcase_equal in libIDL_2_la-util.o
"_g_slist_alloc", referenced from:
___IDL_lex in libIDL_2_la-lexer.o
"_g_hash_table_remove", referenced from:
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
_resolve_forward_dcls in libIDL_2_la-util.o
_IDL_tree_property_remove in libIDL_2_la-util.o
"_g_hash_table_lookup", referenced from:
_IDL_file_set in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
_IDL_tree_property_remove in libIDL_2_la-util.o
_IDL_tree_property_get in libIDL_2_la-util.o
"_g_hash_table_foreach", referenced from:
_IDL_ns_load_idents_to_tables in libIDL_2_la-ns.o
_IDL_ns_free in libIDL_2_la-ns.o
_IDL_ns_free in libIDL_2_la-ns.o
_IDL_tree_properties_copy in libIDL_2_la-util.o
_IDL_tree_remove_empty_modules in libIDL_2_la-util.o
_IDL_tree_remove_inhibits in libIDL_2_la-util.o
_IDL_tree_process_forward_dcls in libIDL_2_la-util.o
___IDL_free_properties in libIDL_2_la-util.o
___IDL_tree_free in libIDL_2_la-util.o
_IDL_tree_free in libIDL_2_la-util.o
_IDL_emit_IDL_properties in libIDL_2_la-util.o
"_g_string_append", referenced from:
_dataf in libIDL_2_la-util.o
_idataf in libIDL_2_la-util.o
"_g_strdup", referenced from:
_IDL_queue_new_ident_comment in libIDL_2_la-parser.o
_IDL_file_set in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
_IDL_ns_ID in libIDL_2_la-parser.o
_IDL_parse_cpp_status in libIDL_2_la-lexer.o
___IDL_lex in libIDL_2_la-lexer.o
___IDL_lex in libIDL_2_la-lexer.o
___IDL_lex in libIDL_2_la-lexer.o
___IDL_lex in libIDL_2_la-lexer.o
___IDL_lex in libIDL_2_la-lexer.o
___IDL_lex in libIDL_2_la-lexer.o
___IDL_lex in libIDL_2_la-lexer.o
___IDL_lex in libIDL_2_la-lexer.o
___IDL_lex in libIDL_2_la-lexer.o
___IDL_lex in libIDL_2_la-lexer.o
_IDL_ns_prefix in libIDL_2_la-ns.o
_IDL_ns_prefix in libIDL_2_la-ns.o
_IDL_ns_qualified_ident_new in libIDL_2_la-ns.o
_IDL_tree_property_set in libIDL_2_la-util.o
_IDL_tree_property_set in libIDL_2_la-util.o
"_g_path_get_dirname", referenced from:
_IDL_parse_filename in libIDL_2_la-util.o
"_g_slist_free_1", referenced from:
_IDL_tree_is_recursive_walker_post in libIDL_2_la-util.o
"_g_slist_append", referenced from:
_IDL_queue_new_ident_comment in libIDL_2_la-parser.o
"_g_free", referenced from:
_IDL_ns_ident_make_repo_id in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
_IDL_ns_pragma_parse_name in libIDL_2_la-parser.o
_IDL_ns_version in libIDL_2_la-parser.o
_IDL_ns_ID in libIDL_2_la-parser.o
_IDL_parse_cpp_status in libIDL_2_la-lexer.o
_filename_hash_free in libIDL_2_la-ns.o
_filename_hash_free in libIDL_2_la-ns.o
_IDL_ns_free in libIDL_2_la-ns.o
_IDL_ns_prefix in libIDL_2_la-ns.o
_insert_heap_cb in libIDL_2_la-ns.o
_insert_heap_cb in libIDL_2_la-ns.o
_insert_heap_cb in libIDL_2_la-ns.o
_property_free in libIDL_2_la-util.o
_property_free in libIDL_2_la-util.o
_dataf in libIDL_2_la-util.o
_IDL_emit_IDL_ident_real in libIDL_2_la-util.o
_idataf in libIDL_2_la-util.o
_load_forward_dcls in libIDL_2_la-util.o
_resolve_forward_dcls in libIDL_2_la-util.o
_resolve_forward_dcls in libIDL_2_la-util.o
_IDL_tree_property_remove in libIDL_2_la-util.o
___IDL_tree_free in libIDL_2_la-util.o
___IDL_tree_free in libIDL_2_la-util.o
___IDL_tree_free in libIDL_2_la-util.o
___IDL_tree_free in libIDL_2_la-util.o
___IDL_tree_free in libIDL_2_la-util.o
___IDL_tree_free in libIDL_2_la-util.o
___IDL_tree_free in libIDL_2_la-util.o
___IDL_tree_free in libIDL_2_la-util.o
___IDL_warningl in libIDL_2_la-util.o
___IDL_warninglv in libIDL_2_la-util.o
_IDL_tree_warning in libIDL_2_la-util.o
___IDL_warningv in libIDL_2_la-util.o
___IDL_errorl in libIDL_2_la-util.o
___IDL_errorlv in libIDL_2_la-util.o
_IDL_tree_error in libIDL_2_la-util.o
_print_unresolved_forward_dcls in libIDL_2_la-util.o
___IDL_errorv in libIDL_2_la-util.o
_IDL_parse_filename_with_input in libIDL_2_la-util.o
_IDL_parse_filename in libIDL_2_la-util.o
_IDL_parse_filename in libIDL_2_la-util.o
_IDL_parse_filename in libIDL_2_la-util.o
"_g_slist_remove_link", referenced from:
_IDL_tree_is_recursive_walker_post in libIDL_2_la-util.o
"_g_string_insert_c", referenced from:
_idataf in libIDL_2_la-util.o
_IDL_emit_IDL_codefrag_pre in libIDL_2_la-util.o
_IDL_emit_IDL_codefrag_pre in libIDL_2_la-util.o
_IDL_emit_IDL_codefrag_pre in libIDL_2_la-util.o
_IDL_emit_IDL_case_stmt_pre in libIDL_2_la-util.o
_IDL_emit_IDL_curly_brace_open in libIDL_2_la-util.o
_IDL_emit_IDL_indent in libIDL_2_la-util.o
_IDL_emit_IDL_sc in libIDL_2_la-util.o
_IDL_emit_IDL_properties in libIDL_2_la-util.o
_IDL_emit_IDL_properties in libIDL_2_la-util.o
_IDL_emit_IDL_properties in libIDL_2_la-util.o
_IDL_emit_IDL_op_dcl_pre in libIDL_2_la-util.o
_IDL_emit_IDL_op_dcl_pre in libIDL_2_la-util.o
_IDL_emit_IDL_type_pre in libIDL_2_la-util.o
_IDL_emit_IDL_type_pre in libIDL_2_la-util.o
_IDL_emit_IDL_type_pre in libIDL_2_la-util.o
_IDL_emit_IDL_type_pre in libIDL_2_la-util.o
_IDL_emit_IDL_property in libIDL_2_la-util.o
_IDL_emit_IDL_property in libIDL_2_la-util.o
"_g_hash_table_size", referenced from:
_IDL_tree_remove_empty_modules in libIDL_2_la-util.o
_IDL_tree_remove_empty_modules in libIDL_2_la-util.o
_IDL_tree_remove_inhibits in libIDL_2_la-util.o
_IDL_tree_process_forward_dcls in libIDL_2_la-util.o
_IDL_tree_process_forward_dcls in libIDL_2_la-util.o
_IDL_emit_IDL_properties in libIDL_2_la-util.o
"_g_hash_table_destroy", referenced from:
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
_IDL_ns_check_for_ambiguous_inheritance in libIDL_2_la-ns.o
_IDL_ns_free in libIDL_2_la-ns.o
_IDL_ns_free in libIDL_2_la-ns.o
_IDL_tree_remove_empty_modules in libIDL_2_la-util.o
_IDL_tree_remove_inhibits in libIDL_2_la-util.o
_IDL_tree_process_forward_dcls in libIDL_2_la-util.o
___IDL_free_properties in libIDL_2_la-util.o
___IDL_tree_free in libIDL_2_la-util.o
_IDL_tree_free in libIDL_2_la-util.o
_IDL_parse_filename_with_input in libIDL_2_la-util.o
_IDL_parse_filename in libIDL_2_la-util.o
"_g_direct_hash", referenced from:
_g_direct_hash$non_lazy_ptr in libIDL_2_la-parser.o
_g_direct_hash$non_lazy_ptr in libIDL_2_la-ns.o
_g_direct_hash$non_lazy_ptr in libIDL_2_la-util.o
(maybe you meant: _g_direct_hash$non_lazy_ptr)
"_g_hash_table_new", referenced from:
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
___IDL_parse in libIDL_2_la-parser.o
_IDL_ns_check_for_ambiguous_inheritance in libIDL_2_la-ns.o
_IDL_ns_new in libIDL_2_la-ns.o
_IDL_ns_new in libIDL_2_la-ns.o
_IDL_tree_remove_empty_modules in libIDL_2_la-util.o
_IDL_tree_remove_inhibits in libIDL_2_la-util.o
_IDL_tree_process_forward_dcls in libIDL_2_la-util.o
_IDL_tree_property_set in libIDL_2_la-util.o
_IDL_gentree_new_sibling in libIDL_2_la-util.o
_IDL_gentree_new in libIDL_2_la-util.o
_IDL_gentree_new in libIDL_2_la-util.o
_IDL_parse_filename_with_input in libIDL_2_la-util.o
_IDL_parse_filename in libIDL_2_la-util.o
"_g_hash_table_lookup_extended", referenced from:
___IDL_parse in libIDL_2_la-parser.o
_IDL_ns_lookup_this_scope in libIDL_2_la-ns.o
_IDL_ns_lookup_this_scope in libIDL_2_la-ns.o
_IDL_ns_load_idents_to_tables in libIDL_2_la-ns.o
_load_empty_modules in libIDL_2_la-util.o
_load_inhibits in libIDL_2_la-util.o
_load_forward_dcls in libIDL_2_la-util.o
_resolve_forward_dcls in libIDL_2_la-util.o
_remove_list_node in libIDL_2_la-util.o
"_g_tree_new", referenced from:
_IDL_ns_check_for_ambiguous_inheritance in libIDL_2_la-ns.o
"_g_tree_insert", referenced from:
_insert_heap_cb in libIDL_2_la-ns.o
"_g_strdup_vprintf", referenced from:
_dataf in libIDL_2_la-util.o
_idataf in libIDL_2_la-util.o
___IDL_warninglv in libIDL_2_la-util.o
_IDL_tree_warning in libIDL_2_la-util.o
___IDL_warningv in libIDL_2_la-util.o
___IDL_errorlv in libIDL_2_la-util.o
_IDL_tree_error in libIDL_2_la-util.o
___IDL_errorv in libIDL_2_la-util.o
"_g_return_if_fail_warning", referenced from:
_IDL_file_get in libIDL_2_la-parser.o
_IDL_inhibit_pop in libIDL_2_la-parser.o
_IDL_inhibit_push in libIDL_2_la-parser.o
_IDL_inhibit_get in libIDL_2_la-parser.o
_IDL_queue_new_ident_comment in libIDL_2_la-parser.o
_IDL_file_set in libIDL_2_la-parser.o
___IDL_do_pragma in libIDL_2_la-parser.o
_IDL_ns_scope_levels_from_here in libIDL_2_la-ns.o
_IDL_tree_properties_copy in libIDL_2_la-util.o
_IDL_tree_walk2 in libIDL_2_la-util.o
_IDL_tree_to_IDL in libIDL_2_la-util.o
_IDL_tree_get_scope in libIDL_2_la-util.o
_IDL_tree_remove_inhibits in libIDL_2_la-util.o
_IDL_tree_property_remove in libIDL_2_la-util.o
_IDL_tree_property_get in libIDL_2_la-util.o
_IDL_tree_property_set in libIDL_2_la-util.o
"_g_log", referenced from:
_IDL_check_type_cast in libIDL_2_la-util.o
_IDL_tree_walk_real in libIDL_2_la-util.o
_IDL_tree_walk_real in libIDL_2_la-util.o
_IDL_emit_IDL_literal in libIDL_2_la-util.o
_IDL_tree_get_node_info in libIDL_2_la-util.o
_IDL_tree_get_scope in libIDL_2_la-util.o
_IDL_tree_remove_empty_modules in libIDL_2_la-util.o
_IDL_tree_remove_inhibits in libIDL_2_la-util.o
_IDL_tree_process_forward_dcls in libIDL_2_la-util.o
_load_inhibits in libIDL_2_la-util.o
_IDL_tree_free in libIDL_2_la-util.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [libIDL-2.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Thanks for any help!
Dave
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice