sudo pbuilder login
Building the build Environment
-> extracting base tarball [/var/cache/pbuilder/base.tgz]
-> creating local configuration
-> copying local configuration
-> mounting /proc filesystem
ln: creating symbolic link `/var/cache/pbuilder/build//12875/etc/mtab' to `../pr oc/mounts': File exists
-> mounting /dev/pts filesystem
-> policy-rc.d already exists
Obtaining the cached apt archive contents
-> entering the shell
File extracted to: /var/cache/pbuilder/build//12875
root@marjula:/# pwd
/
root@marjula:/# wget
bash: wget: command not found
root@marjula:/# cd tmp/
root@marjula:/tmp# ls
buildd shmux-1.0
root@marjula:/tmp# cd shmux-1.0/
root@marjula:/tmp/shmux-1.0# ll
bash: ll: command not found
root@marjula:/tmp/shmux-1.0# ls
CHANGES LICENSE configure debian mcmd.sh src
INSTALL Makefile.in configure.ac install-sh shmux.1 tests
root@marjula:/tmp/shmux-1.0# ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for library containing tgetent... no
checking for library containing basename... none required
checking for library containing pcre_compile... no
configure: WARNING: Perl Compatible Regular Expressions library is missing.
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
checking term.h usability... no
checking term.h presence... no
checking for term.h... no
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking for pid_t... yes
checking whether sys_signame is declared... no
checking for basename... yes
checking for getloadavg... yes
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating Makefile
config.status: creating src/config.h
root@marjula:/tmp/shmux-1.0# make
make[1]: Entering directory `/tmp/shmux-1.0/src'
gcc -g -O2 -c -o analyzer.o analyzer.c
gcc -g -O2 -c -o byteset.o byteset.c
gcc -g -O2 -c -o exec.o exec.c
gcc -g -O2 -c -o loop.o loop.c
gcc -g -O2 -c -o shmux.o shmux.c
cat /usr/include/signal.h /usr/include/sys/signal.h \
/usr/include/sys/iso/signal_iso.h \
/usr/include/bits/signum.h 2> /dev/null | \
awk -f signals.awk > signals.h
gcc -g -O2 -c -o siglist.o siglist.c
gcc -g -O2 -c -o status.o status.c
gcc -g -O2 -c -o target.o target.c
gcc -g -O2 -c -o term.o term.c
term.c: In function 'term_init':
term.c:163: warning: assignment makes pointer from integer without a cast
term.c:166: warning: assignment makes pointer from integer without a cast
term.c:172: warning: assignment makes pointer from integer without a cast
term.c:175: warning: assignment makes pointer from integer without a cast
term.c:178: warning: assignment makes pointer from integer without a cast
term.c:179: warning: assignment makes pointer from integer without a cast
gcc -g -O2 -c -o units.o units.c
gcc -g -O2 analyzer.o byteset.o exec.o loop.o shmux.o siglist.o status.o target .o term.o units.o -o shmux
term.o: In function `gprint':/tmp/shmux-1.0/src/term.c:546: undefined reference to `tputs'
:/tmp/shmux-1.0/src/term.c:563: undefined reference to `tputs'
:/tmp/shmux-1.0/src/term.c:562: undefined reference to `tputs'
:/tmp/shmux-1.0/src/term.c:555: undefined reference to `tputs'
term.o: In function `sprint':/tmp/shmux-1.0/src/term.c:391: undefined reference to `tputs'
term.o:/tmp/shmux-1.0/src/term.c:392: more undefined references to `tputs' follo w
term.o: In function `term_init':/tmp/shmux-1.0/src/term.c:142: undefined referen ce to `tgetent'
:/tmp/shmux-1.0/src/term.c:154: undefined reference to `tgetnum'
:/tmp/shmux-1.0/src/term.c:163: undefined reference to `tgetstr'
:/tmp/shmux-1.0/src/term.c:172: undefined reference to `tgetstr'
:/tmp/shmux-1.0/src/term.c:175: undefined reference to `tgetstr'
:/tmp/shmux-1.0/src/term.c:178: undefined reference to `tgetstr'
:/tmp/shmux-1.0/src/term.c:179: undefined reference to `tgetstr'
term.o:/tmp/shmux-1.0/src/term.c:175: more undefined references to `tgetstr' fol low
term.o: In function `nprint':/tmp/shmux-1.0/src/term.c:643: undefined reference to `tputs'
collect2: ld returned 1 exit status
make[1]: *** [shmux] Error 1
make[1]: Leaving directory `/tmp/shmux-1.0/src'
make: *** [shmux] Error 2
root@marjula:/tmp/shmux-1.0#