Should I rebuild all ports?
I have just upgraded FreeBSD 5.3BETA6 to BETA7. According to /usr/src/UPDATING, some of the system libraries have been upgraded, and we should rebuild all ports if we want to use the new libraries. So, 1. should I rebuild all ports? (I think it should take one whole day...) 2. If I am to rebuild all ports, what is the command I should use? Thanks. --- Choy Kho Yee url: http://dotkoyi.infoseek.ne.jp/ blog: http://dotkoyi.blogspot.com/ There are only 10 types of people in the world, i.e. those who understand binary numbers and those who do not. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Should I rebuild all ports?
On Wed, Oct 06, 2004 at 11:57:19PM +0900, Choy Kho Yee wrote: I have just upgraded FreeBSD 5.3BETA6 to BETA7. According to /usr/src/UPDATING, some of the system libraries have been upgraded, and we should rebuild all ports if we want to use the new libraries. So, 1. should I rebuild all ports? (I think it should take one whole day...) I don't know. Does the apps work? 2. If I am to rebuild all ports, what is the command I should use? Best is if you install the port portupgrade and then do: portupgrade -fa If you just want to compile a app that doesn't work do: portupgrade -fR portname -- Alex Please copy the original recipients, otherwise I may not read your reply. WWW: http://www.kruijff.org/alex/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Should I rebuild all ports?
On Wed, 6 Oct 2004 23:57:19 +0900, Choy Kho Yee [EMAIL PROTECTED] wrote: I have just upgraded FreeBSD 5.3BETA6 to BETA7. According to /usr/src/UPDATING, some of the system libraries have been upgraded, and we should rebuild all ports if we want to use the new libraries. So, 1. should I rebuild all ports? (I think it should take one whole day...) 2. If I am to rebuild all ports, what is the command I should use? Take a look at this message http://lists.freebsd.org/mailman/htdig/freebsd-current/2004-October/039354.html There is a script made by Benjamin Lutz that checks all ports need to be rebuilded, so, you need to rebuild all these packages using portupgrade -f packagename, or use the /etc/libmap.conf. Best Regards -- Renato Botelho ICQ: 54596223 AIM: RBGargaBR ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Should I rebuild all ports?
On 2004/10/07, at 0:11, Alex de Kruijff wrote: On Wed, Oct 06, 2004 at 11:57:19PM +0900, Choy Kho Yee wrote: I have just upgraded FreeBSD 5.3BETA6 to BETA7. According to /usr/src/UPDATING, some of the system libraries have been upgraded, and we should rebuild all ports if we want to use the new libraries. So, 1. should I rebuild all ports? (I think it should take one whole day...) I don't know. Does the apps work? Yes, I think they do work. According to my understanding, the apps compiled before the updates are using the old libraries, and the apps compiled after the update should utilize the new libraries. As long as I don't remove the old libraries, all apps should work fine. I was just curious to know whether I should recompile all apps so that they may work better by using the new libraries. Or will they? :) --- Choy Kho Yee url: http://dotkoyi.infoseek.ne.jp/ blog: http://dotkoyi.blogspot.com/ There are only 10 types of people in the world, i.e. those who understand binary numbers and those who do not. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Should I rebuild all ports?
On 2004/10/07, at 0:22, Renato Botelho wrote: On Wed, 6 Oct 2004 23:57:19 +0900, Choy Kho Yee [EMAIL PROTECTED] wrote: I have just upgraded FreeBSD 5.3BETA6 to BETA7. According to /usr/src/UPDATING, some of the system libraries have been upgraded, and we should rebuild all ports if we want to use the new libraries. So, 1. should I rebuild all ports? (I think it should take one whole day...) 2. If I am to rebuild all ports, what is the command I should use? Take a look at this message http://lists.freebsd.org/mailman/htdig/freebsd-current/2004-October/ 039354.html There is a script made by Benjamin Lutz that checks all ports need to be rebuilded, so, you need to rebuild all these packages using portupgrade -f packagename, or use the /etc/libmap.conf. Thanks for pointing me to the script!! I have saved the script to my computer, run it and it said that there are 60 packages that I should upgrade. I will upgrade them slowly when I have the spare time. However, I still don't get how /etc/libmap.conf can be used to work around this problem without rebuilding the ports. Thanks. --- Choy Kho Yee url: http://dotkoyi.infoseek.ne.jp/ blog: http://dotkoyi.blogspot.com/ There are only 10 types of people in the world, i.e. those who understand binary numbers and those who do not. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Should I rebuild all ports?
On Wednesday 06 October 2004 10:52 am, Choy Kho Yee wrote: However, I still don't get how /etc/libmap.conf can be used to work around this problem without rebuilding the ports. Thanks. --- Choy Kho Yee url: http://dotkoyi.infoseek.ne.jp/ blog: http://dotkoyi.blogspot.com/ There are only 10 types of people in the world, i.e. those who understand binary numbers and those who do not. ___ Hello Choy, With libmap.conf, you're basically telling the system: instead of using this lib.x.old use this lib.x.new. Take a look a man libmap.conf for an explanation. an example of what could go in libmap.conf for this would be: # for FreeBSD5.3 beta7 libm.so.2 libm.so.3 libreadline.so.4 libreadline.so.5 libhistory.so.4 libhistory.so.5 libopie.so.2 libopie.so.3 libpcap.so.2 libpcap.so.3 Don -- Donald J. O'Neill [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Should I rebuild all ports?
On Oct 6, 2004, at 12:19 PM, Donald J. O'Neill wrote: libm.so.2 libm.so.3 libreadline.so.4 libreadline.so.5 libhistory.so.4 libhistory.so.5 libopie.so.2 libopie.so.3 libpcap.so.2 libpcap.so.3 If I add that to libmap.conf can I safely remove the old libs? Michael ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Should I rebuild all ports?
On 2004/10/07, at 1:19, Donald J. O'Neill wrote: On Wednesday 06 October 2004 10:52 am, Choy Kho Yee wrote: However, I still don't get how /etc/libmap.conf can be used to work around this problem without rebuilding the ports. Thanks. --- Choy Kho Yee Hello Choy, With libmap.conf, you're basically telling the system: instead of using this lib.x.old use this lib.x.new. Take a look a man libmap.conf for an explanation. an example of what could go in libmap.conf for this would be: # for FreeBSD5.3 beta7 libm.so.2 libm.so.3 libreadline.so.4 libreadline.so.5 libhistory.so.4 libhistory.so.5 libopie.so.2 libopie.so.3 libpcap.so.2 libpcap.so.3 Don I got it now. Thanks Don! :D --- Choy Kho Yee url: http://dotkoyi.infoseek.ne.jp/ blog: http://dotkoyi.blogspot.com/ There are only 10 types of people in the world, i.e. those who understand binary numbers and those who do not. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Should I rebuild all ports?
On Thu, Oct 07, 2004 at 12:46:33AM +0900, Choy Kho Yee wrote: On 2004/10/07, at 0:11, Alex de Kruijff wrote: On Wed, Oct 06, 2004 at 11:57:19PM +0900, Choy Kho Yee wrote: I have just upgraded FreeBSD 5.3BETA6 to BETA7. According to /usr/src/UPDATING, some of the system libraries have been upgraded, and we should rebuild all ports if we want to use the new libraries. So, 1. should I rebuild all ports? (I think it should take one whole day...) I don't know. Does the apps work? Yes, I think they do work. According to my understanding, the apps compiled before the updates are using the old libraries, and the apps compiled after the update should utilize the new libraries. As long as I don't remove the old libraries, all apps should work fine. I was just curious to know whether I should recompile all apps so that they may work better by using the new libraries. Or will they? :) That is posible, but it doesn't have to. You can remove the old lib afther with the worry that some apps suddenly don't work anymore. -- Alex Please copy the original recipients, otherwise I may not read your reply. WWW: http://www.kruijff.org/alex/FreeBSD/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]