Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#28 Free BSD configure/make errors current release version

open
nobody
None
5
2014-10-28
2003-04-05
Anonymous
No

Steps:

Note: Pasted Makefile into body and also attched.

compile /usr/ports/devel/automake
compile /usr/ports/devel/autoconf
etc...

#./configure

#make

"Makefile", line 403 Need operator
"Makefile", line 435 warning: duplicate script for target "%..o"
ignored
"Makefile", line 440 warning: duplicate script for target "%.o"
ignored
"Makefile", line 444 warning: duplicate script for target "%..lo"
ignored
"Makefile", line 444 warning: dupicate script for target "%.lo"
ignored
make: fatal errors encountered - cannot continue

-Makefile-

# Generated automatically from Makefile.in by configure.
# Makefile.in generated automatically by automake 1.4a from
Makefile.am

# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is
preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by
law; without
# even the implied warranty of MERCHANTABILITY or FITNESS
FOR A
# PARTICULAR PURPOSE.

#Makefile.am part of GNU Queue. Copyright 1998-2000 W. G.
Krebs
#Distributed under GPL. Absolutely no warranty. See file
COPYING for
#details and terms of license.

SHELL = /bin/sh

srcdir = .
top_srcdir = .
prefix = /usr/local
exec_prefix = ${prefix}

bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = /usr/local/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/Queue
pkglibdir = $(libdir)/Queue
pkgincludedir = $(includedir)/Queue

top_builddir = .

ACLOCAL = aclocal
AUTOCONF = autoconf
AUTOMAKE = automake
AUTOHEADER = autoheader

INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
INSTALL_STRIP_FLAG =
transform = s,x,x,

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_alias = i386-unknown-freebsd5.0
build_triplet = i386-unknown-freebsd5.0
host_alias = i386-unknown-freebsd5.0
host_triplet = i386-unknown-freebsd5.0
target_alias = i386-unknown-freebsd5.0
target_triplet = i386-unknown-freebsd5.0
CC = gcc
CXX = c++
LEX = flex
LN_S = ln -s
MAKEINFO = makeinfo
MANDATE = 07/2000
MODE = 4711
OWNER = root
PACKAGE = Queue
VERSION = 1.30.1

sbin_PROGRAMS = queued queue_manager task_manager
bin_PROGRAMS = queue task_control

#WGK 2000/08/11 Don't install random anywhere
#"rdiego@iol.it"<rdiego@iol.it> pointed out that random must be
#installed by Makefile.am (rather than in install-local-stuff)
#because it needs to link gethostbyname under Solaris.

noinst_PROGRAMS = random
random_SOURCES = random.c qlib.c

queued_SOURCES = queued.c lex.l handle.c ident.c pty.c qlib.c
mrestart.c wakeup.c sha1.c
queued_LDADD = -lfl
queue_SOURCES = queue.c wakeup.c ident.c qlib.c sha1.c
queue_LDADD =

queue_manager_SOURCES = queue_manager.cc queue_define.h
queue_manager_LDADD =

task_manager_SOURCES = task_manager.cc queue_define.h
task_manager_LDADD =

task_control_SOURCES = task_control.cc queue_define.h
task_control_LDADD =
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES = profile
PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
$(sbin_PROGRAMS)

DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.
CPPFLAGS =
LDFLAGS =
LIBS = -lutil -lkvm -lcrypt -lfl -lrpcsvc
queue_OBJECTS = queue.o wakeup.o ident.o qlib.o sha1.o
queue_DEPENDENCIES =
queue_LDFLAGS =
task_control_OBJECTS = task_control.o
task_control_DEPENDENCIES =
task_control_LDFLAGS =
random_OBJECTS = random.o qlib.o
random_LDADD = $(LDADD)
random_DEPENDENCIES =
random_LDFLAGS =
queued_OBJECTS = queued.o lex.o handle.o ident.o pty.o qlib.o
\ mrestart.o wakeup.o sha1.o
queued_DEPENDENCIES =
queued_LDFLAGS =
queue_manager_OBJECTS = queue_manager.o
queue_manager_DEPENDENCIES =
queue_manager_LDFLAGS =
task_manager_OBJECTS = task_manager.o
task_manager_DEPENDENCIES =
task_manager_LDFLAGS =
CXXFLAGS = -g -O2
CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES)
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS)
$(CXXFLAGS)
CXXLD = $(CXX)
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS)
$(LDFLAGS) -o $@
LEX_OUTPUT_ROOT = lex.yy
LEXLIB = -lfl
CFLAGS = -g -O2
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS)
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON = README ./stamp-h.in AUTHORS COPYING
ChangeLog INSTALL \ Makefile.am Makefile.in NEWS TODO acconfig.h aclocal.m4
config.guess \ config.h.in config.sub configure configure.in getloadavg.c \ getopt_long.c install-sh lex.c missing mkinstalldirs profile.in \ putenv.c setenv.c sigblock.c sigsetmask.c strdup.c

DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS)
$(TEXINFOS) $(EXTRA_DIST)

TAR = gtar
GZIP_ENV = --best
DEP_FILES = .deps/getloadavg.P .deps/getopt_long.P .deps/
handle.P \ .deps/ident.P .deps/lex.P .deps/mrestart.P .deps/pty.P .deps/
putenv.P \ .deps/qlib.P .deps/queue.P .deps/queue_manager.P .deps/
queued.P \ .deps/random.P .deps/setenv.P .deps/sha1.P .deps/sigblock.P \ .deps/sigsetmask.P .deps/strdup.P .deps/task_control.P \ .deps/task_manager.P .deps/wakeup.P
SOURCES = $(queue_SOURCES) $(task_control_SOURCES)
$(random_SOURCES) $(queued_SOURCES)
$(queue_manager_SOURCES) $(task_manager_SOURCES)
OBJECTS = $(queue_OBJECTS) $(task_control_OBJECTS)
$(random_OBJECTS) $(queued_OBJECTS)
$(queue_manager_OBJECTS) $(task_manager_OBJECTS)

all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .cc .l .o .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
$(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile

Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
$(BUILT_SOURCES)
cd $(top_builddir) \ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./
config.status

$(ACLOCAL_M4): configure.in
cd $(srcdir) && $(ACLOCAL)

config.status: $(srcdir)/configure
$(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4)
$(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF)

config.h: stamp-h
@if test ! -f $@; then \ rm -f stamp-h; \ $(MAKE) stamp-h; \ else :; fi
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
cd $(top_builddir) \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ $(SHELL) ./config.status
@echo timestamp > stamp-h 2> /dev/null
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
@if test ! -f $@; then \ rm -f $(srcdir)/stamp-h.in; \ $(MAKE) $(srcdir)/stamp-h.in; \ else :; fi
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
acconfig.h
cd $(top_srcdir) && $(AUTOHEADER)
@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null

mostlyclean-hdr:

clean-hdr:

distclean-hdr:
-rm -f config.h

maintainer-clean-hdr:
profile: $(top_builddir)/config.status profile.in
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS=
$(SHELL) ./config.status

mostlyclean-binPROGRAMS:

clean-binPROGRAMS:
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)

distclean-binPROGRAMS:

maintainer-clean-binPROGRAMS:

install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bindir)
@list='$(bin_PROGRAMS)'; for p in $$list; do \ if test -f $$p; then \ echo " $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG)
$$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed
'$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p
$(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed
'$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ else :; fi; \ done

uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL)
list='$(bin_PROGRAMS)'; for p in $$list; do \ rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed
'$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ done

mostlyclean-noinstPROGRAMS:

clean-noinstPROGRAMS:
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)

distclean-noinstPROGRAMS:

maintainer-clean-noinstPROGRAMS:

mostlyclean-sbinPROGRAMS:

clean-sbinPROGRAMS:
-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)

distclean-sbinPROGRAMS:

maintainer-clean-sbinPROGRAMS:

install-sbinPROGRAMS: $(sbin_PROGRAMS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(sbindir)
@list='$(sbin_PROGRAMS)'; for p in $$list; do \ if test -f $$p; then \ echo " $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG)
$$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed
'$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p
$(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed
'$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ else :; fi; \ done

uninstall-sbinPROGRAMS:
@$(NORMAL_UNINSTALL)
list='$(sbin_PROGRAMS)'; for p in $$list; do \ rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|
sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ done

.s.o:
$(COMPILE) -c $<

.S.o:
$(COMPILE) -c $<

mostlyclean-compile:
-rm -f *.o core *.core

clean-compile:

distclean-compile:
-rm -f *.tab.c

maintainer-clean-compile:

queue: $(queue_OBJECTS) $(queue_DEPENDENCIES)
@rm -f queue
$(LINK) $(queue_LDFLAGS) $(queue_OBJECTS)
$(queue_LDADD) $(LIBS)

task_control: $(task_control_OBJECTS)
$(task_control_DEPENDENCIES)
@rm -f task_control
$(CXXLINK) $(task_control_LDFLAGS)
$(task_control_OBJECTS) $(task_control_LDADD) $(LIBS)

random: $(random_OBJECTS) $(random_DEPENDENCIES)
@rm -f random
$(LINK) $(random_LDFLAGS) $(random_OBJECTS)
$(random_LDADD) $(LIBS)

queued: $(queued_OBJECTS) $(queued_DEPENDENCIES)
@rm -f queued
$(LINK) $(queued_LDFLAGS) $(queued_OBJECTS)
$(queued_LDADD) $(LIBS)

queue_manager: $(queue_manager_OBJECTS)
$(queue_manager_DEPENDENCIES)
@rm -f queue_manager
$(CXXLINK) $(queue_manager_LDFLAGS)
$(queue_manager_OBJECTS) $(queue_manager_LDADD) $(LIBS)

task_manager: $(task_manager_OBJECTS)
$(task_manager_DEPENDENCIES)
@rm -f task_manager
$(CXXLINK) $(task_manager_LDFLAGS)
$(task_manager_OBJECTS) $(task_manager_LDADD) $(LIBS)
.cc.o:
$(CXXCOMPILE) -c $<
.l.c:
$(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv
$(LEX_OUTPUT_ROOT).c $@

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP)
list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP)

TAGS: $(HEADERS) $(SOURCES) config.h.in
$(TAGS_DEPENDENCIES) $(LISP)
tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in
$$unique $(LISP) -o $$here/TAGS)

mostlyclean-tags:

clean-tags:

distclean-tags:
-rm -f TAGS ID

maintainer-clean-tags:

distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)

# This target untars the dist file and tries a VPATH configuration.
Then
# it guarantees that the distribution is self-contained by making
another
# tarfile.
distcheck: dist
-rm -rf $(distdir)
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
mkdir $(distdir)/=build
mkdir $(distdir)/=inst
dc_install_base=`cd $(distdir)/=inst && pwd`; \ cd $(distdir)/=build \ && ../configure --srcdir=.. --prefix=$$dc_install_base \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) dist
-rm -rf $(distdir)
@banner="$(distdir).tar.gz is ready for distribution"; \ dashes=`echo "$$banner" | sed s/./=/g`; \ echo "$$dashes"; \ echo "$$banner"; \ echo "$$dashes"
dist: distdir
-chmod -R a+r $(distdir)
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
-rm -rf $(distdir)
dist-all: distdir
-chmod -R a+r $(distdir)
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
-rm -rf $(distdir)
distdir: $(DISTFILES)
-rm -rf $(distdir)
mkdir $(distdir)
-chmod 777 $(distdir)
here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; \ cd $(top_srcdir) \ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-
name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
@for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done

DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)

-include $(DEP_FILES)

mostlyclean-depend:

clean-depend:

distclean-depend:
-rm -rf .deps

maintainer-clean-depend:

%.o: %.c
@echo '$(COMPILE) -c $<'; \ $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
@-cp .deps/$(*F).pp .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm .deps/$(*F).pp

%.lo: %.c
@echo '$(LTCOMPILE) -c $<'; \ $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ < .deps/$(*F).pp > .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm -f .deps/$(*F).pp

%.o: %.cc
@echo '$(CXXCOMPILE) -c $<'; \ $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
@-cp .deps/$(*F).pp .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm .deps/$(*F).pp

%.lo: %.cc
@echo '$(LTCXXCOMPILE) -c $<'; \ $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ < .deps/$(*F).pp > .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm -f .deps/$(*F).pp
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
all-recursive-am: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive

install-exec-am: install-binPROGRAMS install-sbinPROGRAMS \ install-exec-local
install-exec: install-exec-am

install-data-am: install-data-local
install-data: install-data-am

install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-binPROGRAMS uninstall-sbinPROGRAMS
\ uninstall-local
uninstall: uninstall-am
all-am: Makefile $(PROGRAMS) config.h
all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
installdirs:
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(sbindir)

mostlyclean-generic:

clean-generic:

distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*

maintainer-clean-generic:
-test -z "lexl" || rm -f lexl
mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \ mostlyclean-noinstPROGRAMS mostlyclean-sbinPROGRAMS \ mostlyclean-compile mostlyclean-tags mostlyclean-depend \ mostlyclean-generic

mostlyclean: mostlyclean-am

clean-am: clean-hdr clean-binPROGRAMS clean-
noinstPROGRAMS \ clean-sbinPROGRAMS clean-compile clean-tags \ clean-depend clean-generic mostlyclean-am

clean: clean-am

distclean-am: distclean-hdr distclean-binPROGRAMS \ distclean-noinstPROGRAMS distclean-sbinPROGRAMS \ distclean-compile distclean-tags distclean-depend \ distclean-generic clean-am

distclean: distclean-am
-rm -f config.status

maintainer-clean-am: maintainer-clean-hdr maintainer-clean-
binPROGRAMS \ maintainer-clean-noinstPROGRAMS \ maintainer-clean-sbinPROGRAMS maintainer-clean-compile \ maintainer-clean-tags maintainer-clean-depend \ maintainer-clean-generic distclean-am
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."

maintainer-clean: maintainer-clean-am
-rm -f config.status

.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-
clean-hdr \ mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-
binPROGRAMS \ maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-
binPROGRAMS \ mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \ clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \ mostlyclean-sbinPROGRAMS distclean-sbinPROGRAMS clean-
sbinPROGRAMS \ maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \ install-sbinPROGRAMS mostlyclean-compile distclean-compile \ clean-compile maintainer-clean-compile tags mostlyclean-tags \ distclean-tags clean-tags maintainer-clean-tags distdir \ mostlyclean-depend distclean-depend clean-depend \ maintainer-clean-depend info-am info dvi-am dvi check check-am \ installcheck-am installcheck all-recursive-am install-exec-local \ install-exec-am install-exec install-data-local install-data-am \ install-data install-am install uninstall-local uninstall-am uninstall \ all-redirect all-am all installdirs mostlyclean-generic \ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean

install-exec-local: install-local-stuff
$(INSTALL) -d ${exec_prefix}/bin >/dev/null 2>&1 || (mkdir
${exec_prefix}/bin; exit 0)
$(INSTALL) -d ${exec_prefix}/sbin > /dev/null 2>&1 || (mkdir
${exec_prefix}/sbin ; exit 0)
$(INSTALL) -m 4711 -o root queue ${bindir}/queue
$(INSTALL) -m 700 -o root queued ${sbindir}/queued
(ln -s ${bindir}/queue ${bindir}/qsh; exit 0)
(ln -s queue qsh; exit 0)

install-local-stuff:
$(INSTALL) -o root -m 700 -d /usr/local/var/ || (mkdir ${prefix}/
share; chmod 700 ${prefix}/share; exit 0)
$(INSTALL) -d ${prefix}/share > /dev/null 2>&1 || (mkdir ${prefix}/
share; exit 0)
if test ! -s ${prefix}/share/queuecookiefile ; then ./random >
${prefix}/share/queuecookiefile; chmod 400 ${prefix}/share/
queuecookiefile; fi
echo Adding this host to Queue host access control list file...
HOSTNAME=`hostname`; grep $$HOSTNAME ${prefix}/share/
qhostsfile; if test $$? -ne 0 ; then echo $$HOSTNAME >>
${prefix}/share/qhostsfile; fi; exit 0
(chmod 644 ${prefix}/share/qhostsfile >/dev/null 2>&1; exit 0)
$(INSTALL) -d /usr/local/var || (mkdir /usr/local/var; exit 0)

install-data-local:
$(INSTALL) -d /usr/local/var || (mkdir /usr/local/var; exit 0)
$(INSTALL) -o root -m 700 -d /usr/local/var/queue/ || (mkdir /usr/
local/var/queue; chmod 700 /usr/local/var/queue; exit 0)
$(INSTALL) -o root -m 700 -d /usr/local/var/queue/now || (mkdir /
usr/local/var/queue/now; chmod 700 /usr/local/var/queue/now; exit
0)
$(INSTALL) -o root -m 700 -d /usr/local/var/queue/wait || (mkdir /
usr/local/var/queue/wait; chmod 700 /usr/local/var/queue/wait; exit
0)
$(INSTALL) -o root -m 600 profile /usr/local/var/queue/now
$(INSTALL) -o root -m 600 profile /usr/local/var/queue/wait
$(INSTALL) -m 755 -d ${prefix}/info || ( mkdir ${prefix}/info; chmod
755 @infodir )
$(INSTALL) -m 644 doc/queue.info ${prefix}/info
(install-info --infodir=${prefix}/info ${prefix}/info/queue.info; exit 0)
$(INSTALL) -m 755 -d ${prefix}/man/man1 || ( mkdir ${prefix}/man;
mkdir ${prefix}/man/man; chmod 755 ${prefix}/man ${prefix}/man/
man1 )
cp doc/queue.man doc/queue.1
$(INSTALL) -m 644 doc/queue.1 ${prefix}/man/man1/
(ln ${prefix}/man/man1/queue.1 ${prefix}/man/man1/qsh.1; exit 0)

uninstall-local: uninstall-local-exec uninstall-local-data

uninstall-local-data:
(rm -rf /usr/local/var/queue; exit 0)
(rm -rf /usr/local/var/queued.pid*; exit 0)
echo You may wish to delete ${prefix}/share/qhostsfile as well.

uninstall-local-exec:
(rm ${bindir}/queue; exit 0)
(rm ${sbindir}/queued; exit 0)

# Tell versions [3.59,3.63) of GNU make to not export all
variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

Discussion

  • The makefile generated by ./configure

     
    Attachments
  • Logged In: NO

    Sorry, being a developer myself I should know better but I forgot to
    include some imporrtant information.

    OS Version: FreeBSD 5.0 release

    -Configure Output-
    loading cache ./config.cache
    checking host system type... i386-unknown-freebsd5.0
    checking target system type... i386-unknown-freebsd5.0
    checking build system type... i386-unknown-freebsd5.0
    checking for a BSD compatible install... (cached) /usr/bin/install -c
    checking whether build environment is sane... yes
    checking whether make sets ${MAKE}... (cached) 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... (cached) gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for c++... (cached) c++
    checking whether the C++ compiler (c++ ) works... yes
    checking whether the C++ compiler (c++ ) is a cross-compiler... no
    checking whether we are using GNU C++... (cached) yes
    checking whether c++ accepts -g... (cached) yes
    checking for a BSD compatible install... /usr/bin/install -c
    checking whether ln -s works... (cached) yes
    checking how to run the C preprocessor... (cached) gcc -E
    checking for flex... (cached) flex
    checking for flex... (cached) flex
    checking for yywrap in -lfl... (cached) yes
    checking lex output file root... (cached) lex.yy
    checking whether yytext is a pointer... (cached) yes
    checking for flex... (cached) flex
    checking lex output file root... (cached) lex.yy
    checking whether yytext is a pointer... (cached) yes
    checking for main in -lrpcsvc... (cached) yes
    checking for main in -lelf... (cached) no
    checking for main in -lsocket... (cached) no
    checking for main in -lnsl... (cached) no
    checking for main in -lxnet... (cached) no
    checking for main in -lfl... (cached) yes
    checking for main in -lcrypt... (cached) yes
    checking for dirent.h that defines DIR... (cached) yes
    checking for opendir in -ldir... (cached) no
    checking for ANSI C header files... (cached) yes
    checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
    checking for sys/time.h... (cached) yes
    checking for arpa/inet.h... (cached) yes
    checking for ctype.h... (cached) yes
    checking for dirent.h... (cached) yes
    checking for errno.h... (cached) yes
    checking for fcntl.h... (cached) yes
    checking for fstab.h... (cached) yes
    checking for i386/vmparam.h... (cached) no
    checking for machine/param.h... (cached) yes
    checking for mntent.h... (cached) no
    checking for ndir.h... (cached) no
    checking for netdb.h... (cached) yes
    checking for netinet/in.h... (cached) yes
    checking for nlist.h... (cached) yes
    checking for pwd.h... (cached) yes
    checking for signal.h... (cached) yes
    checking for stdio.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for strings.h... (cached) yes
    checking for sys/audit.h... (cached) no
    checking for sys/dir.h... (cached) no
    checking for sys/file.h... (cached) yes
    checking for sys/fixpoint.h... (cached) no
    checking for sys/ioctl.h... (cached) yes
    checking for sys/ndir.h... (cached) no
    checking for sys/param.h... (cached) yes
    checking for sys/pstat.h... (cached) no
    checking for sys/resource.h... (cached) yes
    checking for sys/signal.h... (cached) yes
    checking for sys/socket.h... (cached) yes
    checking for sys/sockio.h... (cached) yes
    checking for sys/stat.h... (cached) yes
    checking for sys/statvfs.h... (cached) yes
    checking for sys/statfs.h... (cached) no
    checking for sys/sysmp.h... (cached) no
    checking for sys/time.h... (cached) yes
    checking for sys/types.h... (cached) yes
    checking for sys/un.h... (cached) yes
    checking for sys/vfs.h... (cached) no
    checking for sys/wait.h... (cached) yes
    checking for syslog.h... (cached) yes
    checking for termios.h... (cached) yes
    checking for time.h... (cached) yes
    checking for ulimit.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for ustat.h... (cached) no
    checking for utmp.h... (cached) yes
    checking for vfork.h... (cached) no
    checking for limits.h... (cached) yes
    checking for sys/times.h... (cached) yes
    checking for getopt.h... (cached) yes
    checking for asm/checkpoint.h... (cached) no
    checking for working const... (cached) yes
    checking for uid_t in sys/types.h... (cached) yes
    checking for mode_t... (cached) yes
    checking for off_t... (cached) yes
    checking for pid_t... (cached) yes
    checking for size_t... (cached) yes
    checking for st_rdev in struct stat... (cached) yes
    checking for sys_siglist declaration in signal.h or unistd.h... (cached)
    yes
    checking whether time.h and sys/time.h may both be included...
    (cached) yes
    checking whether struct tm is in sys/time.h or time.h... (cached) time.h
    checking type of array argument to getgroups... (cached) gid_t
    checking whether getpgrp takes no argument... (cached) yes
    checking whether gcc needs -traditional... (cached) no
    checking whether setpgrp takes no argument... (cached) no
    checking return type of signal handlers... (cached) void
    checking for vfork.h... (cached) no
    checking for working vfork... (cached) yes
    checking for vprintf... (cached) yes
    checking for wait3 that fills in rusage... (cached) yes
    checking for elf_begin in -lelf... (cached) no
    checking for kvm_open in -lkvm... (cached) yes
    checking for getloadavg in -lutil... (cached) yes
    checking for getloadavg... (cached) yes
    checking whether getloadavg requires setgid... (cached) yes
    checking group of /dev/kmem... (cached) kmem
    checking for getcwd... (cached) yes
    checking for gethostname... (cached) yes
    checking for getwd... (cached) yes
    checking for mkdir... (cached) yes
    checking for select... (cached) yes
    checking for socket... (cached) yes
    checking for getrlimit... (cached) yes
    checking for sigblock... (cached) yes
    checking for sigsetmask... (cached) yes
    checking for setsid... (cached) yes
    checking for setlinebuf... (cached) yes
    checking for insque... (cached) yes
    checking for setresuid... (cached) yes
    checking for setresgid... (cached) yes
    checking for herror... (cached) yes
    checking for _getpty... (cached) no
    checking for putenv... (cached) yes
    checking for setenv... (cached) yes
    checking for strdup... (cached) yes
    checking for sigsetmask... (cached) yes
    checking for getopt_long... (cached) yes
    checking for sigblock... (cached) yes
    checking for ut_addr in utmp.h... (cached) nope
    checking for working identd service on port 113... (cached) nope

    --enable-checkpoint=NO ... checkpointing (beta) disabled (default)
    --enable-manager=NO ... queue_manager (beta) not compiled in (default)
    --enable-root=YES ... Compiling for cluster-wide installation (preferred).
    See \'./configure --help\' and manual for more information on the --enable
    option.

    NO_ROOT cookiefile is "/usr/local/share/queuecookiefile"
    Host access control file is "/usr/local/share/qhostsfile"
    NFS-shared Queue spool directory is "/usr/local/var/queue"
    Local queued process id file prefix is "/usr/local/var/queued.pid"
    Error mail goes to "root"

    updating cache ./config.cache
    creating ./config.status
    creating profile
    creating Makefile
    creating doc/QueueVN.texi
    creating doc/queue.man
    creating config.h
    config.h is unchanged

     
  • Mike Castle
    Mike Castle
    2003-04-05

    Logged In: YES
    user_id=596321

    If GNU Make is used, does this same error occur?

     
  • Logged In: NO

    Actually a different error occurs if gmake is used.