MySQL源代码缺少配置文件

发布于 2024-10-19 03:26:53 字数 2912 浏览 3 评论 0 原文

我正在尝试在 Mac OS X 10.5 上从源代码编译 MySQL。我从 MySQL 下载页面< 的“源代码”部分下载了我认为正确的源代码/a>.其标签上写着“Generic Linux (Architecture Independent), Compressed TAR Archive”;该文件可用 此处

这个问题与另一个问题非常相似 这里,但这个问题已经过时了,对我没有帮助。它的答案表明我“下载了二进制版本,而不是源代码”。如果我没有正确的下载,有人可以指出我正确的方向吗?

当我解压 tar.gz 文件时,没有名为 configure 的文件。该目录如下所示:

drwxrwxrwx@  63 xxxx xxxx    2142 Jan 19 15:37 BUILD
-rw-rw-rw-@   1 xxxx xxxx    8479 Jan 19 15:37 BUILD-CMAKE
-rw-rw-rw-@   1 xxxx xxxx   12080 Jan 19 15:37 CMakeLists.txt
-rw-rw-rw-@   1 xxxx xxxx   17987 Jan 19 15:37 COPYING
drwxrwxrwx@   9 xxxx xxxx     306 Jan 19 15:37 Docs
-rw-rw-rw-@   1 xxxx xxxx  342250 Jan 19 15:37 INSTALL-SOURCE
-rw-rw-rw-@   1 xxxx xxxx     324 Jan 19 15:37 INSTALL-WIN-SOURCE
-rw-rw-rw-@   1 xxxx xxxx  113534 Jan 19 15:37 README
-rw-rw-rw-@   1 xxxx xxxx      87 Jan 19 15:37 VERSION
drwxrwxrwx@  22 xxxx xxxx     748 Jan 19 15:37 client
drwxrwxrwx@  33 xxxx xxxx    1122 Jan 19 15:37 cmake
drwxrwxrwx@   4 xxxx xxxx     136 Jan 19 15:37 cmd-line-utils
-rw-rw-rw-@   1 xxxx xxxx   18312 Jan 19 15:37 config.h.cmake
-rw-rw-rw-@   1 xxxx xxxx   33945 Jan 19 15:37 configure.cmake
drwxrwxrwx@  18 xxxx xxxx     612 Jan 19 15:37 dbug
drwxrwxrwx@  13 xxxx xxxx     442 Jan 19 15:37 extra
drwxrwxrwx@  72 xxxx xxxx    2448 Jan 19 15:37 include
drwxrwxrwx@  10 xxxx xxxx     340 Jan 19 15:37 libmysql
drwxrwxrwx@  12 xxxx xxxx     408 Jan 19 15:37 libmysqld
drwxrwxrwx@   8 xxxx xxxx     272 Jan 19 15:37 libservices
drwxrwxrwx@  50 xxxx xxxx    1700 Jan 19 15:37 man
drwxrwxrwx@  19 xxxx xxxx     646 Jan 19 15:37 mysql-test
drwxrwxrwx@ 123 xxxx xxxx    4182 Jan 19 15:37 mysys
drwxrwxrwx@   3 xxxx xxxx     102 Jan 19 15:37 packaging
drwxrwxrwx@   7 xxxx xxxx     238 Jan 19 15:37 plugin
drwxrwxrwx@  30 xxxx xxxx    1020 Jan 19 15:37 regex
drwxrwxrwx@  31 xxxx xxxx    1054 Jan 19 15:37 scripts
drwxrwxrwx@ 303 xxxx xxxx   10302 Jan 19 15:37 sql
drwxrwxrwx@  35 xxxx xxxx    1190 Jan 19 15:37 sql-bench
drwxrwxrwx@   7 xxxx xxxx     238 Jan 19 15:37 sql-common
drwxrwxrwx@  13 xxxx xxxx     442 Jan 19 15:37 storage
drwxrwxrwx@  59 xxxx xxxx    2006 Jan 19 15:37 strings
drwxrwxrwx@  27 xxxx xxxx     918 Jan 19 15:37 support-files
drwxrwxrwx@  37 xxxx xxxx    1258 Jan 19 15:37 tests
drwxrwxrwx@   8 xxxx xxxx     272 Jan 19 15:37 unittest
drwxrwxrwx@  15 xxxx xxxx     510 Jan 19 15:37 vio
drwxrwxrwx@   3 xxxx xxxx     102 Jan 19 15:37 win
drwxrwxrwx@  32 xxxx xxxx    1088 Jan 19 15:37 zlib

find 。 -name 'configure' 不返回任何内容。

我错过了什么吗?

I'm trying to compile MySQL from source on Mac OS X 10.5. I downloaded what I believe to be the correct source code from the "Source Code" section on MySQL's download page. The label on it reads "Generic Linux (Architecture Independent), Compressed TAR Archive"; the file's available here.

This question is really similar to another question asked here, but that question is outdated and hasn't helped me. Its answer proposes that I've "downloaded the binary version, not the source." If I don't have the right download, can someone point me in the right direction?

When I unarchive the tar.gz file, there is no file named configure. Here's what the directory looks like:

drwxrwxrwx@  63 xxxx xxxx    2142 Jan 19 15:37 BUILD
-rw-rw-rw-@   1 xxxx xxxx    8479 Jan 19 15:37 BUILD-CMAKE
-rw-rw-rw-@   1 xxxx xxxx   12080 Jan 19 15:37 CMakeLists.txt
-rw-rw-rw-@   1 xxxx xxxx   17987 Jan 19 15:37 COPYING
drwxrwxrwx@   9 xxxx xxxx     306 Jan 19 15:37 Docs
-rw-rw-rw-@   1 xxxx xxxx  342250 Jan 19 15:37 INSTALL-SOURCE
-rw-rw-rw-@   1 xxxx xxxx     324 Jan 19 15:37 INSTALL-WIN-SOURCE
-rw-rw-rw-@   1 xxxx xxxx  113534 Jan 19 15:37 README
-rw-rw-rw-@   1 xxxx xxxx      87 Jan 19 15:37 VERSION
drwxrwxrwx@  22 xxxx xxxx     748 Jan 19 15:37 client
drwxrwxrwx@  33 xxxx xxxx    1122 Jan 19 15:37 cmake
drwxrwxrwx@   4 xxxx xxxx     136 Jan 19 15:37 cmd-line-utils
-rw-rw-rw-@   1 xxxx xxxx   18312 Jan 19 15:37 config.h.cmake
-rw-rw-rw-@   1 xxxx xxxx   33945 Jan 19 15:37 configure.cmake
drwxrwxrwx@  18 xxxx xxxx     612 Jan 19 15:37 dbug
drwxrwxrwx@  13 xxxx xxxx     442 Jan 19 15:37 extra
drwxrwxrwx@  72 xxxx xxxx    2448 Jan 19 15:37 include
drwxrwxrwx@  10 xxxx xxxx     340 Jan 19 15:37 libmysql
drwxrwxrwx@  12 xxxx xxxx     408 Jan 19 15:37 libmysqld
drwxrwxrwx@   8 xxxx xxxx     272 Jan 19 15:37 libservices
drwxrwxrwx@  50 xxxx xxxx    1700 Jan 19 15:37 man
drwxrwxrwx@  19 xxxx xxxx     646 Jan 19 15:37 mysql-test
drwxrwxrwx@ 123 xxxx xxxx    4182 Jan 19 15:37 mysys
drwxrwxrwx@   3 xxxx xxxx     102 Jan 19 15:37 packaging
drwxrwxrwx@   7 xxxx xxxx     238 Jan 19 15:37 plugin
drwxrwxrwx@  30 xxxx xxxx    1020 Jan 19 15:37 regex
drwxrwxrwx@  31 xxxx xxxx    1054 Jan 19 15:37 scripts
drwxrwxrwx@ 303 xxxx xxxx   10302 Jan 19 15:37 sql
drwxrwxrwx@  35 xxxx xxxx    1190 Jan 19 15:37 sql-bench
drwxrwxrwx@   7 xxxx xxxx     238 Jan 19 15:37 sql-common
drwxrwxrwx@  13 xxxx xxxx     442 Jan 19 15:37 storage
drwxrwxrwx@  59 xxxx xxxx    2006 Jan 19 15:37 strings
drwxrwxrwx@  27 xxxx xxxx     918 Jan 19 15:37 support-files
drwxrwxrwx@  37 xxxx xxxx    1258 Jan 19 15:37 tests
drwxrwxrwx@   8 xxxx xxxx     272 Jan 19 15:37 unittest
drwxrwxrwx@  15 xxxx xxxx     510 Jan 19 15:37 vio
drwxrwxrwx@   3 xxxx xxxx     102 Jan 19 15:37 win
drwxrwxrwx@  32 xxxx xxxx    1088 Jan 19 15:37 zlib

find . -name 'configure' returns nothing.

Am I missing something?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

罪歌 2024-10-26 03:26:53

Type cmake to build MySQL. This is described in the instructions for installing from source. (I assume this is also explained in the INSTALL or README files in the tarball, but I'm having difficulties downloading the tarball.)

倾其所爱 2024-10-26 03:26:53

您下载的是二进制版本,而不是

这就是您收到配置错误的原因。

:)

You've downloaded the binary version, not the source.

This is the reason that you're getting the config error.

:)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文