I believe that using `uname | grep CYGWIN` in Makefile.PL should be able to handle the Cygwin system type.<br>
<br>
Cheers,<br>
<br>
Jim<br>
<br>
-----Original Message-----<br>
From: Ari Jolma <ari.jolma@tkk.fi><br>
To: Joaquim Luis <jluis@ualg.pt><br>
Cc: jingmuyang@aol.com; gdal-dev@lists.osgeo.org<br>
Sent: Sat, 19 Jan 2008 6:14 pm<br>
Subject: Re: [gdal-dev] GDAL 1.5.0 Perl Binding on Cygwin<br>
<br>
<div id="AOLMsgPart_0_da1a8c41-dc0b-4cd1-a139-16a3e1dcdfff" style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> Joaquim Luis kirjoitti: <br>
> Ari Jolma wrote: <br>
>> <a href="mailto:jingmuyang@aol.com">jingmuyang@aol.com</a> kirjoitti: <br>
>>> I have successfully built GDAL 1.5.0 Perl binding on
Cygwin and the >>> followings might be helpful for those who
experience problems. <br>
>>> <br>
>>> 2. Edit each of the four Makefiles by appending -lstdc++ after each >>> -lgdal and save them. <br>
>> <br>
>> If you tell me how to detect Cygwin reliably I can add this to >> Makefile.PL <br>
> <br>
> Ari, <br>
> Within GMT a cygwin installation is detected with a <br>
> <br>
> #ifdef _WIN32 <br>
<br>
Ah, I meant in Makefile.PL, i.e., by Perl. It's probably something in Config.pm? <br>
<br>
Ari <br>
<br>
> <br>
> and that has worked well since a long time. <br>
> <br>
> Joaquim Luis <br>
<br>
-- Prof. Ari Jolma <br>
Geoinformatiikka / Geoinformatics <br>
Teknillinen Korkeakoulu / Helsinki University of Technology <br>
tel: +358 9 451 3886 address: POBox 1200, 02015 TKK, Finland <br>
Email: ari.jolma at tkk.fi URL: <a target="_blank" href="http://www.tkk.fi/%7Ejolma">http://www.tkk.fi/~jolma</a> <br>
<br>
</div>
<div class="AOLPromoFooter">
<hr style="margin-top:10px;" />
More new features than ever. Check out the new <a href="http://o.aolcdn.com/cdn.webmail.aol.com/mailtour/aol/en-us/text.htm?ncid=aolcmp00050000000003" target="_blank">AOL Mail</a>!<br/>
</div>