[Lazarus] following wiki for new clean install from SVN...

Marcos Douglas md at delfire.net
Wed Feb 9 00:35:24 CET 2011


On Tue, Feb 8, 2011 at 1:50 PM, waldo kitty <wkitty42 at windstream.net> wrote:
> 10. step 1: create the specified directories...
>      md c:\freepascal\
>      md c:\freepascal\binutils\
>      md c:\freepascal\binutils\i386-win32\
>      md c:\freepascal\fpc\
>      md c:\freepascal\fpc\2.5.1\
>      md c:\freepascal\laz\
>    ok... 6 directories made...
There is an one error:
Change this c:\freepascal\fpc\2.5.1\  to c:\freepascal\fpc\2.4.3\

I changed on the wiki.

>    b. Dir: c:\freepascal\fpc\2.4.3
>       URL: http://svn.freepascal.org/svn/fpc/branches/fixes_2_4/
>       wait... i don't have a c:\freepascal\fpc\2.4.3 directory... ok...
> let's
>       create it real quick...
>         md c:\freeepascal\fpc\2.4.3

Oh, you saw...  =)

> 18. step 6: execute makelaz.bat to make lazarus... utoh! problem... i
> suspect
>    the fpcmkcfg command line in 16a2 to be in error... when i compare the
>    posted fpc.cfg in the wiki with the one generated, the paths are
> different
>    in the generated one... they all contain "\bin\i386-win32" which is not
> in
>    the one posted on the wiki...
>    a. here's the output and the error i get...

Copy fpc.cfg script on the page... it works.

> i've done this a couple of times and get the same error... however, fixing
> the paths in the fpc.cfg to remove the "\bin\i386-win32" portion put there
> by the above fpcmake command in 16a2 seems to fix this problem...
>
> is the fpcmkcfg command in 16a2 incorrect? should the basepath simply be
> "C:\freepascal\fpc\2.4.3" or will this cause other problems??

I use the script on the page... the fpcmkcfg was included later (by
someone), but I not tested.

> correcting the 13 instances to remove the "\bin\i386-win32" portion allow
> makelaz.bat to execute and there appears to be a valid executable at the
> end... i'm even able to create, compile and execute the two button "your
> first lazarus program" tutorial (when i can locate it in the wiki) so i
> assume that i have a valid fpc and lazarus environment...
>
> am i missing anything? what about cross-compiling capabilities? i should be
> able to add OS/2 and DOS to this setup pretty easily, right? i know i need
> libraries and such for them to get started with... are there step by step
> instructions that will meld with this layout??
>
> thanks for reading... i hope this one wasn't off topic or otherwise
> undesired as so many of my past posts seemingly have been...

Please, try again. I saw the wiki instructions. I think just the path
(\2.5.1 to \2.4.3) was wrong (before, at the first time, I used the
2.5.1 compiler. After I changed to 2.4.3 and I forgot to change the
wiki... sorry).


Marcos Douglas




More information about the Lazarus mailing list