Baffling. Perhaps someone else can help you.<br><br><div class="gmail_quote">2011/11/17 Antony Chrysochoou <span dir="ltr">&lt;<a href="mailto:achrysochoou@hotmail.com">achrysochoou@hotmail.com</a>&gt;</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><div dir="ltr">
Hi,<br><br>I downloaded and successfully extracted and installed FWTools 3.0.1 in my /home/ directory.<br><br>I am trying to set the path from my root directory (i guess it does not matter where I am) using the following command: export PATH=$PATH:/home/FWTools-linux-i686-3.1.0/bin_safe/<br>
<br>and then if I try to run ogr2ogr commands, I get the following error: /home/FWTools-linux-i686-3.1.0/bin_safe/ogr2ogr: 9: /home/FWTools-linux-i686-3.1.0/usr/bin/ogr2ogr: not found<br><br>even though I can see that the ogr2ogr file is there both on /bin_safe/ and /usr/bin/ directories<br>
<br>Any suggestions?<br><br>Thanks again and again!<br><br><i><font face="Times New Roman">Antony Chrysochoou</font></i><br><br><br><br><div><hr>Date: Thu, 17 Nov 2011 20:36:10 +0530<br>Subject: Re: [FWTools] bin/python: not found<br>
From: <a href="mailto:chaitanya.ch@gmail.com" target="_blank">chaitanya.ch@gmail.com</a><br>To: <a href="mailto:achrysochoou@hotmail.com" target="_blank">achrysochoou@hotmail.com</a><br>CC: <a href="mailto:fwtools@lists.maptools.org" target="_blank">fwtools@lists.maptools.org</a><br>
<br>Antony,<br><br>A few others had the same problem without a solution. I suggest using the latest package (FWTools 3.x) from <a href="http://home.gdal.org/fwtools/" target="_blank">http://home.gdal.org/fwtools/</a> or better yet, use a repository as suggested in <a href="http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries#Linux" target="_blank">http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries#Linux</a><br>

<br><div>2011/11/17 Antony Chrysochoou <span dir="ltr">&lt;<a href="mailto:achrysochoou@hotmail.com" target="_blank">achrysochoou@hotmail.com</a>&gt;</span><br><blockquote style="padding-left: 1ex;">




<div><div dir="ltr">
Ok, <br><br>I did it again in my /home/user directory and again I cannot install it. <br>In the FWTools-2.0.6 directory there is a bin folder that contains a file named &#39;python&#39;. I am attaching it in case you want to check if it is the correct file. <br>

<br>thanks again!<br><br><i><font face="Times New Roman">Antony Chrysochoou</font></i><br><br><br><br><div><hr>Date: Thu, 17 Nov 2011 17:14:04 +0530<div><div></div><div><br>Subject: Re: [FWTools] bin/python: not found<br>

From: <a href="mailto:chaitanya.ch@gmail.com" target="_blank">chaitanya.ch@gmail.com</a><br>To: <a href="mailto:achrysochoou@hotmail.com" target="_blank">achrysochoou@hotmail.com</a><br><br>Antony,<br><br>Just check if the file bin/python was created and I don&#39;t mean /bin/python<br>

<br>IMHO, It&#39;s not prudent to do this kind of stuff in the root folder. <br>Try your home directory. /home/&lt;your_userid&gt;<br>
<br><div>2011/11/17 Antony Chrysochoou <span dir="ltr">&lt;<a href="mailto:achrysochoou@hotmail.com" target="_blank">achrysochoou@hotmail.com</a>&gt;</span><br><blockquote style="padding-left: 1ex;">




<div><div dir="ltr">
Hi,<br><br>thanks for replying, i used a simple unzip command &gt;tar xzvf ...<br>and I do not see any error happening when extracting files..Is there a special way to see if there was an error? I think it would show it if a file was not extracted properly..<br>


I downloaded and copied the zipped file in my server /&lt;root&gt; and then run a tar xzvf command to extract the files. But I cannot see anything wrong happenign in these steps. Do you think something else is going wrong? I can always redo the whole thing.<br>


<br>Thanks! <br><font color="#888888"><br><i><font face="Times New Roman">Antony Chrysochoou</font></i><br></font><div><br><br><br></div><div><div><hr>Date: Thu, 17 Nov 2011 16:42:06 +0530<br>Subject: Re: [FWTools] bin/python: not found<br>


From: <a href="mailto:chaitanya.ch@gmail.com" target="_blank">chaitanya.ch@gmail.com</a><br>To: <a href="mailto:achrysochoou@hotmail.com" target="_blank">achrysochoou@hotmail.com</a><br>CC: <a href="mailto:fwtools@lists.maptools.org" target="_blank">fwtools@lists.maptools.org</a></div>


<div><div></div><div><br><br>Antony,<br><br>The bin/python in line 33 refers to the python binary file in the bin directory created by extracting the FWTools tar file, not /bin.<br>Check if the tar file is extracted correctly and the files are created OK.<br>



<br><div>2011/11/17 Antony Chrysochoou <span dir="ltr">&lt;<a href="mailto:achrysochoou@hotmail.com" target="_blank">achrysochoou@hotmail.com</a>&gt;</span><br><blockquote style="padding-left: 1ex;">




<div><div dir="ltr">
Hi,<br><br>I am sorry if I am posting in the wrong email, but I haven&#39;t found a link for a forum or discussion interface yet...<br>I downloaded and unzipped the FWtools but when I cd to the directory and type ./install.sh, it throws an error<br>



./install.sh: 33: bin/python: not found<br><br>This is weird because python is installed and runs fine. Have you come accross this error before?<br><br>Thank you for your time and effort.<br><br>Kind regards,<br><font color="#888888"><br>



<i><font face="Times New Roman">Antony Chrysochoou</font></i><br><br>                                               </font></div></div>
<br>_______________________________________________<br>
FWTools mailing list<br>
<a href="mailto:FWTools@lists.maptools.org" target="_blank">FWTools@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/fwtools" target="_blank">http://lists.maptools.org/mailman/listinfo/fwtools</a><br>
<a href="http://fwtools.maptools.org/" target="_blank">http://fwtools.maptools.org/</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br><br><a>+91-9494447584</a><br>17.2416N 80.1426E<br></div></div>
</div>                                               </div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br><br><a>+91-9494447584</a><br>17.2416N 80.1426E<br></div></div></div>
                                               </div></div>
</blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br><br><a href="tel:%2B91-9494447584" value="+919494447584" target="_blank">+91-9494447584</a><br>17.2416N 80.1426E<br>
</font></div>                                               </div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br><br>+91-9494447584<br>17.2416N 80.1426E<br>