My custom use freeBSD 4.7 release and ask me to install JDK1.4 on it . But when I use ports to compile JDK , the system show me a message : You must have a version of FreeBSD later than 4.7-STABLE February 2003 or 5-CURRENT February 2003 to compile and use JDK 1.4.2. So I have to update my 4.7 release to 4.7 stable . But I do not know how to do make it . I've looking everywhere but could not find any clear document about it . Please help me ! PS : I'm not going to upgrade my kernel 4.7 to 4.8 or anything else , just 4.7 only . Thank for reading ! -- ---------------------------------- Cao Van Khanh
If you don't want to upgrade your system to a newer state, just don't use the JDK or use old releases of it (1.3 for example) -----Original Message----- From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd-stable@freebsd.org] On Behalf Of Khanh Cao Van Sent: Tuesday, June 21, 2005 6:17 AM To: freebsd-stable-list Subject: howto update freebsd 4.7 release to 4.7 stable My custom use freeBSD 4.7 release and ask me to install JDK1.4 on it . But when I use ports to compile JDK , the system show me a message : You must have a version of FreeBSD later than 4.7-STABLE February 2003 or 5-CURRENT February 2003 to compile and use JDK 1.4.2. So I have to update my 4.7 release to 4.7 stable . But I do not know how to do make it . I've looking everywhere but could not find any clear document about it . Please help me ! PS : I'm not going to upgrade my kernel 4.7 to 4.8 or anything else , just 4.7 only . Thank for reading ! -- ---------------------------------- Cao Van Khanh _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
Svein Halvor Halvorsen
2005-Jun-21 11:18 UTC
howto update freebsd 4.7 release to 4.7 stable
* Khanh Cao Van [2005-06-21 09:16 +0700]> So I have to update my 4.7 release to 4.7 stable . But I do not know > how to do make it . I've looking everywhere but could not find any > clear document about it . Please help me ! > > PS : I'm not going to upgrade my kernel 4.7 to 4.8 or anything else , > just 4.7 only . Thank for reading !There is no such thing as 4.7-stable, there is a 4.7-release, and there is a 4-stable (among others). The -stable-branch is a moving target, right now, it might be calles 4.11-stable, since 4.11 was the latest release that was spawned from this branch, but it's not exactly 4.11 either. "4.7-stable or later", means that you will have to at least upgrade to 4.8-release if you want to comply to the requirements of your software installation. And while you're at it, I would strongly advice you to upgrade all the way to 4.11, unless you have strong reasons not to. If this does not fit you, then you either need to install an older version of your software, that does not require 4.7-stable or later, or not install the software in question at all. Svein halvor
On Tue, 2005-Jun-21 09:16:30 +0700, Khanh Cao Van wrote:>My custom use freeBSD 4.7 release and ask me to install JDK1.4 on it . >But when I use ports to compile JDK , the system show me a message : > >You must have a version of FreeBSD later than 4.7-STABLE February 2003 >or 5-CURRENT February 2003 to compile and use JDK 1.4.2.JDK 1.4 requires some threading changes that were (presumably) introduced in February 2003. Looking back at the CVS commit logs, there were a large number of changes to the threading library during January and February 2003 and it's not clear exactly what fixes JDK is relying on. If the only problem with JDK is the threading library, you may be able to get JDK1.4 running by just upgrading libpthread to 4-STABLE: # cd /usr/src/lib/libpthread upgrade just this tree to 4-STABLE using whatever method you prefer # make clean # make all # make install I can't guarantee that this will work but it is probably your only option to get JDK 1.4 working without doing a full upgrade.>So I have to update my 4.7 release to 4.7 stable . But I do not know >how to do make it . I've looking everywhere but could not find any >clear document about it . Please help me !4.7-STABLE is not a fixed package. It refers to the RELENG_4 CVS branch between the time that RELENG_4_7 was branched and RELENG_4_8 was branched (ie betweem 4.7-RELEASE and 4.8-RELEASE). It is not really practical to update to 4.7-STABLE once 4.8 has been released.>PS : I'm not going to upgrade my kernel 4.7 to 4.8 or anything else , >just 4.7 only . Thank for reading !Note that 4.7 is no longer supported by the FreeBSD project and I would strongly recommend that you consider upgrading. In particular, security fixes are unlikely to be applied to 4.7. Upgrading userland without upgrading the kernel is not supported in general. -- Peter Jeremy
Khanh Cao Van wrote:>My custom use freeBSD 4.7 release and ask me to install JDK1.4 on it . >But when I use ports to compile JDK , the system show me a message : > >You must have a version of FreeBSD later than 4.7-STABLE February 2003 >or 5-CURRENT February 2003 to compile and use JDK 1.4.2. > >So I have to update my 4.7 release to 4.7 stable . But I do not know >how to do make it . I've looking everywhere but could not find any >clear document about it . Please help me ! > >AFAIK there is no such thing as 4.7-STABLE, just 4-STABLE and the handbook page on tags bears this out. (4-STABLE would be improvements from the *latest* 4 release which is 4.11. If you won't go to 4.8 then 4-STABLE is the stuff of your nightmares. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html says: RELENG_4 The line of development for FreeBSD-4.X, also known as FreeBSD 4-STABLE>PS : I'm not going to upgrade my kernel 4.7 to 4.8 or anything else , >just 4.7 only . Thank for reading ! >No-one here can stop you shooting yourself in the foot. The release engineering page clearly states:> FreeBSD 4.7 security fix branch (not officially supported).so I guess you are own your own. Not upgrading a critical machine to 5.X I could understand, but not upgrading from 4.7 another 4.X release I find incomprehensible. --Alex