Install poptop 1.1.4.b3 on FreeBSD 4.8Release

Martin Schweizer pcservi at spectraweb.ch
Tue Jun 17 00:36:16 PDT 2003


Hello
I installed the above poptop version on the FreeBSD 4.8 Release machines. On the first machine
the installation was no problem but on the second the following error occurs. What is 
going wrong?


>>>Script started on Fri Jun 13 15:02:11 2003
>>>pluto# exit    make    ./configure [11Dmake install
>>>
>>>
>>>===>  Extracting for poptop-1.1.4.b3
>>>
>>>>> Checksum OK for pptpd-1.1.4-b3.tar.gz.
>>>
>>>===>  Patching for poptop-1.1.4.b3
>>>
>>>/bin/cp /usr/ports/net/poptop/work/poptop-1.1.4/our_getopt.h /usr/ports/net/poptop/work/poptop-1.1.4/getopt.h
>>>
>>>===>  Applying FreeBSD patches for poptop-1.1.4.b3
>>>
>>>===>  Configuring for poptop-1.1.4.b3
>>>
>>>creating cache ./config.cache
>>>
>>>checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
>>>
>>>checking whether build environment is sane... yes
>>>
>>>checking whether make sets ${MAKE}... yes
>>>
>>>checking for working aclocal... found
>>>
>>>checking for working autoconf... found
>>>
>>>checking for working automake... found
>>>
>>>checking for working autoheader... found
>>>
>>>checking for working makeinfo... found
>>>
>>>checking for gcc... cc
>>>
>>>checking whether the C compiler (cc -O -pipe  ) works... yes
>>>
>>>checking whether the C compiler (cc -O -pipe  ) is a cross-compiler... no
>>>
>>>checking whether we are using GNU C... yes
>>>
>>>checking whether cc accepts -g... yes
>>>
>>>checking for ranlib... ranlib
>>>
>>>checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
>>>
>>>checking whether ln -s works... yes
>>>
>>>checking whether make sets ${MAKE}... (cached) yes
>>>
>>>checking for working const... yes
>>>
>>>checking for inline... inline
>>>
>>>checking for Cygwin environment... no
>>>
>>>checking for mingw32 environment... no
>>>
>>>checking for executable suffix... no
>>>
>>>checking for object suffix... o
>>>
>>>checking whether #! works in shell scripts... yes
>>>
>>>checking for setsid... yes
>>>
>>>checking for daemon... yes
>>>
>>>checking for setproctitle... yes
>>>
>>>checking for getservbyname... yes
>>>
>>>checking for strlcpy... yes
>>>
>>>checking for fork... yes
>>>
>>>checking for memmove... yes
>>>
>>>checking for strerror... yes
>>>
>>>checking how to run the C preprocessor... cc -E
>>>
>>>checking for pty.h... no
>>>
>>>checking for string.h... yes
>>>
>>>checking for syslog.h... yes
>>>
>>>checking for libintl.h... no
>>>
>>>checking for libutil.h... yes
>>>
>>>checking for ANSI C header files... yes
>>>
>>>checking for size_t... yes
>>>
>>>checking for ssize_t... yes
>>>
>>>checking for u_int8_t... yes
>>>
>>>checking for u_int16_t... yes
>>>
>>>checking for u_int32_t... yes
>>>
>>>checking for socklen_t... yes
>>>
>>>checking for accept in -lc... yes
>>>
>>>checking for gethostbyname in -lc... yes
>>>
>>>checking for openpty in -lc... no
>>>
>>>checking for gettext in -lc... no
>>>
>>>checking for accept in -lsocket... no
>>>
>>>checking for gethostbyname in -lnsl... no
>>>
>>>checking for openpty in -lutil... yes
>>>
>>>checking for gettext in -lintl... no
>>>
>>>BSD user-space ppp selected - disabling PoPToP internal IP allocation.
>>>
>>>PPPD_IP_ALLOC: not found
>>>
>>>===============================================================================
>>>
>>>Configuration chosen:
>>>
>>>   PPPd IP allocation: No.
>>>
>>>   PPPd:               BSD user-space PPPd.
>>>
>>>   LIBWRAP security:   No.
>>>
>>>   Broadcast Relay:    No.
>>>
>>>   Mode:               IP tunneling server (PAC).
>>>
>>>===============================================================================
>>>
>>>updating cache ./config.cache
>>>
>>>creating ./config.status
>>>
>>>creating Makefile
>>>
>>>creating config.h
>>>
>>>===>  Building for poptop-1.1.4.b3
>>>
>>>cd . && aclocal
>>>
>>>cd . && automake --foreign Makefile
>>>
>>>cd .  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
>>>
>>>creating Makefile
>>>
>>>cd . && autoheader
>>>
>>>WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
>>>
>>>WARNING: and `config.h.top', to define templates for `config.h.in'
>>>
>>>WARNING: is deprecated and discouraged.
>>>
>>>
>>>
>>>WARNING: Using the third argument of `AC_DEFINE' and
>>>
>>>WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
>>>
>>>WARNING: `acconfig.h':
>>>
>>>
>>>
>>>WARNING:   AC_DEFINE([NEED_MAIN], 1,
>>>
>>>WARNING:             [Define if a function `main' is needed.])
>>>
>>>
>>>
>>>WARNING: More sophisticated templates can also be produced, see the
>>>
>>>WARNING: documentation.
>>>
>>>configure.in:3: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst
>>>
>>>configure.in:255: warning: do not use m4_regexp: use regexp or m4_bregexp
>>>
>>>autoheader: `config.h.in' is updated
>>>
>>>cd .  && CONFIG_FILES= CONFIG_HEADERS=config.h  /bin/sh ./config.status
>>>
>>>creating config.h
>>>
>>>cc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O -pipe  -DSBINDIR='"/usr/local/sbin"' -DETCDIR='"/usr/local/etc"' -c pptpd.c
>>>
>>>cc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O -pipe  -DSBINDIR='"/usr/local/sbin"' -DETCDIR='"/usr/local/etc"' -c configfile.c
>>>
>>>cc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O -pipe  -DSBINDIR='"/usr/local/sbin"' -DETCDIR='"/usr/local/etc"' -c pptpmanager.c
>>>
>>>cc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O -pipe  -DSBINDIR='"/usr/local/sbin"' -DETCDIR='"/usr/local/etc"' -c compat.c
>>>
>>>cc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O -pipe  -DSBINDIR='"/usr/local/sbin"' -DETCDIR='"/usr/local/etc"' -c inststr.c
>>>
>>>cc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O -pipe  -DSBINDIR='"/usr/local/sbin"' -DETCDIR='"/usr/local/etc"' -c getopt.c
>>>
>>>cc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O -pipe  -DSBINDIR='"/usr/local/sbin"' -DETCDIR='"/usr/local/etc"' -c getopt1.c
>>>
>>>cc  -O -pipe  -DSBINDIR='"/usr/local/sbin"' -DETCDIR='"/usr/local/etc"'  -o pptpd  pptpd.o configfile.o  pptpmanager.o compat.o inststr.o  getopt.o getopt1.o  
>>>
>>>cc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O -pipe  -DSBINDIR='"/usr/local/sbin"' -DETCDIR='"/usr/local/etc"' -c pptpctrl.c
>>>
>>>cc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O -pipe  -DSBINDIR='"/usr/local/sbin"' -DETCDIR='"/usr/local/etc"' -c ctrlpacket.c
>>>
>>>cc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O -pipe  -DSBINDIR='"/usr/local/sbin"' -DETCDIR='"/usr/local/etc"' -c pptpgre.c
>>>
>>>cc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O -pipe  -DSBINDIR='"/usr/local/sbin"' -DETCDIR='"/usr/local/etc"' -c ppphdlc.c
>>>
>>>cc  -O -pipe  -DSBINDIR='"/usr/local/sbin"' -DETCDIR='"/usr/local/etc"'  -o pptpctrl  pptpctrl.o ctrlpacket.o  inststr.o compat.o pptpgre.o ppphdlc.o -lutil 
>>>
>>>===>  Installing for poptop-1.1.4.b3
>>>
>>>cd . && autoconf
>>>
>>>/bin/sh ./config.status --recheck
>>>
>>>running /bin/sh ./configure  --with-bsdppp --prefix=/usr/local i386-portbld-freebsd4.8 --no-create --no-recursion
>>>
>>>configure: WARNING: you should use --build, --host, --target
>>>
>>>checking for a BSD-compatible install... /usr/bin/install -c
>>>
>>>checking whether build environment is sane... yes
>>>
>>>/usr/ports/net/poptop/work/poptop-1.1.4/missing: Unknown `--run' option
>>>
>>>Try `/usr/ports/net/poptop/work/poptop-1.1.4/missing --help' for more information
>>>
>>>configure: WARNING: `missing' script is too old or missing
>>>
>>>checking for gawk... no
>>>
>>>checking for mawk... no
>>>
>>>checking for nawk... nawk
>>>
>>>checking whether make sets ${MAKE}... yes
>>>
>>>checking for i386-portbld-freebsd4.8-gcc... no
>>>
>>>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 style of include used by make... GNU
>>>
>>>checking dependency style of gcc... none
>>>
>>>checking for i386-portbld-freebsd4.8-ranlib... no
>>>
>>>checking for ranlib... ranlib
>>>
>>>checking for a BSD-compatible install... /usr/bin/install -c
>>>
>>>checking whether ln -s works... yes
>>>
>>>checking whether make sets ${MAKE}... (cached) yes
>>>
>>>checking for gcc option to accept ANSI C... none needed
>>>
>>>checking for an ANSI C-conforming const... yes
>>>
>>>checking for inline... inline
>>>
>>>checking whether #! works in shell scripts... yes
>>>
>>>checking for setsid... yes
>>>
>>>checking for daemon... yes
>>>
>>>checking for setproctitle... yes
>>>
>>>checking for getservbyname... yes
>>>
>>>checking for strlcpy... yes
>>>
>>>checking for fork... yes
>>>
>>>checking for memmove... yes
>>>
>>>checking for strerror... yes
>>>
>>>checking how to run the C preprocessor... gcc -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... no
>>>
>>>checking for unistd.h... yes
>>>
>>>checking pty.h usability... no
>>>
>>>checking pty.h presence... no
>>>
>>>checking for pty.h... no
>>>
>>>checking for string.h... (cached) yes
>>>
>>>checking syslog.h usability... yes
>>>
>>>checking syslog.h presence... yes
>>>
>>>checking for syslog.h... yes
>>>
>>>checking libintl.h usability... no
>>>
>>>checking libintl.h presence... no
>>>
>>>checking for libintl.h... no
>>>
>>>checking libutil.h usability... yes
>>>
>>>checking libutil.h presence... yes
>>>
>>>checking for libutil.h... yes
>>>
>>>checking for size_t... yes
>>>
>>>checking for ssize_t... yes
>>>
>>>checking for u_int8_t... yes
>>>
>>>checking for u_int16_t... yes
>>>
>>>checking for u_int32_t... yes
>>>
>>>checking for socklen_t... yes
>>>
>>>checking for accept in -lc... yes
>>>
>>>checking for gethostbyname in -lc... yes
>>>
>>>checking for openpty in -lc... no
>>>
>>>checking for gettext in -lc... no
>>>
>>>checking for accept in -lsocket... no
>>>
>>>checking for gethostbyname in -lnsl... no
>>>
>>>checking for openpty in -lutil... yes
>>>
>>>checking for gettext in -lintl... no
>>>
>>>BSD user-space ppp selected - disabling PoPToP internal IP allocation.
>>>
>>>PPPD_IP_ALLOC: not found
>>>
>>>===============================================================================
>>>
>>>Configuration chosen:
>>>
>>>   PPPd IP allocation: No.
>>>
>>>   PPPd:               BSD user-space PPPd.
>>>
>>>   LIBWRAP security:   No.
>>>
>>>   Broadcast Relay:    No.
>>>
>>>   Mode:               IP tunneling server (PAC).
>>>
>>>===============================================================================
>>>
>>>configure: creating ./config.status
>>>
>>>cd . &&  CONFIG_HEADERS= CONFIG_LINKS=  CONFIG_FILES=Makefile /bin/sh ./config.status
>>>
>>>config.status: creating Makefile
>>>
>>>config.status: executing default-1 commands
>>>
>>>cd .  && CONFIG_FILES= CONFIG_HEADERS=config.h  /bin/sh ./config.status
>>>
>>>config.status: creating config.h
>>>
>>>config.status: executing default-1 commands
>>>
>>>Variable CFLAGS is recursive.
>>>
>>>*** Error code 2
>>>
>>>
>>>
>>>Stop in /usr/ports/net/poptop.

Regards,
Martin Schweizer
info at pc-service.ch --
PC-Service M. Schweizer
Gewerbehaus Schwarz
Postfach 132
CH-8608 Bubikon
Tel. +41 55 243 30 00
Fax: +41 55 243 33 22
www.pc-service.ch.ch



More information about the freebsd-questions mailing list