<br><br><div class="gmail_quote">On 17 July 2011 15:57, Bart <span dir="ltr"><<a href="mailto:bartjunk64@gmail.com">bartjunk64@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
You must be doing something wrong then.<br>
<br>
* Assuming fpc binaries and binutils are in %path%<br>
* After updating the sources from svn:<br>
<br>
cd \path_to_lazarus_sources<br>
make clean all OPT='-gl'<br>
<br>
that should be all.<br>
(Then in Lazarus IDE set compiler to the same one you used to build<br>
Lazarus, or things go wrong.)<br>
<br>
Done that hundreds of times on WinME.<br>
<br>
Bart<br>
<br>
PS. If you are in bad luck, the sources will not build, because there<br>
is an error in latest trunk.<br>
Most of the times pretty easy to find out what and where and then<br>
patch it (and report in Mantis)<br>
<div><div></div><div class="h5"><br>
On 7/17/11, Frank Church <<a href="mailto:vfclists@gmail.com">vfclists@gmail.com</a>> wrote:<br>
> On 16 July 2011 23:22, Marcos Douglas <<a href="mailto:md@delfire.net">md@delfire.net</a>> wrote:<br>
><br>
>> 2011/7/16 Frank Church <<a href="mailto:vfclists@gmail.com">vfclists@gmail.com</a>><br>
>> ><br>
>> > I had a go buidling Lazarus with this short script<br>
>> >><br>
>> >> set oldpath=%PATH%<br>
>> >><br>
>> >> PATH=M:\Lazarus\Binutils;%PATH%<br>
>> >><br>
>> >> make clean all PP=M:\FreePascal\251_17989\bin\i386-win32\ppc386.exe<br>
>> >><br>
>> >> make install INSTALL_PREFIX=M:\LazarusExes\binaries\0931_30714<br>
>> PP=M:\FreePascal\251_17989\bin\i386-win32\ppc386.exe<br>
>> >><br>
>> >> PATH=%oldpath%<br>
>> ><br>
>> ><br>
>> ><br>
>> > It appears to compile okay except adding packages to the IDE doesn't<br>
>> work. It goes through the steps okay, but nothing get's added to the IDE<br>
>> ><br>
>> > Is this all I need to compile Lazarus? Lazarus was installed in<br>
>> c:\lazarus rather than M:\LazarusExes\binaries\0931_30714 where I wanted<br>
>> it.<br>
>> ><br>
>> ><br>
>> ><br>
>> > Are there some additional options to the build I missed out?<br>
>> ><br>
>> ><br>
>> ><br>
>> > Is the source for building the windows snapshots available?<br>
>><br>
>> See this:<br>
>><br>
>> <a href="http://wiki.lazarus.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29" target="_blank">http://wiki.lazarus.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29</a><br>
>><br>
>> After you got the lazarus.exe, just use the IDE to compile it self and<br>
>> your packages installed.<br>
>><br></div></div></blockquote><div><br>What of the installation phase, when you have to copy the Lazarus build to the location of your choice, which is not c:\lazarus?<br><br>I have it working near perfectly for on Linux, how do you accomplish that on Windows.<br>
<br>It looks like the responses are for installing into c:\lazarus, which is what happened in my build until I used the INSTALL_PREFIX option.<br><br>As I mentioned earlier if the snapshots are built flawlessly every time, then there is a script that does it and can make things simpler for everyone else.<br>
<br>INSTALL_PREFIX works fine with Linux.<br><br>I'll have another go and get back with the results.<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div class="h5">
>> Marcos Douglas<br>
>><br>
>> --<br>
>> _____<br>
>><br>
><br>
> I am getting a whole load of errors when I try to recompile it. **** 1887<br>
> error during make ****.<br>
><br>
> If it is a worthwhile hint, the Help About dialog does not show the SVN<br>
> version, unless it is because I deleted the .svn folders to make it a<br>
> smaller download<br>
><br>
><br>
> In relation to the inadequate information on the wiki, the source code for<br>
> building the Lazarus snapshots must be out there somewhere.<br>
><br>
> Is it available in Lazarus repository? That will be a whole lot better than<br>
> the trial and error process Lazarus users go through every day.<br>
><br>
><br>
>> __________________________________________<br>
>> Lazarus mailing list<br>
>> <a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
>> <a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> Frank Church<br>
><br>
> =======================<br>
> <a href="http://devblog.brahmancreations.com" target="_blank">http://devblog.brahmancreations.com</a><br>
><br>
<br>
</div></div>--<br>
_______________________________________________<br>
<div><div></div><div class="h5">Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a><br>