Tag: 编译

无法在Ubuntu 16.04上编译PHP 5.3.29

我在Ubuntu 16.04上编译PHP 5.3.29时遇到了问题 我的问题:如果我在早期版本的ubuntu上编译PHP并将其复制到Ubuntu 16.04。 它会按预期工作还是会失败?

错误:找不到输入文件:`man / Makefile.in’

我试图安装hdf4然后安装python-hdf4 。 我是Linux和Python的新手。 我需要阅读hdf文件。 我虽然需要安装pyhdf因为http://www.science-emergence.com/Articles/How-to-read-a-MODIS-HDF-file-using-python-/已经使用pyhdf模块读取pyhdf文件。 起初我尝试使用命令pip install pyhdf进行pip install pyhdf并得到错误: 找不到满足pyhdf要求的版本(来自版本):找不到pyhdf的匹配分布。 然后我下载了pyhdf-0.9.0并尝试安装它。 当我在安装hdf-4.2.12时尝试编译时,出现了错误: pyhdf/hdfext_wrap.c:3543:17: fatal error: hdf.h: No such file or directory 使用问题安装pyhdf错误搜索错误:hdf.h:没有这样的文件或目录我做的文件说: 我从http://support.hdfgroup.org/products/hdf4/下载了pyhdf。 然后我按照链接,下载了hdf-4.2.12 ,转到这个目录并尝试配置它。 只有这样我才得到以下错误: checking for a BSD-compatible install… /usr/bin/install -c checking whether build environment is sane… yes /home/mala/hdf-4.2.12/bin/missing: Unknown `–is-lightweight’ option Try `/home/mala/hdf-4.2.12/bin/missing –help’ for more information configure: WARNING: ‘missing’ script […]

/ usr / bin / ld:找不到-lpulse

你能帮我解决这个问题吗? 我尝试编译Qt应用程序,但我总是得到这个错误: /usr/bin/ld: cannot find -lpulse 我知道我必须安装一些libs,我不知道哪一个。

驱动程序安装:编译较新内核的源代码

我正在尝试为此DAQ卡安装驱动程序,但是当我执行时(如在给定的文档中): insmod /usr/…/advdrv_core.ko 我收到此错误: invalid module format 正如我发现的那样,这是因为下载的驱动程序是针对内核2.6.18的,因此它不适用于新的驱动程序,但是也提供了源代码,因此可以为此内核编译它吗?

Dlib 19.4不会在ubuntu 16.04上使用cmake构建

这是我在构建时遇到的错误: cmake –build . –config Release [ 23%] Built target dlib [ 23%] Linking CXX executable sqlite_ex CMakeFiles/sqlite_ex.dir/sqlite_ex.cpp.o: In function `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::basic_string(char const*, std::allocator const&) [clone .isra.60]’: sqlite_ex.cpp:(.text+0x83): undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_create(unsigned long&, unsigned long)’ CMakeFiles/sqlite_ex.dir/sqlite_ex.cpp.o: In function `table_exists(dlib::database&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)’: sqlite_ex.cpp:(.text+0x10a): undefined reference to `std::__cxx11::basic_string<char, std::char_traits, […]

非sudo的Gedit错误 – 未定义的符号:cairo_surface_set_device_scale(未定义的符号:cairo_surface_set_device_scale)

由于某种原因,我无法像普通用户一样运行gedit。 我收到以下错误: heberto@heberto-XPS-13:~$ gedit gedit: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgdk-3.so.0: undefined symbol: cairo_surface_set_device_scale 另一方面,当我用sudo读取命令时,没有问题,并且事情像往常一样运行。 emacs相同交易。 我有Ubuntu 14.04,有什么建议吗?

Ubuntu14.04:未连接的UNE 4G LTE移动调制解调器

我最近将Ubuntu从12.04升级到14.04,结果我失去了4G LTE连接。 (它在Windows中运行正常。我有双启动)。 当我尝试通过UNE图标连接时,Ubuntu回复: 设备已断开连接或不可用 lsusb的输出表明4G移动调制解调器(HUAWEI E398)已被识别,见下文: Bus 002 Device 005: ID 0951:1642 Kingston Technology DT101 G2 Bus 002 Device 004: ID 046d:c019 Logitech, Inc. Optical Tilt Wheel Mouse Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device […]

make:*** 错误2

我试图在我的ubuntu 18.04中安装wifi驱动程序。 内核14.5和惠普笔记本电脑。 我按照这些命令: 1. sudo apt-get install build-essential dkms 2.wget -d -c -O ‘rtl8723de.zip’ https://github.com/smlinux/rtl8723de/archive/4.11-up.zip 3. unzip rtl8723de.zip 4.cd rtl8723de 5.make 当我赞扬make然后我在终端得到这个结果: make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-22-generic/build M=/home/praveen/rtl8723de modules make[1]: Entering directory ‘/usr/src/linux-headers-4.15.0-22-generic’ Makefile:976: “Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel” CC [M] /home/praveen/rtl8723de/core/rtw_cmd.o In file included from /home/praveen/rtl8723de/include/osdep_service.h:42:0, from /home/praveen/rtl8723de/include/drv_types.h:32, from […]

什么是包装期间的changelog.Debian.gz文件?

包装我遇到以下错误 dh_builddeb dpkg-deb: building package `remotedevicecontroller’ in `../remotedevicecontroller_1.0-1_i386.deb’. dpkg-source -b remotedevicecontroller-1.0 dpkg-source: info: using source format `3.0 (quilt)’ dpkg-source: error: unwanted binary file: debian/remotedevicecontroller/usr/share/doc/remotedevicecontroller/changelog.Debian.gz dpkg-source: error: detected 1 unwanted binary file (add it in debian/source/include-binaries to allow its inclusion). dpkg-buildpackage: error: dpkg-source -b remotedevicecontroller-1.0 gave error exit status 29 为什么文件是由debian-helper创建的,为什么它又要求将它包含在其他目录中呢?

用自编译版本替换预构建的包

我需要更新我通过官方说明安装的Point Cloud Library(PCL)和我根据本手册编译的我自己的版本。 原因是我需要修复PCL中的错误,该错误存在于我最初安装的预构建包中。 我在最后一步做“sudo make install”但是当我编译我的应用程序时,bug仍然存在。 如果我列出这样的libpcl版本 dpkg -l | grep ‘^ii’ | grep libpcl 它为libpcl-all软件包输出1.7 + trusty1,为其他libpcl-package输出1.7.1-3 + trusty2。 我编译的版本是1.7.2。