Rapache installation question

47 views
Skip to first unread message

LJ Perovich

unread,
Jun 22, 2010, 2:26:44 PM6/22/10
to rapache
Hi everyone,

I've built and installed R 2.11.0 as a shared library and Apache 2.2.3
is installed with module loading support on CentOS 5. I believe these
are install correctly, but am having some trouble installing Rapache,
including a number of warnings in the configure; make; make install
process and a failed make itest. I suspect my problems come from
having carelessly installed Rapache in /root instead of somewhere that
makes sense (/usr/sbin?), but was hoping to get input on this as well
as a course of action going forward. Is this likely to be the cause
of my problem? If so, is there a better way to uninstall than
deleting all the files referenced in the make file? (I noticed there
was no make uninstall--is it too late to install/uninstall with
checkinstall?) I haven't tried make itest as a normal user as
suggested in a previous thread because of the /root installation.

I've included the output below.

I'm fairly new to Linux, so I apologize if I'm overlooking something
obvious.

Thanks,
LJ

###################################################
########### ./configure --with-apache2-apxs=/usr/sbin/apxs
###################################################
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... //bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of
Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-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 ISO C89... none needed
checking for a sed that does not truncate output... //bin/sed
checking for grep that handles long lines and -e... //bin/grep
checking for egrep... //bin/grep -E
checking for ld used by gcc... /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 recognize dependent libraries... pass_all
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... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc 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... yes
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++ static flag -static 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
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran 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 for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for uname... //bin/uname
checking for apxs2... checking for R... /usr/bin/R
checking for apreq2-config... no


Using libapreq2 that comes bundled with mod_R

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 whether make sets $(MAKE)... (cached) yes
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
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 egrep... grep -E
checking for ld used by gcc... /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 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... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... 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... f95
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f95 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc 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... yes
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 if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f95 option to produce PIC... -fPIC
checking if f95 PIC flag -fPIC works... yes
checking if f95 supports -c -o file.o... yes
checking whether the f95 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
checking for ranlib... (cached) ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether to enable maintainer-specific portions of
Makefiles... no
checking for /usr/bin/apr-1-config... yes
checking for /usr/bin/apu-1-config... yes
setting APR_INCLUDES to " -I/usr/include/apr-1 "
setting APR_LTFLAGS to " /usr/lib/libapr-1.la"
adding "/usr/lib/libaprutil-1.la" to APR_LTFLAGS
setting APR_LIBS to " -lldap -llber -ldb-4.3 -lexpat"
adding "-lpthread" to APR_LIBS
adding "-ldl" to APR_LIBS
setting APR_LDFLAGS to " -laprutil-1 "
adding "-lapr-1" to APR_LDFLAGS
setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE"
libapreq2 Version: 2.1.0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating library/Makefile
config.status: creating library/t/Makefile
config.status: creating module/Makefile
config.status: creating module/apache2/Makefile
config.status: creating module/apache/Makefile
config.status: creating glue/Makefile
config.status: creating build/doxygen.conf
config.status: creating include/groups.dox
config.status: creating apreq2-config
config.status: creating include/apreq_config.h
config.status: include/apreq_config.h is unchanged
config.status: executing depfiles commands
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mod_R.h

########################################
############# make
########################################
Compiling mod_R

/usr/sbin/apxs -I/usr/include/R -I/root/rapache-1.1.9/libapreq2/
include -I/usr/include/apr-1 -c mod_R.c -Wl,-rpath,/usr/lib/R/lib -L/
usr/lib/R/lib -lR -L/root/rapache-1.1.9/libapreq2/library/.libs -
lapreq2
/usr/lib/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -
O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-
protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -
fasynchronous-unwind-tables -fno-strict-aliasing -DLINUX=2 -
D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/
include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/
include/R -I/root/rapache-1.1.9/libapreq2/include -I/usr/include/
apr-1 -c -o mod_R.lo mod_R.c && touch mod_R.slo
mod_R.c: In function 'AP_merge_dir_cfg':
mod_R.c:390: warning: unused variable 'p'
mod_R.c: In function 'AP_merge_srv_cfg':
mod_R.c:416: warning: unused variable 'p'
mod_R.c: In function 'AP_hook_request_handler':
mod_R.c:546: warning: unused variable 'rv'
mod_R.c: In function 'ReadConsole':
mod_R.c:689: warning: unused variable 'str'
mod_R.c:687: warning: unused variable 'blen'
mod_R.c: In function 'ExecRCode':
mod_R.c:1096: warning: unused variable 'i'
mod_R.c:1095: warning: unused variable 'fun'
mod_R.c: In function 'InitRApacheEnv':
mod_R.c:1312: warning: unused variable 'i'
mod_R.c:1311: warning: unused variable 'fun'
mod_R.c:1311: warning: unused variable 'expr'
mod_R.c:1311: warning: unused variable 'cmd'
mod_R.c:1310: warning: unused variable 'status'
mod_R.c: In function 'RApache_sendBin':
mod_R.c:2176: warning: implicit declaration of function
'UNIMPLEMENTED_TYPE'
mod_R.c: In function 'TableCallback':
mod_R.c:1620: warning: control reaches end of non-void function
mod_R.c: At top level:
mod_R.c:977: warning: 'call_fun1str' defined but not used
mod_R.c:969: warning: 'decode_return_value' defined but not used
mod_R.c:800: warning: 'EmptyRequest' defined but not used
mod_R.c:1139: warning: 'StartRprof' defined but not used
mod_R.c:1151: warning: 'StopRprof' defined but not used
mod_R.c:681: warning: 'WriteConsoleEx_debug' defined but not used
mod_R.c: In function 'EvalExprs':
mod_R.c:1293: warning: 'lastval' may be used uninitialized in this
function
mod_R.c: In function 'AP_hook_request_handler':
mod_R.c:1246: warning: 'fun' is used uninitialized in this function
mod_R.c:544: warning: 'ret' may be used uninitialized in this function
mod_R.c: In function 'RApache_setCookie':
mod_R.c:1750: warning: 'tmpExpires' may be used uninitialized in this
function
/usr/lib/apr-1/build/libtool --silent --mode=link gcc -o mod_R.la -
rpath /usr/lib/httpd/modules -module -avoid-version mod_R.lo -Wl,-
rpath,/usr/lib/R/lib -L/usr/lib/R/lib -lR -L/root/rapache-1.1.9/
libapreq2/library/.libs -lapreq2
libtool: link: warning: `/usr/lib/gcc/i386-redhat-linux/
4.1.2/../../..//libdb-4.3.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i386-redhat-linux/
4.1.2/../../..//libexpat.la' seems to be moved

###################################################
########### make install
###################################################
Compiling mod_R

/usr/sbin/apxs -I/usr/include/R -I/root/rapache-1.1.9/libapreq2/
include -I/usr/include/apr-1 -c mod_R.c -Wl,-rpath,/usr/lib/R/lib -L/
usr/lib/R/lib -lR -L/root/rapache-1.1.9/libapreq2/library/.libs -
lapreq2
/usr/lib/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -
O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-
protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -
fasynchronous-unwind-tables -fno-strict-aliasing -DLINUX=2 -
D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/
include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/
include/R -I/root/rapache-1.1.9/libapreq2/include -I/usr/include/
apr-1 -c -o mod_R.lo mod_R.c && touch mod_R.slo
mod_R.c: In function 'AP_merge_dir_cfg':
mod_R.c:390: warning: unused variable 'p'
mod_R.c: In function 'AP_merge_srv_cfg':
mod_R.c:416: warning: unused variable 'p'
mod_R.c: In function 'AP_hook_request_handler':
mod_R.c:546: warning: unused variable 'rv'
mod_R.c: In function 'ReadConsole':
mod_R.c:689: warning: unused variable 'str'
mod_R.c:687: warning: unused variable 'blen'
mod_R.c: In function 'ExecRCode':
mod_R.c:1096: warning: unused variable 'i'
mod_R.c:1095: warning: unused variable 'fun'
mod_R.c: In function 'InitRApacheEnv':
mod_R.c:1312: warning: unused variable 'i'
mod_R.c:1311: warning: unused variable 'fun'
mod_R.c:1311: warning: unused variable 'expr'
mod_R.c:1311: warning: unused variable 'cmd'
mod_R.c:1310: warning: unused variable 'status'
mod_R.c: In function 'RApache_sendBin':
mod_R.c:2176: warning: implicit declaration of function
'UNIMPLEMENTED_TYPE'
mod_R.c: In function 'TableCallback':
mod_R.c:1620: warning: control reaches end of non-void function
mod_R.c: At top level:
mod_R.c:977: warning: 'call_fun1str' defined but not used
mod_R.c:969: warning: 'decode_return_value' defined but not used
mod_R.c:800: warning: 'EmptyRequest' defined but not used
mod_R.c:1139: warning: 'StartRprof' defined but not used
mod_R.c:1151: warning: 'StopRprof' defined but not used
mod_R.c:681: warning: 'WriteConsoleEx_debug' defined but not used
mod_R.c: In function 'EvalExprs':
mod_R.c:1293: warning: 'lastval' may be used uninitialized in this
function
mod_R.c: In function 'AP_hook_request_handler':
mod_R.c:1246: warning: 'fun' is used uninitialized in this function
mod_R.c:544: warning: 'ret' may be used uninitialized in this function
mod_R.c: In function 'RApache_setCookie':
mod_R.c:1750: warning: 'tmpExpires' may be used uninitialized in this
function
/usr/lib/apr-1/build/libtool --silent --mode=link gcc -o mod_R.la -
rpath /usr/lib/httpd/modules -module -avoid-version mod_R.lo -Wl,-
rpath,/usr/lib/R/lib -L/usr/lib/R/lib -lR -L/root/rapache-1.1.9/
libapreq2/library/.libs -lapreq2
libtool: link: warning: `/usr/lib/gcc/i386-redhat-linux/
4.1.2/../../..//libdb-4.3.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i386-redhat-linux/
4.1.2/../../..//libexpat.la' seems to be moved
/usr/sbin/apxs -i -n R mod_R.la
/usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib/apr-1/build/
libtool' mod_R.la /usr/lib/httpd/modules
/usr/lib/apr-1/build/libtool --mode=install cp mod_R.la /usr/lib/httpd/
modules/
libtool: install: warning: relinking `mod_R.la'
(cd /root/rapache-1.1.9; /bin/sh /usr/lib/apr-1/build/libtool --
silent --mode=relink gcc -o mod_R.la -rpath /usr/lib/httpd/modules -
module -avoid-version mod_R.lo -Wl,-rpath,/usr/lib/R/lib -L/usr/lib/R/
lib -lR -L/root/rapache-1.1.9/libapreq2/library/.libs -lapreq2 )
libtool: link: warning: `/usr/lib/gcc/i386-redhat-linux/
4.1.2/../../..//libdb-4.3.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i386-redhat-linux/
4.1.2/../../..//libexpat.la' seems to be moved
cp .libs/mod_R.soT /usr/lib/httpd/modules/mod_R.so
cp .libs/mod_R.lai /usr/lib/httpd/modules/mod_R.la
cp .libs/mod_R.a /usr/lib/httpd/modules/mod_R.a
chmod 644 /usr/lib/httpd/modules/mod_R.a
ranlib /usr/lib/httpd/modules/mod_R.a
PATH="$PATH:/sbin" ldconfig -n /usr/lib/httpd/modules
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/httpd/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
chmod 755 /usr/lib/httpd/modules/mod_R.so
(cd libapreq2/library; make install)
make[1]: Entering directory `/root/rapache-1.1.9/libapreq2/library'
make[2]: Entering directory `/root/rapache-1.1.9/libapreq2/library'
/bin/sh ../mkinstalldirs /usr/lib
/bin/sh ../libtool --mode=install /usr/bin/install -c libapreq2.la /
usr/lib/libapreq2.la
/usr/bin/install -c .libs/libapreq2.so.3.1.0 /usr/lib/libapreq2.so.
3.1.0
(cd /usr/lib && rm -f libapreq2.so.3 && ln -s libapreq2.so.3.1.0
libapreq2.so.3)
(cd /usr/lib && rm -f libapreq2.so && ln -s libapreq2.so.3.1.0
libapreq2.so)
/usr/bin/install -c .libs/libapreq2.lai /usr/lib/libapreq2.la
/usr/bin/install -c .libs/libapreq2.a /usr/lib/libapreq2.a
ranlib /usr/lib/libapreq2.a
chmod 644 /usr/lib/libapreq2.a
PATH="$PATH:/sbin" ldconfig -n /usr/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/rapache-1.1.9/libapreq2/library'
make[1]: Leaving directory `/root/rapache-1.1.9/libapreq2/library'

#######################################################
######## make itest
#######################################################

Compiling mod_R

/usr/sbin/apxs -I/usr/include/R -I/root/rapache-1.1.9/libapreq2/
include -I/usr/include/apr-1 -c mod_R.c -Wl,-rpath,/usr/lib/R/lib -L/
usr/lib/R/lib -lR -L/root/rapache-1.1.9/libapreq2/library/.libs -
lapreq2
/usr/lib/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -
O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-
protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -
fasynchronous-unwind-tables -fno-strict-aliasing -DLINUX=2 -
D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/
include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/
include/R -I/root/rapache-1.1.9/libapreq2/include -I/usr/include/
apr-1 -c -o mod_R.lo mod_R.c && touch mod_R.slo
mod_R.c: In function 'AP_merge_dir_cfg':
mod_R.c:390: warning: unused variable 'p'
mod_R.c: In function 'AP_merge_srv_cfg':
mod_R.c:416: warning: unused variable 'p'
mod_R.c: In function 'AP_hook_request_handler':
mod_R.c:546: warning: unused variable 'rv'
mod_R.c: In function 'ReadConsole':
mod_R.c:689: warning: unused variable 'str'
mod_R.c:687: warning: unused variable 'blen'
mod_R.c: In function 'ExecRCode':
mod_R.c:1096: warning: unused variable 'i'
mod_R.c:1095: warning: unused variable 'fun'
mod_R.c: In function 'InitRApacheEnv':
mod_R.c:1312: warning: unused variable 'i'
mod_R.c:1311: warning: unused variable 'fun'
mod_R.c:1311: warning: unused variable 'expr'
mod_R.c:1311: warning: unused variable 'cmd'
mod_R.c:1310: warning: unused variable 'status'
mod_R.c: In function 'RApache_sendBin':
mod_R.c:2176: warning: implicit declaration of function
'UNIMPLEMENTED_TYPE'
mod_R.c: In function 'TableCallback':
mod_R.c:1620: warning: control reaches end of non-void function
mod_R.c: At top level:
mod_R.c:977: warning: 'call_fun1str' defined but not used
mod_R.c:969: warning: 'decode_return_value' defined but not used
mod_R.c:800: warning: 'EmptyRequest' defined but not used
mod_R.c:1139: warning: 'StartRprof' defined but not used
mod_R.c:1151: warning: 'StopRprof' defined but not used
mod_R.c:681: warning: 'WriteConsoleEx_debug' defined but not used
mod_R.c: In function 'EvalExprs':
mod_R.c:1293: warning: 'lastval' may be used uninitialized in this
function
mod_R.c: In function 'AP_hook_request_handler':
mod_R.c:1246: warning: 'fun' is used uninitialized in this function
mod_R.c:544: warning: 'ret' may be used uninitialized in this function
mod_R.c: In function 'RApache_setCookie':
mod_R.c:1750: warning: 'tmpExpires' may be used uninitialized in this
function
/usr/lib/apr-1/build/libtool --silent --mode=link gcc -o mod_R.la -
rpath /usr/lib/httpd/modules -module -avoid-version mod_R.lo -Wl,-
rpath,/usr/lib/R/lib -L/usr/lib/R/lib -lR -L/root/rapache-1.1.9/
libapreq2/library/.libs -lapreq2
libtool: link: warning: `/usr/lib/gcc/i386-redhat-linux/
4.1.2/../../..//libdb-4.3.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i386-redhat-linux/
4.1.2/../../..//libexpat.la' seems to be moved

Point your browser to http://localhost:8181/index.html

LD_LIBRARY_PATH=`/usr/bin/R RHOME`/lib:/root/rapache-1.1.9/libapreq2/
library/.libs R_HOME=`/usr/bin/R RHOME` /usr/sbin/httpd -X -f /root/
rapache-1.1.9/test/httpd.conf
Syntax error on line 142 of /root/rapache-1.1.9/test/httpd.conf:
Invalid command 'LogFormat', perhaps misspelled or defined by a module
not included in the server configuration
make: *** [itest] Error 1


Jeffrey Horner

unread,
Jun 22, 2010, 3:36:20 PM6/22/10
to rap...@googlegroups.com
LJ,

You need to enabled mod_log_config since it is not built into your
apache2 binary. Find the modules directory for your apache2 install
and add a line like this to test/httpd.conf :

LoadModule config_log_module modules/mod_log_config.so

PS - I definitely have some cleaning up to do now that someone has
posted what -Wall says about rapache!

Jeff

> --
> You received this message because you are subscribed to the Google Groups "rapache" group.
> To post to this group, send email to rap...@googlegroups.com.
> To unsubscribe from this group, send email to rapache+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rapache?hl=en.
>
>

--
http://biostat.mc.vanderbilt.edu/JeffreyHorner

Reply all
Reply to author
Forward
0 new messages