|
|
Base: ed-0.2  Base Nav: first previous next last All Tab 2
  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
checking how to run the C preprocessor... gcc -E
checking whether cross-compiling... no
checking for ANSI C header files... yes
checking for limits.h... yes
checking for memory.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for locale.h... yes
checking for setbuffer... yes
checking for sigsetjmp... no
checking for sigaction... yes
checking for strerror... yes
checking for vprintf... yes
checking for working alloca.h... yes
checking for alloca... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
./config.status
creating Makefile
creating config.h
config.h is unchanged
touch stamp-h
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O buf.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O glbl.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O io.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O main.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O re.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O signal.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O sub.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O undo.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O version.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O getopt.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O getopt1.c
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
.
.
.
checking how to run the C preprocessor... gcc -E
checking whether cross-compiling... no
checking for ANSI C header files... yes
checking for limits.h... yes
checking for memory.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for locale.h... yes
checking for setbuffer... yes
checking for sigsetjmp... no
checking for sigaction... yes
checking for strerror... yes
checking for vprintf... yes
checking for working alloca.h... yes
checking for alloca... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
./config.status
creating Makefile
creating config.h
config.h is unchanged
touch stamp-h
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O buf.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O glbl.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O io.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O main.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O re.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O signal.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O sub.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O undo.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O version.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O getopt.c
gcc -c -I. -I. -DHAVE_CONFIG_H -g -O getopt1.c
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
|
|
|