News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Problem compiling rev 7128 under Linux...

Started by rickg22, April 27, 2011, 04:23:09 PM

Previous topic - Next topic

rickg22

First attempt: ./configure, make

No rule to make target `src/scintilla/src/LexAPDL.cxx', needed by `LexAPDL.lo'.  Stop.

Second attempt: Build inside C::B (successful), then sudo checkinstall. Same error.

Any help?

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Jenna

checkinstall just runs make and make install and automake system uses different object-location, so building inside C::B does not make any difference.

I have build C::B 7126 some days ago on my server and all went fine.
It's always a build in a clean environment, so there can be no substantial problems.

We had changes in scintilla, so oBFusCATed's hint is most likely correct. If files have been added (or removed) ./bootstrap is required to rebuild the Makefile.in's from Makefile.am and the configure-script from configure.in and others.
Running ./configure creates the needed Makefile's from the Makefile.in's.

I always run ./bootstrap to be sure everything is uptodate.

rickg22

Oh, thanks. I had forgotten to do that (it's been a while). Any other requirements for linux (post-compilation)?  I recall having an update.sh or something for the plugins, but didn't saw it. I guess that's taken care of?

Jenna

If you use automake-sytem you don't need any update-scripts.
If compile dwith C::B you need to call ./update and start C::B with the run.sh in devel or output-folder.

Just call the newly installed codeblocks either with the full (relative) path or make sure it's installation dir is in the path.

Depending on your distro (and your install-prefix) you might need to run ldconfig, see: http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29#Resolving_issues .
On debian-based distros, this is normally not needed, for other distros, just try it.

toyin

To run a code written originally for linux OS ON windows XP, do I need to add any library or change any settings on this IDE?
Since lovedev is a cross-platform IDE, Do i need to change anything?

Thanks