Run configure results in error 2

General questions regarding the usage of CodeLite
cenix
CodeLite Enthusiast
Posts: 20
Joined: Wed Sep 24, 2008 9:49 pm

Run configure results in error 2

Post 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.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Run configure results in error 2

Post by eranif »

Right click on the project, select 'settings'

Select the 'Custom Build' tab
and change:

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

Eran
Make sure you have read the HOW TO POST thread
Post Reply