LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't ./configure glibc-2.3.2 (https://www.linuxquestions.org/questions/linux-newbie-8/cant-configure-glibc-2-3-2-a-184670/)

michelbehr 05-22-2004 09:25 PM

Can't ./configure glibc-2.3.2
 
Hi!

I had a problem with glib-2.3.1, some programs I wanted to install required glibc-2.3.2 (Thunderbird, the mail client), but I couldnt find a glibc-2.3.2.tgz file to install... So what did I do? I removed glibc-2.3.1 package to install 2.3.2 from source tar.gz. Big mistake: now I cant ./configure the damn thing! The message I got:

michel@michel:~/Download/glibc-2.3.2/glib-build$ ../configure
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking sysdep dirs... sysdeps/i386/elf sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux sysdeps/gnu sysd
eps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386
sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu sysdeps/i386/i686 sysdeps/i386/i486 sysdeps/i386/fpu sysdeps
/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee75
4 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether ln -s works... yes
checking for pwd... /usr/bin/pwd
checking for gcc... gcc
checking version of gcc... 3.2.2, ok
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 3.80, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.11.5, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 4.5, ok
checking for sed... sed
checking version of sed... 4.0.5, ok
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
michel@michel:~/Download/glibc-2.3.2/glib-build$

To be honest, I'm lost here...

Thanx in advance!!

(BTW, Im almost giving up Slack because of this difficulties on upgrading stuff, im moving to Knoppix... any suggestions??)

46&2 05-23-2004 02:29 AM

my first suggestion would be to not give up on slack. sometimes, slackware is like a game of golf. things can go horribly all day, but there are brief moments of success, though few and far between, which makes it all worth it.

as for a .tgz package, i can help you out there. here is the mirror i use to get all my official slackware-current stuff:

http://slackware.oregonstate.edu/slackware-current/
or
ftp://slackware.oregonstate.edu/pub/...kware-current/

from there, click the folder called slackware, then the file called FILE_LIST and then do a search for glib to find where all the glib packages are. good luck! don't give up yet!

whansard 05-23-2004 02:42 AM

you can't uninstall glibc. packages on your system will be linked to a specific version, so you upgrade, and the old one stays on your system. you'll have to reinstall the old, then follow a bunch of instructions for upgrading glibc.

Electro 05-23-2004 03:00 AM

Why can not you just download the static version. Then you do not have to worry about upgrading.

michelbehr 05-23-2004 07:15 PM

Different way
 
I solved the problem quite strangely: I knew there was a tgz package of glib-2.3.2 somewhere on the web... so I installed swaret and installed glibc using it... although the concept os swaret is great, its list of aplications is very very small, cant be compared with Debians list...

For me, as far as I can see, the great thing about Knoppix is that it is very lite, and yet has the apt-get feature of Debian... On the other side I'd like to know how to maintain my system by my own, without using apt-get, but I'm tired of googling about dependencies, copying commands without knowing what I'm doing... I mean, what I wanted was to LEARN how stuff works on linux, using Slack... but this is not happening... I know it takes some effort to learn Slack, but I got tired of searching stuff for hours just to do simple stuff AND without knowing EXACLY what im doing... maybe I'm too dumb to use Slack! :-P Dont know... Im using Slack for about 6 months and i feel like a rookie...

Anyway, thanx for the help!... Please, convince me to stick with Slack! :-) I want to know why people think its so good...

quatsch 05-23-2004 07:34 PM

if you want to learn how things work, I think trying linux-from-scratch is a good idea. You'll be using Slack to install another system to a spare hd/partition. It's quite fun and not as hard as it seems so long as you do what they tell you to do in the book.

dand 12-08-2004 03:19 AM

This is a question for Electro:

Do you know where I can download the static version of glibc-2.3.2-5. I have the rpm package but I cannot downgrade from what we currently have (glibc-2.3.2-95.27).

Any help apreciated!

Regards, Dan.

Electro 12-08-2004 10:31 PM

What I mean about static version is the program Thunderbird not glibc-2.3.2. If you can find Thunderbird that has been compiled as static, then you do not have to worry about glibc or any library that Thunderbird depends. Though compiling a program as static increases the size of it and it can sometimes be slow when it starts up. A program called Opera, a web browser, that you have an option to download the shared or static pre-compiled version.

I hope you uninstall your old version of glibc before installing the newer version of glibc.

The only reason why Slackware is good is because you are in a lot more control than any distributions besides Debian or LFS and that is about it. Slackware is not any different than other distributions. It has the same steps and the same problems.

IMO, Mandrake 9.0 showd me what it was doing like making partitions and format them by using the ps utility. It also showd me how to setup the network. Distributions like Redhat uses tons of commands that is only works in GUI.

dand 12-09-2004 04:45 AM

Sorry Electro, I didn't read the first post about Thunderbird. I thought it was just a general discussion about glibc problems. This has nothing to do with Thunderbird.

What I am trying to do is build our applications whilst linking with Oracle libraries. However, these libraries have different definitions to those defined in the version of glibc we are running with (glibc-2.3.2-95-.27). I have found that this has been fixed in version glibc-2.3.2-5 but I cannot find the sourve for this anywhere. I have found the .rpm package but Linux RHAS3 will not allow me to downgrade. I am not able to uninstall glibc as the .rpm package doesn't even exist on the machine. Therfore, I cannot downgrade to 2.3.2-5. Do you know how I could do this or if there is a .tar.gz file with the 2.3.2-5 source available to download?

Regards, Dan.

virtuallife 01-28-2005 05:18 AM

Hi, Dan,
I am also building my applications based on Oracle libraries. And I encountered the same problems as you. I tried to search for the answer in the Internet, and got some useful passages, then I knew that I should downgrade glibc in my Red Hat 9 for Oracle 9i. But the old URL to down the glibc-2.3.2-5 is expired now, and I failed to find other url to download it.
Would you be so kind to tell me where to download it? Thank you.

__J 01-28-2005 05:32 AM

uhh, downgrade glibc??? make sure you know what you are doing. ( It might be better to build a static glibc in this case and force the system to link against it when building your oracle apps)

dand 01-28-2005 05:57 AM

virtuallife,

here are the links for the .rpm and .tar file download sites:

http://rpm.pbone.net/index.php3

http://www.artfiles.org/gnu.org/glibc/

here are some instructions on how to install:

http://www.linux.com/howtos/Glibc2-HOWTO-5.shtml

http://www.redhat.com/archives/redha.../msg01736.html

however, i found out this before i tried to install:

Linking Applications With Oracle Client Libraries

If your client application is compiled using a version of glibc other than version 2.2.4, you must link it with the client shared library. The use of the client static library is not supported.

therefore, you should really try to link your app with libclntsh.so rather than the static library. this worked for me and the client side should have this same lbrary so it will work at run time.

hope this helps, dan!!!

Snipersnest 01-28-2005 07:23 AM

I've been having this same problem on Fedora Core 3..... Will all the links listed above work for my distro also?

I just want to install the MP3 support for Linux but ran into this problem while trying to install it...seems a great deal of things I've tried lately do this.


All times are GMT -5. The time now is 09:59 AM.