Hello,
I have compiled and installed apache 2.
Then I wen to configure and make Rivet and got the following problem,
I have no idea how to sort it out. Has anybody got an idea?
[EMAIL PROTECTED]:~/Downloads/rivet$ ./configure
--with-apxs=/usr/bin/apxs --with-apache=/usr/local/apache2
checking for correct TEA configuration... ok (TEA 3.1)
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for Tcl configuration... found /usr/lib/tclConfig.sh
checking for existence of /usr/lib/tclConfig.sh... loading
configure: --prefix defaulting to TCL_PREFIX /usr
configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... 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 gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for egrep... grep -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... yes
checking for unistd.h... yes
checking if the compiler understands -pipe... yes
checking whether byte ordering is bigendian... no
checking for sin... no
checking for main in -lieee... yes
checking for main in -linet... no
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking for connect... yes
checking for gethostbyname... yes
checking dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc -pipe... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for dlfcn.h... (cached) yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc -pipe object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking if gcc -pipe static flag works... yes
checking if gcc -pipe supports -fno-rtti -fno-exceptions... no
checking for gcc -pipe option to produce PIC... -fPIC
checking if gcc -pipe PIC flag -fPIC works... yes
checking if gcc -pipe supports -c -o file.o... yes
checking whether the gcc -pipe linker (/usr/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for Tcl public headers... /usr/include/tcl8.4/tcl-private/generic
checking for pthread_mutex_init in -lpthread... yes
checking for pthread_attr_setstacksize... yes
checking for readdir_r... yes
checking for building with threads... yes
checking how to build libraries... shared
checking if 64bit support is enabled... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... Linux-2.6.20-16-generic
checking for dlopen in -ldl... yes
checking for ar... ar
checking for required early compiler flags... _LARGEFILE64_SOURCE
checking for 64-bit integer type... long long
checking for struct dirent64... no
checking for struct stat64... yes
checking for off64_t... yes
checking for build with symbols... no
checking for tclsh... /usr/lib/../bin/tclsh8.4
checking for Apache base directory... Apache base directory found
checking for apxs... /usr/local/apache2/bin/apxs
checking for Apache includes directory...
# Check whether --with-apache_base or --without-apache_base was given.
if test "" = set; then
withval=""
with_apache="/usr/local/apache2"
fi;
echo "configure:26326: checking for Apache base directory" >&5
echo -n "checking for Apache base directory... " >&6
if test -e /usr/local/apache2/bin/apachectl; then
with_apxs=/usr/local/apache2/bin/apxs
apache_base=/usr/local/apache2
echo "configure:26326: result: Apache base directory found" >&5
echo "Apache base directory found" >&6
else
{ { echo "configure:26326: error: Apache base directory not
found. Specify --with-apache" >&5
echo "configure: error: Apache base directory not found. Specify
--with-apache" >&2;}
{ (exit 1); exit 1; }; }
fi
INCLUDES found!
checking for apr includes directory... APR INCLUDES found!
checking for apache version... building for apache 2.x
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/apache-2/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
[EMAIL PROTECTED]:~/Downloads/rivet$ make
make all-recursive
make[1]: Entering directory `/home/xbourgui/Downloads/rivet'
Making all in src
make[2]: Entering directory `/home/xbourgui/Downloads/rivet/src'
Making all in apache-2
make[3]: Entering directory `/home/xbourgui/Downloads/rivet/src/apache-2'
if /bin/bash ../../libtool --mode=compile gcc -pipe -DHAVE_CONFIG_H
-I. -I. -I../.. -I/usr/local/apache2/include
-I/usr/local/apache2/include -I..
-I"/usr/include/tcl8.4/tcl-private/generic"
-I/usr/local/apache2/include -DSTART_TAG='"<?"' -DEND_TAG='"?>"' -O2
-Wall -Wno-implicit-int -fPIC -MT mod_rivet_la-apache_request.lo -MD
-MP -MF ".deps/mod_rivet_la-apache_request.Tpo" \
-c -o mod_rivet_la-apache_request.lo `test -f
'apache_request.c' || echo './'`apache_request.c; \
then mv -f ".deps/mod_rivet_la-apache_request.Tpo"
".deps/mod_rivet_la-apache_request.Plo"; \
else rm -f ".deps/mod_rivet_la-apache_request.Tpo"; exit 1; \
fi
gcc -pipe -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/apache2/include -I/usr/local/apache2/include -I..
-I/usr/include/tcl8.4/tcl-private/generic -I/usr/local/apache2/include
"-DSTART_TAG=\"<?\"" "-DEND_TAG=\"?>\"" -O2 -Wall -Wno-implicit-int
-fPIC -MT mod_rivet_la-apache_request.lo -MD -MP -MF
.deps/mod_rivet_la-apache_request.Tpo -c apache_request.c -fPIC -DPIC
-o .libs/mod_rivet_la-apache_request.o
Assembler messages:
Fatal error: can't create .libs/mod_rivet_la-apache_request.o: Permission denied
In file included from /usr/local/apache2/include/apr_lib.h:28,
from apache_request.c:20:
/usr/local/apache2/include/apr.h:273: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'apr_off_t'
In file included from /usr/local/apache2/include/apr_file_io.h:29,
from /usr/local/apache2/include/apr_network_io.h:26,
from /usr/local/apache2/include/httpd.h:53,
from apache_request.h:4,
from apache_request.c:22:
/usr/local/apache2/include/apr_file_info.h:204: error: expected
specifier-qualifier-list before 'apr_off_t'
In file included from /usr/local/apache2/include/apr_network_io.h:26,
from /usr/local/apache2/include/httpd.h:53,
from apache_request.h:4,
from apache_request.c:22:
/usr/local/apache2/include/apr_file_io.h:551: error: expected
declaration specifiers or '...' before 'apr_off_t'
/usr/local/apache2/include/apr_file_io.h:747: error: expected
declaration specifiers or '...' before 'apr_off_t'
In file included from /usr/local/apache2/include/httpd.h:53,
from apache_request.h:4,
from apache_request.c:22:
/usr/local/apache2/include/apr_network_io.h:545: error: expected
declaration specifiers or '...' before 'apr_off_t'
In file included from /usr/local/apache2/include/apr_buckets.h:32,
from /usr/local/apache2/include/httpd.h:54,
from apache_request.h:4,
from apache_request.c:22:
/usr/local/apache2/include/apr_mmap.h:134: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/local/apache2/include/apr_mmap.h:161: error: expected declaration
specifiers or '...' before 'apr_off_t'
In file included from /usr/local/apache2/include/httpd.h:54,
from apache_request.h:4,
from apache_request.c:22:
/usr/local/apache2/include/apr_buckets.h:242: error: expected
specifier-qualifier-list before 'apr_off_t'
/usr/local/apache2/include/apr_buckets.h:706: error: expected
declaration specifiers or '...' before 'apr_off_t'
/usr/local/apache2/include/apr_buckets.h:718: error: expected
declaration specifiers or '...' before 'apr_off_t'
/usr/local/apache2/include/apr_buckets.h:754: error: expected
declaration specifiers or '...' before 'apr_off_t'
/usr/local/apache2/include/apr_buckets.h:890: error: expected
declaration specifiers or '...' before 'apr_off_t'
/usr/local/apache2/include/apr_buckets.h:891: error: expected
declaration specifiers or '...' before 'apr_off_t'
/usr/local/apache2/include/apr_buckets.h:1168: error: expected
declaration specifiers or '...' before 'apr_off_t'
/usr/local/apache2/include/apr_buckets.h:1367: error: expected
declaration specifiers or '...' before 'apr_off_t'
/usr/local/apache2/include/apr_buckets.h:1381: error: expected
declaration specifiers or '...' before 'apr_off_t'
/usr/local/apache2/include/apr_buckets.h:1431: error: expected
declaration specifiers or '...' before 'apr_off_t'
/usr/local/apache2/include/apr_buckets.h:1447: error: expected
declaration specifiers or '...' before 'apr_off_t'
In file included from apache_request.h:4,
from apache_request.c:22:
/usr/local/apache2/include/httpd.h:848: error: expected
specifier-qualifier-list before 'apr_off_t'
In file included from /usr/local/apache2/include/http_core.h:32,
from apache_request.h:6,
from apache_request.c:22:
/usr/local/apache2/include/util_filter.h:142: error: expected
declaration specifiers or '...' before 'apr_off_t'
/usr/local/apache2/include/util_filter.h:299: error: expected
declaration specifiers or '...' before 'apr_off_t'
In file included from apache_request.h:6,
from apache_request.c:22:
/usr/local/apache2/include/http_core.h:229: error: expected '=', ',',
';', 'asm' or '__attribute__' before 'ap_get_limit_req_body'
/usr/local/apache2/include/http_core.h:672: error: expected
declaration specifiers or '...' before 'apr_off_t'
In file included from apache_request.h:9,
from apache_request.c:22:
/usr/local/apache2/include/http_protocol.h:111: error: expected
declaration specifiers or '...' before 'apr_off_t'
/usr/local/apache2/include/http_protocol.h:203: error: expected
declaration specifiers or '...' before 'apr_off_t'
apache_request.c: In function 'util_read':
apache_request.c:45: error: 'request_rec' has no member named 'remaining'
apache_request.c: In function 'ApacheRequest_script_name':
apache_request.c:85: error: 'request_rec' has no member named 'path_info'
apache_request.c:85: error: 'request_rec' has no member named 'path_info'
apache_request.c:86: error: 'request_rec' has no member named 'uri'
apache_request.c:86: error: 'request_rec' has no member named 'path_info'
apache_request.c:87: warning: implicit declaration of function 'apr_pstrndup'
apache_request.c:87: error: 'request_rec' has no member named 'uri'
apache_request.c:90: error: 'request_rec' has no member named 'uri'
apache_request.c: In function 'ApacheRequest_params_as_string':
apache_request.c:134: warning: implicit declaration of function 'apr_pstrcat'
apache_request.c: In function 'ApacheRequest___parse':
apache_request.c:386: error: 'request_rec' has no member named 'args'
apache_request.c:387: error: 'request_rec' has no member named 'args'
apache_request.c:392: error: 'request_rec' has no member named 'headers_in'
apache_request.c: In function 'ApacheRequest_parse_urlencoded':
apache_request.c:421: error: 'request_rec' has no member named 'headers_in'
apache_request.c: In function 'remove_tmpfile':
apache_request.c:442: warning: unused variable 'req'
apache_request.c: In function 'ApacheRequest_tmpfile':
apache_request.c:488: warning: passing argument 3 of
'apr_pool_cleanup_register' from incompatible pointer type
apache_request.c: In function 'ApacheRequest_parse_multipart':
apache_request.c:498: error: 'request_rec' has no member named 'headers_in'
apache_request.c:518: error: 'request_rec' has no member named 'remaining'
apache_request.c:543: warning: implicit declaration of function
'multipart_buffer_headers'
apache_request.c:611: warning: implicit declaration of function 'apr_pstrdup'
apache_request.c:618: error: 'request_rec' has no member named 'remaining'
apache_request.c: In function 'ApacheUtil_expires':
apache_request.c:718: warning: implicit declaration of function 'apr_psprintf'
make[3]: *** [mod_rivet_la-apache_request.lo] Error 1
make[3]: Leaving directory `/home/xbourgui/Downloads/rivet/src/apache-2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/xbourgui/Downloads/rivet/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xbourgui/Downloads/rivet'
make: *** [all] Error 2
[EMAIL PROTECTED]:~/Downloads/rivet$
--
Xavier Bourguignon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]