VirtualBox

14 年 前 建立

14 年 前 更新

#7763 new defect

configure needs to check for glib2

回報者: timeless 負責人:
元件: other 版本: VirtualBox 3.2.10
關鍵字: 副本:
Guest type: other Host type: Mac OS X

描述

timeless-mbp:vbox-svn timeless$ ./configure --disable-java --disable-python --disable-opengl --disable-docs --disable-hardening --with-openssl-dir=/opt/local/var/macports/software/openssl/1.0.0a_0/opt/local/
...
Successfully generated '/Users/timeless/devel/virtualbox.org/vbox-svn/AutoConfig.kmk' and '/Users/timeless/devel/virtualbox.org/vbox-svn/env.sh'.
Source '/Users/timeless/devel/virtualbox.org/vbox-svn/env.sh' once before you start to build VBox:

  source /Users/timeless/devel/virtualbox.org/vbox-svn/env.sh
  kmk


  +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++
  Hardening is disabled. Please do NOT build packages for distribution with
  disabled hardening!
  +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++ WARNING +++

Enjoy!
timeless-mbp:vbox-svn timeless$   source /Users/timeless/devel/virtualbox.org/vbox-svn/env.sh
timeless-mbp:vbox-svn timeless$   kmk
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found

I wish configure had complained.

附加檔案 (1)

configure-glib (3.0 KB ) - 14 年 前, 由 timeless 新增
draft configure changes

下載所有附檔: .zip

更動歷史 (2)

14 年 前timeless 編輯

附檔: 新增 configure-glib

draft configure changes

comment:1 14 年 前timeless 編輯

I'm making this attachment available under the MIT license.

With the patch and no glib, I get:

Checking for glib2: 
  ** glib2 not found!

with glib, I get:

Checking for glib2: found version 2.27.3, OK.
注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette