Re: [lazarus] Cannot build Lazarus

2006-03-15 Thread Jouke Rensma
Vincent (and others ofcourse), 

You probably already noticed, but just for sure: I've added my findings to 
the wiki "Getting Lazarus". 


Regards,
Jouke 



Vincent Snijders writes: 


Jouke Rensma wrote:
Vincent, thanks for your help! I decided to use 2.0.2 from now on. I did 
some fooling around with files and downloads etc. Maybe it's a good idea 
to put my "solution" in the Lazarus svn wiki???


Feel free to add it. (I don't know what you mean by "solution", but I will 
read it). 

Vincent. 


_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives 




_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Cannot build Lazarus

2006-03-12 Thread Vincent Snijders

Jouke Rensma wrote:
Vincent, thanks for your help! I decided to use 2.0.2 from now on. I did 
some fooling around with files and downloads etc. Maybe it's a good idea 
to put my "solution" in the Lazarus svn wiki???


Feel free to add it. (I don't know what you mean by "solution", but I 
will read it).


Vincent.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Cannot build Lazarus

2006-03-12 Thread Jouke Rensma
Vincent, thanks for your help! I decided to use 2.0.2 from now on. I did 
some fooling around with files and downloads etc. Maybe it's a good idea to 
put my "solution" in the Lazarus svn wiki???


Btw I already solved the "problem" friday, but for my job I used almost the 
whole friday evening and the saterday to solve a huge problem. During that I 
made great use of Lazarus! I will post that in a seperate thread.


Thanks again!
Jouke

- Original Message - 
From: "Vincent Snijders" <[EMAIL PROTECTED]>

To: 
Sent: Friday, March 10, 2006 4:31 PM
Subject: Re: [lazarus] Cannot build Lazarus



Jouke Rensma wrote:
Please advice then: is it better to use 2.0.2? Also when I'm developing 
for Lazarus itself (or at least try to :-) )?




Yes, I think so. Less things to worry about. If you want to develop for 
lazarus itself you do need *Lazarus* from SVN.


Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives




_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Cannot build Lazarus

2006-03-10 Thread Vincent Snijders

Jouke Rensma wrote:
Please advice then: is it better to use 2.0.2? Also when I'm developing 
for Lazarus itself (or at least try to :-) )?




Yes, I think so. Less things to worry about. If you want to develop for 
lazarus itself you do need *Lazarus* from SVN.


Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Cannot build Lazarus

2006-03-10 Thread Jouke Rensma
Please advice then: is it better to use 2.0.2? Also when I'm developing for 
Lazarus itself (or at least try to :-) )? 




Vincent Snijders writes: 


Graeme Geldenhuys wrote:
Does Lazarus work with FPC 2.1.1  ? 



Yes, with fpc 2.1.1 from svn, not a two weeks old one. 

If you want to use fpc 2.1.1, then you must be prepared to update your fpc 
version regular, because only fpc 2.1.1 svn head will be supported. 

Vincent 


_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives 




_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Cannot build Lazarus

2006-03-10 Thread Vincent Snijders

Jouke Rensma wrote:
Damn, do I hate this!!! Normally I think of myself as a high-skilled 
network engineer with a more than moderate computerknowledge. Most 
problems I can solve on my own without asking others. But this time I 
have no clue (again...).

So what I did:
- From my current Lazarus directory, I removed the fpcsrc directory.
- Created a new, empty fpcsrc directory.
- Performed a SVN CheckOut.
- Did a make clean all (while in c:\lazarus\fpcsrc).
- This breaks with the following:
C:/lazarus/pp/bin/i386-win32/ppc386.exe -Ur -Xs -OG2p3 -n -Fui386 
-Fusystems -Fu
C:/lazarus/fpcsrc/rtl/units/i386-win32 -Fii386 -FE. 
-FUi386/units/i386-win32 -dR

ELEASE  -di386 -dGDB -dBROWSERLOG -Fux86 pp.pas
C:\lazarus\pp\bin\i386-win32\ld.exe: cannot find wprt0.o
 From some document I find that I should check THE fpc.cfg for existance 
of a line -Fu

The only fpc.cfg I found contains this:
-Fuc:\lazarus\pp/units/$FPCTARGET/rtl
which I believe is correct. The file wprt0.o is there too.
Why does make try to find the in:
C:/lazarus/fpcsrc/rtl/units/i386-win32
?


Now you are building fpc, not lazarus. The fpc build process is 
documented in the BuildFAQ: http://www.stack.nl/~marcov/buildfaq.pdf


If you do make all in the top dir of the fpc source, it won't use the 
fpc.cfg (see the -n parameter). It will look for the wprt0.o in 
C:/lazarus/fpcsrc/rtl/units/i386-win32. Also note, that to compile a new 
compiler you should start with the latest released compiler, in this 
case fpc 2.0.2. This compiler should be on the path or passed as make 
parameter: make PP=c:\path\to\ppc386.exe


HTH,
Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Cannot build Lazarus

2006-03-10 Thread Vincent Snijders

Graeme Geldenhuys wrote:

Does Lazarus work with FPC 2.1.1  ?



Yes, with fpc 2.1.1 from svn, not a two weeks old one.

If you want to use fpc 2.1.1, then you must be prepared to update your 
fpc version regular, because only fpc 2.1.1 svn head will be supported.


Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Cannot build Lazarus

2006-03-10 Thread Jouke Rensma
Damn, do I hate this!!! Normally I think of myself as a high-skilled network 
engineer with a more than moderate computerknowledge. Most problems I can 
solve on my own without asking others. But this time I have no clue 
(again...). 


So what I did:
- From my current Lazarus directory, I removed the fpcsrc directory.
- Created a new, empty fpcsrc directory.
- Performed a SVN CheckOut.
- Did a make clean all (while in c:\lazarus\fpcsrc).
- This breaks with the following: 

C:/lazarus/pp/bin/i386-win32/ppc386.exe -Ur -Xs -OG2p3 -n -Fui386 -Fusystems 
-Fu
C:/lazarus/fpcsrc/rtl/units/i386-win32 -Fii386 -FE. -FUi386/units/i386-win32 
-dR

ELEASE  -di386 -dGDB -dBROWSERLOG -Fux86 pp.pas
C:\lazarus\pp\bin\i386-win32\ld.exe: cannot find wprt0.o 

From some document I find that I should check THE fpc.cfg for existance of a 
line -Fu 


The only fpc.cfg I found contains this:
-Fuc:\lazarus\pp/units/$FPCTARGET/rtl 

which I believe is correct. The file wprt0.o is there too. 


Why does make try to find the in:
C:/lazarus/fpcsrc/rtl/units/i386-win32 

? 

To Graeme: Yes, it works with 2.1.1. From what I understood the snapshots 
are compiled with 2.1.1, while the stable releases (even numbers) use 2.0.x. 



Vincent Snijders writes: 


Jouke Rensma wrote:

Hi all,
Just updated via svn to rev. 8903. Now the build of Lazarus breaks in 
MemCheck.pas with this message:
C:\lazarus\components\codetools\MemCheck.pas(797,9) Error: Identifier not 
found "StackTop" 


What could be wrong?
I'm using WinXP and FPC 2.1.1 



You need to update fpc 2.1.1 to the current SVN version. 

Vincent 


_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives 




_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Cannot build Lazarus

2006-03-10 Thread Mattias Gaertner
On Fri, 10 Mar 2006 15:35:51 +0200
"Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:

> Does Lazarus work with FPC 2.1.1  ?

It should. But it is the development branch, so don't expect it to work
everyday.


Mattias


> 
> Regards,
>   - Graeme -
> 
> 
> On 3/10/06, Vincent Snijders <[EMAIL PROTECTED]> wrote:
> > Jouke Rensma wrote:
> > > Hi all,
> > > Just updated via svn to rev. 8903. Now the build of Lazarus breaks in
> > > MemCheck.pas with this message:
> > > C:\lazarus\components\codetools\MemCheck.pas(797,9) Error: Identifier
> > > not found "StackTop"
> > >
> > > What could be wrong?
> > > I'm using WinXP and FPC 2.1.1
> > >
> >
> > You need to update fpc 2.1.1 to the current SVN version.
> >
> > Vincent
> >
> > _
> >  To unsubscribe: mail [EMAIL PROTECTED] with
> > "unsubscribe" as the Subject
> >archives at http://www.lazarus.freepascal.org/mailarchives
> >
> 
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Cannot build Lazarus

2006-03-10 Thread Graeme Geldenhuys
Does Lazarus work with FPC 2.1.1  ?

Regards,
  - Graeme -


On 3/10/06, Vincent Snijders <[EMAIL PROTECTED]> wrote:
> Jouke Rensma wrote:
> > Hi all,
> > Just updated via svn to rev. 8903. Now the build of Lazarus breaks in
> > MemCheck.pas with this message:
> > C:\lazarus\components\codetools\MemCheck.pas(797,9) Error: Identifier
> > not found "StackTop"
> >
> > What could be wrong?
> > I'm using WinXP and FPC 2.1.1
> >
>
> You need to update fpc 2.1.1 to the current SVN version.
>
> Vincent
>
> _
>  To unsubscribe: mail [EMAIL PROTECTED] with
> "unsubscribe" as the Subject
>archives at http://www.lazarus.freepascal.org/mailarchives
>

_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Cannot build Lazarus

2006-03-10 Thread Vincent Snijders

Jouke Rensma wrote:

Hi all,
Just updated via svn to rev. 8903. Now the build of Lazarus breaks in 
MemCheck.pas with this message:
C:\lazarus\components\codetools\MemCheck.pas(797,9) Error: Identifier 
not found "StackTop"


What could be wrong?
I'm using WinXP and FPC 2.1.1



You need to update fpc 2.1.1 to the current SVN version.

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Cannot build Lazarus

2006-03-10 Thread Jouke Rensma
Hi all, 

Just updated via svn to rev. 8903. Now the build of Lazarus breaks in 
MemCheck.pas with this message: 

C:\lazarus\components\codetools\MemCheck.pas(797,9) Error: Identifier not 
found "StackTop" 



What could be wrong? 

I'm using WinXP and FPC 2.1.1 



Thanks for your help!
Jouke

_
To unsubscribe: mail [EMAIL PROTECTED] with
   "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives