bug-inetutils
[Top][All Lists]
Advanced

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

Building inetutils from 2000-11-07 CVS


From: Richard Dawe
Subject: Building inetutils from 2000-11-07 CVS
Date: Tue, 07 Nov 2000 22:37:09 +0000

Hello.

Out of curiosity, I just tried to build inetutils for the first time out
of CVS. Problems I encountered:

1. I get the following error when generating configure:

   configure.in:222: warning: AC_TRY_RUN called without default to allow
   cross compiling

Nonetheless 'configure' is created.

2. I now run './configure --with-wrap --with-pam --prefix=$HOME', but I
get the following error:

   iolanthe:~/src/inetutils =] ./configure --with-wrap --with-pam \
   --prefix=$HOME
   loading cache ./config.cache
   ./configure: syntax error near unexpected token \
   `AM_INIT_AUTOMAKE(inetutils,'
   ./configure: ./configure: line 537: `AM_INIT_AUTOMAKE(inetutils, \
   1.3.2f, nodef)'

NB: Line breaks indicated by backslash. I run 'aclocal', then 'autoconf'
and then the configure script at least runs.

3. The 'configure' script then complains about not being able to find
'install.sh'. "Borrowing" install-sh from fileutils 4.0w fixed that.

4. 'configure' then can't find config.sub. For good measure I got
config.sub & config.guess from latest CVS.

5. Now 'configure' is a happy bunny and runs all the way through...until:

updating cache ./config.cache
creating ./config.status
creating Makefile
sed: can't read ./Makefile.in: No such file or directory
creating libinetutils/Makefile
sed: can't read ./libinetutils/Makefile.in: No such file or directory
creating libtelnet/Makefile
sed: can't read ./libtelnet/Makefile.in: No such file or directory
creating glob/Makefile
sed: can't read ./glob/Makefile.in: No such file or directory
creating ftp/Makefile
sed: can't read ./ftp/Makefile.in: No such file or directory
creating ftpd/Makefile
sed: can't read ./ftpd/Makefile.in: No such file or directory
creating inetd/Makefile
sed: can't read ./inetd/Makefile.in: No such file or directory
creating rcp/Makefile
sed: can't read ./rcp/Makefile.in: No such file or directory
creating rexecd/Makefile
sed: can't read ./rexecd/Makefile.in: No such file or directory
creating rlogin/Makefile
sed: can't read ./rlogin/Makefile.in: No such file or directory
creating rlogind/Makefile
sed: can't read ./rlogind/Makefile.in: No such file or directory
creating rsh/Makefile
sed: can't read ./rsh/Makefile.in: No such file or directory
creating rshd/Makefile
sed: can't read ./rshd/Makefile.in: No such file or directory
creating logger/Makefile
sed: can't read ./logger/Makefile.in: No such file or directory
creating syslogd/Makefile
sed: can't read ./syslogd/Makefile.in: No such file or directory
creating talk/Makefile
sed: can't read ./talk/Makefile.in: No such file or directory
creating talkd/Makefile
sed: can't read ./talkd/Makefile.in: No such file or directory
creating telnet/Makefile
sed: can't read ./telnet/Makefile.in: No such file or directory
creating telnetd/Makefile
sed: can't read ./telnetd/Makefile.in: No such file or directory
creating tftp/Makefile
sed: can't read ./tftpd/Makefile.in: No such file or directory
creating uucpd/Makefile
sed: can't read ./uucpd/Makefile.in: No such file or directory
creating whois/Makefile
sed: can't read ./whois/Makefile.in: No such file or directory
creating libls/Makefile
sed: can't read ./libls/Makefile.in: No such file or directory
creating include/confpaths.h
creating headers/Makefile
sed: can't read ./headers/Makefile.in: No such file or directory
creating include/version.h
creating include/config.h
cat: ./headers/config.h.in: No such file or directory
linking ./headers/crypt.h to include/crypt.h
linking ./headers/arpa/telnet.h to include/arpa/telnet.h
linking ./headers/arpa/ftp.h to include/arpa/ftp.h
linking ./headers/arpa/tftp.h to include/arpa/tftp.h
linking ./headers/protocols/talkd.h to include/protocols/talkd.h
linking ./headers/tftpsubs.h to include/tftpsubs.h

Of course, 'configure' is right, there are no 'Makefile.in' files. Are
there supposed to be? Anyway, I invoke 'automake' and get:

iolanthe:~/src/inetutils =] automake
automake: configure.in: required file `./mkinstalldirs' not found
automake: configure.in: required file `./missing' not found
automake: Makefile.am: required file `./INSTALL' not found
configure.in: 37: required file `./headers/config.h.in' not found

6. Now 'configure' is an almost-entirely-happy bunny. It only complains
about headers/config.h.in now.

7. Now I try to build:

iolanthe:~/src/inetutils =] make
Making all in headers
make[1]: Entering directory `/home/rich/src/inetutils/headers'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/rich/src/inetutils/headers'
Making all in libinetutils
make[1]: Entering directory `/home/rich/src/inetutils/libinetutils'
gcc -DHAVE_CONFIG_H -I. -I. -I../include
-DPATH_WTMPX=\"/home/rich/var/log/wtmpx\"  
-DPATH_HEQUIV=\"/etc/hosts.equiv\"    -g -O2 -c cleansess.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include
-DPATH_WTMPX=\"/home/rich/var/log/wtmpx\"  
-DPATH_HEQUIV=\"/etc/hosts.equiv\"    -g -O2 -c daemon.c
daemon.c: In function `waitdaemon':
daemon.c:151: `PATH_DEVNULL' undeclared (first use in this function)
daemon.c:151: (Each undeclared identifier is reported only once
daemon.c:151: for each function it appears in.)
make[1]: *** [daemon.o] Error 1
make[1]: Leaving directory `/home/rich/src/inetutils/libinetutils'
make: *** [all-recursive] Error 1

I haven't looked at how to fix this yet, though.

Relevant info, I hope:

iolanthe:~/src/inetutils =] gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
iolanthe:~/src/inetutils =] rpm -q glibc
glibc-2.1.3-15
iolanthe:~/src/inetutils =] cat /etc/issue.net

Red Hat Linux release 6.2 (Zoot)
Kernel 2.2.17 on an i586

BTW I did 'cvs -z9 CVSROOT=... update -d -P' to update the sources. The
last update was just before I sent this mail. I believe I have the sources
properly.

Was it something I said to upset my computer? 8)

Bye, Rich =]

-- 
Richard Dawe
[ mailto:address@hidden | http://www.bigfoot.com/~richdawe/ ]

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]