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


Intro

Base

More

Read

Use

Last:
30


60

90

All
Days

Base: ed-0.2   Print


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

Run these commands:

cd /sources/  &&
tar -xjf ed-0.2.tar.bz2 &&
cd ed-0.2 &&
patch -Np1 -i ../ed-0.2.patch &&
./configure --prefix=/usr &&
make &&
make install &&
mv /usr/bin/{ed,red} /bin

The output should look something like this:

patching file buf.c
creating cache ./config.cache
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /bin/install -c
checking for POSIXized ISC... no
checking for gcc... gcc
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for working const... yes
.
.
.
gcc -c -I. -I. -DHAVE_CONFIG_H  -g -O regex.c
rm -f libed.a
ar cru libed.a getopt.o getopt1.o regex.o 
ranlib libed.a
gcc  -o ed buf.o glbl.o io.o main.o re.o signal.o sub.o undo.o version.o libed.a 
./mkinstalldirs /usr/bin /usr/info /usr/man/man1
/bin/install -c ed /usr/bin/ed
rm -f /usr/bin/red
cd /usr/bin; \
  ln -s ed red
/bin/install -c -m 644 ./ed.info /usr/info/ed.info
/bin/install -c -m 644 ./ed.1 /usr/man/man1/ed.1
rm -f /usr/man/man1/red.1
cd /usr/man/man1; \
  ln -s ed.1 red.1


~~~
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