Page 1 of 1

Run configure results in error 2

Posted: Fri Sep 26, 2008 10:12 pm
by cenix
When trying to do a Run configure from within CodeLite (Right click on the LiteEditor project, selecting Run configure), gives me the following message in the build pane.

Code: Select all

Building: 
./configure --enable-debug
----------Building project:[ LiteEditor - DebugUnicode ]----------
execvp(./configure, --enable-debug) failed with error 2!
0 errors, 0 warnings, total time: 00:00:00 seconds
----------Build Ended----------
I'm trying to do a configure for a debug unicode project.
Running (./configure --enable-debug) from the command-line works OK.
Also switching to a release unicode project and then to a Run configure works OK.

When switching back to a debug unicode project and do a Run configure, I also the message stated above.

Oh, and I run Linux if that wasn't clear.

Re: Run configure results in error 2

Posted: Sat Sep 27, 2008 11:18 am
by eranif
Right click on the project, select 'settings'

Select the 'Custom Build' tab
and change:

Working directory from: ../
to: $(WorkspacePath)

Eran