From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1751 invoked by alias); 15 Nov 2011 19:28:51 -0000 Received: (qmail 1741 invoked by uid 22791); 15 Nov 2011 19:28:49 -0000 X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 15 Nov 2011 19:28:09 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RQOfw-0001MV-Gn for cygwin@cygwin.com; Tue, 15 Nov 2011 11:28:08 -0800 Message-ID: <32849825.post@talk.nabble.com> Date: Tue, 15 Nov 2011 19:28:00 -0000 From: viper_88 To: cygwin@cygwin.com Subject: Problems with updating nearly any package meant for Cygwin or using packages such as libtool MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2011-11/txt/msg00248.txt.bz2 First of all, I would like to warn some that this message may be a bit lengthy. I installed Cygwin 1.7.9-1 mainly for the purpose of compiling and trying out THC-Hydra. I've managed to install some necessary dependencies, but other are so troublesome I just can't deal with them. The avalanche of my problems has started when I wanted to install compat-libstdc++ 33-3.2.3. The installation failed due to the following dependencies errors: error: Failed dependencies: /sbin/ldconfig is needed by compat-libstdc++-33-3.2.3-55.fc5 libc.so.6 is needed by compat-libstdc++-33-3.2.3-55.fc5 libc.so.6(GLIBC_2.0) is needed by compat-libstdc++-33-3.2.3-55.fc5 libc.so.6(GLIBC_2.1) is needed by compat-libstdc++-33-3.2.3-55.fc5 libc.so.6(GLIBC_2.1.3) is needed by compat-libstdc++-33-3.2.3-55.fc5 libc.so.6(GLIBC_2.2) is needed by compat-libstdc++-33-3.2.3-55.fc5 libc.so.6(GLIBC_2.3) is needed by compat-libstdc++-33-3.2.3-55.fc5 libgcc_s.so.1 is needed by compat-libstdc++-33-3.2.3-55.fc5 libgcc_s.so.1(GCC_3.0) is needed by compat-libstdc++-33-3.2.3-55.fc5 libgcc_s.so.1(GCC_3.3) is needed by compat-libstdc++-33-3.2.3-55.fc5 libgcc_s.so.1(GLIBC_2.0) is needed by compat-libstdc++-33-3.2.3-55.fc5 libm.so.6 is needed by compat-libstdc++-33-3.2.3-55.fc5 Being presented this message, I thought a good idea would be to first update GCC to its newest version, since libstdc++ required the same files but from different versions of GCC. I found GCC version 4.6.2 and downloaded it but, unfortunately, in order to install it, I also needed a newer version of GNU GMP. The newest yet unofficial version I found was GMP 5.0.2. I thought that installing it would go smoothly, but so I was wrong... The very configuration of GMP 5.0.2 seemed to be working fine. However, when I performed "make" ("make -j 2" in particular, so that the process is faster), I received some warning errors. The errors themselves are as follows: $ make -j 2 > GMP_Make_Output.txt obprintf.c:66:0: warning: ISO C forbids an empty translation unit obvprintf.c:46:0: warning: ISO C forbids an empty translation unit obprntffuns.c:66:0: warning: ISO C forbids an empty translation unit repl-vsnprintf.c:389:0: warning: ISO C forbids an empty translation unit libtool: link: warning: undefined symbols not allowed in pentium4-pc-cygwin shar ed libraries libtool: link: warning: undefined symbols not allowed in pentium4-pc-cygwin shared libraries. I tried configuring GMP 3 times to make sure if there are any variants of options which could solve this problem. I tried to configure it: 1. Without any flags for "./configure". 2. With "./configure --disable-shared --enable-static --enable--cxx" with environment variables (I gave the variables a try after reading this tutorial: http://cygwin.wikia.com/wiki/How_to_install_a_newer_version_of_GCC). 3. With "./configure --disable-shared --enable-static --enable--cxx" without environment variables. Each time the same warnings came up when running "make". Making some research on the Internet, I found out that the error my be the result of no "libtool -no-undefined" command related to forbidding libtool to use shared libraries. I was relatively happy to find another solution to another problem, but still, this wasn't enough... When I run either "libtool --mode=-no-undefined", or "libtool --mode=no-undefined" in libtool 2.4.1, I receive the following message: http://old.nabble.com/file/p32849825/GMP%2Boutputs%2Band%2Bthe%2Blog.zip GMP+outputs+and+the+log.zip http://old.nabble.com/file/p32849825/Libtool%2Boutputs.zip Libtool+outputs.zip $ libtool --mode=-no-undefined libtool: -no-undefined: invalid argument for --mode Again, I thought that updating the libtool itself could, probably, help me. So I checked up the libtool's website and downloaded version 2.4.2. Now the configuration and installation of libtool itself is the point at which my mind boggles completely. The reason for this is that neither "./configure", "make -j 2", nor "make install" doesn't return any error, and after the whole process libtool's version remains at 2.4.1 :/ This is just insane, and I'm starting to feel that using Cygwin is like facing a pyramid of problems... I simply don't know what next to do from here. I don't know if it's the problem with setup.exe which suggests official but older versions than those I downloaded, or maybe something completely else... At this point I am totally clueless and would be incredibly grateful if anyone could help me out. P.S. I've attached the outputs of GMP and libtool installation to this message -- View this message in context: http://old.nabble.com/Problems-with-updating-nearly-any-package-meant-for-Cygwin-or-using-packages-such-as-libtool-tp32849825p32849825.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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