I change the !/bin/sh to !/bin/bash at the top of the .sh files. At moment if running. If I have another problem I ask you. Thanks. I am making a document about the installation, but I am making in spanish.<br><br>Thanks.<br>
<br><br><br><div class="gmail_quote">2009/4/20 Traian Stanev <span dir="ltr">&lt;<a href="mailto:traian.stanev@autodesk.com">traian.stanev@autodesk.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Can’t we just change the build .sh files to refer to !/bin/bash
at the top instead of !/bin/sh? This would make it unambiguous which shell
needs to execute them, even if the user is using a shell other than bash as
their default shell (all those korn and C shell users out there, heh).</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Traian</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:fdo-users-bounces@lists.osgeo.org" target="_blank">fdo-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:fdo-users-bounces@lists.osgeo.org" target="_blank">fdo-users-bounces@lists.osgeo.org</a>] <b>On
Behalf Of </b>Jason Birch<br>
<b>Sent:</b> Monday, April 20, 2009 12:33 PM<br>
<b>To:</b> FDO Users Mail List<br>
<b>Subject:</b> RE: [fdo-users] Compiling FDO 3.4.0 on Ubuntu 8.04</span></p>

</div>

</div><div><div></div><div class="h5">

<p> </p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-CA">This is typically due to Ubuntu shipping with a non-bash sh as
the default shell.  You can change this be typing:</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-CA"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-CA">sudo dpkg-reconfigure dash</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-CA"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-CA">and selecting &quot;No&quot;.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-CA"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-CA">There are some basic compilation notes for Ubuntu here; please
feel free to update them as you progress...</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-CA"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-CA"><a href="http://wiki.osgeo.org/wiki/Building_MapGuide_on_Ubuntu_8.04" target="_blank">http://wiki.osgeo.org/wiki/Building_MapGuide_on_Ubuntu_8.04</a></span></p>


<p><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-CA"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-CA">Jason</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-CA"> </span></p>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> Micho Gar<br>
<b>Sent:</b> April-20-09 8:45 AM<br>
<b>Subject:</b> [fdo-users] Compiling FDO 3.4.0 on Ubuntu 8.04</span></p>

</div>

<p><span lang="EN-CA"> </span></p>

<p style="margin-bottom: 12pt;"><span><span lang="EN-CA">Hi all, when I execute bash build_thirdparty.sh I have this error: </span></span><span lang="EN-CA"><br>
<br>
<span>./Thirdparty.sh: 27: Syntax error: Bad fd number </span><br>
<span>make[1]: se ingresa al directorio
`/home/michogar/mapguide/OpenSource_FDO/Thirdparty&#39; </span><br>
<span>make[1]: *** No hay ninguna regla para construir el
objetivo `apache/xml-xalan/c/lib/libxalan-c.so.17.0&#39;, necesario para `all-am&#39;.
 Alto. </span><br>
<span>make[1]: se sale del directorio
`/home/michogar/mapguide/OpenSource_FDO/Thirdparty&#39; </span><br>
<span>make: *** [install-recursive] Error 1 </span></span></p>

</div></div></div>

</div>


<br>_______________________________________________<br>
fdo-users mailing list<br>
<a href="mailto:fdo-users@lists.osgeo.org">fdo-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/fdo-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/fdo-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br># michogar<br># Analista Programador SIG<br># GNU/Linux Counter 462666<br><br>Una visión personal:<br><a href="http://michogar.blogspot.com">http://michogar.blogspot.com</a><br>
<br>El dia a dia: <br><a href="http://twitter.com/michogar">http://twitter.com/michogar</a><br><br><br>