Building/compiling CodeLite on MacOSX 10.6.2 (Intel)
Posted: Fri Dec 18, 2009 4:08 pm
Hi,
I'm trying to build CodeLite on MacOSX 10.6.2 (Intel)
The Makefile generated by "configure" needs some modifications to the variables (in the top of the file) - for the build to work:
< OPT= -O3 -DREGEXP_UNICODE
---
> OPT= -m32 -O3 -DREGEXP_UNICODE
< GCC=gcc
---
> GCC=gcc $(DEBUG) $(OPT)
< WXCFG=--unicode=yes --debug=no
---
> WXCFG=--unicode=yes --debug=yes
With these modifications (above) the build seems to run.
But after (a while) building 100's of object files the build process stops - below it the last ~20 lines of the build before the error:
g++ -m32 -O3 -DREGEXP_UNICODE -fPIC -dynamiclib -o ./lib/libcodeliteu.so Release_gcc_unicode/cl_indexer_reply.o Release_gcc_unicode/cl_indexer_request.o Release_gcc_unicode/clindexerprotocol.o Release_gcc_unicode/named_pipe.o Release_gcc_unicode/named_pipe_client.o Release_gcc_unicode/named_pipe_server.o Release_gcc_unicode/np_connections_server.o Release_gcc_unicode/archive.o Release_gcc_unicode/asyncprocess.o Release_gcc_unicode/cl_calltip.o Release_gcc_unicode/cl_process.o Release_gcc_unicode/comment.o Release_gcc_unicode/cpp_comment_creator.o Release_gcc_unicode/cpp_expr_lexer.o Release_gcc_unicode/cpp_expr_parser.o Release_gcc_unicode/cpp_func_parser.o Release_gcc_unicode/cpp_lexer.o Release_gcc_unicode/cpp_scanner.o Release_gcc_unicode/crawler_lexer.o Release_gcc_unicode/ctags_manager.o Release_gcc_unicode/dirtraverser.o Release_gcc_unicode/entry.o Release_gcc_unicode/expression_result.o Release_gcc_unicode/fc_fileopener.o Release_gcc_unicode/fileentry.o Release_gcc_unicode/fileextmanager.o Release_gcc_unicode/fileutils.o Release_gcc_unicode/function.o Release_gcc_unicode/include_finder.o Release_gcc_unicode/language.o Release_gcc_unicode/lex.yy.o Release_gcc_unicode/parse_thread.o Release_gcc_unicode/performance.o Release_gcc_unicode/processreaderthread.o Release_gcc_unicode/procutils.o Release_gcc_unicode/progress_dialog.o Release_gcc_unicode/readtags.o Release_gcc_unicode/scope_parser.o Release_gcc_unicode/setters_getters_data.o Release_gcc_unicode/symbol_tree.o Release_gcc_unicode/tag_tree.o Release_gcc_unicode/tags_options_data.o Release_gcc_unicode/tags_storage_sqlite3.o Release_gcc_unicode/tokenizer.o Release_gcc_unicode/unixprocess_impl.o Release_gcc_unicode/var_parser.o Release_gcc_unicode/variable.o Release_gcc_unicode/winprocess.o Release_gcc_unicode/winprocess_impl.o Release_gcc_unicode/worker_thread.o -L./lib -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -framework OpenGL -framework AGL -lwx_macud-2.8 -L./lib -lwxsqlite3u
g++ -m32 -O3 -DREGEXP_UNICODE -c Plugin/regex_processor.cpp -fPIC -Wall -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__ -fno-strict-aliasing -DASTYLE_LIB -DYY_NEVER_INTERACTIVE=1 -DGTK -DSCI_LEXER -DLINK_LEXERS -D__WX__ -DINSTALL_DIR=\"/usr/share/codelite\" -DPLUGINS_DIR=\"/usr/lib/codelite\" -D__APPLE__ -DMACOSX -I. -I./sdk/codelite_indexer/network -I./sdk/wxsqlite3/include -I./sdk/wxsqlite3/sqlite3/include -I./sdk/wxscintilla/include -I./sdk/wxscintilla/src/scintilla/include -I./sdk/wxpropgrid/include -I./sdk/wxscintilla/src/scintilla/src -I./Interfaces -I./Debugger -I./Plugin -I./CodeLite -o Release_gcc_unicode/regex_processor.o
Plugin/regex_processor.cpp: In constructor 'RegexProcessor::RegexProcessor(const wxString&)':
Plugin/regex_processor.cpp:34: error: 'wxRE_ADVANCED' was not declared in this scope
make: *** [Release_gcc_unicode/regex_processor.o] Error 1
Now I guess that the release builds for macosx are propably done at macosx 10.5.x - but did anyone succeed building CodeLite itself at latest and greatest macosx 10.6.2 ?
Tests are done at lastest trunk extract (-r3533) - but have ben failing like this for weeks/months.
Any suggestions are welcome.
Thanks in advance.
Kind regards Uffe Jakobsen
I'm trying to build CodeLite on MacOSX 10.6.2 (Intel)
The Makefile generated by "configure" needs some modifications to the variables (in the top of the file) - for the build to work:
< OPT= -O3 -DREGEXP_UNICODE
---
> OPT= -m32 -O3 -DREGEXP_UNICODE
< GCC=gcc
---
> GCC=gcc $(DEBUG) $(OPT)
< WXCFG=--unicode=yes --debug=no
---
> WXCFG=--unicode=yes --debug=yes
With these modifications (above) the build seems to run.
But after (a while) building 100's of object files the build process stops - below it the last ~20 lines of the build before the error:
g++ -m32 -O3 -DREGEXP_UNICODE -fPIC -dynamiclib -o ./lib/libcodeliteu.so Release_gcc_unicode/cl_indexer_reply.o Release_gcc_unicode/cl_indexer_request.o Release_gcc_unicode/clindexerprotocol.o Release_gcc_unicode/named_pipe.o Release_gcc_unicode/named_pipe_client.o Release_gcc_unicode/named_pipe_server.o Release_gcc_unicode/np_connections_server.o Release_gcc_unicode/archive.o Release_gcc_unicode/asyncprocess.o Release_gcc_unicode/cl_calltip.o Release_gcc_unicode/cl_process.o Release_gcc_unicode/comment.o Release_gcc_unicode/cpp_comment_creator.o Release_gcc_unicode/cpp_expr_lexer.o Release_gcc_unicode/cpp_expr_parser.o Release_gcc_unicode/cpp_func_parser.o Release_gcc_unicode/cpp_lexer.o Release_gcc_unicode/cpp_scanner.o Release_gcc_unicode/crawler_lexer.o Release_gcc_unicode/ctags_manager.o Release_gcc_unicode/dirtraverser.o Release_gcc_unicode/entry.o Release_gcc_unicode/expression_result.o Release_gcc_unicode/fc_fileopener.o Release_gcc_unicode/fileentry.o Release_gcc_unicode/fileextmanager.o Release_gcc_unicode/fileutils.o Release_gcc_unicode/function.o Release_gcc_unicode/include_finder.o Release_gcc_unicode/language.o Release_gcc_unicode/lex.yy.o Release_gcc_unicode/parse_thread.o Release_gcc_unicode/performance.o Release_gcc_unicode/processreaderthread.o Release_gcc_unicode/procutils.o Release_gcc_unicode/progress_dialog.o Release_gcc_unicode/readtags.o Release_gcc_unicode/scope_parser.o Release_gcc_unicode/setters_getters_data.o Release_gcc_unicode/symbol_tree.o Release_gcc_unicode/tag_tree.o Release_gcc_unicode/tags_options_data.o Release_gcc_unicode/tags_storage_sqlite3.o Release_gcc_unicode/tokenizer.o Release_gcc_unicode/unixprocess_impl.o Release_gcc_unicode/var_parser.o Release_gcc_unicode/variable.o Release_gcc_unicode/winprocess.o Release_gcc_unicode/winprocess_impl.o Release_gcc_unicode/worker_thread.o -L./lib -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -framework OpenGL -framework AGL -lwx_macud-2.8 -L./lib -lwxsqlite3u
g++ -m32 -O3 -DREGEXP_UNICODE -c Plugin/regex_processor.cpp -fPIC -Wall -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__ -fno-strict-aliasing -DASTYLE_LIB -DYY_NEVER_INTERACTIVE=1 -DGTK -DSCI_LEXER -DLINK_LEXERS -D__WX__ -DINSTALL_DIR=\"/usr/share/codelite\" -DPLUGINS_DIR=\"/usr/lib/codelite\" -D__APPLE__ -DMACOSX -I. -I./sdk/codelite_indexer/network -I./sdk/wxsqlite3/include -I./sdk/wxsqlite3/sqlite3/include -I./sdk/wxscintilla/include -I./sdk/wxscintilla/src/scintilla/include -I./sdk/wxpropgrid/include -I./sdk/wxscintilla/src/scintilla/src -I./Interfaces -I./Debugger -I./Plugin -I./CodeLite -o Release_gcc_unicode/regex_processor.o
Plugin/regex_processor.cpp: In constructor 'RegexProcessor::RegexProcessor(const wxString&)':
Plugin/regex_processor.cpp:34: error: 'wxRE_ADVANCED' was not declared in this scope
make: *** [Release_gcc_unicode/regex_processor.o] Error 1
Now I guess that the release builds for macosx are propably done at macosx 10.5.x - but did anyone succeed building CodeLite itself at latest and greatest macosx 10.6.2 ?
Tests are done at lastest trunk extract (-r3533) - but have ben failing like this for weeks/months.
Any suggestions are welcome.
Thanks in advance.
Kind regards Uffe Jakobsen