Build problems rev 5174

Discussion about CodeLite development process and patches
foxmuldr
CodeLite Expert
Posts: 120
Joined: Sun May 10, 2009 6:56 am
Contact:

Build problems rev 5174

Post by foxmuldr »

I have just upgraded my CodeLite source from 4798 to 5174, and when I clean and rebuild I get this error:

./le_makerevision.sh

g++ -O3 -DREGEXP_UNICODE -fPIC -Wall -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -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\" -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -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/wxscintilla/src/scintilla/src -I./sdk/wxscintilla/src/scintilla/lexlib -I./sdk/wxscintilla/src/scintilla/lexers -I./Interfaces -I./Debugger -I./Plugin -I./CodeLite -MTRelease_gcc_unicode/wxsqlite3.o -MFRelease_gcc_unicode/wxsqlite3.o.d -MM sdk/wxsqlite3/src/wxsqlite3.cpp

gcc -fPIC -Wall -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -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\" -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -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/wxscintilla/src/scintilla/src -I./sdk/wxscintilla/src/scintilla/lexlib -I./sdk/wxscintilla/src/scintilla/lexers -I./Interfaces -I./Debugger -I./Plugin -I./CodeLite -MTRelease_gcc_unicode/sqlite3.o -MFRelease_gcc_unicode/sqlite3.o.d -MM sqlite3/sqlite3.c

g++ -O3 -DREGEXP_UNICODE -fPIC -Wall -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -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\" -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -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/wxscintilla/src/scintilla/src -I./sdk/wxscintilla/src/scintilla/lexlib -I./sdk/wxscintilla/src/scintilla/lexers -I./Interfaces -I./Debugger -I./Plugin -I./CodeLite -MTRelease_gcc_unicode/AutoComplete.o -MFRelease_gcc_unicode/AutoComplete.o.d -MM sdk/wxscintilla/src/scintilla/src/AutoComplete.cxx
<built-in>:0:0: fatal error: opening dependency file Release_gcc_unicode/AutoComplete.o.d: No such file or directory

compilation terminated.

What am I missing?
Best regards,
Rick C. Hodgin
www.Visual-FreePro.org
www.LibSF.org
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Build problems rev 5174

Post by DavidGH »

Hi,

I think r5174 is something of a work-in-progress. Perhaps revert to r5172.

The other possible issue is with -jN. What happens if, when you get that error, you repeat the 'make'?

Regards,

David
foxmuldr
CodeLite Expert
Posts: 120
Joined: Sun May 10, 2009 6:56 am
Contact:

Re: Build problems rev 5174

Post by foxmuldr »

Repeating produces the same error. It's interesting, because after I updated I ran a clean and rebuild all, and it got through about 30 seconds of compiling, then one error. And every time since then it stops within 1/2 second, with that same error sequence.
Best regards,
Rick C. Hodgin
www.Visual-FreePro.org
www.LibSF.org
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Build problems rev 5174

Post by DavidGH »

BTW, did you run 'configure' after the 'make clean'? You probably need to.

Otherwise, I just updated to 5172, the top of svn trunk, and rebuilt without a problem. 5174 is on a temporary branch which isn't intended for public consumption...
foxmuldr
CodeLite Expert
Posts: 120
Joined: Sun May 10, 2009 6:56 am
Contact:

Re: Build problems rev 5174

Post by foxmuldr »

Yes, ran configure.

Is there an SVN tab GUI or menu option to explicitly update or revert to a specific version without manual cmd line typing?
Best regards,
Rick C. Hodgin
www.Visual-FreePro.org
www.LibSF.org
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Build problems rev 5174

Post by eranif »

Latest revision should be OK ( I am compiling with make -j5 with no problems)

Eran
Make sure you have read the HOW TO POST thread
foxmuldr
CodeLite Expert
Posts: 120
Joined: Sun May 10, 2009 6:56 am
Contact:

Re: Build problems rev 5174

Post by foxmuldr »

Later versions are building properly. Thanks.

PS - The Codelite dev tree is usually so stable, even the interim code pushes. Having a build problem surprised me greatly!
Best regards,
Rick C. Hodgin
www.Visual-FreePro.org
www.LibSF.org
Post Reply