From: Ted J. <wha...@ya...> - 2006-10-03 18:00:31
|
Hi; I've successfully installed python 2.4.3 and OpenLDAPwith py-ldap2 (thanks to help from this list). However, I realize that I should probably stick with python 2.3.5, because my Zope instance, which serves my Web sites and which I am not able to upgrade at this point, depends on that vintage, and I will be using LDAP to authenticate users to my portal. Furthermore, the py-ldap2 distro that I built from the ports in my FreeBSD 6.1 pulled a version of that s/w that is apparently incompatible with python 2.3.5. Therefore, I should probably d/l an old distro (after Feb 8, 2005) of py-ldap2. But where do I find it? I've only been able to find the latest and greatest. TIA, Ted 3 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: LI X. <de...@de...> - 2006-10-03 18:12:12
Attachments:
signature.asc
|
Ted Johnson wrote: > Hi; > I've successfully installed python 2.4.3 and OpenLDAPwith py-ldap2 > (thanks to help from this list). However, I realize that I should > probably stick with python 2.3.5, because my Zope instance, which serve= s > my Web sites and which I am not able to upgrade at this point, depends > on that vintage, and I will be using LDAP to authenticate users to my > portal. Furthermore, the py-ldap2 distro that I built from the ports in= > my FreeBSD 6.1 pulled a version of that s/w that is apparently > incompatible with python 2.3.5. Therefore, I should probably d/l an old= > distro (after Feb 8, 2005) of py-ldap2. But where do I find it? I've > only been able to find the latest and greatest. > TIA, > Ted 3 I think you may want to do a "make clean all deinstall install PYTHON_VERSION=3Dpython2.3" in ports/net/py-ldap2? I think that would be= enough to force a python2.3 dependency for python-ldap2. Cheers, --=20 Xin LI <de...@de...> http://www.delphij.net/ FreeBSD - The Power to Serve! |
From: Ted J. <wha...@ya...> - 2006-10-03 20:01:18
|
I realized too late that I should have moved the /usr/bin/python binary before building out with the command you gave me. I used your command but still couldn't import ldap...I assume because I didn't uninstall the old python 2.3.5 (which I don't know how to do, since it's not built from ports, so I'll just move the binary :) Anyway, can you give me a command which undoes everything you just had me do, and I'll try again? TIA, Ted2 LI Xin <de...@de...> wrote: Ted Johnson wrote: > Hi; > I've successfully installed python 2.4.3 and OpenLDAPwith py-ldap2 > (thanks to help from this list). However, I realize that I should > probably stick with python 2.3.5, because my Zope instance, which serves > my Web sites and which I am not able to upgrade at this point, depends > on that vintage, and I will be using LDAP to authenticate users to my > portal. Furthermore, the py-ldap2 distro that I built from the ports in > my FreeBSD 6.1 pulled a version of that s/w that is apparently > incompatible with python 2.3.5. Therefore, I should probably d/l an old > distro (after Feb 8, 2005) of py-ldap2. But where do I find it? I've > only been able to find the latest and greatest. > TIA, > Ted 3 I think you may want to do a "make clean all deinstall install PYTHON_VERSION=python2.3" in ports/net/py-ldap2? I think that would be enough to force a python2.3 dependency for python-ldap2. Cheers, -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail. |
From: LI X. <de...@de...> - 2006-10-04 00:52:19
Attachments:
signature.asc
|
Ted Johnson wrote: > I realized too late that I should have moved the /usr/bin/python binary= > before building out with the command you gave me. I used your command > but still couldn't import ldap...I assume because I didn't uninstall th= e > old python 2.3.5 (which I don't know how to do, since it's not built > from ports, so I'll just move the binary :) Anyway, can you give me a > command which undoes everything you just had me do, and I'll try again?= If I understand correctly, that would be "make deinstall clean" and then "make install clean", if it insists to use python2.3, try specifying PYTHON_VERSION=3Dpython2.4. Note that it's not the end of world if you have a installation in /usr/bin/python :-) Just do a tarball over: /usr/bin/idle* /usr/bin/python* /usr/lib/python* /usr/include/python* /usr/share/python* /usr/share/examples/python*, then remove them would make sure that you have a clean system. Note that Zope 2.7 requires Python 2.3 series IIRC. If you have a spare system, installing everything from scratch with the ports collection there before actual operation on production system would save you a lot of time. Cheers, --=20 Xin LI <de...@de...> http://www.delphij.net/ FreeBSD - The Power to Serve! |
From: Ted J. <wha...@ya...> - 2006-10-04 17:52:29
|
My server's down!!! I don't have a spare machine to try things out on yet. I went ahead and moved all the python stuff, tried your recipe to reinstall from ports, but now when I type in "python" at the prompt it tells me no such command exists! It's not to be found in /usr/bin or /usr/local/bin. I restored everything I moved (including the aforementioned) but python still doesn't come up. Help! Ted2 LI Xin <de...@de...> wrote: Ted Johnson wrote: > I realized too late that I should have moved the /usr/bin/python binary > before building out with the command you gave me. I used your command > but still couldn't import ldap...I assume because I didn't uninstall the > old python 2.3.5 (which I don't know how to do, since it's not built > from ports, so I'll just move the binary :) Anyway, can you give me a > command which undoes everything you just had me do, and I'll try again? If I understand correctly, that would be "make deinstall clean" and then "make install clean", if it insists to use python2.3, try specifying PYTHON_VERSION=python2.4. Note that it's not the end of world if you have a installation in /usr/bin/python :-) Just do a tarball over: /usr/bin/idle* /usr/bin/python* /usr/lib/python* /usr/include/python* /usr/share/python* /usr/share/examples/python*, then remove them would make sure that you have a clean system. Note that Zope 2.7 requires Python 2.3 series IIRC. If you have a spare system, installing everything from scratch with the ports collection there before actual operation on production system would save you a lot of time. Cheers, -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. |