Author Topic: Problem compiling rev 7128 under Linux...  (Read 4398 times)

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Problem compiling rev 7128 under Linux...
« on: April 27, 2011, 04:23:09 pm »
First attempt: ./configure, make

Code
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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Problem compiling rev 7128 under Linux...
« Reply #1 on: April 27, 2011, 04:32:11 pm »
Have you done ./bootstrap?
(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!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Problem compiling rev 7128 under Linux...
« Reply #2 on: April 27, 2011, 06:15:03 pm »
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.

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Problem compiling rev 7128 under Linux...
« Reply #3 on: April 27, 2011, 10:34:59 pm »
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?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Problem compiling rev 7128 under Linux...
« Reply #4 on: April 27, 2011, 10:47:33 pm »
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

  • Guest
Running a code written for linux
« Reply #5 on: April 29, 2011, 05:08:29 am »
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