VirtualBox

Opened 13 years ago

Last modified 13 years ago

#7763 new defect

configure needs to check for glib2

Reported by: timeless Owned by:
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 (1)

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

Download all attachments as: .zip

Change History (2)

by timeless, 13 years ago

Attachment: configure-glib added

draft configure changes

comment:1 by timeless, 13 years ago

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.

© 2023 Oracle
ContactPrivacy policyTerms of Use