delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/09/16/01:33:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell?
Date: Thu, 15 Sep 2011 22:33:07 -0700
Lines: 42
Message-ID: <j4un2k$uor$1@dough.gmane.org>
References: <loom DOT 20110915T060405-768 AT post DOT gmane DOT org> <loom DOT 20110915T150817-936 AT post DOT gmane DOT org> <4910244359 DOT 20110915185240 AT mtu-net DOT ru> <4E721B17 DOT 5080004 AT molconn DOT com> <loom DOT 20110915T190625-475 AT post DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2
In-Reply-To: <loom.20110915T190625-475@post.gmane.org>
X-Stationery: 0.7.5
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 09/15/11 10:28, Ted Byers wrote:
> LMH<lmh_users-groups<at>  molconn.com>  writes:
>> I am a bit confused as to the role of perl here.
> Hi LMH
>
> Thanks
>
> I have an installation of Apache's httpd server; directly from the Apache
> website, not the one available through cygwin (in fact, there'd be no point
> since that apache install is on a different machine).  And I run a number of
> cgi programs written in perl.  That is one role for perl in this setup.
Either stay in the Cygwin world, using an Apache that understands thinks 
like POSIX paths and symlink or stay *out* of the Cygwin world with the 
Windows version of ActiveState Perl and Apache which knows nothing about 
POSIX paths, symlinks and the like. It is your best bet. You can cross 
the two worlds but you need to be fully cognizant of when you are 
crossing the boundary and do (as the Indian head hunters say) "the 
needful" to cross such boundaries.
> The other for perl is for my I have a stripped down, basic HTTP Server written
> in perl.
Why would you write a web server in Perl and, as you have stated, 
install a Windows version of Apache?
>    I know, I can probably develop the same thing using boost's asio
> library,
???
>   but in this case, perl and the http server package are so simple to
> use, I opted for it.  But I developed it using Activestate's Perl
> distribution.  In fact, though I know perl is installed in in my cygwin
> environment, I never bothered with it because Activestate's perl package
> manager has made it so simple to install the hundreds of perl packages that I
> use.  I shudder at the thought of trying to install the same suite of packages
> using cpan from the bash commandline.
You actually *use* "hundreds of perl packages"??? Methinks you should 
rethink your development environment!

Have you researched cpan bundles?

ActiveState may have it's PPM facility but the vast majority of CPAN 
contributors are Unix/Linux based and care not about PPM.
-- 
Andrew DeFaria <http://defaria.com>
Do Lipton Tea employees take coffee breaks?


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019