在 mac os x 上安装 Win32::OLE
Mac OS X 支持 Microsoft OLE。
有谁知道是否可以在 mac OS X 上安装 Win32::OLE perl 模块?
我知道 Mac 不支持该模块,但是是否可以尝试编译?
Mac OS X supports Microsoft OLE.
Does anyone know if it's possible to install the Win32::OLE perl module on mac OS X?
I know the module isn't supported on Mac, but would it be possible to try and compile anyway?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不认为 Mac Os X 本身支持 Microsoft OLE。我认为,这是某种模仿或类似的东西。
Win32* 模块检查操作系统版本($^O 如果我是正确的)以检测正在运行的操作系统。
通过强制且无需测试,您可以安装此模块,但我认为安装后将无法工作。
如果您有证据表明 Mac OS X 支持 MS OLE,请将该文章链接到您的问题中,并且您可以要求模块维护者支持 OSX(如果它确实支持 OLE)。
问候,
I don't think so that Mac Os X supports Microsoft OLE nativly. I think, it is some kind emulating or something like that.
Win32* modules checks the osversion ($^O if I am correct) to detect which os is run.
With force and without tests you could install this module but I think is won't work after install.
If you have an evidence that Mac OS X supports MS OLE please link that article into your question and you could ask the module maintainer to support OSX if it is really support OLE.
regards,
Win32:: 命名空间中的模块适用于直接与 Windows 一起使用的模块。
这意味着它无法在任何非 Windows 的系统上运行。
您可以使用在 WINE 下运行的 Win32 版本的 Perl。请注意,这仅适用于也在 WINE 下运行的程序的 Windows 版本。 (假设你完全可以让它工作。)
Modules in the Win32:: namespace, are for modules that work directly with Windows.
This means that it won't work on anything that doesn't present itself as Windows.
You could use a Win32 build of Perl running under WINE. Note that this would only be able to work with Windows versions of a program that are also running under WINE. (Assuming you can get it to work at all.)