Re: Producing a binary install
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin Brunelle wrote: Otherwise doing a 'make package' after the port has been installed will create a package for you. You should then be able to install the package on the other machine using pkg_add. HTH, Micah If you've already done make clean... you're going to end up rebuilding if you use make package. Since that's not what you're looking to do, use pkg_create instead. pkg_create -b jdk-1.5.0p3_1 Thanks folks! I had not done a make clean when I did the make package and it created a binary package in short order. The created package then installed and worked flawlessly on the new machine! This is great! So I did as you suggested, and exported /usr/ports/ to the new machine, (/usr/local/net/ports/) this way when I need something over there I can just pkg_create and then pkg_add to the other Work Station I am sure there is a way to include the nfs-mounted /usr/local/net/ports in the search-path on that Work Stations portupgrade facility, so that if Kelly wants to install something independently on her machine, and does a portupgrade -NRP package-name; portupgrade will look for and use the needed files in /usr/local/net/ports first, but still upgrade and maintain it's own database. This will require some more digging in the very fine manual This is a gorgeous OS! Thanks again for all the help! Bob -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEtQ+3AexE5bK/mHkRAtl6AJ9PwYQjDJKydoi+HdEtUKSemmPnFgCfUMvp Dn1Uyn+dnKVIaNB1fCcZw6E= =gNyK -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Producing a binary install
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First I would like to thank all of you who helped me out on my Java-Hell issue. I now have a working native jdk.1.4.2. It took a bit of doing, and many hours of compile time, but it finally worked. It did bomb once, about 4 hours into the compile, and demanded I do a kldload linprocfs, followed by a mount -t linprocfs linprocfs /compat/linux/proc, claiming it needed a proc fs to compile. I assume this was needed for the compile-time, and not for the run-time??? Anyway, java now works in all browsers. My next task here is to upgrade another workstation to freebsd. The woman I live with wants to dump her Linux, and have what I have as well :-) My question: I will be installing her machine mainly from pre-compiled packages, as it is not a dual-processor fast box like mine is. Java, and other packages are not available in pre-compiled form. Since I already compiled Java, is there a way to produce a binary-install on my machine, and install it on her machine? Simply tar up the dir perhaps? We have limited bandwidth (DSL) and so it would make sense to do a basic install for her over the net, and then do the rest of the install locally from stuff I compiled. Not everything, just BIG stuff like Java, KDE, Gnome the browsers TIA Bob -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEs+GtAexE5bK/mHkRAqpiAJwIDYlW/g7TZ2Pblqbd7kYzmkaY/gCfeIlC cxlwgJmZjhJcfFFk/FAXgcw= =wN9o -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Producing a binary install
Bob wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First I would like to thank all of you who helped me out on my Java-Hell issue. I now have a working native jdk.1.4.2. It took a bit of doing, and many hours of compile time, but it finally worked. It did bomb once, about 4 hours into the compile, and demanded I do a kldload linprocfs, followed by a mount -t linprocfs linprocfs /compat/linux/proc, claiming it needed a proc fs to compile. I assume this was needed for the compile-time, and not for the run-time??? Anyway, java now works in all browsers. My next task here is to upgrade another workstation to freebsd. The woman I live with wants to dump her Linux, and have what I have as well :-) My question: I will be installing her machine mainly from pre-compiled packages, as it is not a dual-processor fast box like mine is. Java, and other packages are not available in pre-compiled form. Since I already compiled Java, is there a way to produce a binary-install on my machine, and install it on her machine? Simply tar up the dir perhaps? We have limited bandwidth (DSL) and so it would make sense to do a basic install for her over the net, and then do the rest of the install locally from stuff I compiled. Not everything, just BIG stuff like Java, KDE, Gnome the browsers TIA Bob There is a binary of Java at http://www.freebsd.org/java/, but I haven't tried it. Otherwise doing a 'make package' after the port has been installed will create a package for you. You should then be able to install the package on the other machine using pkg_add. HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Producing a binary install
Otherwise doing a 'make package' after the port has been installed will create a package for you. You should then be able to install the package on the other machine using pkg_add. HTH, Micah If you've already done make clean... you're going to end up rebuilding if you use make package. Since that's not what you're looking to do, use pkg_create instead. pkg_create -b jdk-1.5.0p3_1 Obviously, replace with the package name in your system. By default, the package will be created in the directory you are in when you run the command. I maintain a computer for my step-mother and, since I want to avoid actually building on her computer as much as possible, I use the following script to package every binary on my system and then I can just copy them over to her computer (or setup my computer so pkg_add can get them over the internet) and use them to install. #!/bin/tcsh foreach file ( `pkg_info | awk '{print $1}'` ) echo Creating package for $file pkg_create -b $file end This script is not smart... it doesn't check to see if a package of the same name already exists -- which it should... hmm, I'm going to add that to mine... to save time if you run it frequently, and just build packages you need. Anyway, pkg_create is very useful in saving time when you maintain a bunch of computers and want to keep them all up to date and only want to commit one to building and testing. -Kevin B. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]