Why do you compile Apache your own? There are precompiled binaries
available and mod-perl is loaded as shared object. Compiling on win32 is
not the easiest thing and static builds of mod-perl are not that well
tested even on *nix platforms.

Get Apache: http://httpd.apache.org/download.cgi

Tom

Poonam Pahil schrieb:
> Thanks for the quick reply Tom.
> the error is showing up when apache is being built.
> I tried building apache independently.Its still giving the same error.
>  
> Thanks
> Poonam
> 
>  
> On 8/18/06, *Tom Schindl* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     To use mod-perl on win32 I'd suggest that you  use the ppm packages
>     provided to you. See
>     http://perl.apache.org/docs/1.0/os/win32/install.html#PPM_Packages
> 
>     Tom
> 
>     Poonam Pahil schrieb:
>     > Hi all,
>     >
>     > Iam new to the perl world.
>     > Iam installing mod_perl-2.0.2 . For this ive downloaded
>     > httpd-2.0.59(apache i.e).
>     > I want to use the static linking option.
>     > I followed instructions listed at
>     >  http://perl.apache.org/docs/2.0/user/install/install.html
>     <http://perl.apache.org/docs/2.0/user/install/install.html> ( Static
>     > mod_perl
>     >
>     
> <http://perl.apache.org/docs/2.0/user/install/install.html#toc_Static_mod_perl>).
>     >
>     >
>     > Err is  -
>     >
>     > configure: creating libtool
>     > configure: error: tag name "CXX" already exists
>     > configure failed for srclib/apr
>     > httpd: ./configure --with-mpm=prefork failed at lib/Apache2/Build.pm
>     > line 356.
>     >
>     > Is it something to do with cygwin.( O.s is windows XP pro)
>     >
>     > Please find the install log below:
>     >
>     > C:\perl_mods\mod_perl-2.0.2>perl5.8.5.exe Makefile.PL MP_USE_STATIC=1
>     > MP_AP_P
>     > FIX=C:\httpd-2.0.59 MP_AP_CONFIGURE="--with-mpm=prefork"
>     >
>     >
>     > Reading Makefile.PL args from @ARGV
>     >    MP_USE_STATIC = 1
>     >    MP_AP_PREFIX = C:/httpd-2.0.59
>     >    MP_AP_CONFIGURE = --with-mpm=prefork
>     > no conflicting prior mod_perl version found - good.
>     > checking for chosen layout... Apache
>     > checking for working mkdir -p... yes
>     > checking build system type... i686-pc-cygwin
>     > checking host system type... i686-pc-cygwin
>     > checking target system type... i686-pc-cygwin
>     >
>     > Configuring Apache Portable Runtime library ...
>     >
>     > checking for APR... reconfig
>     > configuring package in srclib/apr now
>     > checking build system type... i686-pc-cygwin
>     > checking host system type... i686-pc-cygwin
>     > checking target system type... i686-pc-cygwin
>     > Configuring APR library
>     > Platform: i686-pc-cygwin
>     > checking for working mkdir -p... yes
>     > APR Version: 0.9.12
>     > checking for chosen layout... apr
>     > checking for gcc... gcc
>     > checking for C compiler default output file name... a.exe
>     > checking whether the C compiler works... yes
>     > checking whether we are cross compiling... no
>     > checking for suffix of executables... .exe
>     > 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
>     > Applying APR hints file rules for i686-pc-cygwin
>     >   setting CPPFLAGS to "-DCYGWIN"
>     >   setting LIBS to "-lcrypt"
>     > (Default will be unix)
>     > checking whether make sets $(MAKE)...
>     > /cygdrive/c/httpd-2.0.59/srclib/apr/conf
>     > ure: line 1: 1: command not found
>     > no
>     > checking how to run the C preprocessor... gcc -E
>     > checking for gawk... gawk
>     > checking whether ln -s works... yes
>     > checking for ranlib... ranlib
>     > checking for a BSD-compatible install... build/install.sh -c
>     > checking for rm... rm
>     > checking for as... as
>     > checking for cpp... cpp
>     > checking for ar... ar
>     > checking for egrep... grep -E
>     > checking for AIX... yes
>     > checking for library containing strerror... none required
>     > 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 minix/config.h usability... no
>     > checking minix/config.h presence... no
>     > checking for minix/config.h... no
>     > checking whether system uses EBCDIC... no
>     > performing libtool configuration...
>     > checking for a sed that does not truncate output... /usr/bin/sed
>     > 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 how to recognise dependent libraries... file_magic ^x86
>     archive
>     > impor
>     > ^x86 DLL
>     > 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... g77
>     > checking whether we are using the GNU Fortran 77 compiler... yes
>     > checking whether g77 accepts -g... yes
>     > checking the maximum length of command line arguments... 8192
>     > checking command to parse /usr/bin/nm -B output from gcc object...
>     failed
>     > checking for objdir... .libs
>     > checking for ar... (cached) ar
>     > checking for ranlib... (cached) 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...
>     > 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... Win32 ld.exe
>     > 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
>     > configure: error: tag name "CXX" already exists
>     > configure failed for srclib/apr
>     > httpd: ./configure --with-mpm=prefork failed at lib/Apache2/Build.pm
>     > line 356.
>     >
>     >
>     >
> 
> 

Reply via email to