X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Paul Bibbings Subject: Problems with qt4, requiring local repair Date: Mon, 01 Mar 2010 19:36:35 +0000 Lines: 55 Message-ID: <871vg37s1o.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hello I'm currently trying to iron out a few problems with my installation that have come to light having just installed most of the Cygwin qt4 (4.5.3-1) packages. I shall want to ask what my options on for repairing what appears to be a broken installation, assuming that my analysis is correct. Here's the background. Having tried to build a sample app in Cygwin using Qt4 I got errors relating to cygstdc++-6.dll when attempting to run it. I soon discovered that the same errors were occuring when I attempted to run the installed Qt4 utilities. Thus, from a cmd prompt on Windows Vista (the error message is not shown running under Cygwin bash): c:\>c:\cygwin\lib\qt4\bin\qmake "The procedure entry point __gxx_personality_v0 could not be located in the dynamic link library cygstdc++-6.dll" When I ran cygcheck, what looked like a problem began to come to light: 18:37:17 Paul Bibbings AT JIJOU ~ $cygcheck -v /usr/lib/qt4/bin/qmake | grep cygstdc++-6 C:\cygwin\bin\cygstdc++-6.dll - os=4.0 img=1.0 sys=4.0 "cygstdc++-6.dll" v0.0 ts=2010/1/31 0:09 The time stamp on cygstdc++-6.dll looks more than suspicious, since I wouldn't have expected this to have changed from my having upgraded to Cygwin 1.7 somewhere towards the end of last year. Then I remembered a rocky build and a bad `installation' of a recent gcc snapshot, and sure enough: 19:04:42 Paul Bibbings AT JIJOU ~ $ls -l /opt/gcc-4.5.0/bin | grep gcc.exe -r-xr-xr-x+ 1 Paul Bibbings None 1659007 2010-01-31 23:25 gcc.exe ^^^^^^^^^^ What I had done was set a bad --prefix when configuring this build and the install sent it right into the heart of my Cygwin installation (instead of to /opt, where I normally put my home builds, configuring them into the alternatives system subsequently). I had then thought that I had successfully cleaned everything up manually, but it seems that I haven't. Checking for other similar fallout, I have: 19:05:53 Paul Bibbings AT JIJOU ~ $ls -l /usr/bin | grep 2010-01-31 -rwxr-xr-x 1 ... 392653 2010-01-31 00:57 cyggcc_s-sjlj-1.dll -rwxr-xr-x 1 ... 54744 2010-01-31 00:57 cygssp-0.dll -rwxr-xr-x 1 ... 5425909 2010-01-31 00:57 cygstdc++-6.dll Can anyone suggest what minimal packages I might reinstall in order to repair/restore these .dlls, the last of which is certainly required to be correct for Qt4? Regards Paul Bibbings -- 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