Tag: 编译

如何在Ubuntu 14.04中编译和安装ia32-libs?

如何在Ubuntu 14.04中编译和安装包ia32-libs ?

建立令人敬畏的WM

我正在按照这些步骤在10.04上构建Awesome窗口管理器 我正在构建3.4,而教程是3.1 我安装了所有指定的依赖项,包括cairo。 运行cd awesome-3.4 &&后,我得到以下缺少的依赖项错误: Running cmake… — cat -> /bin/cat — ln -> /bin/ln — grep -> /bin/grep — git -> /usr/bin/git — hostname -> /bin/hostname — gperf -> /usr/bin/gperf — asciidoc -> /usr/bin/asciidoc — xmlto -> /usr/bin/xmlto — gzip -> /bin/gzip — lua -> /usr/bin/lua — luadoc -> /usr/bin/luadoc — convert -> […]

如何编译内核模块?

NetworkManager邮件列表上的一个好人提供了一个补丁 ,希望能够解决我遇到的与64位Ubuntu 11.04上的慢速移动宽带检测有关的问题。 我真的很想检查补丁,但我无法弄清楚如何做到这一点。 作为起点,我解压缩了/usr/src/linux-source-2.6.38/linux-source-2.6.38.tar.bz2并将补丁应用到/usr/src/linux-source-2.6.38/drivers/usb/serial/options.c ,但现在我被卡住了。 如何重新编译模块? 可能只是模块,而不是整个内核和其他未修改的模块。 赞赏优秀文档的链接。 我过去已经重新配置并重新编译了一个内核(虽然程序看起来有点模糊……)所以所有涉及的软件都应该到位。 谢谢你的任何澄清。

如何编译和安装?

https://github.com/thestinger/vte-ng 我看到一个配置,autogen.sh和一个makefile,但我似乎无法弄清楚如何安装它。 有人可以帮我解释一下我需要做些什么来安装它?

无法编译Glasgow Haskell编译器

./configure checking for gfind… no checking for find… /usr/bin/find checking for sort… /usr/bin/sort checking for ghc… no configure: error: GHC is required unless bootstrapping from .hc files. 256 我想安装Glasgow Haskell Compiler,而./configure要求GHC。 它要求什么样的GHC? 全球强子对撞机? 我从http://www.haskell.org/ghc/download_ghc_7_6_3下载了源代码

如何从启动板编译程序

我试着查看文档,但我无法弄清楚。 make和./configure不起作用所以我想我会问这里。 我正试图在13.10上安装这个( https://launchpad.net/livewallpaper )。 我把它解压缩到/ usr / local / src。 我已经安装了build essentials,checkinstall,cvs,mercurial,git-core和subversion。 我需要运行哪些终端命令来安装它? colton@Persistence:/usr/local/src/livewallpaper-0.4.1$ make make: *** No targets specified and no makefile found. Stop. colton@Persistence:/usr/local/src/livewallpaper-0.4.1$ ./configure bash: ./configure: No such file or directory colton@Persistence:/usr/local/src/livewallpaper-0.4.1$

在64位系统上编译32位

我正在尝试使用以下configure命令在64位ubuntu系统上编译32位版本的python: CC=”gcc -m32″ LDFLAGS=”-L/lib32 -L/usr/lib32 \ -Lpwd/lib32 -Wl,-rpath,/lib32 \ -Wl,-rpath,/usr/lib32″ \ ./configure –prefix=/opt/pym32 然后make,make install。 没有错误,但它应该是错误的,因为“readelf -h python”告诉我python是作为ELF64构建的。

尝试在共享驱动器上编译时链接错误

我试图在我的系统上的共享驱动器上编译OpenCV库。 我能够通过使用这些设置成功配置和生成makefile,但是当我尝试编译时,我收到以下错误: Linking CXX shared library ../../lib/libopencv_core.so CMake Error: cmake_symlink_library: System Error: Operation not permitted CMake Error: cmake_symlink_library: System Error: Operation not permitted make[2]: *** [lib/libopencv_core.so.2.4.3] Error 1 make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 make: *** [all] Error 2 请帮忙解决。 我认为这可能是挂载标志的问题。

OEM安装Ubuntu服务器

我正在尝试进行Ubuntu Server(14.04.3)的OEM安装,但似乎无法使其正常工作。 我已经设法轻松地做了一个Ubuntu桌面(14.04.3)。 为什么? 我想这样做: 安装所有当前更新 安装open-vm-tools,sssd和其他软件包 “安装”一些内部脚本 将初始配置放入SSSD中,因此可以运行自定义的“join-domain”脚本,该脚本只是在部署后执行测试和加入域的最后步骤。 具有可用于VM服务器的一致基础构建。 有人可以指点我一步一步的指导,以实现类似于桌面OEM安装 。 非常感谢您的帮助。 更新 2015-01-18:逐步添加我尝试的内容: 我试图正确添加图像,但我不允许,非常无益! 我试过这个: 从安装介质启动菜单中选择OEM安装(适用于制造商)(屏幕截图:i.stack.imgur.com/tg5WX.png) 正常安装Ubuntu Server(截图:i.stack.imgur.com/l4pgz.png) 安装附加软件包(截图:i.stack.imgur.com/me1t2.png) 包的初始配置 尝试并运行oem-config-prepare(截图:i.stack.imgur.com/RNHM8.png) 错误信息 目前尚未安装程序’oem-config-prepare’。 您可以通过键入以下命令安装它:sudo apt-get install oem-config 请告诉我我做错了什么?

在Ubuntu 12.04上制作3.82+

我正在尝试在Ubuntu 12.04(64位)上编译一些软件。 它因此错误而失败。 checking for make… /usr/bin/make configure: tested: whether version of /usr/bin/make is 3.82+ configure: ===INF=== Installed version of make is not 3.82+: make: *** No targets specified and no makefile found. Stop. 检查 $ make –version GNU Make 3.81 This program built for x86_64-pc-linux-gnu 我从http://ftp.gnu.org/gnu/make/下载了3.82然后运行: ./configure sudo make install make –version GNU Make […]