httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lu, Jin [CNTUS]" <J...@CNTUS.JNJ.COM>
Subject RE: A question about `pcre_default_tables' undeclared
Date Fri, 17 May 2002 12:33:45 GMT
It's good for you.

I logged in as a normal user and use default configure parameter.
I was think if I can sucessfully compile apache, then ask superuser to
install it.
Here a snip from srclib/apr/config.log

 $ /opt/mysoftware/httpd-2.0.36/srclib/apr/configure --cache-file=/dev/null
--srcdir=/opt/mysoftware/httpd-2.0.36/srclib/apr --prefix=/usr/local/apache2
--exec-prefix=/usr/local/apache2 --libdir=${prefix}/lib
--includedir=/usr/local/apache2/include --bindir=${prefix}/bin
--datadir=/usr/local/apache2 --with-installbuilddir=${prefix}/build

## --------- ##
## Platform. ##
## --------- ##

hostname = mySun
uname -m = sun4u
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_108528-14

Thanks for the help.

-Jin

-----Original Message-----
From: Lee Fellows [mailto:lfellows@4lane.com]
Sent: Friday, May 17, 2002 8:24 AM
To: 'users@httpd.apache.org'
Subject: Re: A question about `pcre_default_tables' undeclared


Hi,

  What configure parameters are you using?

  I have successfully built and run httpd-2.0.36 on Solaris 8 without
encountering an error like this.  One of my machines wont compile it,
but that is because the build system is broken on it.  



On Thu, 2002-05-16 at 14:56, Lu, Jin [CNTUS] wrote:
> Hi all,
> 
> I have made many attempts to compile the httpd-2.0.36 apache server in a
> solaris8 machine.
> I even switched to the latest version of gcc 3.0.3 without using gcc
> supplied by SUN CDROM, new binutils2.11.2.  None of them works.
> I talked to some friends that they have the same compiling problem for
> apache2.x in solaris 8 machine.
> Is it a bug?
> The ./configure runs fine, when doing  make 
> The error message is:
> ==>
> Making all in pcre
> make[2]: Entering directory `/opt/mysoftware/httpd-2.0.36/srclib/pcre'
> make[3]: Entering directory `/opt/mysoftware/httpd-2.0.36/srclib/pcre'
> /bin/bash /opt/mysoftware/httpd-2.0.36/srclib/apr/libtool --silent
> --mode=compile gcc  -g -O2 -pthrea
> ds    -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
> -DAP_HAVE_DESIGNATED_INITIALIZER   -I. -I/
> opt/mysoftware/httpd-2.0.36/os/unix
> -I/opt/mysoftware/httpd-2.0.36/server/mpm/prefork -I/opt/mysoftwa
> re/httpd-2.0.36/modules/http -I/opt/mysoftware/httpd-2.0.36/modules/proxy
> -I/opt/mysoftware/httpd-2.0
> .36/include -I/opt/mysoftware/httpd-2.0.36/srclib/apr/include
> -I/opt/mysoftware/httpd-2.0.36/srclib/a
> pr-util/include -I/opt/mysoftware/httpd-2.0.36/modules/dav/main
> -I/opt/mysoftware/httpd-2.0.36/srclib
> /apr-util/xml/expat/lib -prefer-non-pic -static -c pcre.c && touch pcre.lo
> pcre.c: In function `pcre_compile':
> pcre.c:2534: `pcre_default_tables' undeclared (first use in this function)
> pcre.c:2534: (Each undeclared identifier is reported only once
> pcre.c:2534: for each function it appears in.)
> make[3]: *** [pcre.lo] Error 1
> make[3]: Leaving directory `/opt/mysoftware/httpd-2.0.36/srclib/pcre'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/opt/mysoftware/httpd-2.0.36/srclib/pcre'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/mysoftware/httpd-2.0.36/srclib'
> make: *** [all-recursive] Error 1
> 
> 
> Here is my gcc -v
> Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3/specs
> Configured with: ../configure --with-as=/usr/local/bin/as
> --with-ld=/usr/local/bin/ld --enable-libgcj
> Thread model: posix
> gcc version 3.0.3
> 
> Here is my perl: perl -v
> 
> Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
>   Platform:
>     osname=solaris, osvers=2.8, archname=sun4-solaris
>     uname='sunos localhost 5.8 sun4u sparc sunw,ultra-1 '
>     hint=previous, useposix=true, d_sigaction=define
>     usethreads=undef useperlio=undef d_sfio=undef
>   Compiler:
>     cc='cc', optimize='-xO3 -xdepend', gccversion=
>     cppflags=''
>     ccflags =''
>     stdchar='char', d_stdstdio=define, usevfork=false
>     intsize=4, longsize=4, ptrsize=4, doublesize=8
>     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
>     alignbytes=8, usemymalloc=n, prototype=define
>   Linker and Libraries:
>     ld='cc', ldflags =''
>     libpth=/lib /usr/lib /usr/ccs/lib
>     libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
>     libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R
> /usr/perl5/5.00503/sun4-solaris/CORE'
>     cccdlflags='-KPIC', lddlflags='-G'
> 
> Characteristics of this binary (from libperl): 
>   Built under solaris
>   Compiled at Dec 22 1999 00:00:57
>   @INC:
>     /usr/perl5/5.00503/sun4-solaris
>     /usr/perl5/5.00503
>     /usr/perl5/site_perl/5.005/sun4-solaris
>     /usr/perl5/site_perl/5.005
> 
> I use LD_LIBARY_PATH=/usr/local/lib:/usr/local/lib/gcc-lib
> 
> Do I have to include more entries for LD_LIBARY_PATH or any ideas, why
does
> it happen so often?  Hopefully there is a WAY!
> 
> Thanks for any suggestion!
> 
> -Jin
> 
> 
> Email: jlu9@cntus.jnj.com
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Mime
View raw message