Can't Upgrade Python Through Ports

2006-10-02 Thread Ted Johnson
Hi; 
I have python 2.3.5 and I'd like to upgrade to 2.4.3. I've tried installing 
from FreeBSD ports and the oldfashioned way from source code, with the 
configure  make  make install dance, and still when I call up my python 
interpreter it tells me I'm in 2.3.5! Why? I didn't do altinstall! What 
gives? 
TIA,
Ted2

-
Stay in the know. Pulse on the new Yahoo.com.  Check it out. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't Upgrade Python Through Ports

2006-10-02 Thread Ted Johnson
Right. I tried that before writing, but I forgot to specify as much. No, that 
didn't work either. Here are a couple of peculiarities:

* I took over this box from someone who didn't know the difference between 
FreeBSD and Linux. So, he built the original Python in a different dir.
* The original python powers several Zope instances.

Having said as much, years ago I had two versions of python running, one for 
Zope and one for everything else. So this should work. Anyway, it doesn't!

More ideas?
TIA.
Ted

Ivan Levchenko [EMAIL PROTECTED] wrote: Try the following in the python port 
directory:

make install clean

On 10/2/06, Ted Johnson  wrote:
 Hi;
 I have python 2.3.5 and I'd like to upgrade to 2.4.3. I've tried installing 
 from FreeBSD ports and the oldfashioned way from source code, with the 
 configure  make  make install dance, and still when I call up my python 
 interpreter it tells me I'm in 2.3.5! Why? I didn't do altinstall! What 
 gives?
 TIA,
 Ted2

 -
 Stay in the know. Pulse on the new Yahoo.com.  Check it out.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



-- 
Best Regards,

Ivan Levchenko
[EMAIL PROTECTED]


 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't Upgrade Python Through Ports

2006-10-02 Thread Ted Johnson
When I read your answer I *knew* you were right! And right you were! Thanks!
Ted2

Dave McCammon [EMAIL PROTECTED] wrote: 

--- Ted Johnson
 wrote:

 Hi; 
 I have python 2.3.5 and I'd like to upgrade to
 2.4.3. I've tried installing from FreeBSD ports and
 the oldfashioned way from source code, with the
 configure  make  make install dance, and still
 when I call up my python interpreter it tells me I'm
 in 2.3.5! Why? I didn't do altinstall! What gives?
 
 TIA,
 Ted2


Where is the 2.3.5 version installed? Perhaps it is
installed in a directory earlier in your PATH than the
2.4.3 versions directory(/usr/local/bin/).


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



-
Want to be your own boss? Learn how on  Yahoo! Small Business. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Building Python From Ports

2006-09-30 Thread Ted Johnson
Hi;
The latest and greatest Python is version 2.5; however, I seem to only be able 
to build version 2.4.3  from the port. I ran my standard battery of clean-up 
and get ready commands:

portupgrade -a
portsclean -C
portsclean -D
portaudit -F /usr/ports/lang/python

but that didn't change things. How do I upgrade to python 2.5.0?
TIA,
Ted
2

-
Get your email and more, right on the  new Yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem w/ py-ldap Installation

2006-09-24 Thread Ted Johnson
Hi;
I've installed the py-ldap from the ports doing the make install clean dance. 
Everything seemed to proceed smoothly. However, when I fired up my python 
interpreter and entered import ldap it didn't recognize the module. So 
something went wrong and I don't know what :( I did get this from the 
installation. Is it a problem? 

===   Registering installation for py24-ldap2-2.2.0
cyrus-sasl-2.1.22: /usr/ports/1 non-existent -- dependency list incomplete
openldap-sasl-client-2.3.27: /usr/ports/1 non-existent -- dependency list 
incomplete
py24-ldap2-2.2.0: /usr/ports/1 non-existent -- dependency list incomplete

If not, what is the problem?
TIA,
Ted2

-
Stay in the know. Pulse on the new Yahoo.com.  Check it out. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


wvHTML, glib libiconv

2006-09-15 Thread Ted Johnson
Hi;
I need to install wvHTML. It's dependent on glib, which is dependent on 
libiconv. I'm on FreeBSD 6.1. It has libiconv installed. But glib says it can't 
find it:

configure: error: *** No iconv() implementation found in C library or libiconv

So I'm stuck. What do I do in situations like this?
TIA,
Ted
2

-
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small 
Business.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hell Installing OpenLDAP/Berkeley-DB/Java

2006-09-11 Thread Ted Johnson
I found a different file to build BerkeleyDB and built it successfully:
/usr/ports/databases/p5-BerkeleyDB
Then I rebuilt OpenLDAP from here:
/usr/ports/net/openldap23-server
Following the OpenLDAP tutorial, I edited slapd.conf and created an 
example.ldif file. Then I ran:
ldapadd -x -D cn=admin,dc=2012,dc=vi -W -f example.ldif 
(all correct for my domain/configuration). I was asked to give my LDAP 
password. When I entered it (exactly as is in the slapd.conf file) I was told 
that was incorrect:
ldap_bind: Invalid credentials (49)
This makes me believe that Berkeley isn't properly installed. How can I test 
that? What steps do you take to properly install this duo?
TIA,
Ted2

Atom Powers [EMAIL PROTECTED] wrote: On 9/8/06, Ted Johnson  wrote:
 Hi;
 I tried to install OpenLDAP, but it needs Berkeley-DB and complained that the 
 version installed was incompatible. I tried compiling it without Berkeley 
 (using GNU instead) but it wouldn't. I tried installing  Berkeley DB without 
 Java (for simplicity's sake), but that didn't work. I tried moving that 
 installation to where the ports would be but still no go. So I tried a make 
 of the berkeley-db port but that complained it needed a Java plug-in that had 
 to be loaded manually because of licensing restrictions.

I don't know why BDB would want Java (check make.conf?). I've done
several OpenLDAP/BDB installs recently and I never installed any kind
of Java.

-- 
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



-
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates 
starting at 1cent;/min.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hell Installing OpenLDAP/Berkeley-DB/Java

2006-09-08 Thread Ted Johnson
Hi;
I tried to install OpenLDAP, but it needs Berkeley-DB and complained that the 
version installed was incompatible. I tried compiling it without Berkeley 
(using GNU instead) but it wouldn't. I tried installing  Berkeley DB without 
Java (for simplicity's sake), but that didn't work. I tried moving that 
installation to where the ports would be but still no go. So I tried a make of 
the berkeley-db port but that complained it needed a Java plug-in that had to 
be loaded manually because of 
licensing restrictions. So I went to the page it stated, agreed to the license, 
downloaded it and tried to install:
http://www.freebsdfoundation.org/cgi-bin/download?download=diablo-caffe-freebsd6-i386-1.5.0_07-b00.tar.bz2
I un-bzip2'd it, then untarred it, then entered it and unzipped the sun.zip 
file, and now I'm lost. There are no instructions! There's a README.html file 
which told me to go to this page:
http://java.sun.com/j2se/1.5.0/install.html
but there's nothing of substance there. It only tells one how to install Linux 
binaries or RPMs, but I'm having to install from source. Good grief! Has anyone 
been through this crap before? What do I do?
TIA,
beno2

-
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Where Are All These Files Located?

2006-09-04 Thread Ted Johnson
Hi; 
In installing logcheck, I read the following information: 
 
BSD and FreeBSD: You should go to the /etc directory and edit 
the /etc/daily, /etc/weekly, and /etc/monthly scripts and change the 
'rotate()' script function to change the log permissions on rotation. 
Simply change the line: 
 
cp /dev/null $file; chmod 644 $file 
 
To: 
 
cp /dev/null $file; chmod 600 $file 
 
(The above is for BSDI 2.x, BSDI 3.x uses an external rotate 
function now, just change the mode sent to it from 644 to 600 
and you'll be OK. FreeBSD will be similiar to the BSDI 2.x script) 
 
 
However, these files do not exist (at least in FreeBSD 6.1). What should  I 
edit instead? Or, what does just change the mode sent to it mean? 
TIA, 
Ted
 2

-
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small 
Business.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where Are All These Files Located?

2006-09-04 Thread Ted Johnson
Robert Huff [EMAIL PROTECTED] wrote: 
Ted Johnson writes:

  BSD and FreeBSD: You should go to the /etc directory and edit 
  the /etc/daily, /etc/weekly, and /etc/monthly scripts and change the 
  'rotate()' script function to change the log permissions on
  rotation.

 find -x / -name daily should give you the answer.

Yeah, I tried that. It didn't work. Files must be referencing something else, 
by different name. Any other ideas?
Ted


-
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How To Close Ports (OT?)

2006-09-04 Thread Ted Johnson
Well, I did that, and studied other documents as well, and have packet filters 
running right now. I also did a search of the document you suggested and it 
doesn't even have the word close in it, therefore, it would appear to not 
address the issue. From your reply, I'm missing something obvious here. But 
would you point it out anyway?
Thanks,
Ted3

Travis H. [EMAIL PROTECTED] wrote: On 9/4/06, Ted Johnson  wrote:
 I have many ports open for various functions, email, ftp, squid, pound,  
 various
 instances of zope, etc. Of course, all of them are libel to be  attacked.
 What does one do?

There's this thing called pf, you should really look into it.  Start with:
man pf
Then try reading the pf FAQ.

If that is too confusing, google for a basic tutorial on network security.
-- 
If you're not part of the solution, you're part of the precipitate.
Unix guru for rent or hire -- http://www.lightconsulting.com/~travis/
GPG fingerprint: 9D3F 395A DAC5 5CCC 9066  151D 0A6B 4098 0C55 1484



-
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates 
starting at 1cent;/min.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]