Intro  Base  More  Read  Use  Last 30  60  90  All Articles  RSS


Intro

Base

More

Read

Use

Last:
30


60

90

All
Days

Base: libelf-0.8.6   Print


Base Nav: first previous next last All Tab 2 spacerspacer
Source code is available here.

Run these commands:

cd /sources &&
rm -rf libelf-0.8.6 &&
tar -xzf libelf-0.8.6.tar.gz &&
cd libelf-0.8.6 &&
./configure --prefix=/usr --bindir=/bin &&
make &&
make install

The output should look something like this:

creating cache ./config.cache
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /bin/install -c
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for ANSI C header files... yes
checking for unistd.h... yes
checking for stdint.h... yes
checking for fcntl.h... yes
checking for elf.h... yes
checking for sys/elf.h... no
checking for link.h... yes
checking for sys/link.h... no
checking if gcc can compile elf.h... yes
checking for ar.h... yes
checking for libelf.h... yes
checking for nlist.h... yes
.
.
.
if test "libelf.so" = "libelf.so.0.8.6"; then true; else \
  cd /usr/lib && rm -f libelf.so && ln -s libelf.so.0.8.6 libelf.so; \
fi
make[1]: Leaving directory `/sources/libelf-0.8.6/lib'
making install in po
make[1]: Entering directory `/sources/libelf-0.8.6/po'
catalogs="de.gmo"; for cat in $catalogs; do \
  lang=`echo $cat | sed 's,.gmo$,,'`; \
  dir=/usr/share/locale/$lang/LC_MESSAGES; \
  /bin/sh ../mkinstalldirs $dir; \
  if test -r $cat; then \
    /bin/install -c -m 644 $cat $dir/libelf.mo; \
  else \
    /bin/install -c -m 644 ./$cat $dir/libelf.mo; \
  fi; \
done
make[1]: Leaving directory `/sources/libelf-0.8.6/po'
/bin/sh ./mkinstalldirs /usr/lib/pkgconfig
/bin/install -c -m 644 libelf.pc /usr/lib/pkgconfig

~~~
Please read our Terms of Use
The Mountain Climbing Journal filesystem has borrowed heavily from various pieces of Linux From Scratch.

Copyright 2006-2008 NoNIC.org

Created by:
MCJ
MCJ CMS