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


Intro

Base

More

Read

Use

Last:
30


60

90

All
Days

Base: m4-1.4   Print


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

Run these commands:

cd /sources/  &&
tar -xjf m4-1.4.tar.bz2  &&
cd m4-1.4 &&
./configure --prefix=/usr &&
make &&
make install

The output should look something like this:

creating cache ./config.cache
checking for mawk... no
checking for gawk... gawk
checking for gcc... gcc
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /bin/install -c
checking whether make sets $MAKE... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for POSIXized ISC... no
checking for minix/config.h... no
checking for gcc option to accept ANSI C... 
checking for function prototypes... yes
checking for working const... yes
checking for limits.h... yes
checking for memory.h... yes
checking for siginfo.h... no
checking for string.h... yes
checking for unistd.h... yes
checking whether cross-compiling... no
.
.
.
/sources/m4-1.4/src/stackovf.c:343: warning: the `sigstack' function is dangerous.  `sigaltstack' should be used instead.
builtin.o(.text+0x18ca): In function `m4_maketemp':
/sources/m4-1.4/src/builtin.c:1081: warning: the use of `mktemp' is dangerous, better use `mkstemp'
make[1]: Leaving directory `/sources/m4-1.4/src'
making all in checks
make[1]: Entering directory `/sources/m4-1.4/checks'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/sources/m4-1.4/checks'
making all in examples
make[1]: Entering directory `/sources/m4-1.4/examples'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/sources/m4-1.4/examples'
for subdir in doc lib src checks examples; do \
  echo making install in $subdir; \
  (cd $subdir && make CC='gcc' CFLAGS='-g -O' LDFLAGS='' LIBS='' prefix='/usr' exec_prefix='/usr' bindir='/usr/bin' infodir='/usr/info' install) || exit 1; \
done
making install in doc
make[1]: Entering directory `/sources/m4-1.4/doc'
./../mkinstalldirs /usr/info
cd . && for file in m4.info*; do \
  /bin/install -c -m 644 $file /usr/info/$file; \
done
make[1]: Leaving directory `/sources/m4-1.4/doc'
making install in lib
make[1]: Entering directory `/sources/m4-1.4/lib'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/sources/m4-1.4/lib'
making install in src
make[1]: Entering directory `/sources/m4-1.4/src'
./../mkinstalldirs /usr/bin
/bin/install -c m4 /usr/bin/`echo m4 | sed 's,x,x,'`
make[1]: Leaving directory `/sources/m4-1.4/src'
making install in checks
make[1]: Entering directory `/sources/m4-1.4/checks'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/sources/m4-1.4/checks'
making install in examples
make[1]: Entering directory `/sources/m4-1.4/examples'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/sources/m4-1.4/examples'

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