11e09 Issues Installing Virtual Box - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old April 27th, 2012, 18:48
Dead_Lemon Dead_Lemon is offline
Junior Member
 
Join Date: Apr 2012
Posts: 16
Thanks: 6
Thanked 0 Times in 0 Posts
Default Issues Installing Virtual Box

Hey all

I'm rather new at FreeBSD, and I'm struggling to install Virtualbox, I'm getting these error

Code:
[root@server /usr/ports/emulators/virtualbox-ose]# make install clean
===>   virtualbox-ose-4.1.12 depends on executable: yasm - found
===>   virtualbox-ose-4.1.12 depends on executable: as86 - found
===>   virtualbox-ose-4.1.12 depends on executable: xsltproc - found
===>   virtualbox-ose-4.1.12 depends on executable: kmk - found
===>   virtualbox-ose-4.1.12 depends on executable: gtar - found
===>   virtualbox-ose-4.1.12 depends on file: /usr/local/bin/easy_install-2.7 - found
===>   virtualbox-ose-4.1.12 depends on file: /usr/local/bin/python2.7 - found
===>   virtualbox-ose-4.1.12 depends on file: /usr/local/libdata/pkgconfig/inputproto.pc - found
===>   virtualbox-ose-4.1.12 depends on file: /usr/local/libdata/pkgconfig/xcursor.pc - found
===>   virtualbox-ose-4.1.12 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found
===>   virtualbox-ose-4.1.12 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - found
===>   virtualbox-ose-4.1.12 depends on file: /usr/local/lib/qt4/libQtGui.so - not found
===>    Verifying install for /usr/local/lib/qt4/libQtGui.so in /usr/ports/x11-toolkits/qt4-gui
===>   qt4-gui-4.7.4_1 depends on file: /usr/local/libdata/pkgconfig/inputproto.pc - found
===>   qt4-gui-4.7.4_1 depends on file: /usr/local/libdata/pkgconfig/xrender.pc - found
===>   qt4-gui-4.7.4_1 depends on file: /usr/local/libdata/pkgconfig/xrandr.pc - found
===>   qt4-gui-4.7.4_1 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - found
===>   qt4-gui-4.7.4_1 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc - found
===>   qt4-gui-4.7.4_1 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found
===>   qt4-gui-4.7.4_1 depends on file: /usr/local/libdata/pkgconfig/xcursor.pc - found
===>   qt4-gui-4.7.4_1 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   qt4-gui-4.7.4_1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   qt4-gui-4.7.4_1 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found
===>   qt4-gui-4.7.4_1 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found
===>   qt4-gui-4.7.4_1 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found
===>   qt4-gui-4.7.4_1 depends on file: /usr/local/lib/qt4/libQtCore.so - not found
===>    Verifying install for /usr/local/lib/qt4/libQtCore.so in /usr/ports/devel/qt4-corelib
===>   qt4-corelib-4.7.4 depends on file: /usr/local/bin/moc-qt4 - found
===>   qt4-corelib-4.7.4 depends on file: /usr/local/bin/qmake-qt4 - found
===>   qt4-corelib-4.7.4 depends on shared library: glib-2.0 - not found
===>    Verifying install for glib-2.0 in /usr/ports/devel/glib20
===>   glib-2.28.8_4 depends on file: /usr/local/bin/python2.7 - found
===>   glib-2.28.8_4 depends on executable: gmake - found
===>   glib-2.28.8_4 depends on file: /usr/local/bin/perl5.12.4 - found
===>   glib-2.28.8_4 depends on package: libtool>=2.4 - found
===>   glib-2.28.8_4 depends on executable: pkg-config - found
===>   glib-2.28.8_4 depends on shared library: pcre.1 - not found
===>    Verifying install for pcre.1 in /usr/ports/devel/pcre
===>  Installing for pcre-8.30_1
===>   Generating temporary packing list
===>  Checking if devel/pcre already installed
===>   An older version of devel/pcre is already installed (pcre-8.20)
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of devel/pcre
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/devel/pcre.
*** Error code 1

Stop in /usr/ports/devel/pcre.
*** Error code 1

Stop in /usr/ports/devel/glib20.
*** Error code 1

Stop in /usr/ports/devel/glib20.
*** Error code 1

Stop in /usr/ports/devel/qt4-corelib.
*** Error code 1

Stop in /usr/ports/x11-toolkits/qt4-gui.
*** Error code 1

Stop in /usr/ports/emulators/virtualbox-ose.
*** Error code 1
I hope some one can give insite into the issue

Thanks
Reply With Quote
  #2  
Old April 27th, 2012, 19:18
jb_fvwm2 jb_fvwm2 is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,386
Thanks: 60
Thanked 145 Times in 130 Posts
Default

Code:
cd /usr/ports/devel/pcre
pkg_delete -f /var/db/pkg/pcre-{some number} && make install
Reply With Quote
  #3  
Old April 27th, 2012, 19:49
Dead_Lemon Dead_Lemon is offline
Junior Member
 
Join Date: Apr 2012
Posts: 16
Thanks: 6
Thanked 0 Times in 0 Posts
Default

I'm confused with the {Some number} part?

I only see:
Code:
[root@server /usr/ports/devel/pcre]# ls
Makefile        files           pkg-plist
distinfo        pkg-descr       work
Reply With Quote
  #4  
Old April 27th, 2012, 20:50
AlexN AlexN is offline
Junior Member
 
Join Date: Oct 2010
Posts: 12
Thanks: 2
Thanked 1 Time in 1 Post
Default

Code:
cd /usr/ports/devel/pcre
make deinstall
make reinstall
Reply With Quote
The Following User Says Thank You to AlexN For This Useful Post:
Dead_Lemon (April 28th, 2012)
  #5  
Old April 27th, 2012, 20:52
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,715
Thanks: 432
Thanked 1,759 Times in 1,457 Posts
Default

An old version of devel/pcre is installed, and must be upgraded before installing VirtualBox. But note that after upgrading pcre, you should rebuild everything that needs it. See 20120214 in /usr/ports/UPDATING. Install sysutils/bsdadminscripts and run pkg_libchk to see all the ports that should be rebuilt.

Then, finally, install VirtualBox.
Reply With Quote
The Following User Says Thank You to wblock@ For This Useful Post:
Dead_Lemon (April 28th, 2012)
  #6  
Old April 28th, 2012, 00:37
jb_fvwm2 jb_fvwm2 is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,386
Thanks: 60
Thanked 145 Times in 130 Posts
Default

Quote:
Originally Posted by Dead_Lemon View Post
I'm confused with the {Some number} part?

I only see:
Code:
[root@server /usr/ports/devel/pcre]# ls
Makefile        files           pkg-plist
distinfo        pkg-descr       work
Code:
cd /var/db/pkg
ls -lac | grep pcre
... you would see the number. If you configure your shell some it may
expand the line automagically upon pressing [tab]...
another way...
Code:
cd /usr/ports/devel/pcre
make -V PKGNAME    # good command to make into an alias
Reply With Quote
The Following User Says Thank You to jb_fvwm2 For This Useful Post:
Dead_Lemon (April 28th, 2012)
  #7  
Old April 28th, 2012, 16:26
Dead_Lemon Dead_Lemon is offline
Junior Member
 
Join Date: Apr 2012
Posts: 16
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Thanks all for the replies.

Quote:
Originally Posted by AlexN View Post
Code:
cd /usr/ports/devel/pcre
make deinstall
make reinstall
This seemed to help.

But now I'm getting:
Code:
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2
*** Error code 2

Stop in /usr/ports/emulators/virtualbox-ose.
*** Error code 1

Stop in /usr/ports/emulators/virtualbox-ose.
Thanks jb_fvwm2 for clearing up those commands, still a little confused, but at least I'll know in the future when it is needed again.

wblock@, I'm so confused on exactly what I'm meant to do, I'm really new to this, thanks regardless.

Last edited by DutchDaemon; April 29th, 2012 at 01:13. Reason: Sentences end with a period around here.
Reply With Quote
  #8  
Old April 28th, 2012, 17:12
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,715
Thanks: 432
Thanked 1,759 Times in 1,457 Posts
Default

VirtualBox requires a newer version of devel/pcre than you had installed. So the first step would be to update the ports tree, deinstall the old pcre, and install the new one. But other programs may be using pcre, and might need to be rebuilt to use the new version. Programs like ports-mgmt/portmaster automatically handle rebuilds like that, or try to.

pcre seems to be something of a problem, so I advise also installing sysutils/bsdadminscripts, which has a useful program called pkg_libchk(1). pkg_libchk will look through all installed ports for missing library dependencies. The programs it lists with missing libraries need to be rebuilt.

See Upgrading FreeBSD Ports for an overview of the whole process.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] Issues while installing FreeBSD zwei Mobile Computing 15 June 29th, 2012 19:25
Trouble installing 9-RC1 over IPMI Virtual CD half Installing & Upgrading 18 February 2nd, 2012 15:14
Postfix virtual mysql. virtual alias issues. hockey97 Web & Network Services 7 December 19th, 2011 12:11
Installing FreeBSD 2.2.9-RELEASE on a virtual machine ernie Installing & Upgrading 3 August 9th, 2010 06:01
[Solved] Error installing fbsd 8 on virtual box Ayman Installing & Upgrading 13 July 28th, 2010 22:19


All times are GMT +1. The time now is 10:09.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0