no executable after compiling from sources

CodeLite installation/troubleshooting forum
marines
CodeLite Curious
Posts: 8
Joined: Wed Jun 09, 2010 7:21 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: no executable after compiling from sources

Post by marines »

After providing plugins drectory in configure script `make install` succeed.

Code: Select all

./configure --prefix=/usr --plugins-dir=/usr/lib/codelite
But... there is still no codelite executable. :/
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: no executable after compiling from sources

Post by DavidGH »

Hmm, it does sound to me like a race condition caused by the -j3 in the 'make install' step. Most people wouldn't use -j3 for that, I suspect ;) , but yours is presumably hard-wired into your environment.

I don't know if the -j3 can be overridden like this, but try:
make -j1 DESTDIR=$pkgdir install

Or perhaps you know some better, arch-specific way...
marines
CodeLite Curious
Posts: 8
Joined: Wed Jun 09, 2010 7:21 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: no executable after compiling from sources

Post by marines »

I compiled it also with -j1. No changes.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: no executable after compiling from sources

Post by DavidGH »

Where does arch store the -j3 for make. If it's in an environmental var, you could override that in the 'make install' step.

Otherwise I don't have any other clever ideas :( but you could try inserting 'echo' statements into the 'configure' script in an attempt to diagnose what's happening.
Post Reply