`

checking for UNITY... configure: error: Package requirements

 
阅读更多
  • 问题现象
  • 解决方法

 

一、问题现象

 

编译安装一项程序时,提示以下错误

# ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: Configuring for plain GTK+
checking for PACKAGE... yes
checking for UNITY... configure: error: Package requirements (dee-1.0
		dbusmenu-glib-0.4
		unity) were not met:

No package 'dee-1.0' found
No package 'dbusmenu-glib-0.4' found
No package 'unity' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables UNITY_CFLAGS
and UNITY_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

 

 

二、解决方法

 

查看./configure 有关于unity的有关参数

# ./configure --help | grep [u]nity
  --enable-unity          Build support for integration in Unity launcher

 

报错unity,那么举一反三使用--disable-unity参数。

# ./configure --disable-unity
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: Configuring for plain GTK+
checking for PACKAGE... yes
checking whether NLS is requested... yes
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.10.1
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed...  nl_NL it_IT zh_CN fr_FR sv_SE nb_NO tr_TR ru_RU de_DE es_ES cs_CZ gl_ES ca_ES pt_BR id_ID hr_HR zh_TW
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating grsync.spec
config.status: creating grsync.desktop
config.status: creating grsync.xml
config.status: creating it.opbyte.grsync.service
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands

 

至此、完成。

分享到:
评论

相关推荐

    Linux-jpcap-gcc

    configure: error: no acceptable C compiler found in $PATH ------------------------ linux 中,安装,提示缺少其他一些组件,经过来回搜索与拷贝,GCC安装成功,所需文件有: libf2c-3.3.2-1.i386.rpm libstdc -devel...

    PHP编译configure时常见错误的总结

    1. **错误:configure: error: No curses/termcap library found** 解决方案:在CentOS上,应运行`yum -y install ncurses-devel`;在Debian上,运行`apt-get install libncurses5-dev`。 2. **错误:configure: ...

    安装linux编译时报apr错误的解决方法

    记得检查错误日志(通常位于`/usr/local/apache2/logs/error_log`),以确认是否有其他问题。 在处理这类问题时,保持耐心和仔细检查错误信息是关键。有时,问题可能出在编译选项、依赖库的版本不兼容或是环境变量...

    Linphone编译错误及解决方法

    11. configure: error: Package requirements (glew >= 1.5) were not met 错误原因:缺少glew依赖项。 解决方法:sudo apt-get install libglew-dev 12. configure: error: Missing libv4l2. It is highly ...

    win8推送更新win10必要更新

    标题中的“win8推送更新win10必要更新”指的是Windows 8系统在接收到Windows 10升级推送时,可能需要安装特定的更新补丁来确保兼容性和稳定性。Windows 8用户经常遇到的一个问题是,他们可能无法直接从系统设置中...

    编译PHP报错configure error Cannot find libmysqlclient under usr的解决方法

    总结来说,解决“configure error Cannot find libmysqlclient under /usr”的关键在于理解库的实际位置,以及确保在编译过程中正确地指定了依赖库的位置。在某些情况下,安装缺失的开发库也是必要的。通过遵循这些...

    cryptopp-5.6.2-2.el6.x86_64.rpm&& cryptopp-devel-5.6.2-2.el6.x86_64.rpm

    ceph源码编译时出现下列现象时,需要下载这...checking for NSS... no configure: error: in `/root/workspace/ceph-0.87.1': configure: error: no suitable crypto library found See `config.log' for more details

    gmp 5.0.4 安装GCC必需文件

    GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. There is no practical limit to the precision except the ones ...

    Keil.STM32F1xx_DFP.2.1.0.pack

    Improved robustness by function checking that driver is powered (EMAC_FLAG_POWER) CAN: Corrected functionality when only one CAN controller is used Corrected pin remap configuration for CAN2 port ...

    AutoMySQLBackup是一个开源的MySQL备份脚本 它是一个轻量级的备份

    ### Checking archive files for existence, readability and integrity. automysqlbackup ... exists and is readable ... md5sum okay :) automysqlbackup.conf ... exists and is readable ... md5sum okay :) ...

    为PHP安装imagick时出现Cannot locate header file MagickWand.h错误的解决方法

    在PHP开发中,有时我们需要利用扩展来增强其功能,例如`imagick`扩展,它提供了对ImageMagick图像处理库的接口,使得我们能够在PHP中调用强大的图像处理功能。然而,在安装`imagick`扩展时,可能会遇到各种问题,...

    EurekaLog_7.5.0.0_Enterprise

    2)....Fixed: Range check error in processes information for x64 machines (affects startup of any EurekaLog-enabled module) 3)....Fixed: Auto-detect personality by project extension if --el_mode switch...

    HW Design Checking List for i.Mx6DQSDL Rev2.9.xlsx

    HW Design Checking List for i.Mx6DQSDL Rev2.9.xlsxHW Design Checking List for i.Mx6DQSDL Rev2.9.xlsxHW Design Checking List for i.Mx6DQSDL Rev2.9.xlsx

    Sublime.Text.Build.3069._Win_32bit 破解版

    Fixed a long standing issue with spell checking and non-ascii characters API: Fixed sublime.yes_no_cancel dialog return value on Windows Build 3068 Release Date: 3 February 2015 Added Goto Definition ...

    重新烧写jlink固件文档及bin文件

    JLink是SEGGER公司开发的一款广泛应用的仿真器和编程器,它支持多种微控制器和处理器,广泛用于嵌入式系统开发。本文档将详细介绍如何重新烧写JLink固件,以便修复可能出现的问题或升级到最新版本。...

    PyPI 官网下载 | biobb_structure_checking-3.7.0.tar.gz

    PyPI(Python Package Index)是Python编程语言的官方软件仓库,它提供了大量的第三方库供开发者下载和使用。"biobb_structure_checking-3.7.0.tar.gz" 是一个在PyPI上发布的开源软件包,其版本号为3.7.0,通过tar....

    Wiley.Publishing.Fedora.Linux.Toolbox.1000+.Commands.for.Fedora.CentOS.and.Red.Hat.Power.Users.and.Red.Hat.Power.Users.2008.pdf

    - **Vulnerability Management**: Regularly checking for vulnerabilities and applying patches. #### Appendix A: Using vi or Vim Editors vi and Vim are powerful text editors used widely in Linux. This ...

    konqueror-embedded-ok.tar.bz2

    总是出现 checking for Qt... configure: error: Qt (>= Qt 2.2.2) (library qte) not found. Please check your.... 具体参考我的博客:http://blog.csdn.net/niyufeng/article/details/7233102《6.1 qtopia-2.2.0...

Global site tag (gtag.js) - Google Analytics