Menu

mod-dav-acl won't compile on Fedora 6 / 7

Help
2007-06-04
2013-05-30
  • Robert böhme

    Robert böhme - 2007-06-04

    Hello,

    i was unable to compile mod-dav-acl.
    Just take a look at the following output.

    As you can see, the actual mod_dav.h has a different dav_error struct.
    But i was unable to fix it myself that's why im asking for help.

    [root@host software]# cd mod_dav_acl-0.1.0
    [root@host mod_dav_acl-0.1.0]# ./configure
    checking build system type... i686-redhat-linux-gnu
    checking host system type... i686-redhat-linux-gnu
    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 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 how to run the C preprocessor... gcc -E
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for ranlib... ranlib
    checking for ar... ar
    checking for ld... ld
    checking for a sed that does not truncate output... /bin/sed
    checking for egrep... grep -E
    checking for ld used by gcc... ld
    checking if the linker (ld) is GNU ld... yes
    checking for 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 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 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 (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++... ld
    checking if the linker (ld) is GNU ld... yes
    checking whether the g++ linker (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 (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 f95 option to produce PIC... -fPIC
    checking if f95 PIC flag -fPIC works... yes
    checking if f95 static flag -static works... yes
    checking if f95 supports -c -o file.o... yes
    checking whether the f95 linker (ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for ANSI C header files... (cached) yes
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for DEPS... yes
    checking for apxs... /usr/sbin/apxs
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    [root@host mod_dav_acl-0.1.0]# make
    make  all-am
    make[1]: Entering directory `/root/software/mod_dav_acl-0.1.0'
    if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/libxml2 -I/usr/include/apr-1    -I/usr/include/httpd  -g -O2 -MT mod_dav_acl_la-mod_dav_acl.lo -MD -MP -MF ".deps/mod_dav_acl_la-mod_dav_acl.Tpo" -c -o mod_dav_acl_la-mod_dav_acl.lo `test -f 'mod_dav_acl.c' || echo './'`mod_dav_acl.c; \         then mv -f ".deps/mod_dav_acl_la-mod_dav_acl.Tpo" ".deps/mod_dav_acl_la-mod_dav_acl.Plo"; else rm -f ".deps/mod_dav_acl_la-mod_dav_acl.Tpo"; exit 1; fi
    mkdir .libs
    gcc -DHAVE_CONFIG_H -I. -I. -I. -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/httpd -g -O2 -MT mod_dav_acl_la-mod_dav_acl.lo -MD -MP -MF .deps/mod_dav_acl_la-mod_dav_acl.Tpo -c mod_dav_acl.c  -fPIC -DPIC -o .libs/mod_dav_acl_la-mod_dav_acl.o
    mod_dav_acl.c: In function 'acl_privilege_error':
    mod_dav_acl.c:189: error: 'dav_error' has no member named 'childtags'
    mod_dav_acl.c: In function 'acl_exec_error':
    mod_dav_acl.c:215: error: 'dav_error' has no member named 'childtags'
    mod_dav_acl.c:215: error: 'dav_error' has no member named 'childtags'
    mod_dav_acl.c:215: error: 'dav_error' has no member named 'childtags'
    mod_dav_acl.c:215: error: 'dav_error' has no member named 'childtags'
    mod_dav_acl.c: In function 'dav_acl_get_privs':
    mod_dav_acl.c:801: error: 'dav_hooks_repository' has no member named 'get_request_rec'
    mod_dav_acl.c: At top level:
    mod_dav_acl.c:2049: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acl'
    mod_dav_acl.c:2058: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    mod_dav_acl.c: In function 'acl_send_principal_props':
    mod_dav_acl.c:2199: error: 'dav_resource' has no member named 'acl_hooks'
    mod_dav_acl.c: In function 'dav_acl_get_group_membership':
    mod_dav_acl.c:2451: error: 'dav_hooks_repository' has no member named 'get_request_rec'
    mod_dav_acl.c: In function 'davacl_handler':
    mod_dav_acl.c:2494: warning: initialization makes pointer from integer without a cast
    mod_dav_acl.c: In function 'acl_initialize_module':
    mod_dav_acl.c:2663: error: 'acl' undeclared (first use in this function)
    mod_dav_acl.c:2663: error: (Each undeclared identifier is reported only once
    mod_dav_acl.c:2663: error: for each function it appears in.)
    mod_dav_acl.c: At top level:
    mod_dav_acl.c:2733: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'options'
    mod_dav_acl.c: In function 'acl_get_resource_type':
    mod_dav_acl.c:2745: error: 'dav_hooks_repository' has no member named 'get_request_rec'
    mod_dav_acl.c: At top level:
    mod_dav_acl.c:2758: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'res_hooks'
    mod_dav_acl.c: In function 'acl_register_hooks':
    mod_dav_acl.c:2867: error: 'options' undeclared (first use in this function)
    mod_dav_acl.c:2869: error: 'res_hooks' undeclared (first use in this function)
    make[1]: *** [mod_dav_acl_la-mod_dav_acl.lo] Error 1
    make[1]: Leaving directory `/root/software/mod_dav_acl-0.1.0'
    make: *** [all] Error 2

    kind regards,
    Robert

     
    • Jari Urpalainen

      Jari Urpalainen - 2007-07-05

      right, it won't compile unless you'll patch apache first. The (pretty trivial) patch is within the tar package. I'd like to get these hooks onto Apache but it hasn't yet progressed. Also you might want to patch apr-library as well. That patch is also within the tar package. There's some documentation in the README
      --jari

       
    • Maxime Balzeau

      Maxime Balzeau - 2007-09-10

      Could you tell me how to patch apache ?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.