Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 42891 invoked by uid 500); 16 May 2002 18:56:24 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 42867 invoked from network); 16 May 2002 18:56:19 -0000 Received: from unknown (HELO ncsusraimge01.jnj.com) (148.177.2.21) by daedalus.apache.org with SMTP; 16 May 2002 18:56:19 -0000 Received: from NCSUSRAWSC2.na.jnj.com (ncsusrawsc2.na.jnj.com [10.4.20.22]) by ncsusraimge01.jnj.com (Switch-2.2.1/Switch-2.2.0) with SMTP id g4GIska26210 for ; Thu, 16 May 2002 14:54:46 -0400 (EDT) Received: FROM ncsusraexims2.rar.ncsus.jnj.com BY NCSUSRAWSC2.na.jnj.com ; Thu May 16 14:56:53 2002 -0400 Received: by ncsusraexims2.rar.ncsus.jnj.com with Internet Mail Service (5.5.2653.19) id ; Thu, 16 May 2002 14:56:19 -0400 Message-ID: From: "Lu, Jin [CNTUS]" To: "'users@httpd.apache.org'" Subject: A question about `pcre_default_tables' undeclared Date: Thu, 16 May 2002 14:56:12 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1FD0B.59128CA0" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C1FD0B.59128CA0 Content-Type: text/plain; charset="iso-8859-1" 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 ------_=_NextPart_001_01C1FD0B.59128CA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable A question about `pcre_default_tables' undeclared

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:
=3D=3D>
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=3Dcompile gcc  -g -O2 -pthrea
ds    -DSOLARIS2=3D8 = -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=3D/usr/local/bin/as --with-ld=3D/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=3Dsolaris, = osvers=3D2.8, archname=3Dsun4-solaris
    uname=3D'sunos = localhost 5.8 sun4u sparc sunw,ultra-1 '
    hint=3Dprevious, = useposix=3Dtrue, d_sigaction=3Ddefine
    usethreads=3Dundef = useperlio=3Dundef d_sfio=3Dundef
  Compiler:
    cc=3D'cc', = optimize=3D'-xO3 -xdepend', gccversion=3D
    = cppflags=3D''
    ccflags = =3D''
    stdchar=3D'char', = d_stdstdio=3Ddefine, usevfork=3Dfalse
    intsize=3D4, = longsize=3D4, ptrsize=3D4, doublesize=3D8
    = d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, = longdblsize=3D16
    alignbytes=3D8, = usemymalloc=3Dn, prototype=3Ddefine
  Linker and Libraries:
    ld=3D'cc', ldflags = =3D''
    libpth=3D/lib = /usr/lib /usr/ccs/lib
    libs=3D-lsocket = -lnsl -ldl -lm -lc -lcrypt
    = libc=3D/lib/libc.so, so=3Dso, useshrplib=3Dtrue, = libperl=3Dlibperl.so
  Dynamic Linking:
    = dlsrc=3Ddl_dlopen.xs, dlext=3Dso, d_dlsymun=3Dundef, ccdlflags=3D'-R = /usr/perl5/5.00503/sun4-solaris/CORE'
    = cccdlflags=3D'-KPIC', lddlflags=3D'-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=3D/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

------_=_NextPart_001_01C1FD0B.59128CA0--