Need HELP installing new libc

Need HELP installing new libc

Post by Albert Wiers » Mon, 26 Aug 1996 04:00:00



I am finding the documentation on A LOT of Linux subjects to be very poor for the beginner. The only thing I successfully compiled was the
2.0 kernel! I still cannot get my mouse to work, X to work, and now I cannot get NCSA server to work! I am trying to upgrade my libc but
where do I unzip the files to? I can't find it!

I tried to follow the instructions:

-------------------------------------------
DISTRIBUTION FILES:

1.      libc-5.3.12.bin.tar.gz

REQUIRED. This package contains the header files for libc, shared and
static ELF libraries libc and libm, and the static ELF library libbsd.a.
The header files in libc-5.3.12.bin.tar.gz are not complete. You need to
install the kernel source tree for the system-dependent header files.

The header files are in lib-x.y.z.bin.tar.gz and libc-x.y.z.tar.gz. You
can do

# gzip -dc lib-x.y.z.bin.tar.gz | tar xvvf - usr/include
-------------------------------------------

What is this lib-x.y.z.bin.tar.gz!?! I cannot find it. Is it suppose to be libc-x.y.z.bin.tar.gz? And where do you put the gz file??!?! I
assumed it was in /.

So I tried what I thought and unzipped libc-5.3.12.tar.gz first in /usr/src, I had problems so I removed it from there and now it is in /usr
and I have a /usr/libc directory. I followed the README and I get tons of warnings when I do a make in /usr/libc. The last lines output from
the make are:

fd_kern.c:1697: structure has no member named `msg_accrightslen'
fd_kern.c:1698: structure has no member named `msg_accrights'
fd_kern.c:1714: structure has no member named `msg_accrights'
fd_kern.c: In function `setsockopt':
fd_kern.c:1792: warning: passing arg 4 of `machdep_sys_setsockopt' discards `con
st' from pointer target type
../../../../include/unistd.h: At top level:
../../../../include/unistd.h:659: warning: `ustat' defined but not used
../../../../include/sys/stat.h:134: warning: `__stat' defined but not used
../../../../include/sys/stat.h:144: warning: `__lstat' defined but not used
../../../../include/sys/stat.h:149: warning: `lstat' defined but not used
../../../../include/sys/stat.h:154: warning: `__fstat' defined but not used
../../../../include/sys/stat.h:159: warning: `fstat' defined but not used
../../../../include/sys/stat.h:164: warning: `__mknod' defined but not used
../../../../include/sys/stat.h:169: warning: `mknod' defined but not used
make[3]: *** [../../../elfshared/libpthreads/fd_kern.o] Error 1
make[3]: Leaving directory `/usr/libc/sysdeps/pthreads/mit'
make[2]: *** [lib] Error 1
make[2]: Leaving directory `/usr/libc/sysdeps/pthreads'
make[1]: *** [lib] Error 2
make[1]: Leaving directory `/usr/libc/sysdeps'
make: *** [lib] Error 2

Why?!?!?!

I did install GCC 2.7.2 and from what I can tell, that install was easy and went well... (at least I hope). gcc -v now says 2.7.2. I also
installed binutils 2.6.0.14 (at least I think I did-- following the readme as best I could).

Now the whole point to wasting my entire Sunday was to try to compile NCSA becuase the binary I downloaded for linux just gives me non
stopping error messages. So I go into /usr/local/etc/httpd/src and type make linux. This time it seems to have compiled... but when I run
httpd, I still get the same problem. The error message httpd: can't resolve symbol 'recvmsg' is sent over and over.

PLEASE HELP!
Regards,
Albert Wiersch
(817)/595-3568 or METRO (817)/589-9600

http://www.flash.net/~wiersch

 
 
 

Need HELP installing new libc

Post by B.A.McCau.. » Thu, 29 Aug 1996 04:00:00



>I am finding the documentation on A LOT of Linux subjects to be very poor for the beginner. The only thing I successfully compiled was the
>2.0 kernel! I still cannot get my mouse to work, X to work, and now I cannot get NCSA server to work! I am trying to upgrade my libc but
>where do I unzip the files to? I can't find it!

>I tried to follow the instructions:

>-------------------------------------------
>DISTRIBUTION FILES:

>1.  libc-5.3.12.bin.tar.gz

>REQUIRED. This package contains the header files for libc, shared and
>static ELF libraries libc and libm, and the static ELF library libbsd.a.
>The header files in libc-5.3.12.bin.tar.gz are not complete. You need to
>install the kernel source tree for the system-dependent header files.

>The header files are in lib-x.y.z.bin.tar.gz and libc-x.y.z.tar.gz. You
>can do

># gzip -dc lib-x.y.z.bin.tar.gz | tar xvvf - usr/include
>-------------------------------------------

AFAIK somewhere in the release notes from which this extract is taken
is the warning that the source distribution of libc is for experienced
Linux hackers only.

Since you are unlikely to check every line of code for trojans you may
as well get the binary release.

--

 .  _\\__[oo       from       | Phones: +44 121 471 3789 (home)

.  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
 # ll  l\\  ~~~~ ~   ~ ~    ~ | http://wcl-l.bham.ac.uk/~bam/


 
 
 

1. New with new system: Need help to install

I just got a new system and would very much like it to have
multi boots. I have some software for Linux and see that that
it has a loader (LILO) . Can anyone give me step-by-step set-up
and where I can download newest distribution on Linux.

Below is what my hardware is:

Pentium 133Mhz
32Mb EDO RAM
1.6G Western Digital --IDE
Bus---ISA
BIOS American Megatrends 3-6-95 V1.00.03.BROT
Matrox MGA PCI video card 2Mb
6X Wearnes IDE CD-ROM---IDE(ATAPI rev. 1.2)
Epson Stylus color II printer
Ensoniq Sound Wavetable sound card
Telepath 28.8 FAX modem
Microsoft mouse PS/2

Is there any other information I need?

Also I am running win95 on system and would like multi-boot

I've tried to install on CD-ROM but did not have IDE support
for CD-ROM. Can I download complete OS from somewhere?

Please help.

P.S. Please repost ASAP because I want to install before I
load anymore software on system so it will not take years for
all the install.

2. Linux T-shirts?

3. LIBC - install & upgrade. I need help

4. Help...Dialing

5. dilemma regarding new libc, new gcc and new g++

6. Help Setting up Dialout

7. How do I install a new libc to /lib ?

8. Trying to get named running...

9. installed new libc, can't compile lib's

10. Installing the new libc, the last step

11. How do you install new versions of libraries, ie libc.so.5

12. How do I Upgrade/Install the new libc.so.6 ......Caldera 1.3

13. libc 5.4.7: Do I need new ld.so and binutils?