Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 2004 10:04:17 -0700
From:      "Eric Brueggmann" <brueggma@illinoisalumni.org>
To:        <ports@FreeBSD.org>
Subject:   mod_dave - build failure.
Message-ID:  <11e7d01c436b0$d41b7610$0a11010a@mail2world.com>

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

Greetings,

I tried to build mod_dave this afternoon, but I keep getting a failure.
What am I doing wrong?

Thank you,
Eric B.

athlon1# cat /etc/make.conf

CPUTYPE?=athlon-mp

SUP_UPDATE= yes
SUP= /usr/local/bin/cvsup
SUPFLAGS= -g -L 2
SUPHOST= cvsup6.freebsd.org
# SUPFILE= /usr/share/examples/cvsup/standard-supfile
SUPFILE= /usr/share/examples/cvsup/stable-supfile-5
PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile

KERNCONF=ATHLON

SENDMAIL_MC=/etc/mail/athlon.mc
# NO_SENDMAIL= true

WITH_SSL_AND_PLAINTEXT=1
WITH_OPENSSL=yes
BUILD_OPTIMIZED=yes
WITH_GETTEXT=yes
WITH_THREADS=yes
WITH_LIBMAP=yes
WITH_SYMLINK_PATCH=yes

# -- use.perl generated deltas -- #
# Created: Wed May 5 16:29:14 2004
# Setting to use base perl from ports:
PERL_VER=5.8.2
PERL_VERSION=5.8.2
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo


athlon1# cd /usr/ports/www/mod_dav/; make clean ; make
===> Cleaning for perl-threaded-5.8.2_5
===> Cleaning for expat-1.95.7
===> Cleaning for apache-1.3.29_6
===> Cleaning for mod_dav-1.0.3_1
===> Vulnerability check disabled
===> Extracting for mod_dav-1.0.3_1
>> Checksum OK for mod_dav-1.0.3-1.3.6.tar.gz.
===> Patching for mod_dav-1.0.3_1
===> Applying extra patch /usr/ports/www/mod_dav/files/SYMLINK-mod_dav.h
===> Applying extra patch
/usr/ports/www/mod_dav/files/SYMLINK-dav_fs_repos.c
===> mod_dav-1.0.3_1 depends on file: /usr/local/sbin/apxs - found
===> Configuring for mod_dav-1.0.3_1
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for static Apache module support... no
checking for dynamic Apache module support (via APXS)... found at
/usr/local/sbin/apxs
configure: error: Your APXS installation is broken and cannot be used.
Please see http://www.webdav.org/mod_dav/install.html#apxs for
more information.
===> Script "configure" failed unexpectedly.
Please report the problem to ports@FreeBSD.org [maintainer] and attach
the
"/usr/ports/www/mod_dav/work/mod_dav-1.0.3-1.3.6/config.log" including
the
output of the failure of your make command. Also, it might be a good
idea to
provide an overview of all packages installed on your system (e.g. an
`ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/www/mod_dav.
athlon1#

athlon1# ls /var/db/pkg/
apache-2.0.49 p5-Digest-Nilsimsa-0.06
arc-5.21j p5-Digest-SHA1-2.07
autoconf-2.53_1 p5-HTML-Parser-3.35
autoconf-2.57_1 p5-HTML-Tagset-3.03
automake-1.5,1 p5-IO-INET6-2.01
bash-2.05b.007 p5-MIME-Base64-3.01
clamav-0.70_1 p5-Mail-SpamAssassin-2.63_1
cvsup-without-gui-16.1h p5-Mail-Tools-1.60
expat-1.95.7 p5-Net-DNS-0.46
freetype2-2.1.7_3 p5-PodParser-1.26
gd-2.0.22,1 p5-SNMP_Session-1.03
gettext-0.13.1_1 p5-Socket6-0.17
gmake-3.80_2 p5-URI-1.30
healthd-0.7.6_1 p5-gettext-1.01_4
help2man-1.33.1 perl-threaded-5.8.2_5
jpeg-6b_2 pf_freebsd-2.03
lha-1.14i_4 png-1.2.5_4
libgmp-4.1.2_3 razor-agents-2.40
libiconv-1.9.1_3 sirc-2.211
libtool-1.3.5_2 spamass-milter-0.2.0_1
m4-1.4_1 unarj-2.43_1
mrtg-2.10.13,1 unrar-3.30_1,3
net-snmp-5.1.1_3 unzip-5.50_2
p5-Digest-1.08 zoo-2.10.1
p5-Digest-HMAC-1.01



athlon1# cat /usr/ports/www/mod_dav/work/mod_dav-1.0.3-1.3.6/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.52. Invocation command line was

$ ./configure --prefix=/usr/local --bindir=/usr/local/bin
--sbindir=/usr/local/sbin --libexecdir=/usr/local/libexec/apache
--mandir=/usr/local/man --sysconfdir=/usr/local/etc/apache
--datadir=/usr/local/share/apache --includedir=/usr/local/include/apache
--with-apxs=/usr/local/sbin/apxs

## ---------- ##
## Platform. ##
## ---------- ##

hostname = athlon1.bsdnut.org
uname -m = i386
uname -r = 5.2.1-RELEASE-p6
uname -s = FreeBSD
uname -v = FreeBSD 5.2.1-RELEASE-p6 #4: Sat May 8 11:55:50 CDT 2004
root@athlon1.bsdnut.org:/usr/obj/usr/src/sys/ATHLON

/usr/bin/uname -p = i386
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH =
/usr/local/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:
/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin

## ------------ ##
## Core tests. ##
## ------------ ##

configure:921: PATH=".;."; conftest.sh
conftest.sh: not found
configure:924: $? = 127
configure:980: checking for gcc
configure:1003: result: cc
configure:1231: checking for C compiler version
configure:1234: cc --version 
cc (GCC) 3.3.3 [FreeBSD] 20031106
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

configure:1237: $? = 0
configure:1239: cc -v 
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.3.3 [FreeBSD] 20031106
configure:1242: $? = 0
configure:1244: cc -V 
cc: `-V' option must have argument
configure:1247: $? = 1
configure:1267: checking for C compiler default output
configure:1270: cc -O -pipe -march=athlon-mp conftest.c >&5
configure:1273: $? = 0
configure:1302: result: a.out
configure:1307: checking whether the C compiler works
configure:1313: ./a.out
configure:1316: $? = 0
configure:1331: result: yes
configure:1338: checking whether we are cross compiling
configure:1340: result: no
configure:1343: checking for executable suffix
configure:1345: cc -o conftest -O -pipe -march=athlon-mp conftest.c >&5
configure:1348: $? = 0
configure:1370: result:
configure:1376: checking for object suffix
configure:1394: cc -c -O -pipe -march=athlon-mp conftest.c>&5
configure:1397: $? = 0
configure:1416: result: o
configure:1420: checking whether we are using the GNU C compiler
configure:1441: cc -c -O -pipe -march=athlon-mp conftest.c>&5
configure:1444: $? = 0
configure:1447: test -s conftest.o
configure:1450: $? = 0
configure:1462: result: yes
configure:1468: checking whether cc accepts -g
configure:1486: cc -c -g conftest.c>&5
configure:1489: $? = 0
configure:1492: test -s conftest.o
configure:1495: $? = 0
configure:1505: result: yes
configure:1532: cc -c -O -pipe -march=athlon-mp conftest.c>&5
conftest.c:2: error: syntax error before "me"
configure:1535: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
#endif
configure:1671: checking for ranlib
configure:1686: found /usr/bin/ranlib
configure:1695: result: ranlib
configure:1737: checking how to run the C preprocessor
configure:1763: cc -E conftest.c
configure:1769: $? = 0
configure:1796: cc -E conftest.c
configure:1793:28: ac_nonexistent.h: No such file or directory
configure:1802: $? = 1
configure: failed program was:
#line 1792 "configure"
#include "confdefs.h"
#include 
configure:1839: result: cc -E
configure:1854: cc -E conftest.c
configure:1860: $? = 0
configure:1887: cc -E conftest.c
configure:1884:28: ac_nonexistent.h: No such file or directory
configure:1893: $? = 1
configure: failed program was:
#line 1883 "configure"
#include "confdefs.h"
#include 
configure:1932: checking for ANSI C header files
configure:1946: cc -E conftest.c
configure:1952: $? = 0
configure:2039: cc -o conftest -O -pipe -march=athlon-mp conftest.c >&5
configure:2042: $? = 0
configure:2044: ./conftest
configure:2047: $? = 0
configure:2060: result: yes
configure:2070: checking for static Apache module support
configure:2103: result: no
configure:2108: checking for dynamic Apache module support (via APXS)
configure:2148: result: found at /usr/local/sbin/apxs
configure:2157: error: Your APXS installation is broken and cannot be
used.
Please see http://www.webdav.org/mod_dav/install.html#apxs for
more information.

## ----------------- ##
## Cache variables. ##
## ----------------- ##

ac_cv_prog_cc_g=yes
ac_cv_env_LDFLAGS_set=
ac_cv_c_compiler_gnu=yes
ac_cv_env_CFLAGS_set=set
ac_cv_env_CPP_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_host_alias_set=
ac_cv_env_build_alias_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_target_alias_set=
ac_cv_env_CFLAGS_value='-O -pipe -march=athlon-mp'
ac_cv_env_CC_set=set
ac_cv_header_stdc=yes
ac_cv_env_CPPFLAGS_value=
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_env_host_alias_value=
ac_cv_prog_CPP='cc -E'
ac_cv_env_build_alias_value=
ac_cv_prog_ac_ct_CC=cc
ac_cv_env_target_alias_value=
ac_cv_env_CC_value=cc
ac_cv_env_CPP_set=
ac_cv_objext=o

## ------------ ##
## confdefs.h. ##
## ------------ ##

#define STDC_HEADERS 1


configure: exit 1
athlon1#




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11e7d01c436b0$d41b7610$0a11010a>