User forums > Using Code::Blocks

Problem compiling rev 7128 under Linux...

(1/2) > >>

rickg22:
First attempt: ./configure, make


--- Code: ---No rule to make target `src/scintilla/src/LexAPDL.cxx', needed by `LexAPDL.lo'.  Stop.
--- End code ---

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

Any help?

oBFusCATed:
Have you done ./bootstrap?

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.

Navigation

[0] Message Index

[#] Next page

Go to full version