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]

Problems with updating nearly any package meant for Cygwin or using packages such as libtool


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


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