Recent

Author Topic: error on make svn  (Read 17159 times)

mbohn

  • Full Member
  • ***
  • Posts: 120
error on make svn
« on: December 21, 2009, 02:33:00 am »
I get the following error when trying to make an svn:

Compiling ./widgetset/wslclclasses.pp
Compiling lclclasses.pp
imglist.pp(160,14) Error: There is no method in an ancestor class to be overridden: "TCustomImageList.Equals(TObject):Boolean;"
imglist.pp(206,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[1]: *** [alllclunits.ppu] Error 1
make[1]: Leaving directory `/home/mark/Lazarus/lcl'
make: *** [lcl] Error 2
mark@mark-laptopXP:~/Lazarus$

Any ideas?

I've followed the wiki

http://wiki.lazarus.freepascal.org/index.php/Getting_Lazarus#Development_versions_from_SVN

Bart

  • Hero Member
  • *****
  • Posts: 5677
    • Bart en Mariska's Webstek
Re: error on make svn
« Reply #1 on: December 21, 2009, 10:49:15 am »
Which Lazarus revision?
Which fpc version?

Bart

mbohn

  • Full Member
  • ***
  • Posts: 120
Re: error on make svn
« Reply #2 on: December 21, 2009, 01:27:04 pm »
How do I tell that from the downloaded svn?

Ubuntu 9.10


BTW, after that problem came up, I repeated the procedure for my Mac and the whole thing went perfectly.  So I don't think the problem on Linux is due to not following the wiki instructions.
« Last Edit: December 21, 2009, 02:01:13 pm by mbohn »

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2673
Re: error on make svn
« Reply #3 on: December 21, 2009, 04:09:21 pm »
lazarus revision: svn info
fpcversion: ppc386 -iW
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

mbohn

  • Full Member
  • ***
  • Posts: 120
Re: error on make svn
« Reply #4 on: December 21, 2009, 04:44:01 pm »
svn info:
svn: '.' is not a working copy
ppc386 -iW:
2.5.1

Bart

  • Hero Member
  • *****
  • Posts: 5677
    • Bart en Mariska's Webstek
Re: error on make svn
« Reply #5 on: December 21, 2009, 11:56:32 pm »
I suppose you used svn to obtain the sources?

cd to the root of the lazarus sources that you obtained with svn
there should be a directory .svn in this directory

Code: [Select]
bart@simenon:~/svnroot/lazarus> ls -al
totaal 176058
[SNIP]
drwxr-xr-x   7 bart users      392 2009-11-15 12:43 .svn

Then
Code: [Select]
bart@simenon:~/svnroot/lazarus> svn info .
Path: .
URL: http://svn.freepascal.org/svn/lazarus/trunk
Repository Root: http://svn.freepascal.org/svn/lazarus
Repository UUID: 4005530d-fff6-0310-9dd1-cebe43e6787f
Revision: 22593
Node Kind: directory
Schedule: normal
Last Changed Author: martin
Last Changed Rev: 22593
Last Changed Date: 2009-11-15 01:24:32 +0100 (zo, 15 nov 2009)
Properties Last Updated: 2009-01-30 18:55:56 +0100 (vr, 30 jan 2009)

Bart

mbohn

  • Full Member
  • ***
  • Posts: 120
Re: error on make svn
« Reply #6 on: December 22, 2009, 12:29:38 am »
Yes, I used SVN per the wiki instructions I quoted earlier.

There is no .svn directory on my entire file system.  Nor is there a svnroot directory.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2673
Re: error on make svn
« Reply #7 on: December 22, 2009, 10:40:21 am »
svnroot is a dirname you choose yourself. ie the name of the dir where you want to checkout the files. If you have used svn, tehn you have a .svn dir. Pleas note that files starting with a . are hidden, so a normal ls doesn't show them. ls -a does.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: error on make svn
« Reply #8 on: December 22, 2009, 03:51:32 pm »
mbohn, make sure that your fpc 2.5.1 version is up to date, i.e. from the same date as your lazarus svn version.

The only fpc 2.5.1 more or less guaranteed to compile is svn HEAD, what you get after an svn up.

mbohn

  • Full Member
  • ***
  • Posts: 120
Re: error on make svn
« Reply #9 on: December 22, 2009, 05:32:01 pm »
svnroot is a dirname you choose yourself. ie the name of the dir where you want to checkout the files. If you have used svn, tehn you have a .svn dir. Pleas note that files starting with a . are hidden, so a normal ls doesn't show them. ls -a does.

Marc:

Thanks for straightening me out on that.  Here are the results Bart asked for:
Code: [Select]
mark@mark-laptopXP:~$ cd Lazarus
mark@mark-laptopXP:~/Lazarus$ ls -al
total 288
drwxr-xr-x 21 mark mark  4096 2009-12-20 18:24 .
drwxr-xr-x 42 mark mark  4096 2009-12-22 06:11 ..
drwxr-xr-x 48 mark mark  4096 2009-12-20 18:22 components
drwxr-xr-x  3 mark mark  4096 2009-12-20 18:23 converter
-rw-r--r--  1 mark mark 18088 2009-12-20 18:24 COPYING.GPL.txt
-rw-r--r--  1 mark mark 25275 2009-12-20 18:24 COPYING.LGPL.txt
-rw-r--r--  1 mark mark  1259 2009-12-20 18:24 COPYING.modifiedLGPL.txt
-rw-r--r--  1 mark mark  1349 2009-12-20 18:24 COPYING.txt
drwxr-xr-x  5 mark mark  4096 2009-12-20 18:20 debian
drwxr-xr-x  6 mark mark  4096 2009-12-20 18:20 debugger
drwxr-xr-x  3 mark mark  4096 2009-12-20 18:22 designer
drwxr-xr-x  6 mark mark  4096 2009-12-20 18:23 doceditor
drwxr-xr-x  7 mark mark  4096 2009-12-20 18:22 docs
drwxr-xr-x 56 mark mark  4096 2009-12-20 18:24 examples
drwxr-xr-x  5 mark mark 16384 2009-12-20 18:22 ide
drwxr-xr-x  5 mark mark  4096 2009-12-20 18:20 ideintf
drwxr-xr-x 20 mark mark  4096 2009-12-20 18:22 images
drwxr-xr-x  4 mark mark  4096 2009-12-20 18:22 install
-rw-r--r--  1 mark mark 11294 2009-12-20 18:24 JCFSettings.cfg
drwxr-xr-x  3 mark mark  4096 2009-12-20 18:23 languages
drwxr-xr-x  4 mark mark  4096 2009-12-20 18:22 lazarus.app
drwxr-xr-x 13 mark mark  4096 2009-12-20 18:25 lcl
-rw-r--r--  1 mark mark  4552 2009-12-20 18:24 localize.bat
-rwxr-xr-x  1 mark mark  1794 2009-12-20 18:24 localize.sh
-rw-r--r--  1 mark mark 98562 2009-12-20 18:24 Makefile
-rw-r--r--  1 mark mark  7592 2009-12-20 18:24 Makefile.fpc
drwxr-xr-x  6 mark mark  4096 2009-12-20 18:23 packager
-rw-r--r--  1 mark mark  2543 2009-12-20 18:24 README.txt
drwxr-xr-x  6 mark mark  4096 2009-12-20 18:24 .svn
drwxr-xr-x  7 mark mark  4096 2009-12-20 18:20 test
drwxr-xr-x 10 mark mark  4096 2009-12-20 18:22 tools
mark@mark-laptopXP:~/Lazarus$

And..
Code: [Select]
mark@mark-laptopXP:~/Lazarus$ svn info .
Path: .
URL: http://svn.freepascal.org/svn/lazarus/trunk
Repository Root: http://svn.freepascal.org/svn/lazarus
Repository UUID: 4005530d-fff6-0310-9dd1-cebe43e6787f
Revision: 23208
Node Kind: directory
Schedule: normal
Last Changed Author: mattias
Last Changed Rev: 23208
Last Changed Date: 2009-12-20 16:52:13 -0700 (Sun, 20 Dec 2009)

mark@mark-laptopXP:~/Lazarus$


Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2673
Re: error on make svn
« Reply #10 on: December 22, 2009, 06:19:53 pm »
now that we this have sorted out, back to your problem.
Vincent has a point, make sue you're using a recent fpc trunk (of you want to use fpc trunk)
And if you have lazarus compiled with an older trunk fpc, always do a make clean first in the lazarus dir, to make sure old and invalid ppu's are removed.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

mbohn

  • Full Member
  • ***
  • Posts: 120
Re: error on make svn
« Reply #11 on: December 22, 2009, 07:37:06 pm »
I noticed from the wiki that it first explains how to get the Lazarus svn and how to compile it.  Later on it tells you to first install the fpc svn. So, I've deleted the Lazarus svn and started on the fpc svn.

The command
Code: [Select]
svn co http://svn.freepascal.org/svn/fpc/trunk fpcworked fine.

Then those directions tell you to
Code: [Select]
sudo apt-get install libgpmg1-dev fakeroot libncurses5-dev build-essential which also worked well but it sounds like everything was already the newest version.

Then the directions say:
Go into your lazarus source directory. The directory must be writable.
Code: [Select]
cd ~/freepascal/lazarus/tools/install
./create_fpc_deb.sh fpc ~/freepascal/fpc

There is no lazarus source directory, as I said before I removed it.  The directions tell you only later to download the lazarus svn.


go to "your lazarus directory" and then cd ~/freepascal/lazarus/tools/install
./create_fpc_deb.sh fpc ~/freepascal/fpc

But there is no such directory.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: error on make svn
« Reply #12 on: December 22, 2009, 08:19:36 pm »
The first question should be:
What exactly do you want? Both fpc and lazarus development version (unstable) or just lazarus development version (unstable).

mbohn

  • Full Member
  • ***
  • Posts: 120
Re: error on make svn
« Reply #13 on: December 22, 2009, 08:43:04 pm »
This all got started after I submitted a bug report:

http://bugs.freepascal.org/view.php?id=15383

The last entry in that was a link to the svn from Mattias so I interpreted that to mean I needed to download the svn to fix the original problem described in the bug report.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: error on make svn
« Reply #14 on: December 22, 2009, 09:08:03 pm »
OK, that is clear.

What I would do is this:
Install the latest lazarus release using the package manager, so you get all the dependencies right and have a working fpc 2.2.4. Make sure that fpc -iV returns fpc 2.2.4.

Then, in your home directory (/home/mbohn/) do:
Code: [Select]
cd /home/mbohn
svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus
cd lazarus
make bigide
./lazarus --pcp=/home/mbohn/.lazarus-svn

 

TinyPortal © 2005-2018