Koozali.org: home of the SME Server

Compile-Related

Jeff

Compile-Related
« on: July 30, 2001, 01:45:23 AM »
has anyone put together a how-to with locations, etc on what to download and where to download to add the ability to compile on E-smith, I see this topic has been beat to death several times but never has anyone listed version numbers or where the -devel files and related can be retreived.  

For example glibc-2.2-9 is installed with 4.12 but there is no glibc-devel-2.2-9.rpm available anywhere.

Does anyone have these file available via ftp/web etc ?

Lloyd Keen

Re: Compile-Related
« Reply #1 on: July 30, 2001, 03:52:44 AM »
Hi Jeff,
You can find the answers to your questions here
http://e-smith.org/faq.php3#8q7
Hope this helps

Dan Brown

Re: Compile-Related
« Reply #2 on: July 30, 2001, 04:03:05 AM »
Unfortuntely, that doesn't answer the question of where to get the correct version of glibc-devel.  RedHat 7.0 ships with glibc-2.1.92, and the current update for RedHat 7.0 is glibc-2.2-12.  The version 2.2-9 which is included with e-smith appears to have been a previous update, which was superseded by 2.2-12.  I don't know whether it'd be safe/advisable to install glibc-devel-2.2-12 without also upgrading glibc.

Jeff

Re: Compile-Related
« Reply #3 on: July 30, 2001, 05:32:05 AM »
That was part of my problem, if you try to do that then there are other dependency problems. and that link to the faq does not help at all. same goes for the kernel headers they seem to not be available anywhere for the installed version. Can someone please help me.

Filippo Carletti

Re: Compile-Related
« Reply #4 on: July 30, 2001, 06:47:57 PM »
There are my (brief) notes:
# Development install e-smith 4.1.2

rpm -Uvh cpp-2.96-54.i386.rpm
rpm -Uvh glibc-devel-2.1.92-14.i386.rpm kernel-headers-2.4.0-0.26.i386.rpm
rpm -Uvh make-3.79.1-5.i386.rpm
rpm -Uvh libstdc++-devel-2.96-54.i386.rpm
rpm -Uvh glib-devel-1.2.8-4.i386.rpm
rpm -Uvh gcc-2.96-54.i386.rpm
rpm -Uvh gcc-c++-2.96-54.i386.rpm
rpm -Uvh kgcc-1.1.2-40.i386.rpm

All taken from original RedHat 7.0 CD

Jeff

Re: Compile-Related
« Reply #5 on: July 30, 2001, 07:59:26 PM »
I did as instructed and everything 'seems' to work correctly, but should't I have the kernel-headers for the installed kernel instead of for 2.4 ?

kernel-headers-2.4.0-0.26.i386.rpm

Filippo Carletti

Re: Compile-Related
« Reply #6 on: July 31, 2001, 07:22:50 PM »
I supposed so, but glibc-devel depends on kernel-headers and the only version I found was 2.4.0.