<br><br><div class="gmail_quote">2010/10/4 Juha Manninen (gmail) <span dir="ltr"><<a href="mailto:juha.manninen62@gmail.com" target="_blank">juha.manninen62@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="font-family: 'Sans Serif'; font-size: 10pt; font-weight: 400; font-style: normal;"><div>
<p style="margin: 0px; text-indent: 0px;">On Sunday 03 October 2010 12:25:50 Frank Church wrote:</p>
<p style="margin: 0px; text-indent: 0px;">> I have posted an article and some code on some bash scripts I have</p>
<p style="margin: 0px; text-indent: 0px;">> developed to install FPC and Lazarus from source at</p>
<p style="margin: 0px; text-indent: 0px;">> <a href="http://devblog.brahmancreations.com/content/build-scripts-for-installing-fr" target="_blank">http://devblog.brahmancreations.com/content/build-scripts-for-installing-fr</a></p>
<p style="margin: 0px; text-indent: 0px;">> eepascal-and-lazarus-from-source .</p>
<p style="margin: 0px; text-indent: 0px;">> </p>
<p style="margin: 0px; text-indent: 0px;">> Any comments and tips are well come.</p>
<p style="margin: 0px; text-indent: 0px;"></p>
</div><p style="margin: 0px; text-indent: 0px;">Why are FPC and Lazarus installed in a hidden directory (<span style="color: rgb(128, 0, 0);">${HOMEDIR}</span><span style="font-weight: 600; color: rgb(0, 0, 0);">/</span>.programs/...)?</p>
</div></blockquote><div><br>There is no real reason for that, I have created a visible symlink to it now. It is just that Linux creates too many visible folders in $HOME and I wanted it to be invisible. I realized the folly soon after and created the symlink rather than rename it and break a whole lot of existing stuff.<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 style="font-family: 'Sans Serif'; font-size: 10pt; font-weight: 400; font-style: normal;">
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">I was playing with an idea of a graphical installer. To make the installation really easy and intuitive there should be a GUI. Besides Lazarus itself makes WYSIWYG GUI design easy. The installation should be brought to the same level.</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">The installer would know the OS and recognize the Distro if running on Linux.</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">Then it would find the best way to install FPC.</p>
<p style="margin: 0px; text-indent: 0px;">For windows it would download from SourceForge and install.</p>
<p style="margin: 0px; text-indent: 0px;">For Mac something similar (Apple's developer tools must be installed first!).</p>
<p style="margin: 0px; text-indent: 0px;">For Linux it would check the distro's own package repo and offer to install from there. Like:</p>
<p style="margin: 0px; text-indent: 0px;"> "yum install fpc" for Fedora and Redhat</p>
<p style="margin: 0px; text-indent: 0px;"> "zypper install fpc" for SuSe</p>
<p style="margin: 0px; text-indent: 0px;"> "rpm -i fpc" for other RPM distros</p>
<p style="margin: 0px; text-indent: 0px;"> "apt-get fpc" for Debian and Ununtu</p>
<p style="margin: 0px; text-indent: 0px;">Other distros are derived from those so it would cover almost everything.</p>
<p style="margin: 0px; text-indent: 0px;">If not found in a repo then it would download a package and install it.</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">Then it would offer to install a binary version of Lazarus, or to download the sources of a selected Lazarus version and build it.</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">Installing many FPC and Lazarus versions and switching between them should be supported. There are now some technical problems that prevent it but those problems should be solved.</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">Download and building the sources of Lazarus resembles the Gentoo Linux style.</p>
<p style="margin: 0px; text-indent: 0px;">It could actually be used for any program made with Lazarus.</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">Juha</p>
<p style="margin: 0px; text-indent: 0px;"></p></div><br>--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org" target="_blank">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></blockquote></div><br><br clear="all"><br>-- <br>Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com" target="_blank">http://devblog.brahmancreations.com</a><br>