Re: Virtualbox on 8.2 64-bit (cont)
On 06/09/2011 15:49, Rob wrote: On 6/6/11 8:39 PM, Mario Lobo wrote: You need to rebuild your kernel with options COMPAT_FREEBSD32 # Compatible with i386 binaries included. I noticed that when I tried to build the ports, but I don't have anything in /usr/src and no information was given as to what packages/src I needed to install. I'd like to avoid diverging from the stock release kernel for upgrade simplicity. What exactly does that do? Will it introduce upgrade complexity (ie will I have to upgrade these libs before I upgrade the kernel or some such)? Needless to say, that option seems to be enabled in GENERIC: [starlight] ~ grep COMPAT_FREEBSD32 /usr/src/sys/amd64/conf/GENERIC options COMPAT_FREEBSD32# Compatible with i386 binaries Also I don't remember having to issue make build32 install32 or anything of that sort. You do need to have the FreeBSD source tree installed on your system, though. Did you try just fetching the source tree without building from it and then trying to build VirtualBox again? ~ Ondra ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Virtualbox on 8.2 64-bit (cont)
On Monday 13 June 2011 21:14:05 Rob wrote: On 6/9/11 4:55 PM, Mario Lobo wrote: On Thursday 09 June 2011 10:49:37 Rob wrote: On 6/6/11 8:39 PM, Mario Lobo wrote: On Monday 06 June 2011 17:56:53 Rob wrote: I was attempting to install virtualbox on my 8.2-p2 64-bit system this weekend, and hit a rather curious situation. The pre-packaged version of virtualbox retrievable by pkg_add is 3.2.12 (which looks in ports/amd64/packages-8.2-release). Poking around on the ftp server, I see that packages-8.1-release also has a 3.x version, but packages-8-stable has the latest 4.0.8. I went to look in ports, which contains 4.0.8, and build it myself but I got an error saying I need to have the 32-bit libraries installed in order to build virtualbox. So, my question is 2-fold: 1) What is the reason the 64-bit pre-packaged version of virtualbox is still at the 3.x version? Would there be a problem with installing the packages (virtualbox and kernel module) from packages-8-stable? 2) How do I build virtualbox 4.0.8 on a 64-bit system w/o the 32-bit libs. Is that possible? Searching around has produced old e-mail threads indicating this was a problem as of 2 or so years ago with the 3.x release. If it's not possible to build w/o the 32-bit libs, what do I need to install? Rob You need to rebuild your kernel with options COMPAT_FREEBSD32# Compatible with i386 binaries included. And as per the port's error message: cd /usr/src; make build32 install32; /etc/rc.d/ldconfig restart I noticed that when I tried to build the ports, but I don't have anything in /usr/src and no information was given as to what packages/src I needed to install. I'd like to avoid diverging from the stock release kernel for upgrade simplicity. What exactly does that do? Will it introduce upgrade complexity (ie will I have to upgrade these libs before I upgrade the kernel or some such)? Rob To remain with the same kernel you installed, you must install the source tree from the same CD/DVD you used for installation. You will have to run sysinstal and go to Configure Do post-install configuration of FreeBSD then Distributions Install additional distribution sets then mark [ ] src Sources for everything Choose the CDROM as installation media. After that you'll have all the sources on your HD and can proceed to the compilation of the 32 libs. If the sources are from the same CD you installed the system, they will be in sync with your kernel. No upgrade issues. What is that command doing though? It's building what from src? What is the output of build32? I assume it's not a kernel. No. Its JUST the 32 bit libraries. make build32 builds the 32bit libraries. It simply outputs the compilation process. make install32 installs the 32bit libraries. Same thing but for the install process. Also, do you know the difference between pre-built packages on the freebsd ftp server in packages-8.2-release vs packages-8-stable? Well, IF you installed the source tree from the SAME cd which you installed the FreeBSD you have now, there won't be any problems. You said you want to keep the stock kernel you installed so I assume that you haven't updated anything from the internet. You MUST install the source tree from the same DVD/CD from where you installed your running kernel! The diference is that the packages are meant to run on their respective version. I believe that packages that don't rely on a specific thing of one version should run without problems on both. But this is not normal or even needed at all, specially because it is so easy to bring everything uptodate to the same version. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Virtualbox on 8.2 64-bit (cont)
On 6/14/11 8:06 AM, Ondrej Majerech wrote: On 06/09/2011 15:49, Rob wrote: On 6/6/11 8:39 PM, Mario Lobo wrote: You need to rebuild your kernel with options COMPAT_FREEBSD32 # Compatible with i386 binaries included. I noticed that when I tried to build the ports, but I don't have anything in /usr/src and no information was given as to what packages/src I needed to install. I'd like to avoid diverging from the stock release kernel for upgrade simplicity. What exactly does that do? Will it introduce upgrade complexity (ie will I have to upgrade these libs before I upgrade the kernel or some such)? Needless to say, that option seems to be enabled in GENERIC: [starlight] ~ grep COMPAT_FREEBSD32 /usr/src/sys/amd64/conf/GENERIC options COMPAT_FREEBSD32 # Compatible with i386 binaries Also I don't remember having to issue make build32 install32 or anything of that sort. You do need to have the FreeBSD source tree installed on your system, though. Did you try just fetching the source tree without building from it and then trying to build VirtualBox again? ~ Ondra Is there a pkg_add command for installing the source tree, or should I just use sysinstall? Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Virtualbox on 8.2 64-bit (cont)
On 6/14/11 4:52 PM, Mario Lobo wrote: Also, do you know the difference between pre-built packages on the freebsd ftp server in packages-8.2-release vs packages-8-stable? Well, IF you installed the source tree from the SAME cd which you installed the FreeBSD you have now, there won't be any problems. You said you want to keep the stock kernel you installed so I assume that you haven't updated anything from the internet. You MUST install the source tree from the same DVD/CD from where you installed your running kernel! The diference is that the packages are meant to run on their respective version. I believe that packages that don't rely on a specific thing of one version should run without problems on both. But this is not normal or even needed at all, specially because it is so easy to bring everything uptodate to the same version. I installed from an 8.2 boot only CD (ie network install) and have since patched up to 8.2-p2. I assume I can just run sysinstall from my system and pull the src tree from the ftp server? When 8.3 comes out, what do I need to do to update the src tree? This may be documented in the UPDATING docs, but having never messed with the source tree I haven't had cause to look. If so just tell me to go read the respective doc. :) Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Virtualbox on 8.2 64-bit (cont)
On Jun 14, 2011, at 3:40 PM, Rob wrote: When 8.3 comes out, what do I need to do to update the src tree? This may be documented in the UPDATING docs, but having never messed with the source tree I haven't had cause to look. If so just tell me to go read the respective doc. :) Read the fine Handbook: http://www.freebsd.org/doc/handbook/updating-upgrading.html Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Virtualbox on 8.2 64-bit (cont)
On 6/9/11 4:55 PM, Mario Lobo wrote: On Thursday 09 June 2011 10:49:37 Rob wrote: On 6/6/11 8:39 PM, Mario Lobo wrote: On Monday 06 June 2011 17:56:53 Rob wrote: I was attempting to install virtualbox on my 8.2-p2 64-bit system this weekend, and hit a rather curious situation. The pre-packaged version of virtualbox retrievable by pkg_add is 3.2.12 (which looks in ports/amd64/packages-8.2-release). Poking around on the ftp server, I see that packages-8.1-release also has a 3.x version, but packages-8-stable has the latest 4.0.8. I went to look in ports, which contains 4.0.8, and build it myself but I got an error saying I need to have the 32-bit libraries installed in order to build virtualbox. So, my question is 2-fold: 1) What is the reason the 64-bit pre-packaged version of virtualbox is still at the 3.x version? Would there be a problem with installing the packages (virtualbox and kernel module) from packages-8-stable? 2) How do I build virtualbox 4.0.8 on a 64-bit system w/o the 32-bit libs. Is that possible? Searching around has produced old e-mail threads indicating this was a problem as of 2 or so years ago with the 3.x release. If it's not possible to build w/o the 32-bit libs, what do I need to install? Rob You need to rebuild your kernel with options COMPAT_FREEBSD32# Compatible with i386 binaries included. And as per the port's error message: cd /usr/src; make build32 install32; /etc/rc.d/ldconfig restart I noticed that when I tried to build the ports, but I don't have anything in /usr/src and no information was given as to what packages/src I needed to install. I'd like to avoid diverging from the stock release kernel for upgrade simplicity. What exactly does that do? Will it introduce upgrade complexity (ie will I have to upgrade these libs before I upgrade the kernel or some such)? Rob To remain with the same kernel you installed, you must install the source tree from the same CD/DVD you used for installation. You will have to run sysinstal and go to Configure Do post-install configuration of FreeBSD then Distributions Install additional distribution sets then mark [ ] src Sources for everything Choose the CDROM as installation media. After that you'll have all the sources on your HD and can proceed to the compilation of the 32 libs. If the sources are from the same CD you installed the system, they will be in sync with your kernel. No upgrade issues. What is that command doing though? It's building what from src? What is the output of build32? I assume it's not a kernel. Also, do you know the difference between pre-built packages on the freebsd ftp server in packages-8.2-release vs packages-8-stable? Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Virtualbox on 8.2 64-bit (cont)
On 6/6/11 8:39 PM, Mario Lobo wrote: On Monday 06 June 2011 17:56:53 Rob wrote: I was attempting to install virtualbox on my 8.2-p2 64-bit system this weekend, and hit a rather curious situation. The pre-packaged version of virtualbox retrievable by pkg_add is 3.2.12 (which looks in ports/amd64/packages-8.2-release). Poking around on the ftp server, I see that packages-8.1-release also has a 3.x version, but packages-8-stable has the latest 4.0.8. I went to look in ports, which contains 4.0.8, and build it myself but I got an error saying I need to have the 32-bit libraries installed in order to build virtualbox. So, my question is 2-fold: 1) What is the reason the 64-bit pre-packaged version of virtualbox is still at the 3.x version? Would there be a problem with installing the packages (virtualbox and kernel module) from packages-8-stable? 2) How do I build virtualbox 4.0.8 on a 64-bit system w/o the 32-bit libs. Is that possible? Searching around has produced old e-mail threads indicating this was a problem as of 2 or so years ago with the 3.x release. If it's not possible to build w/o the 32-bit libs, what do I need to install? Rob You need to rebuild your kernel with options COMPAT_FREEBSD32# Compatible with i386 binaries included. And as per the port's error message: cd /usr/src; make build32 install32; /etc/rc.d/ldconfig restart I noticed that when I tried to build the ports, but I don't have anything in /usr/src and no information was given as to what packages/src I needed to install. I'd like to avoid diverging from the stock release kernel for upgrade simplicity. What exactly does that do? Will it introduce upgrade complexity (ie will I have to upgrade these libs before I upgrade the kernel or some such)? Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Virtualbox on 8.2 64-bit (cont)
On Thursday 09 June 2011 10:49:37 Rob wrote: On 6/6/11 8:39 PM, Mario Lobo wrote: On Monday 06 June 2011 17:56:53 Rob wrote: I was attempting to install virtualbox on my 8.2-p2 64-bit system this weekend, and hit a rather curious situation. The pre-packaged version of virtualbox retrievable by pkg_add is 3.2.12 (which looks in ports/amd64/packages-8.2-release). Poking around on the ftp server, I see that packages-8.1-release also has a 3.x version, but packages-8-stable has the latest 4.0.8. I went to look in ports, which contains 4.0.8, and build it myself but I got an error saying I need to have the 32-bit libraries installed in order to build virtualbox. So, my question is 2-fold: 1) What is the reason the 64-bit pre-packaged version of virtualbox is still at the 3.x version? Would there be a problem with installing the packages (virtualbox and kernel module) from packages-8-stable? 2) How do I build virtualbox 4.0.8 on a 64-bit system w/o the 32-bit libs. Is that possible? Searching around has produced old e-mail threads indicating this was a problem as of 2 or so years ago with the 3.x release. If it's not possible to build w/o the 32-bit libs, what do I need to install? Rob You need to rebuild your kernel with options COMPAT_FREEBSD32# Compatible with i386 binaries included. And as per the port's error message: cd /usr/src; make build32 install32; /etc/rc.d/ldconfig restart I noticed that when I tried to build the ports, but I don't have anything in /usr/src and no information was given as to what packages/src I needed to install. I'd like to avoid diverging from the stock release kernel for upgrade simplicity. What exactly does that do? Will it introduce upgrade complexity (ie will I have to upgrade these libs before I upgrade the kernel or some such)? Rob To remain with the same kernel you installed, you must install the source tree from the same CD/DVD you used for installation. You will have to run sysinstal and go to Configure Do post-install configuration of FreeBSD then Distributions Install additional distribution sets then mark [ ] src Sources for everything Choose the CDROM as installation media. After that you'll have all the sources on your HD and can proceed to the compilation of the 32 libs. If the sources are from the same CD you installed the system, they will be in sync with your kernel. No upgrade issues. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Virtualbox on 8.2 64-bit (cont)
On Monday 06 June 2011 17:56:53 Rob wrote: I was attempting to install virtualbox on my 8.2-p2 64-bit system this weekend, and hit a rather curious situation. The pre-packaged version of virtualbox retrievable by pkg_add is 3.2.12 (which looks in ports/amd64/packages-8.2-release). Poking around on the ftp server, I see that packages-8.1-release also has a 3.x version, but packages-8-stable has the latest 4.0.8. I went to look in ports, which contains 4.0.8, and build it myself but I got an error saying I need to have the 32-bit libraries installed in order to build virtualbox. So, my question is 2-fold: 1) What is the reason the 64-bit pre-packaged version of virtualbox is still at the 3.x version? Would there be a problem with installing the packages (virtualbox and kernel module) from packages-8-stable? 2) How do I build virtualbox 4.0.8 on a 64-bit system w/o the 32-bit libs. Is that possible? Searching around has produced old e-mail threads indicating this was a problem as of 2 or so years ago with the 3.x release. If it's not possible to build w/o the 32-bit libs, what do I need to install? Rob You need to rebuild your kernel with options COMPAT_FREEBSD32# Compatible with i386 binaries included. And as per the port's error message: cd /usr/src; make build32 install32; /etc/rc.d/ldconfig restart -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winblows FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org