MingW32 上的编译节

发布于 2024-08-16 18:27:30 字数 1917 浏览 7 评论 0原文

我正在尝试在 MingW32 上编译 Festival,这样我就可以获得 Windows 二进制文件。我在他们的网站上找不到 Windows 二进制文件。谁有可以发布的吗?

如果没有,这就是我到目前为止所拥有的。我做了 ./configure 并制作它并得到以下消息:

$ make
config/config:43: ../speech_tools/config/config: No such file or directory

因此,我下载了pepe_tools tar ball并得到了。 ./configure 和 make 是否得到:

$ make
config/config:156: config/systems/ix86_unknown.mak: No such file or directory
../config/config:156: ../config/systems/ix86_unknown.mak: No such file or directory
make: *** No rule to make target `../config/systems/ix86_unknown.mak'.  Stop.
config/rules/modules.mak:133: config/modincludes.inc: No such file or directory
make --no-print-directory -C ./config MADE_FROM_ABOVE=1  MODINCLUDES=1 INCLUDE_EVERYTHING='' modincludes.inc 
../config/config:156: ../config/systems/ix86_unknown.mak: No such file or directory
make[1]: *** No rule to make target `../config/systems/ix86_unknown.mak'.  Stop.
make: *** [config/modincludes.inc] Error 2

因此,我将 config/systems/ix86_CYGWIN32.mak 复制到 ix86_unknown.mak 并再次尝试。现在我收到此消息:

g++ -c -fno-implicit-templates -O3 -Wall -Wno-non-template-friend -Wno-deprecated -DSUPPORT_EDITLINE -I../include slib.cc
In file included from slib.cc:85:
../include/EST_unix.h:53:25: sys/wait.h: No such file or directory
../include/EST_unix.h:54:29: sys/resource.h: No such file or directory
In file included from ../include/EST_String.h:50,
                 from ../include/siod.h:17,
                 from slib.cc:88:
../include/EST_iostream.h:54:26: strstream.h: No such file or directory
In file included from ../include/EST_TList.h:50,
                 from ../include/EST_string_aux.h:43,
                 from ../include/siod.h:18,
                 from slib.cc:88:

哪里可以获得 sys/wait.h、sys/resource.h 和 strstream.h?我不想在 Cygwin 中尝试这一切并携带那些烦人的 DLL。有什么建议吗?

I'm trying to compile Festival on MingW32, so I can have a Windows binary. I couldn't find the Windows binary on their site. Anyone have one they can post?

If not, here's what I have so far. I did the ./configure and make for it and have the following message:

$ make
config/config:43: ../speech_tools/config/config: No such file or directory

So, I downloaded the speech_tools tar ball and got. Did the ./configure and make to get:

$ make
config/config:156: config/systems/ix86_unknown.mak: No such file or directory
../config/config:156: ../config/systems/ix86_unknown.mak: No such file or directory
make: *** No rule to make target `../config/systems/ix86_unknown.mak'.  Stop.
config/rules/modules.mak:133: config/modincludes.inc: No such file or directory
make --no-print-directory -C ./config MADE_FROM_ABOVE=1  MODINCLUDES=1 INCLUDE_EVERYTHING='' modincludes.inc 
../config/config:156: ../config/systems/ix86_unknown.mak: No such file or directory
make[1]: *** No rule to make target `../config/systems/ix86_unknown.mak'.  Stop.
make: *** [config/modincludes.inc] Error 2

So, I copied config/systems/ix86_CYGWIN32.mak to ix86_unknown.mak and tried again. Now I get this message:

g++ -c -fno-implicit-templates -O3 -Wall -Wno-non-template-friend -Wno-deprecated -DSUPPORT_EDITLINE -I../include slib.cc
In file included from slib.cc:85:
../include/EST_unix.h:53:25: sys/wait.h: No such file or directory
../include/EST_unix.h:54:29: sys/resource.h: No such file or directory
In file included from ../include/EST_String.h:50,
                 from ../include/siod.h:17,
                 from slib.cc:88:
../include/EST_iostream.h:54:26: strstream.h: No such file or directory
In file included from ../include/EST_TList.h:50,
                 from ../include/EST_string_aux.h:43,
                 from ../include/siod.h:18,
                 from slib.cc:88:

Where do I get sys/wait.h, sys/resource.h and strstream.h? I'd rather not have to try this whole bit in Cygwin and carry around those annoying DLL's. Any advice?

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

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

发布评论

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

评论(3

相权↑美人 2024-08-23 18:27:31

Windows 二进制文件可在此处获取

Windows binaries are available here

千秋岁 2024-08-23 18:27:31

通过完整的 cygwin 安装而不是仅仅安装 mingwin,你会得到更多,但我不能保证成功。

You'll get further with a full cygwin install instead of just mingwin, but I can't promise success.

与之呼应 2024-08-23 18:27:31

我运行 Ubuntu,记得 Synaptics 存储库中有 Festival,这意味着我只需双击该名称,它就会自行安装及其所有依赖项。
如果所有其他方法都失败,您可能需要运行具有 ubuntu 或双引导的虚拟机。

I run Ubuntu and remember having Festival available in the Synaptics repository, implying I just had to double click the name, and the thing installed itself with all its dependencies.
If all else fails, you might want to run a VM with ubuntu or dual boot.

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