<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Open a shell and use ls and/or find to locate where File/Temp.pm is
located. Likely the C:\ will be represented as /c/. Add that path to your @INC
variable with a begin or use lib statement.</DIV>
<DIV> </DIV>
<DIV>However your application is not going to be portable to another machine
where this folder and file does not exist. Perhaps you need to make sure that
the file is packaged into the application to start with. Perhaps add an explicit
‘use File::Temp;’ statement.</DIV>
<DIV> </DIV>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">Indy
Singh<BR>IndigoSTAR Software -- www.indigostar.com</DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=fulko.hew@gmail.com
href="mailto:fulko.hew@gmail.com">Fulko Hew</A> </DIV>
<DIV><B>Sent:</B> Friday, June 07, 2013 11:42 AM</DIV>
<DIV><B>To:</B> <A title=stuart@morungos.com
href="mailto:stuart@morungos.com">Stuart Watt</A> </DIV>
<DIV><B>Cc:</B> <A title=toronto-pm@pm.org
href="mailto:toronto-pm@pm.org">TPM</A> </DIV>
<DIV><B>Subject:</B> [tpm] PAR::Packer and cygwin</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none"><FONT
face="courier new,monospace">After a lot of fighting... I've made some progress
on my battle<BR>of using PAR to package my app on various OSs.<BR><BR>[I've
gotten something built on Solaris and now I just have to find out<BR>how to make
a proper pkgadd package out of it.]<BR><BR>But my question of the day is really
the MS Windows / Cygwin environment.<BR>I hope you (or anyone else) can
help...<BR><BR><BR>When I run my Cygwin/PAR application under a DOS
shell<BR>(with PATH also pointing to c:\cygwin\bin) it now
actually<BR>starts my app, but it immediately dies with:<BR><BR>Can't locate
File/Temp.pm in @INC ...<BR><BR>Is it because of slash versus backslash?<BR>Is
it because @INC contains entries like /usr/lib/perl5...<BR>Is it because the
@INC entries are rooted at '/' and Windows<BR> doesn't understand that and
Cygwin modules aren't kicking in?<BR><BR>Any
clues?<BR><BR>Fulko<BR><BR>PS: For those not privy to my earlier
background discussions:<BR><BR>- I can't use Strawberry Perl because some of the
modules I need<BR> don't work under it, only works under Cygwin
Perl.<BR><BR>- I'm trying to make a single executable for distribution<BR>
(that's what PAR is for)<BR><BR>- It needs to be invokable from DOS (srvany) and
not from within<BR> CYGWIN's terminal window<BR></FONT>
<P>
<HR>
_______________________________________________<BR>toronto-pm mailing
list<BR>toronto-pm@pm.org<BR>http://mail.pm.org/mailman/listinfo/toronto-pm<BR></DIV></DIV></DIV></BODY></HTML>