Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2001 18:53:21 -0800
From:      Andrew Stuart <elitetek@tekrealm.net>
To:        Lars.Koeller@uni-bielefeld.de
Cc:        freebsd-ports@freebsd.org
Subject:   apcupsd doesnt compile correctly, from cvsup on 12-4-01
Message-ID:  <20011204185321.A48792@freebsd.tekrealm.net>

next in thread | raw e-mail | index | archive | help

--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

included is full make output, and uname info. I can configure, and make
from source just fine. 


-- 
Andrew

--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=makelog
Content-Transfer-Encoding: quoted-printable

Script started on Tue Dec  4 18:47:25 2001
[elitetek@freebsd]:# make clean=0D=0D
=3D=3D=3D>  Cleaning for gettext-0.10.35=0D
=3D=3D=3D>  Cleaning for libtool-1.3.4_2=0D
=3D=3D=3D>  Cleaning for apcupsd-3.8.3_2=0D
[elitetek@freebsd]:# make=0D=0D
=3D=3D=3D>  Extracting for apcupsd-3.8.3_2=0D
>> Checksum OK for apcupsd-3.8.3.tar.gz.=0D
=3D=3D=3D>   apcupsd-3.8.3_2 depends on shared library: intl.1 - found=0D
=3D=3D=3D>  Patching for apcupsd-3.8.3_2=0D
=3D=3D=3D>  Applying FreeBSD patches for apcupsd-3.8.3_2=0D
=3D=3D=3D>  Configuring for apcupsd-3.8.3_2=0D
creating cache ./config.cache=0D
checking for true... /usr/bin/true=0D
checking for false... /usr/bin/false=0D
checking for gcc... cc=0D
checking whether the C compiler (cc -I/usr/local/include ) works... yes=0D
checking whether the C compiler (cc -I/usr/local/include ) is a cross-compi=
ler... no=0D
checking whether we are using GNU C... yes=0D
checking whether cc accepts -g... yes=0D
checking how to run the C preprocessor... cc -E=0D
checking whether cc understands -c and -o together... yes=0D
checking whether cc needs -traditional... no=0D
checking for a BSD compatible install... /usr/bin/install -c -o root -g whe=
el=0D
checking for gawk... no=0D
checking for mawk... no=0D
checking for nawk... no=0D
checking for awk... awk=0D
checking for pthreads... disabled=0D
checking for Cygwin environment... no=0D
checking for shutdown... /sbin/shutdown=0D
checking for wall... /usr/bin/wall=0D
checking for sh... /bin/sh=0D
checking for makedepend... /usr/X11R6/bin/makedepend=0D
checking for ranlib... /usr/bin/ranlib=0D
checking for abort... yes=0D
checking for alarm... yes=0D
checking for fork... yes=0D
checking for calloc... yes=0D
checking for gethostname... yes=0D
checking for getpid... yes=0D
checking for ioctl... yes=0D
checking for kill... yes=0D
checking for rewind... yes=0D
checking for select... yes=0D
checking for setsid... yes=0D
checking for signal... yes=0D
checking for strerror... yes=0D
checking for strncmp... yes=0D
checking for strncpy... yes=0D
checking for syslog... yes=0D
checking for tcgetattr... yes=0D
checking for vfprintf... yes=0D
checking for setpgrp... yes=0D
checking for strftime... yes=0D
checking whether setpgrp takes no argument... no=0D
checking for shmctl... yes=0D
checking for socket... yes=0D
using libc's socket=0D
checking for gethostbyname... yes=0D
using libc's resolver=0D
checking for gettext... no=0D
checking for gettext in -lintl... yes=0D
checking for inet_addr... yes=0D
using libc's inet_addr=0D
checking for strchr... yes=0D
using libc's strchr=0D
checking for strstr... yes=0D
checking for strcasecmp... yes=0D
checking for memmove... yes=0D
checking for getopt_long... no=0D
checking for setproctitle... yes=0D
checking for arpa/inet.h... yes=0D
checking for ctype.h... yes=0D
checking for errno.h... yes=0D
checking for fcntl.h... yes=0D
checking for limits.h... yes=0D
checking for netdb.h... yes=0D
checking for netinet/in.h... yes=0D
checking for pwd.h... yes=0D
checking for signal.h... yes=0D
checking for stdarg.h... yes=0D
checking for stdio.h... yes=0D
checking for stdlib.h... yes=0D
checking for string.h... yes=0D
checking for strings.h... yes=0D
checking for sys/ioctl.h... yes=0D
checking for sys/socket.h... yes=0D
checking for sys/types.h... yes=0D
checking for syslog.h... yes=0D
checking for termios.h... yes=0D
checking for unistd.h... yes=0D
checking for sys/ipc.h... yes=0D
checking for sys/sem.h... yes=0D
checking for sys/shm.h... yes=0D
checking whether stat file-mode macros are broken... no=0D
checking whether time.h and sys/time.h may both be included... yes=0D
checking for sys/wait.h that is POSIX.1 compatible... yes=0D
checking whether struct tm is in sys/time.h or time.h... time.h=0D
checking for tm_zone in struct tm... yes=0D
checking for uid_t in sys/types.h... yes=0D
checking type of array argument to getgroups... gid_t=0D
checking for ANSI C header files... yes=0D
checking for mode_t... yes=0D
checking for off_t... yes=0D
checking for pid_t... yes=0D
checking return type of signal handlers... void=0D
checking for size_t... yes=0D
checking for uid_t in sys/types.h... (cached) yes=0D
checking whether byte ordering is bigendian... no=0D
checking for working const... yes=0D
checking for inline... inline=0D
checking whether char is unsigned... no=0D
checking for preprocessor stringizing operator... yes=0D
checking for mingw32 environment... no=0D
checking for executable suffix... no=0D
checking whether #! works in shell scripts... yes=0D
checking for tcpd.h... yes=0D
checking for TCP wrappers library -lwrap... yes=0D
checking for initscr in -lncurses... yes=0D
ncurses ok=0D
checking for new_menu in -lmenu... yes=0D
menu ok=0D
checking for new_form in -lform... yes=0D
form ok=0D
checking for new_panel in -lpanel... yes=0D
panel ok=0D
checking for msgfmt... /usr/local/bin/msgfmt=0D
checking whether make sets ${MAKE}... yes=0D
checking for ranlib... /usr/bin/ranlib=0D
checking for POSIXized ISC... no=0D
checking for working alloca.h... no=0D
checking for alloca... yes=0D
checking for unistd.h... (cached) yes=0D
checking for getpagesize... yes=0D
checking for working mmap... yes=0D
checking for argz.h... no=0D
checking for limits.h... (cached) yes=0D
checking for locale.h... yes=0D
checking for nl_types.h... yes=0D
checking for malloc.h... no=0D
checking for string.h... (cached) yes=0D
checking for unistd.h... (cached) yes=0D
checking for sys/param.h... yes=0D
checking for getcwd... yes=0D
checking for munmap... yes=0D
checking for putenv... yes=0D
checking for setenv... yes=0D
checking for setlocale... yes=0D
checking for strchr... (cached) yes=0D
checking for strcasecmp... (cached) yes=0D
checking for strdup... yes=0D
checking for __argz_count... no=0D
checking for __argz_stringify... no=0D
checking for __argz_next... no=0D
checking for stpcpy... no=0D
checking for LC_MESSAGES... yes=0D
checking whether NLS is requested... yes=0D
checking whether included gettext is requested... no=0D
checking for libintl.h... yes=0D
checking for gettext in libc... yes=0D
checking for msgfmt... (cached) /usr/local/bin/msgfmt=0D
checking for dcgettext... yes=0D
checking for gmsgfmt... /usr/local/bin/msgfmt=0D
checking for xgettext... /usr/local/bin/xgettext=0D
checking for catalogs to be installed...  it=0D
checking for wait... yes=0D
checking for waitpid... yes=0D
checking for wait3... yes=0D
checking for union wait... yes=0D
Disabling internal libintl...=0D
Enabling internationalization support...=0D
checking for snprintf... yes=0D
Enabling cgi program support...=0D
checking for curses.h... yes=0D
checking for menu.h... yes=0D
checking for panel.h... yes=0D
updating cache ./config.cache=0D
creating ./config.status=0D
creating Makefile=0D
creating lib/Makefile=0D
creating distributions/Makefile=0D
creating etc/changeme=0D
creating etc/commfailure=0D
creating etc/commok=0D
creating etc/mainsback=0D
creating etc/onbattery=0D
creating etc/Makefile=0D
creating etc/apcupsd.conf=0D
creating examples/safe.apccontrol=0D
creating distributions/freebsd/Makefile=0D
creating distributions/freebsd/apcupsd=0D
creating distributions/freebsd/apccontrol.sh=0D
creating po/Makefile=0D
creating cgi/Makefile=0D
creating cgi/config.h=0D
creating cgi/gd1.2/Makefile=0D
creating config.h=0D
You can ignore any makedepend error messages=0D
(cd lib; make depend)=0D
=0D
=0D
Configuration:=0D
=0D
  Apcupsd version:	      3.8.3 (27 November 2001)=0D
  Source code location:       .=0D
  Install binaries:	      /usr/local/sbin=0D
  Install config files:       /usr/local/etc/apcupsd=0D
  Install man files:	      /usr/local/man=0D
  Nologin file in:	      /var/run=0D
  PID directory:	      /var/run=0D
  LOG dir (events, status)    /var/log=0D
  LOCK dir (for serial port)  /var/spool/lock=0D
  Power Fail dir	      /var/run=0D
  Compiler:		      cc=0D
  Compiler flags:	      -I/usr/local/include =0D
  Loader flags: 	      -O =0D
  Host and version:	      freebsd 4.4-STABLE=0D
  Shutdown Program:	      /sbin/shutdown=0D
  Serial device 	      /dev/usv=0D
  Network Info Port (CGI)     7000=0D
  Master/slave Port	      6666=0D
  UPSTYPE		      smartups=0D
  UPSCABLE		      smart=0D
=0D
  enable-cgi:		      yes=0D
  with-cgi-bin: 	      /usr/local/etc/apcupsd/cgi=0D
  with-css-dir: 	      =0D
  with-libwrap: 	      yes=0D
  enable-nls:		      yes=0D
  enable-libintl:	      no=0D
  enable-powerflute:	      yes=0D
  enable-pthreads:	      no=0D
  enable-dist-install:	      yes=0D
  =0D
=3D=3D=3D>  Building for apcupsd-3.8.3_2=0D
(internal libintl disabled)=0D
cc -DHAVE_CONFIG_H -c -I. -I./include  -I/usr/local/include apcupsd.c=0D
cc -DHAVE_CONFIG_H -c -I. -I./include  -I/usr/local/include apcnet.c=0D
cc -DHAVE_CONFIG_H -c -I. -I./include  -I/usr/local/include apcsetup.c=0D
cc -DHAVE_CONFIG_H -c -I. -I./include  -I/usr/local/include apcreports.c=0D
cc -DHAVE_CONFIG_H -c -I. -I./include  -I/usr/local/include apcsmart.c=0D
cc -DHAVE_CONFIG_H -c -I. -I./include  -I/usr/local/include apcserial.c=0D
cc -DHAVE_CONFIG_H -c -I. -I./include  -I/usr/local/include apcaction.c=0D
cc -DHAVE_CONFIG_H -c -I. -I./include  -I/usr/local/include apcoptd.c=0D
cc -DHAVE_CONFIG_H -c -I. -I./include  -I/usr/local/include apcnis.c=0D
(cd lib; make)=0D
cc -c -I/usr/local/include -I../ -I.. -I../include getopt.c=0D
cc -c -I/usr/local/include -I../ -I.. -I../include getopt1.c=0D
cc -c -I/usr/local/include -I../ -I.. -I../include apcconfig.c=0D
cc -c -I/usr/local/include -I../ -I.. -I../include apcerror.c=0D
cc -c -I/usr/local/include -I../ -I.. -I../include apcevents.c=0D
cc -c -I/usr/local/include -I../ -I.. -I../include apcexec.c=0D
cc -c -I/usr/local/include -I../ -I.. -I../include apcfile.c=0D
cc -c -I/usr/local/include -I../ -I.. -I../include apcipc.c=0D
cc -c -I/usr/local/include -I../ -I.. -I../include apclibnis.c=0D
cc -c -I/usr/local/include -I../ -I.. -I../include apclist.c=0D
cc -c -I/usr/local/include -I../ -I.. -I../include apclock.c=0D
cc -c -I/usr/local/include -I../ -I.. -I../include apclog.c=0D
cc -c -I/usr/local/include -I../ -I.. -I../include apcsignal.c=0D
cc -c -I/usr/local/include -I../ -I.. -I../include apcstatus.c=0D
cc -c -I/usr/local/include -I../ -I.. -I../include apcwinipc.c=0D
ar rc libapc.a getopt.o getopt1.o  apcconfig.o apcerror.o  apcevents.o apce=
xec.o  apcfile.o apcipc.o apclibnis.o  apclist.o apclock.o apclog.o  apcsig=
nal.o apcstatus.o apcwinipc.o=0D
/usr/bin/ranlib libapc.a=0D
cc -Llib -O apcupsd.o apcnet.o apcsetup.o apcreports.o apcsmart.o  apcseria=
l.o apcaction.o apcoptd.o apcnis.o -lintl -L/usr/local/lib  -Lyes/lib -lwra=
p   -o apcupsd -lapc=0D
cc -DHAVE_CONFIG_H -c -I. -I./include  -I/usr/local/include apcaccess.c=0D
cc -O apcaccess.o lib/libapc.a -lintl -L/usr/local/lib  -Lyes/lib -lwrap  -=
o apcaccess=0D
cc -DHAVE_CONFIG_H -c -I. -I./include  -I/usr/local/include apcnisd.c=0D
cc -Llib -O apcnisd.o -lintl -L/usr/local/lib  -Lyes/lib -lwrap  -o apcnisd=
 -lapc=0D
apcnisd.o: In function `do_daemon':=0D
apcnisd.o(.text+0x63c): undefined reference to `argvalue'=0D
apcnisd.o(.text+0x641): undefined reference to `check_wrappers'=0D
*** Error code 1=0D
=0D
Stop in /usr/ports/sysutils/apcupsd/work/apcupsd-3.8.3.=0D
*** Error code 1=0D
=0D
Stop in /usr/ports/sysutils/apcupsd.=0D
*** Error code 1=0D
=0D
Stop in /usr/ports/sysutils/apcupsd.=0D
*** Error code 1=0D
=0D
Stop in /usr/ports/sysutils/apcupsd.=0D
[elitetek@freebsd]:# uname -a=0D=0D
FreeBSD freebsd.tekrealm.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Sun Nov 18 1=
6:55:41 PST 2001     elitetek@freebsd.tekrealm.net:/usr/src/sys/compile/TEK=
REALM  i386=0D
[elitetek@freebsd]:# ^D=08=08exit=0D

Script done on Tue Dec  4 18:47:57 2001

--6c2NcOVqGQ03X4Wi--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011204185321.A48792>