[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 00083) Re: glibc 2.2 + usagi snap patch
- To: Yuji Sekiya <sekiya@xxxxxxxxxxxxxx>
- Subject: (usagi-users 00083) Re: glibc 2.2 + usagi snap patch
- From: Mauro Tortonesi <mauro@xxxxxxxxxxxxxxxx>
- Date: Sun, 21 Jan 2001 11:34:55 -0500 (EST)
- Cc: usagi-users@xxxxxxxxxxxxxx, project6@xxxxxxxxxxxxxxxx
- In-reply-to: <u7l3peuls.wl@YUMIKO.sfc.wide.ad.jp>
- Reply-to: usagi-users@xxxxxxxxxxxxxx
On Sun, 21 Jan 2001, Yuji Sekiya wrote:
> At Sat, 20 Jan 2001 20:07:00 -0500 (EST),
> Mauro Tortonesi <mauro@xxxxxxxxxxxxxxxx> wrote:
>
> > i'd like to try using glibc 2.2 + usagi snap patch. the problem is that i
> > have two glibc 2.1.3 distros (Mandrake 7.2 and Suse 7.0).
> > can i setup a glibc 2.2 environment under one of these distro?
>
> I don't reccomend install glibc-2.2 into glibc-2.1.3 distributions.
> It may couse some troubles.
you are perfectly right.
> We are providing a usagi patch against glibc-2.1.3. Please use it.
> ftp://ftp.linux-ipv6.org/pub/usagi/snap/patch/
yes, but AFAIK glibc 2.2 should be more ipv6-compliant. stig venaas has
told me he has ported the resolver code to ipv6 in glibc 2.2.
> > eventually, i could install a glibc 2.2 slackware current distro. but how
> > do i create and install an updated glibc 2.2 slackware package?
>
> IIRC, slackware doesn't have version control system of packages.
> I mean slackware has package system but it only extract tar.gz-ed
> binary files and execute some pre-install/post-install shell script.
> It's very simple.
it's not so simple to build tgz packages. volkerding uses the following
script to build the glibc package. however, the script does NOT create the
tgz package; it only builds the libs. how do i create the package, then?
------------------------------------------------------------------------
#!/bin/sh
## build glibc-2.2 for Slackware
## by Patrick J. Volkerding <volkerdi@xxxxxxxxxxxxx>
CWD=`pwd`
cd /tmp
if [ -d /usr/include/sys ]; then
cat << EOF
*** WARNING: It's a good idea to move /usr/include out of the way if
you're planning to extract this as a binary package. Otherwise some of
the include files may not be replaced.
Press enter to continue, or control-c to abort.
EOF
read junk_input;
fi
tar xzvf $CWD/glibc-2.2.tar.gz
cd glibc-2.2
tar xzvf $CWD/glibc-linuxthreads-2.2.tar.gz
./configure --prefix=/usr \
--enable-add-ons=linuxthreads \
--without-cvs \
i386-slackware-linux
make
## Install docs:
( mkdir -p /usr/doc/glibc-2.2
cp -a BUGS CONFORMANCE COPYING COPYING.LIB FAQ INSTALL INTERFACE \
NAMESPACE NEWS NOTES PROJECTS README README.libm /usr/doc/glibc-2.2
cd linuxthreads
mkdir -p /usr/doc/glibc-2.2/linuxthreads
cp -a Banner FAQ.html LICENSE README README.Xfree3.2 linuxthreads.texi \
Examples /usr/doc/glibc-2.2/linuxthreads
cd man
for file in *.man ; do
cat $file | gzip -9c > /usr/man/man3/`basename $file .man`.3.gz
done
chown -R root.root /usr/doc/glibc-2.2
find /usr/doc/glibc-2.2 -type d | xargs chmod 755
find /usr/doc/glibc-2.2 -type f | xargs chmod 644 )
## If you want glibc-2.2 installed, uncomment the lines below.
# Save the ldd from ldso.tgz:
mv /usr/bin/ldd /usr/bin/ldd-ldso
make install
make localedata/install-locales
mv /usr/bin/ldd /usr/bin/ldd-glibc
mv /usr/bin/ldd-ldso /usr/bin/ldd
# Don't forget to add the /usr/share/zoneinfo/localtime -> /etc/localtime symlink! :)
if [ ! -r /usr/share/zoneinfo/localtime ]; then
( cd /usr/share/zoneinfo ; ln -sf /etc/localtime . )
fi
echo "Building Berkeley DB libraries..."
sleep 5
cd $CWD
./bsd_db.build
echo "Building nss_db-2.2..."
sleep 5
cd $CWD
./nss_db.build
------------------------------------------------------------------------
BTW, can you tell me in what environment you are testing your glibc 2.2
patches?
--
Aequam memento rebus in arduis servare mentem...
Mauro Tortonesi mauro@xxxxxxxxxxxxxxxx
Ferrara Linux User Group http://www.ferrara.linux.it
Project6 - IPv6 for Linux http://project6.ferrara.linux.it