LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-22-2004, 10:25 PM   #1
michelbehr
Member
 
Registered: Oct 2003
Location: Brazil
Distribution: Gentoo
Posts: 35

Rep: Reputation: 15
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??)
 
Old 05-23-2004, 03:29 AM   #2
46&2
Member
 
Registered: Mar 2004
Location: Idaho, USA
Distribution: Gentoo
Posts: 67

Rep: Reputation: 15
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!
 
Old 05-23-2004, 03:42 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
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.
 
Old 05-23-2004, 04:00 AM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Why can not you just download the static version. Then you do not have to worry about upgrading.
 
Old 05-23-2004, 08:15 PM   #5
michelbehr
Member
 
Registered: Oct 2003
Location: Brazil
Distribution: Gentoo
Posts: 35

Original Poster
Rep: Reputation: 15
Arrow 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...
 
Old 05-23-2004, 08:34 PM   #6
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
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.
 
Old 12-08-2004, 04:19 AM   #7
dand
LQ Newbie
 
Registered: Dec 2004
Posts: 18

Rep: Reputation: 0
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.
 
Old 12-08-2004, 11:31 PM   #8
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
Old 12-09-2004, 05:45 AM   #9
dand
LQ Newbie
 
Registered: Dec 2004
Posts: 18

Rep: Reputation: 0
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.
 
Old 01-28-2005, 06:18 AM   #10
virtuallife
LQ Newbie
 
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
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.
 
Old 01-28-2005, 06:32 AM   #11
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
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)
 
Old 01-28-2005, 06:57 AM   #12
dand
LQ Newbie
 
Registered: Dec 2004
Posts: 18

Rep: Reputation: 0
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!!!
 
Old 01-28-2005, 08:23 AM   #13
Snipersnest
Member
 
Registered: Jan 2005
Location: SC
Distribution: Ubuntu 7.10 Gusty Gibbon
Posts: 269

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error in configure glibc-2.3.4 isilinux Linux - Software 11 07-07-2010 01:04 PM
Glibc ./configure ERROR saml Linux From Scratch 1 06-30-2005 04:26 PM
glibc error with ./configure speel Linux - Distributions 1 08-07-2004 08:57 PM
glibc-2.3.2 configure problems djcomplex Linux - General 0 10-03-2003 06:00 AM
glibc compile error (during configure) ixion Linux From Scratch 1 06-08-2003 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration