Mailing List Archive

[Bug 64252] Upgrade PCRE to PCRE2
https://bz.apache.org/bugzilla/show_bug.cgi?id=64252

mpepito13@yahoo.fr changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|RESOLVED |REOPENED

--- Comment #2 from mpepito13@yahoo.fr ---
Hello,

When I try to compile httpd 2.4.53 with pcre2, I have the following error :
gcc -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -I.
-I/Webserver/sources/httpd-2.4.53/os/unix
-I/Webserver/sources/httpd-2.4.53/include
-I/Webserver/sources/httpd-2.4.53/srclib/apr/include
-I/Webserver/sources/httpd-2.4.53/srclib/apr-util/include
-I/Webserver/ext/pcre2-10.40/include
-I/Webserver/sources/httpd-2.4.53/modules/aaa
-I/Webserver/sources/httpd-2.4.53/modules/cache
-I/Webserver/sources/httpd-2.4.53/modules/core
-I/Webserver/sources/httpd-2.4.53/modules/database
-I/Webserver/sources/httpd-2.4.53/modules/filters
-I/Webserver/sources/httpd-2.4.53/modules/ldap
-I/Webserver/sources/httpd-2.4.53/modules/loggers
-I/Webserver/sources/httpd-2.4.53/modules/lua
-I/Webserver/sources/httpd-2.4.53/modules/proxy
-I/Webserver/sources/httpd-2.4.53/modules/http2
-I/Webserver/sources/httpd-2.4.53/modules/session
-I/Webserver/sources/httpd-2.4.53/modules/ssl
-I/Webserver/sources/httpd-2.4.53/modules/test
-I/Webserver/sources/httpd-2.4.53/server
-I/Webserver/sources/httpd-2.4.53/modules/md
-I/Webserver/sources/httpd-2.4.53/modules/arch/unix
-I/Webserver/sources/httpd-2.4.53/modules/dav/main
-I/Webserver/sources/httpd-2.4.53/modules/generators
-I/Webserver/sources/httpd-2.4.53/modules/mappers -c
/Webserver/sources/httpd-2.4.53/server/buildmark.c
/Webserver/sources/httpd-2.4.53/srclib/apr/libtool --silent --mode=link gcc
-DSQLITE_ENABLE_COLUMN_METADATA=1 -o httpd modules.lo buildmark.o
-export-dynamic server/libmain.la modules/core/libmod_so.la
modules/http/libmod_http.la server/mpm/event/libevent.la os/unix/libos.la
-L/Webserver/ext/pcre2-10.40/lib -lpcre2-8
/Webserver/sources/httpd-2.4.53/srclib/apr-util/libaprutil-1.la -lexpat -liconv
/Webserver/sources/httpd-2.4.53/srclib/apr/libapr-1.la -lpthread
Undefined symbols for architecture x86_64:
"_pcre_compile2", referenced from:
_ap_regcomp in libmain.a(util_pcre.o)
"_pcre_exec", referenced from:
_ap_regexec_len in libmain.a(util_pcre.o)
"_pcre_free", referenced from:
_ap_regfree in libmain.a(util_pcre.o)
"_pcre_fullinfo", referenced from:
_ap_regcomp in libmain.a(util_pcre.o)
_ap_regname in libmain.a(util_pcre.o)
"_pcre_version", referenced from:
_ap_pcre_version_string in libmain.a(util_pcre.o)
(maybe you meant: _ap_hack_ap_pcre_version_string, _ap_pcre_version_string
)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [httpd] Error 1
make: *** [all-recursive] Error 1

(no error with pcre 8.45)

I use this configure :
./configure --prefix=/Webserver/ext/httpd-2.4.53
--with-pcre=/Webserver/ext/pcre2-10.40/bin/pcre2-config
--with-ssl=/Webserver/ext/openssl-1.1.1h --with-included-apr
--with-socache_shmcb --enable-setenvif --enable-rewrite
--disable-a-lot-of-things

I'd like to find the source of the problem but I wouldn't know where to start…

Thanks
Arnaud

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org