This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can't use DBI and mod_perl together in Cygwin.


AAAAAAAAAAAAARRRRRGH!!!!!

I've had this burn me before and forgot about it. Just needed:

setenv SystemRoot C:\\winnt
setenv SystemDrive C:

in my httpd.conf file.

Thanks Brian, have someone near you give you a big pat on the back. I really appreciate your post!



Brian Dessent wrote:

kurt heston wrote:


I've traced my problem to the TCP/IP stack. The code below gives:

"Can't get tcp protocol by name at
/var/www/htdocs/groups/Purch/bin/secure/test.cgi line 12"


You're missing the SYSTEMROOT environment variable in your CGI
environment.  Recent Cygwin DLLs try to circumvent this, so make sure
you're using the latest.  Otherwise make sure SYSTEMROOT is set in the
environment under which the CGI is running.  (That is why it works from
a prompt but not from CGI.)

Was this one added to the FAQ yet?

Brian

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]