Createing a package.
I have managed to build OO on a machine of the same architecture as I want to run it oon. The target machine does not seem to be capable of building it. I suspect that it does not have enough memory. Can I create a package on the donor machine to move this to the target machine? Or is there a better way to do this? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ 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: Createing a package.
On Sat, Jan 03, 2009 at 12:23:06PM -0500, stan wrote: I have managed to build OO on a machine of the same architecture as I want to run it oon. The target machine does not seem to be capable of building it. I suspect that it does not have enough memory. Can I create a package on the donor machine to move this to the target machine? Or is there a better way to do this? No, this is about the best way to do it. The tool you need is pkg_create. # pkg_create -b portname should do it. You'll need the full version number, so on my system the portname bit is openoffice.org-2.4.2. Good luck! Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgprT47q7sqyC.pgp Description: PGP signature
Re: Createing a package.
On Sat, Jan 03, 2009 at 05:42:32PM +, Daniel Bye wrote: On Sat, Jan 03, 2009 at 12:23:06PM -0500, stan wrote: I have managed to build OO on a machine of the same architecture as I want to run it oon. The target machine does not seem to be capable of building it. I suspect that it does not have enough memory. Can I create a package on the donor machine to move this to the target machine? Or is there a better way to do this? No, this is about the best way to do it. The tool you need is pkg_create. # pkg_create -b portname should do it. You'll need the full version number, so on my system the portname bit is openoffice.org-2.4.2. Thanks, I was a bit put off by the man page, that impiles that you should use a front end to call pkg_create. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ___ 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: Createing a package.
On Sat, 3 Jan 2009 12:23:06 -0500, stan st...@panix.com wrote: Can I create a package on the donor machine to move this to the target machine? Or is there a better way to do this? Make sure a directory /usr/ports/packages exists. In the directory where you built the port, call # make package and it will create a tbz package with the current version number in the directory mentioned before. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: Createing a package.
On Sat, 3 Jan 2009 12:23:06 -0500, stan st...@panix.com wrote: I have managed to build OO on a machine of the same architecture as I want to run it oon. The target machine does not seem to be capable of building it. I suspect that it does not have enough memory. Can I create a package on the donor machine to move this to the target machine? Or is there a better way to do this? Yes. The pkg_create utility can do this for you. * Create an empty directory in the package 'host' system. This will hold the OO package and any dependencies it needs to run. I often use `/usr/ports/packages' for this purpose, i.e.: # mkdir -p /usr/ports/packages * Enter the empty directory and run pkg_create. By specifying the -R and -b options you can create packages for an installed version of OO (the -b option) and all its dependencies (the -R option): # pkg_create -R -b open-office-XXX Make sure that you specify the package name of the installed OO. Let pkg_create run for a while, and when it is finished you will have `*.tbz' packages for OO and everything it needs to run. Copy these packages in a directory on the target host (or just mount the 'host' directory over NFS), make sure that you have plenty of disk space in /var/tmp (pkg_install will need it to extract the packages as it installs them on the target system), and then from the target system run: # cd /path/to/mounted/package/directory # pkg_add open-office-XXX ___ 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