在Ubuntu Server 12.04 LTS上安装WMIC

trevrobwhite

有没有人在Ubuntu Server 14.04 LTS下安装wmic(wmi客户端)有运气吗?

我尝试按照文档http://techedemic.com/2012/11/05/installing-wmic-in-ubuntu-12-04-lts-64-bit-desktop/进行操作,但是仍然无法成功完成。

有谁有运气将wmic的编译版本安装到Ubuntu上,我需要nagios check_wmi_plus,但这总是错误,详细信息在下面。

我不确定支持信息是否告诉我要安装那些模块(抱歉,如果是笨拙的,是OpenSuse的Ubuntu新增功能)。

提前谢谢了。

Summary:

Support for GTK+ frontends: no (install gtk,gconf)
Support for SSL in SWAT and LDAP: no (install GNUTLS)
Support for threads in smbd (see --with-pthread): no (install PTHREAD)
Support for intelligent command line editing: no (install READLINE)
Support for changing process titles (see --with-setproctitle): no (install SETPROCTITLE)
Support for using extended attributes: yes
Support for using libblkid: no (install BLKID)
Support for using iconv: yes
Support for using pam: no (install PAM)
Using external popt: no
Developer mode: no
Automatic dependencies: no (install GNU make >= 3.81 and see --enable-automatic-dependencies)
Building shared libraries: yes
Using shared libraries internally: no (specify --enable-dso)

make[1]: Entering directory `/tmp/wmi-1.3.14/Samba/source'
Creating lib/util/util_proto.h
Creating lib/charset/charset_proto.h
Creating param/proto.h
Creating libcli/util/proto.h
defined(@array) is deprecated at ./pidl/pidl line 583.
        (Maybe you should just omit the defined()?)
Compiling ./librpc/idl/atsvc.idl
/usr/include/stdc-predef.h:0: Syntax error near '3'
Failed to parse ./librpc/idl/atsvc.idl at ./pidl/pidl line 583.
make[1]: *** [idl] Error 1
make[1]: Leaving directory `/tmp/wmi-1.3.14/Samba/source'
cd Samba/source ; \
        cp bin/winexe ../../bin ; \
        cp bin/wmic ../../bin ; \
        cp bin/shared/*async_wmi_lib.so.0* ../../lib/python
cp: cannot stat ‘bin/winexe’: No such file or directory
cp: cannot stat ‘bin/wmic’: No such file or directory
cp: cannot stat ‘bin/shared/*async_wmi_lib.so.0*’: No such file or directory
make: *** [pywmi-installed] Error 1
白色的

尝试添加编译器选项-ffreestanding它适用于我的Ubuntu 14.04 LTS。

make "CPP=gcc -E -ffreestanding"

我在这里的评论中找到了该解决方案:在Ubuntu 12.04(LTS)64位桌面中安装wmic

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

如何在Ubuntu 12; 04中安装nmap

来自分类Dev

如何在Ubuntu 12; 04中安装nmap

来自分类Dev

在Ubuntu 16.04 LTS上安装Wmic

来自分类Dev

如何在Ubuntu 14,04 LTS上安装Muvizu?

来自分类Dev

在 Ubuntu 16-04 上安装 opencv

来自分类Dev

在Ubuntu Server 16.04.3 LTS上安装amdgpu驱动程序

来自分类Dev

双启动Ubuntu 14 .04LTS

来自分类Dev

Ubuntu Server 16.04 LTS安装步骤失败

来自分类Dev

在云上安装Ubuntu Server

来自分类Dev

在Ubuntu Server 20.04LTS上全局安装PM2时出错

来自分类Dev

在不支持PAE的硬件上安装Ubuntu Server 12.04.3 LTS

来自分类Dev

如何在Ubuntu 12.04 LTS 32位系统上安装Adobe Flash Media Server

来自分类Dev

在Ubuntu 16.04 LTS上安装mariadb-server时未提示输入root密码

来自分类Dev

在Ubuntu 18.04.3 LTS上安装openssh-server 8.0p1

来自分类Dev

在现有的Ubuntu Server 14.04.5 LTS系统上的RAID1中安装新的HDD

来自分类Dev

我可以在Ubuntu Server 18.04 LTS上安装PHP 5.3.5吗?

来自分类Dev

在 Ubuntu Server 16.04 LTS 上安装和使用 xRDP 后图标丢失/不正确

来自分类Dev

Ubuntu Server 14.04.4 LTS上的PHP版本

来自分类Dev

Ubuntu Server 14.04.4 LTS上的PHP版本

来自分类Dev

Ubuntu Server 14.04.2 LTS上的ACL权限

来自分类Dev

在Ubuntu Server 14.04 LTS上寻找VINO

来自分类Dev

Ubuntu Server 14.04.2 LTS上sudo的问题

来自分类Dev

安装ubuntu服务器时出错14:04 / 15:04

来自分类Dev

在Ubuntu 14.04上安装VMware Player 12捆绑包

来自分类Dev

我无法在Ubuntu 16.04上安装Teamviewer 12

来自分类Dev

在 ubuntu-16.04 上安装 odoo-12

来自分类Dev

GRUB在安装12:04后抱怨“没有这样的分区”

来自分类Dev

在Windows 10上安装Ubuntu Server 18.04.1?

来自分类Dev

在Ubuntu Server上安装PHP pthread的问题

Related 相关文章

热门标签

归档