[solve]problem about configure --enable-debug under codelite

CodeLite installation/troubleshooting forum
fanhe0513
CodeLite Enthusiast
Posts: 39
Joined: Sat Aug 21, 2010 7:32 pm
Genuine User: Yes
IDE Question: c++
Contact:

[solve]problem about configure --enable-debug under codelite

Post by fanhe0513 »

I want to debug codelite under codelite, so I build codelite under codelite on ubuntu 10.04.
but, when I run configure --enable-debug, there are some abnormal(configure runs well)

Code: Select all

----------Build Started--------
MESSAGE: Entering directory `/home/eph/Desktop/projects/codelite_mod/'
/bin/sh -c './configure --enable-debug'
----------Building project:[ LiteEditor - Unix_Make_J ]----------
Generating svninfo file...
Generating Makefile...

  Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

Generating sdk/codelite_indexer/Makefile...
Generating sdk/codelite_cppcheck/Makefile...
Generating Debugger/Makefile...

  Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

Generating Gizmos/Makefile...

  Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

Generating cscope/Makefile...

  Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

Generating Subversion2/Makefile...

  Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

Generating CodeFormatter/Makefile...

  Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

Generating Copyright/Makefile...

  Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

Generating UnitTestCPP/Makefile...

  Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

Generating ExternalTools/Makefile...

  Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

Generating SnipWiz/Makefile...

  Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

Generating wxformbuilder/Makefile...

  Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

Generating abbreviation/Makefile...

  Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

Generating SymbolView/Makefile...

  Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

Generating ContinuousBuild/Makefile...

  Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

Generating QmakePlugin/Makefile...

  Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

Generating cppchecker/Makefile...

  Warning: No config found to match: /usr/bin/wx-config --cxxflags --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.


  Warning: No config found to match: /usr/bin/wx-config --libs --unicode=yes --debug=yes
           in /usr/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

----------Build Ended----------
0 errors, 0 warnings, total time: 00:00:18 seconds
If I ignore them, when I build LiteEditor project, It is

Code: Select all

----------Build Started--------
MESSAGE: Entering directory `/home/eph/Desktop/projects/codelite_mod/'
/bin/sh -c 'make -j 2'
----------Building project:[ LiteEditor - Unix_Make_J ]----------
./le_makerevision.sh
g++   -g  -DREGEXP_UNICODE   -fPIC -Wall  -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  -MTDebug_gcc_unicode/wxsqlite3.o -MFDebug_gcc_unicode/wxsqlite3.o.d  -MM sdk/wxsqlite3/src/wxsqlite3.cpp
sdk/wxsqlite3/src/wxsqlite3.cpp:18:23: error: wx/wxprec.h: No such file or directory
sdk/wxsqlite3/src/wxsqlite3.cpp:25:19: error: wx/wx.h: No such file or directory
Generating svninfo file...
make: *** [Debug_gcc_unicode/wxsqlite3.o.d] Error 1
make: *** Waiting for unfinished jobs....
----------Build Ended----------
2 errors, 0 warnings
What is the problem?
--------------------------------------------------------------------------------------
The workaround is that install libwxgtk2.8-dbg...
But I do not want to debug wxgtk, I just want to debug codelite...
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: [solve]problem about configure --enable-debug under codelite

Post by DavidGH »

Hi,

It's built into the CL configure script. It's also not a bad idea: if you need to debug CL, it's unusual for the wx functions not to be involved, and it's usually helpful to have their debug info too.

But if you really really don't want to, you can cheat. Either:
1) run configure without using --enable-debug, then hack in -g to the makefile later. Or:
2) run configure without using --enable-debug, then use this line to build:
DEBUG=" -g" make

(I've not tested 2) in a standard makefile situation, only when making a deb. But it should work here too.)

Regards,

David
Post Reply