- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试使用以下命令配置和制作 pcre
./configure CC="gcc" CFLAGS="-maix64" CXX="gcc" CXXFLAGS="-maix64" LDFLAGS="-L/usr/ccs/bin -maix64" --disable-cpp --prefix=/usr/local/share/bld/pcre
配置工作正常:pcre-8.32 配置总结:
Install prefix .................. : /usr/local/share/bld/pcre
C preprocessor .................. : gcc -maix64 -E
C compiler ...................... : gcc -maix64
C++ preprocessor ................ : gcc -maix64 -E
C++ compiler .................... : gcc -maix64
Linker .......................... : /usr/bin/ld
C preprocessor flags ............ :
C compiler flags ................ : -O2
C++ compiler flags .............. : -maix64
Linker flags .................... :
Extra libraries ................. :
Build 8 bit pcre library ........ : yes
Build 16 bit pcre library ....... : no
Build 32 bit pcre library ....... : no
Build C++ library ............... : no
Enable JIT compiling support .... : no
Enable UTF-8/16/32 support ...... : no
Unicode properties .............. : no
Newline char/sequence ........... : lf
\R matches only ANYCRLF ......... : no
EBCDIC coding ................... : no
EBCDIC code for NL .............. : n/a
Rebuild char tables ............. : no
Use stack recursion ............. : yes
POSIX mem threshold ............. : 10
Internal link size .............. : 2
Match limit ..................... : 10000000
Match limit recursion ........... : MATCH_LIMIT
Build shared libs ............... : yes
Build static libs ............... : no
Use JIT in pcregrep ............. : no
Buffer size for pcregrep ........ : 20480
Link pcregrep with libz ......... : no
Link pcregrep with libbz2 ....... : no
Link pcretest with libedit ...... : no
Link pcretest with libreadline .. : no
Valgrind support ................ : no
Code coverage ................... : no
在执行 make 时出现以下错误:
bash-3.00# make
rm -f pcre_chartables.c
ln -s ./pcre_chartables.c.dist pcre_chartables.c
make all-am
CC libpcre_la-pcre_byte_order.lo
CC libpcre_la-pcre_compile.lo
CC libpcre_la-pcre_config.lo
CC libpcre_la-pcre_dfa_exec.lo
CC libpcre_la-pcre_exec.lo
CC libpcre_la-pcre_fullinfo.lo
CC libpcre_la-pcre_get.lo
CC libpcre_la-pcre_globals.lo
CC libpcre_la-pcre_jit_compile.lo
CC libpcre_la-pcre_maketables.lo
CC libpcre_la-pcre_newline.lo
CC libpcre_la-pcre_ord2utf8.lo
CC libpcre_la-pcre_refcount.lo
CC libpcre_la-pcre_string_utils.lo
CC libpcre_la-pcre_study.lo
CC libpcre_la-pcre_tables.lo
CC libpcre_la-pcre_ucd.lo
CC libpcre_la-pcre_valid_utf8.lo
CC libpcre_la-pcre_version.lo
CC libpcre_la-pcre_xclass.lo
CC libpcre_la-pcre_chartables.lo
CCLD libpcre.la
0654-210 .libs/libpcre_la-pcre_byte_order.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_compile.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_config.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_dfa_exec.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_exec.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_fullinfo.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_get.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_globals.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_jit_compile.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_maketables.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_newline.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_ord2utf8.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_refcount.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_string_utils.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_study.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_tables.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_ucd.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_valid_utf8.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_version.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_xclass.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
0654-210 .libs/libpcre_la-pcre_chartables.o is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
ar: 0707-126 .libs/libpcre.so.1 is not valid with the current object file mode.
Use the -X option to specify the desired object mode.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2
我已经尝试过:使用 OBJECT_MODE=64
、q64
但在这种情况下甚至配置失败。提出任何建议。
最佳答案
使用以下命令解决:
./configure CC="gcc" CFLAGS="-maix64" CXX="g++" CXXFLAGS="-maix64" NM="nm -X64" \
AR="ar -X64" --disable-cpp --prefix=/usr/local/share/bld/pcre
关于pcre - 在 AIX 6.1 64 位上编译 pcre 8.32,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14196575/
运行 uwsgi 时,我收到以下消息: !!! no internal routing support, rebuild with pcre support !!! 我已经使用以下命令安装了 pcre
我对 PCRE(Perl 兼容正则表达式)的强大功能很感兴趣,并想知道它们是否有可能成为所有主要语言的事实上的方法(我对 Java 感兴趣)。如有必要,我准备使用图书馆。 我也无法在 SO 中找到描述
我正在尝试生成一些可以触发 snort 警报的跟踪以测试 snort 的性能。但是在一些规则中有一些pcre选项包含/R,我不明白。 例如,在一个snort规则pcre中有一个pcre选项:"/^(\
什么是 PCRE 兼容语法? C# PCRE 兼容吗?从维基百科我发现了这个: Perl Compatible Regular Expressions (PCRE) is a regular expr
我迷路了。我有 Linux CentOS 操作系统。我试图在 pcre 网站上下载的 pcre 包中找到 pcre.h。我也按照安装指南中的说明进行了配置,但没有运气。有帮助吗? 最佳答案 最新版本叫
我正在尝试使用以下命令配置和制作 pcre ./configure CC="gcc" CFLAGS="-maix64" CXX="gcc" CXXFLAGS="-maix64" LDFLAGS="-L
我想要一个 Perl 正则表达式来匹配 std::foo但不匹配 std::foo::bar .这是我到目前为止: /((?
我想这或多或少是一个由两部分组成的问题,但首先是基础知识:我正在编写一些 PHP 以使用 preg_match_all 来查找以 {} 结尾的字符串的变量。然后它遍历每个返回的字符串,用 MySQL
我有以下文字: aabbaa aa bbc aa bbg aa bbd aa 我想找到 以 bb 开头且 不在 aa 和 aa 之间 的单词,而不管使用 PCRE 的匹配单词之
PCRE 正则表达式 /..(?<=(.)\1)/无法编译:“后向断言中不允许子模式引用。”有趣的是,它似乎在前瞻中是可以接受的,例如 /(?=(.)\1)../ , 只是不在回顾中。 是否有技术原因
我想一步一步地理解以下模式。 /\p{L}/u /u 是一个修饰符(http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php)
我有一个带有空值的文本源,我需要将它们与我的正则表达式模式一起拉出。正则表达式甚至可以匹配空字符吗? 当我的模式拒绝匹配时,我才意识到我有它们,当我将它粘贴到 Notepad++ 时,它显示了所有的空
我想演示我可以用制表符替换空格缩进,但只能替换每行的前导空格。 我想我可以通过可变宽度的后视来实现这一点。不幸的是,这在 PCRE 中是不允许的。 s/(?<=^|(?:[ ]{3})+)[ ]{3}
我必须在Python中基于PCRE解析一些字符串,而且我不知道该怎么做。 我想解析的字符串如下所示: match mysql m/^.\0\0\0\n(4\.[-.\w]+)\0...\0/s p/M
在 Notepad++ 6.5.1 中,我需要替换引号对中的某些模式。我想将替换保存为宏的一部分,因此所有替换都需要一步完成。 例如,在下面的字符串中,将引号对中的所有“a”字符替换为破折号,而引号对
使用 PCRE 库...想要查找最多包含已知空格数的单词字符串。 即标记之间有 5 个空白字符。 foo bar foo bar foo bar = 第一个 foo 和最后一个 bar 之间....有
我想演示我可以用制表符替换空格缩进,但只能替换每行的前导空格。 我想我可以通过可变宽度的后视来实现这一点。不幸的是,这在 PCRE 中是不允许的。 s/(?<=^|(?:[ ]{3})+)[ ]{3}
谁能举个例子例如对于这个字符串 wordride plain fire 用另一个字母替换空格 例如替换 第一个匹配空格前第三个字母的空格 例如我想在单词后替换字符用这个 (?:\G(?!^)|w
我很惊讶不容易找到类似问题的答案。我想匹配某些功能中的所有内容。这个想法是删除无用的功能。 foo(some (content)) --> some (content) 所以我试图匹配函数调用中可以包
我希望将大量模式与 Web 文档中的各种 HTML 元素、属性和文本相匹配。 例如,我可能对 的内容感兴趣元素并有一个这样的正则表达式: pcre *test_filter = pcre_compi
我是一名优秀的程序员,十分优秀!