267f1 Problem installing Virtualbox - 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 May 8th, 2010, 15:15
rhin rhin is offline
Junior Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem installing Virtualbox

Hi, first of all i want to apologise for my english...
well... as the title says i have a problem with virtualbox-ose in freebsd.

1) I have installed freebsd on the computer
2) i updated the freebsd with freebsd-update
3) I updated the ports three using cvsup commands.

After that i thought i was ready to install freebsd, so i went to the directory /usr/ports/emulators/virtualbox-ose and #make config and then #make install

it started to make updates and to compile things....after that an error message appeared

Code:
Undfined reference to `QlistData::detach3()'

***Error code 1
1error
***Error code 2
1error
***Error code 2
1error
***Error code 1
1error

Stop in usr/ports/devel/qt4-linguist.
Well.. if someone knows who can i resolve this problem please help me...i will really appreciate that- or another way to install it... may be i am doing something wrong..
Thanks

Last edited by DutchDaemon; May 8th, 2010 at 19:46. Reason: please invest 30 secs in making your post readable
Reply With Quote
  #2  
Old May 8th, 2010, 23:04
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,721
Thanks: 215
Thanked 142 Times in 88 Posts
Default

Try this:
Code:
portsclean -C
portsnap fetch update
pkg_add -r qt4-linguist
cd /usr/ports/emulators/virtualbox-ose
make install clean
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416

Last edited by sk8harddiefast; May 8th, 2010 at 23:17.
Reply With Quote
  #3  
Old May 11th, 2010, 03:21
rhin rhin is offline
Junior Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi thanks for your answer... unfortunately i use a hard disk from school... and i have access to it only on tuesdays and fridays.. so next class i will try doing what you said.... portsnap fetch update... what is the purpose of this "command line" ?
Reply With Quote
  #4  
Old May 11th, 2010, 04:00
harishankar's Avatar
harishankar harishankar is offline
Member
 
Join Date: Jun 2009
Posts: 128
Thanks: 6
Thanked 2 Times in 2 Posts
Default

portsnap fetch update will keep your local ports tree up to date with the current ports tree.
Reply With Quote
  #5  
Old May 11th, 2010, 04:37
rhin rhin is offline
Junior Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i am a noob on bsd yet but hadn't i done this with cvsup ¿?
Reply With Quote
  #6  
Old May 11th, 2010, 04:47
harishankar's Avatar
harishankar harishankar is offline
Member
 
Join Date: Jun 2009
Posts: 128
Thanks: 6
Thanked 2 Times in 2 Posts
Default

portsnap or cvsup - either method is fine. Thing about FreeBSD is that it offers a lot of choices.
Reply With Quote
  #7  
Old May 11th, 2010, 04:52
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,701
Thanks: 429
Thanked 1,757 Times in 1,456 Posts
Default

You can update ports with either csup and a ports-supfile with "tag=.", or use portsnap. Don't do both, pick one and stick with it.

It can also be useful to know which version of FreeBSD you are running.
Reply With Quote
  #8  
Old May 11th, 2010, 05:18
rhin rhin is offline
Junior Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i am running 8.0 but as i said before,the hard disk id from school and i can¡t use it and practise with bsd every day.
w-block i used cvsup and also i don't remember but i think i did something like a rsync to update some things....
-------------
my teacher told me to follow this steps....freebsd-update... and then update port tree....then i tried to install virtual box and puf-- error
my objective is to install freebsd as a host, and then with virtualbox ose virtualize slacware and windows 3.11 as ghest...i don't know if i will be able to do it but first of all i need to install and run virtualbox properly
tomorrow i will try to do it work..
Reply With Quote
  #9  
Old May 11th, 2010, 13:30
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,721
Thanks: 215
Thanked 142 Times in 88 Posts
Default

freebsd-update fetch install is for updating your system.From your ports is portsnap fetch update
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416
Reply With Quote
  #10  
Old May 11th, 2010, 23:10
rhin rhin is offline
Junior Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi again sk8harddiefast... now i am at school, i've a question: before doing
Code:
portsclean -C
portsnap fetch update
pkg_add -r qt4-linguist
cd /usr/ports/emulators/virtualbox-ose
make install clean
where should i go..?(directory)... should i go to usr/ports ??

Last edited by DutchDaemon; May 11th, 2010 at 23:18. Reason: use [code] tags!
Reply With Quote
  #11  
Old May 11th, 2010, 23:18
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,820
Thanks: 30
Thanked 1,883 Times in 1,329 Posts
Default

Anywhere you like. They're general commands.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Adminstrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #12  
Old May 11th, 2010, 23:30
rhin rhin is offline
Junior Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i've done what you said.. but... unfortunately a new error or warning appeared...after using portsnap fetch update.. it says "You must run 'portsnap extract' before runing `portsnap update`
Reply With Quote
  #13  
Old May 11th, 2010, 23:54
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,820
Thanks: 30
Thanked 1,883 Times in 1,329 Posts
Default

If this is the first time you fetched a ports tree, you'll indeed have to run portsnap extract (to populate /var/db/portsnap/files). You can run a portsnap fetch update right after that to make sure you're up-to-date.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Adminstrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #14  
Old May 12th, 2010, 01:24
rhin rhin is offline
Junior Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

well.. thanks to you i could pass this problem... i reinstalled ports tree and add the package linguist..the installation continued... but then another error there it says-- "this file was generated using the moc from 4.6.1 it cannot be used with the include files from this version of Qt "---- ~#(the moc has changed too much)"
I apologised for asking for so much help. Thanks to all i hope you can help me
Reply With Quote
  #15  
Old May 12th, 2010, 04:54
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,721
Thanks: 215
Thanked 142 Times in 88 Posts
Default

Don't apologise.You sould see me the first time!!!!
I had the same problem with moc
The Meta-Object Compiler, moc, is the program that handles Qt's C++ extension.
You have the latest version of qt4,but not the latest version of moc
Try to update moc.
Code:
portsnap fetch update
Now your ports tree is updated with the latest pkg releases.
Go to /usr/ports/devel/automoc4
Code:
make deinstall clean
This will delete moc from your system
Now into the same location (/usr/ports/devel/automoc4)
Code:
make install clean
This will install the latest moc on your system.(because before you made portsnap fetch update.so will deinstall the current version of moc from your system but will install the latest)
Also alternative you can make
Code:
portsnap fetch update
portupgrade -a
This will update your packages with the latest releases
or
Code:
portupgrade -af
this will rebuilt all your system packages from the begginng and update any pkg needs update.
but is also good because this will rebuilt moc,qt4 and all his dependencies if there are.
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416

Last edited by sk8harddiefast; May 12th, 2010 at 05:55.
Reply With Quote
  #16  
Old May 12th, 2010, 20:09
rhin rhin is offline
Junior Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the answer... =D
i won't have the computer until friday but well,i will try doing what you say..
i hope once for all i install vbox =P
Reply With Quote
  #17  
Old May 26th, 2010, 18:52
rhin rhin is offline
Junior Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well finally i am at school...my teacher told me he did it downloading directly the virtualbox already compiled or sth like that... i wanna now how to do it..
Reply With Quote
  #18  
Old May 31st, 2010, 23:12
rhin rhin is offline
Junior Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I could't do it work yet T_T
i am started installing version 8.0 of freebsd but i updated the whole system.
pleasee heelp i am desperated xD
Reply With Quote
  #19  
Old June 1st, 2010, 00:03
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,721
Thanks: 215
Thanked 142 Times in 88 Posts
Default

Quote:
I could't do it work yet T_T
You mean VirtualBox. Right?
Quote:
i am started installing version 8.0 of freebsd but i updated the whole system.
pleasee heelp i am desperated xD
What you mean with this?
What is the error that appears? If you don't explain exactly what is the problem that makes you stack, the error that you take etc, i cannot imagine what fails to help you
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416

Last edited by sk8harddiefast; June 1st, 2010 at 03:09.
Reply With Quote
  #20  
Old June 1st, 2010, 16:08
rhin rhin is offline
Junior Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, Virtualbox
mm... i hate i don't have the freebsd a home to know better the error, for what i remember it was an error related to phono sound or sth like this. my teacher told me, well, we are going to try to do it work by another way, downloading and "install" the virtualbox already compiled and updated, i suppuse it is something like downloading the folder already installed in windows,but i don't know how to do it.
you are very kind jaj i was reading your location and you are from greece, i have a friend there.. geia =P
Reply With Quote
  #21  
Old June 1st, 2010, 20:08
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,721
Thanks: 215
Thanked 142 Times in 88 Posts
Default

Geia
You could try to install freebsd as desktop computer on your home if you want and you can
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416
Reply With Quote
  #22  
Old June 1st, 2010, 23:48
rhin rhin is offline
Junior Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

=P now i am at school, i will try to download it already compiled as i said before, what "command" shoulkd i use ? Thanks
Reply With Quote
  #23  
Old June 2nd, 2010, 00:14
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,721
Thanks: 215
Thanked 142 Times in 88 Posts
Default

You want to download it from from a specific url?
You can use fecth command.
For example:
fetch http://www.blah,blah,blah and will download it on the folder that you are.
That means that if you run fetch command when you are on /home/user Virtualbox will be downloaded on /home/user
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416

Last edited by DutchDaemon; June 2nd, 2010 at 12:22.
Reply With Quote
  #24  
Old June 2nd, 2010, 00:21
rhin rhin is offline
Junior Member
 
Join Date: Apr 2010
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

well i recently made a make on /usr/ports/eumlators/virtualbo-ose and the message error says
Code:
/usr/ports/eumlators/virtualbo-ose/env.sh no such directory or file
and i don't know whats's it. =(

Last edited by DutchDaemon; June 2nd, 2010 at 12:22.
Reply With Quote
  #25  
Old June 2nd, 2010, 00:45
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,721
Thanks: 215
Thanked 142 Times in 88 Posts
Default

Have you installed the latest gcc compiler? I am not sure but maybe this solve this problem.
Code:
cd /usr/ports/lang/gcc45
make install clean
For example i use dwm for wm but cannot be compiled with systems gcc. Needs a newer!
Install gcc45 compiler and then run again:
Code:
make install clean
on /usr/ports/emulators/virtualbo-ose/
But don't forget before, to run make clean, to delete the work folder (on /usr/ports/emulators/virtualbo-ose/)
Every pkg you compile from ports, even if fails, create a work folder that always must be deleted to recreate it to the next compilation.
If you want to delete all work folders run portsclean -C
You must always do that because even you have fixed the problem, if the work folder will not be deleted, you will see again the error because the work folder already exists and will not recreate it. So will run the work folder with the error!
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416

Last edited by DutchDaemon; June 2nd, 2010 at 12:23.
Reply With Quote
Reply

Tags
box, problem, vbox, virtual, virtualbox

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
Problem installing FreeBSD 8-RELEASE on Virtualbox khAttAm Installing & Upgrading 7 April 5th, 2011 00:20
Installing 7.2 in Virtualbox travis Installing & Upgrading 19 April 7th, 2010 08:29
[Solved] Installing under Virtualbox Chad5ter Installing & Upgrading 4 December 12th, 2009 19:52
Installing FreeBSD7.2 on VirtualBox 3.0.0 primatephreak Installing & Upgrading 4 September 2nd, 2009 10:41
virtualbox problem phoenixson Installation and Maintenance of FreeBSD Ports or Packages 3 July 17th, 2009 18:07


All times are GMT +1. The time now is 18:28.


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