[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

swhoisd does not more compile...



Hello *,

For some years it was suggested to me to use swhoisd...

Now I have downloaded the sources again to make definitivly a Debian
pakage (my first for the ongoing NM) but now I am facing a problem.

Does anyone have succesfuly compiled swhoisd?

Here at me it stops compiling because it can not copy (?) a file.

Here the log from "dpkg-reconfiguere"

----8<--------------------------------------------------------------
dpkg-buildpackage: source package is swhoisd
dpkg-buildpackage: source version is 3.0.5-1
dpkg-buildpackage: source maintainer is Michelle Konzack <linux4michelle@freenet.de>
dpkg-buildpackage: host architecture is i386
 fakeroot debian/rules clean
dh_testdir
dh_clean
rm -v -f debian/swhoisd.init
 dpkg-source -b swhoisd-3.0.5
dpkg-source: building swhoisd using existing swhoisd_3.0.5.orig.tar.gz
dpkg-source: building swhoisd in swhoisd_3.0.5-1.diff.gz
dpkg-source: building swhoisd in swhoisd_3.0.5-1.dsc
 debian/rules build
dh_testdir
./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c
/usr/src/swhoisd-3.0.5/missing: Unknown `--run' option
Try `/usr/src/swhoisd-3.0.5/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... 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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for ANSI C header files... yes
checking for library containing gettext... none required
checking for pthread_create in -lpthread... yes
checking for library containing gethostent... none required
checking for library containing socket... none required
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for inline... inline
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether byte ordering is bigendian... no
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for getcwd... yes
checking for getwd... yes
checking for putenv... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for getpeername... yes
checking for getaddrinfo... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for localtime_r... yes
checking for getpwnam_r... yes
checking for getgrnam_r... yes
checking for snprintf... yes
checking for strlcpy... no
checking for g_strlcpy in -lglib... no
setting build environment for i686linux-gnu
checking for nobody uid... 65534
checking for nogroup gid... 65534
configure: creating ./config.status
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating sun/Makefile
config.status: creating redhat/swhoisd.spec
config.status: creating intl/Makefile
config.status: creating Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
dh_testdir
make
make[1]: Entering directory `/usr/src/swhoisd-3.0.5'
cd . && \
  automake-1.6 --gnu  Makefile
cd . && autoconf
/bin/sh ./config.status --recheck
running /bin/sh ./configure   --no-create --no-recursion
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether build environment is sane... yes
checking for a BSD-compatible install... /usr/bin/install -c
/usr/src/swhoisd-3.0.5/missing: Unknown `--run' option
Try `/usr/src/swhoisd-3.0.5/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for ANSI C header files... yes
checking for library containing gettext... none required
checking for pthread_create in -lpthread... yes
checking for library containing gethostent... none required
checking for library containing socket... none required
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for inline... inline
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether byte ordering is bigendian... no
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for getcwd... yes
checking for getwd... yes
checking for putenv... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for getpeername... yes
checking for getaddrinfo... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for localtime_r... yes
checking for getpwnam_r... yes
checking for getgrnam_r... yes
checking for snprintf... yes
checking for strlcpy... no
checking for g_strlcpy in -lglib... no
setting build environment for i686linux-gnu
checking for nobody uid... 65534
checking for nogroup gid... 65534
configure: creating ./config.status
cd . && /bin/sh ./config.status Makefile 
config.status: creating Makefile
make[1]: Leaving directory `/usr/src/swhoisd-3.0.5'
make[1]: Entering directory `/usr/src/swhoisd-3.0.5'
Making all in doc
make[2]: Entering directory `/usr/src/swhoisd-3.0.5/doc'
cd .. && /bin/sh ./config.status doc/Makefile 
config.status: creating doc/Makefile
make[2]: Leaving directory `/usr/src/swhoisd-3.0.5/doc'
make[2]: Entering directory `/usr/src/swhoisd-3.0.5/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/swhoisd-3.0.5/doc'
Making all in intl
make[2]: Entering directory `/usr/src/swhoisd-3.0.5/intl'
cd .. \
  && CONFIG_FILES=intl/Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating intl/Makefile
config.status: executing depfiles commands
make[2]: Leaving directory `/usr/src/swhoisd-3.0.5/intl'
make[2]: Entering directory `/usr/src/swhoisd-3.0.5/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/swhoisd-3.0.5/intl'
Making all in src
make[2]: Entering directory `/usr/src/swhoisd-3.0.5/src'
cd .. && \
  automake-1.6 --gnu  src/Makefile
cd .. && /bin/sh ./config.status src/Makefile depfiles
config.status: creating src/Makefile
config.status: executing depfiles commands
make[2]: Leaving directory `/usr/src/swhoisd-3.0.5/src'
make[2]: Entering directory `/usr/src/swhoisd-3.0.5/src'
cd .. && /bin/sh ./config.status src/config.h
config.status: creating src/config.h
config.status: src/config.h is unchanged
make  all-am
make[3]: Entering directory `/usr/src/swhoisd-3.0.5/src'
source='rfc1431.c' object='rfc1431.o' libtool=no \
depfile='.deps/rfc1431.Po' tmpdepfile='.deps/rfc1431.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\"    -DMYUID=65534 -DMYGID=65534 -c `test -f 'rfc1431.c' || echo './'`rfc1431.c
source='do_whois.c' object='do_whois.o' libtool=no \
depfile='.deps/do_whois.Po' tmpdepfile='.deps/do_whois.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\"    -DMYUID=65534 -DMYGID=65534 -c `test -f 'do_whois.c' || echo './'`do_whois.c
source='sysutils.c' object='sysutils.o' libtool=no \
depfile='.deps/sysutils.Po' tmpdepfile='.deps/sysutils.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\"    -DMYUID=65534 -DMYGID=65534 -c `test -f 'sysutils.c' || echo './'`sysutils.c
source='main.c' object='main.o' libtool=no \
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\"    -DMYUID=65534 -DMYGID=65534 -c `test -f 'main.c' || echo './'`main.c
source='snprintf.c' object='snprintf.o' libtool=no \
depfile='.deps/snprintf.Po' tmpdepfile='.deps/snprintf.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\"    -DMYUID=65534 -DMYGID=65534 -c `test -f 'snprintf.c' || echo './'`snprintf.c
source='strlcpy.c' object='strlcpy.o' libtool=no \
depfile='.deps/strlcpy.Po' tmpdepfile='.deps/strlcpy.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\"    -DMYUID=65534 -DMYGID=65534 -c `test -f 'strlcpy.c' || echo './'`strlcpy.c
gcc  -DMYUID=65534 -DMYGID=65534   -o in.swhoisd strlcpy.o rfc1431.o do_whois.o sysutils.o main.o snprintf.o  -lpthread 
co  RCS/swhoisd,v swhoisd
make[3]: co: Command not found
make[3]: *** [swhoisd] Error 127
make[3]: Leaving directory `/usr/src/swhoisd-3.0.5/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/swhoisd-3.0.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/swhoisd-3.0.5'
make: *** [build] Error 2
----8<--------------------------------------------------------------

The line "make[3]: co: Command not found" is a little bit confiusing,
since I have not found a singel indice to a command named "co" and I
do not know where it come from but it must be in src/Makefile.  It
seems that "co" must be "cp" or "mv" since "swhoisd" is the init.d file.

It seems, that Dan Anderson does not more work on it, since there is
a TODO from 2001-07-15 and nothing happen.  What I want to do is to
add support for db4.3 and PostgreSQL...

Also I do not like that the Config, Header and Footer are in
/etc.  I think this should be changed to

    /var/lib/swhoisd/swhoisd.{header,footer,conf}

since specialy in swhoisd.conf are changes done permanently and many
Servers have / with /etc in it mounted readonly.  Please drop me some
notes what you think about.

Also I have problems with autoconf, automake and the RCS which is used
for the swhoisd.  (I have not a minimum clue about it)

Since I do not like RCS and if Dan Anderson does not more respond, I
will create a fork with the desired enhancement...

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)



Reply to: