From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9577 invoked by alias); 16 Jan 2009 20:24:42 -0000 Received: (qmail 9564 invoked by uid 22791); 16 Jan 2009 20:24:41 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from ns2.prospeed.net (HELO mail.prospeed.net) (64.25.80.140) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 16 Jan 2009 20:24:01 +0000 Received: from localhost.localdomain (lhall.prospeed.net [64.25.83.123]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.prospeed.net (Postfix) with ESMTP id 2FF1E2801616F for ; Fri, 16 Jan 2009 15:23:57 -0500 (EST) Message-ID: <4970EC83.4080905@cygwin.com> Date: Fri, 16 Jan 2009 21:05:00 -0000 From: "Larry Hall (Cygwin)" Reply-To: cygwin@cygwin.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20090101 Remi/2.0.0.19-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Uninstall/reinstall References: <380-220091516162941142@M2W022.mail2web.com> In-Reply-To: <380-220091516162941142@M2W022.mail2web.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2009-01/txt/msg00510.txt.bz2 royman17@verizon.net wrote: > I encountered a problem with v1.5.25-15 on Windows XP. My application is > C/C++ with an embedded Perl interpreter. The C/C++ code worked fine until > I attempted to invoke the perl script. I got an invalid DLL error. > I'm not really asking about this -- it's the steps I took to address the > DLL problem where I must have overlooked something. > > Thinking their might have been an install error or a conflict between > multiple perl interpreters, I decided to uninstall/reinstall cygwin. > ActivePerl had been installed on the machine as well. I checked out > the web pages for uninstalling cygwin and cleaning out the registry and > carried out the steps. > > When I re-installed cygwin, two things went wrong. The first was that > bash was not installed by setup.exe. I was able to remidy this problem > simple enough by finding the tar.gz file containing bash and restoring it > to the right location. > > The second problem was that cygwin1.dll was not installed. Nor could I > find it in the distribution package. (I assume it is built on the fly > somehow.) > > Ultimately, the sys admin re-loaded windows on my machine. (Not only does > this solve a re-install problem, but it would clean out the registry and > possibly remove any corrupt dlls, so overall it made sense.) I am about to > re-install a version of cygwin on my computer, but I am concerned about > encountering the original dll problem again -- meaning that I could have to > uninstall/reinstall cygwin again -- maybe go to a different version of Perl > or an earlier version of cygwin. > > What I want to know is, what did I do wrong in the uninstall? Or in the > reinstall? Impossible to tell given the generalities you mentioned here. Personally, I wouldn't have chosen to uninstall and reinstall Cygwin to try to fix your original problem. I would have looked for what the problem was and tried to fix that. It does sound like you had some clash in your tools (ActiveState's perl and Cygwin's perhaps) but I can't be sure. One thing I can say that you shouldn't do is install packages manually if you don't know exactly what you're doing. 'setup.exe' is designed to handle all the little details you wouldn't normally think of so using it is the safest route. My WAG is that you had some Cygwin service or bash process (or both) running when you uninstalled, which would leave those in place and inhibit the installation of the reinstalled versions. Also note that the Cygwin DLL comes from the cygwin package. It is not built on the fly. HTH, -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/