gpt4 book ai didi

linux - 在 Redhat Linux 64 位上构建 DBD::SQlite

转载 作者:太空宇宙 更新时间:2023-11-04 04:26:16 25 4
gpt4 key购买 nike

我正在尝试在 Redhat Linux 64 位上的 perl 5.12 上构建 DBD::SQlite。 Make Nakefile.PL 正在完成,没有错误。

但是当我通过 make test 运行测试时。我收到以下错误

gcc -c  -I. -I/mount_point/sdk/perl/5.10.0/lib/auto/DBI -D_REENTRANT \
-D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include \
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-Bsymbolic -O2 \
-DVERSION='"1.35"' -DXS_VERSION='"1.35"' -fPIC \
"-I/mu/apps/perl/5.10.0/lib/CORE" -DSQLITE_ENABLE_FTS3 \
-DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_RTREE \
-DSQLITE_ENABLE_COLUMN_METADATA -DNDEBUG=1 -DHAVE_USLEEP=1 \
SQLite.c

In file included from /usr/include/features.h:352,
from /usr/include/sys/types.h:27,
from /mu/apps/perl/5.10.0/lib/CORE/perl.h:587,
from SQLiteXS.h:11,
from SQLite.xs:3:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
make: *** [SQLite.o] Error 1

似乎无法从 32 位环境中找到 stub 。谁能帮我弄清楚这一点。这是我第一次接触 64 位。如果有人能将我重定向到一般坑和跌倒,我将不胜感激。感谢您的阅读。

最佳答案

我为一个天真的假设道歉,但你确定你已经安装了 glibc-devel 包吗?

# rpm -qf /usr/include/gnu/stubs-32.h
glibc-devel-2.14.1-14.14.1.i686

关于linux - 在 Redhat Linux 64 位上构建 DBD::SQlite,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8647896/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com