VirtualBox

Ticket #7763 (new defect)

Opened 3 years ago

Last modified 3 years ago

configure needs to check for glib2

Reported by: timeless Owned by:
Priority: trivial Component: other
Version: VirtualBox 3.2.10 Keywords:
Cc: Guest type: other
Host type: Mac OS X

Description

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.

Attachments

configure-glib Download (3.0 KB) - added by timeless 3 years ago.
draft configure changes

Change History

Changed 3 years ago by timeless

draft configure changes

comment:1 Changed 3 years ago by 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.
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use