Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 46279 invoked from network); 4 Feb 2011 14:51:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2011 14:51:05 -0000 Received: (qmail 73502 invoked by uid 500); 4 Feb 2011 14:51:04 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 72715 invoked by uid 500); 4 Feb 2011 14:51:00 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list apreq-dev@httpd.apache.org Delivered-To: moderator for apreq-dev@httpd.apache.org Received: (qmail 62836 invoked by uid 99); 4 Feb 2011 10:59:21 -0000 X-ASF-Spam-Status: No, hits=1.2 required=5.0 tests=MISSING_HEADERS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Subject: [rt.cpan.org #64303] Install broken From: "Issac Goldstand via RT" Reply-To: bug-libapreq2@rt.cpan.org In-Reply-To: References: Message-ID: X-RT-Loop-Prevention: rt.cpan.org RT-Ticket: rt.cpan.org #64303 Managed-by: RT 3.8.HEAD (http://www.bestpractical.com/rt/) RT-Originator: isaac@cpan.org Cc: apreq-dev@httpd.apache.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-RT-Original-Encoding: utf-8 Date: Fri, 4 Feb 2011 05:58:56 -0500 Did you install your own Apache or use the system provided one? Just to be sure, did you install the -devel package for the system-installed Apache? Issac On Wed Dec 29 04:52:03 2010, kbensch wrote: > Hi > > I am trying to install spacewalk and it requires Apache2::Cookie perl > module. I found that in the libapreq2 and while trying to install it > came across multiple issues. I have tried to install it with the > ./configure and perl Makefile.PL, but both presenting the same issues. > > Here is some output: > ./configure > 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 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 ISO C89... 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 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++... no > checking for c++... no > checking for gpp... no > checking for aCC... no > checking for CC... no > checking for cxx... no > checking for cc++... no > checking for cl.exe... no > checking for FCC... no > checking for KCC... no > checking for RCC... no > checking for xlC_r... no > checking for xlC... no > checking whether we are using the GNU C++ compiler... no > checking whether g++ accepts -g... no > checking dependency style of g++... none > 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... no > checking for g95... no > checking for xlf95... no > checking for f95... no > checking for fort... no > checking for ifort... no > checking for ifc... no > checking for efc... no > checking for pgf95... no > checking for lf95... no > checking for ftn... 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... 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 > appending configuration tag "F77" to libtool > 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 > cannot open /httpd/build/config_vars.mk: No such file or directory at > /usr/sbin/apxs line 201. > cannot open /httpd/build/config_vars.mk: No such file or directory at > /usr/sbin/apxs line 201. > cannot open /httpd/build/config_vars.mk: No such file or directory at > /usr/sbin/apxs line 201. > cannot open /httpd/build/config_vars.mk: No such file or directory at > /usr/sbin/apxs line 201. > cannot open /httpd/build/config_vars.mk: No such file or directory at > /usr/sbin/apxs line 201. > build/version_check.pl failed: no version_string found in '' for 'apache2'. > configure: error: Bad apache2 binary (/) > > > > I then searched around and saw on a few forums that I need apr-devel, > but I already had this installes: > Package apr-devel-1.2.7-11.el5_5.3.i386 already installed and latest version > > > > I then started to play and created /httpd/build/ and copied > /usr/lib/httpd/build/config_vars.mk to /httpd/build/. This made the > ./configure work. > > > Make on the other hand failed spectacularly: > make > Making all in . > make[1]: Entering directory `./downloads/libapreq2-2.13' > make[1]: Nothing to be done for `all-am'. > make[1]: Leaving directory `./downloads/libapreq2-2.13' > Making all in include > make[1]: Entering directory `./downloads/libapreq2-2.13/include' > make all-am > make[2]: Entering directory `./downloads/libapreq2-2.13/include' > make[2]: Nothing to be done for `all-am'. > make[2]: Leaving directory `./downloads/libapreq2-2.13/include' > make[1]: Leaving directory `./downloads/libapreq2-2.13/include' > Making all in library > make[1]: Entering directory `./downloads/libapreq2-2.13/library' > make all-am > make[2]: Entering directory `./downloads/libapreq2-2.13/library' > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I../include -I/usr/include/apr-1 -g -O2 -MT util.lo -MD -MP -MF > .deps/util.Tpo -c -o util.lo util.c > mkdir .libs > gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include/apr-1 -g -O2 -MT > util.lo -MD -MP -MF .deps/util.Tpo -c util.c -fPIC -DPIC - o .libs/util.o > In file included from /usr/include/apr-1/apr.h:7, > from /usr/include/apr-1/apr_file_io.h:25, > from ../include/apreq_util.h:21, > from util.c:18: > /usr/include/apr-1/apr-i386.h:270: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ > or ‘__attribute__’ before ‘apr_off_t’ > In file included from /usr/include/apr-1/apr_file_io.h:29, > from ../include/apreq_util.h:21, > from util.c:18: > /usr/include/apr-1/apr_file_info.h:204: error: expected > specifier-qualifier-list before ‘apr_off_t’ > In file included from ../include/apreq_util.h:21, > from util.c:18: > /usr/include/apr-1/apr_file_io.h:548: error: expected declaration > specifiers or ‘...’ before ‘apr_off_t’ > /usr/include/apr-1/apr_file_io.h:740: error: expected declaration > specifiers or ‘...’ before ‘apr_off_t’ > In file included from /usr/include/apr-1/apr_buckets.h:29, > from ../include/apreq_util.h:22, > from util.c:18: > /usr/include/apr-1/apr_network_io.h:545: error: expected declaration > specifiers or ‘...’ before ‘apr_off_t’ > In file included from /usr/include/apr-1/apr_buckets.h:32, > from ../include/apreq_util.h:22, > from util.c:18: > /usr/include/apr-1/apr_mmap.h:134: error: expected declaration > specifiers or ‘...’ before ‘apr_off_t’ > /usr/include/apr-1/apr_mmap.h:161: error: expected declaration > specifiers or ‘...’ before ‘apr_off_t’ > In file included from ../include/apreq_util.h:22, > from util.c:18: > /usr/include/apr-1/apr_buckets.h:242: error: expected > specifier-qualifier-list before ‘apr_off_t’ > /usr/include/apr-1/apr_buckets.h:706: error: expected declaration > specifiers or ‘...’ before ‘apr_off_t’ > /usr/include/apr-1/apr_buckets.h:718: error: expected declaration > specifiers or ‘...’ before ‘apr_off_t’ > /usr/include/apr-1/apr_buckets.h:754: error: expected declaration > specifiers or ‘...’ before ‘apr_off_t’ > /usr/include/apr-1/apr_buckets.h:890: error: expected declaration > specifiers or ‘...’ before ‘apr_off_t’ > /usr/include/apr-1/apr_buckets.h:891: error: expected declaration > specifiers or ‘...’ before ‘apr_off_t’ > /usr/include/apr-1/apr_buckets.h:1168: error: expected declaration > specifiers or ‘...’ before ‘apr_off_t’ > /usr/include/apr-1/apr_buckets.h:1367: error: expected declaration > specifiers or ‘...’ before ‘apr_off_t’ > /usr/include/apr-1/apr_buckets.h:1381: error: expected declaration > specifiers or ‘...’ before ‘apr_off_t’ > /usr/include/apr-1/apr_buckets.h:1431: error: expected declaration > specifiers or ‘...’ before ‘apr_off_t’ > /usr/include/apr-1/apr_buckets.h:1447: error: expected declaration > specifiers or ‘...’ before ‘apr_off_t’ > In file included from util.c:18: > ../include/apreq_util.h:278: error: expected declaration specifiers or > ‘...’ before ‘apr_off_t’ > In file included from util.c:21: > /usr/include/apr-1/apr_strings.h:297: error: expected declaration > specifiers or ‘...’ before ‘apr_off_t’ > /usr/include/apr-1/apr_strings.h:313: error: expected ‘)’ before ‘*’ token > /usr/include/apr-1/apr_strings.h:349: error: expected ‘)’ before ‘size’ > util.c: In function ‘apreq_brigade_spoolfile’: > util.c:994: error: ‘apr_bucket’ has no member named ‘data’ > util.c: In function ‘apreq_brigade_concat’: > util.c:1007: error: ‘apr_off_t’ undeclared (first use in this function) > util.c:1007: error: (Each undeclared identifier is reported only once > util.c:1007: error: for each function it appears in.) > util.c:1007: error: expected ‘;’ before ‘wlen’ > util.c:1009: error: expected ‘;’ before ‘in_len’ > util.c:1017: error: ‘out_len’ undeclared (first use in this function) > util.c:1017: error: too many arguments to function ‘apr_brigade_length’ > util.c:1024: error: ‘in_len’ undeclared (first use in this function) > util.c:1024: error: too many arguments to function ‘apr_brigade_length’ > util.c:1041: error: ‘wlen’ undeclared (first use in this function) > util.c:1041: error: too many arguments to function ‘apreq_brigade_fwrite’ > util.c:1047: warning: passing argument 4 of ‘apr_bucket_file_create’ > from incompatible pointer type > util.c:1047: error: too many arguments to function ‘apr_bucket_file_create’ > util.c:1050: error: ‘apr_bucket’ has no member named ‘data’ > util.c:1053: error: ‘apr_bucket’ has no member named ‘data’ > util.c:1057: error: ‘apr_bucket’ has no member named ‘start’ > util.c:1058: error: too many arguments to function ‘apr_file_seek’ > util.c:1071: error: too many arguments to function ‘apreq_brigade_fwrite’ > util.c:1085: error: ‘apr_bucket’ has no member named ‘start’ > util.c:1085: error: ‘apr_bucket’ has no member named ‘start’ > util.c: At top level: > util.c:1113: error: expected declaration specifiers or ‘...’ before > ‘apr_off_t’ > util.c: In function ‘apreq_brigade_fwrite’: > util.c:1121: error: ‘wlen’ undeclared (first use in this function) > util.c:1142: error: ‘apr_bucket’ has no member named ‘data’ > util.c:1142: error: ‘apr_bucket’ has no member named ‘free’ > util.c:1164: error: ‘apr_bucket’ has no member named ‘data’ > util.c:1164: error: ‘apr_bucket’ has no member named ‘free’ > make[2]: *** [util.lo] Error 1 > make[2]: Leaving directory `./downloads/libapreq2-2.13/library' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `./downloads/libapreq2-2.13/library' > make: *** [all-recursive] Error 1 > > > > At this point I have to ask for help as I dont know where to go from here. > > Thanks > > perl -v > > This is perl, v5.8.8 built for i386-linux-thread-multi > > Copyright 1987-2006, Larry Wall > > Perl may be copied only under the terms of either the Artistic License > or the > GNU General Public License, which may be found in the Perl 5 source kit. > > Linux local 2.6.18-194.26.1.el5PAE #1 SMP Tue Nov 9 13:34:42 EST 2010 > i686 i686 i386 GNU/Linux on CentOS release 5.5 (Final) > > Kobus -- ----- Maybe in order to understand mankind, we have to look at the word itself: "Mankind". Basically, it's made up of two separate words - "mank" and "ind". What do these words mean ? It's a mystery, just as is mankind. --Unknown