Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2006 12:10:32 -0400
From:      Joe Auty <joe@netmusician.org>
To:        Alex Zbyslaw <xfb52@dial.pipex.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Python port problems
Message-ID:  <38D0516F-2F6B-4700-9006-5A2D6034DC0C@netmusician.org>
In-Reply-To: <448FDE6B.4000703@dial.pipex.com>
References:  <9842C36E-C450-4282-9019-BA2DD3476684@netmusician.org>	<fb6605670605221727h719579a2gdeae84452036f6e8@mail.gmail.com>	<2A55FF5E-F764-406A-BE0E-272246F425B5@netmusician.org> <448xoska3k.fsf@be-well.ilk.org> <44733B8B.6030404@dial.pipex.com> <B766BA83-CF9A-404C-B8AB-3F9BF4D7180C@netmusician.org> <448FDE6B.4000703@dial.pipex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--Apple-Mail-33-195540927
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed


On Jun 14, 2006, at 6:01 AM, Alex Zbyslaw wrote:

> Joe Auty wrote:
>
>>
>> Sorry for the delay in response here. This is still a problem for  
>> me,  and I would still like this problem resolved.
>>
>> Yes, I've tried reinstalling both Python and Mailman, and upgraded  
>> to  newer port revisions of Mailman which have been released since  
>> this  message. I'm still getting the same error message when I go  
>> to start  Mailman via its rc script:
>>
>> ... snip
>> Traceback (most recent call last):
>> :
>> : No module named getopt  File "/usr/local/mailman/bin/qrunner",  
>> line  76, in ?
>>
>>     ImportErrorimport getopt
>> No module named getopt:
>> No module named getopt
>> ImportErrorCould not find platform independent libraries <prefix>
>> Could not find platform dependent libraries <exec_prefix>
>> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
>> 'import site' failed; use -v for traceback
>> : No module named getopt
>> Traceback (most recent call last):
>>   File "/usr/local/mailman/bin/qrunner", line 76, in ?
>>     import getopt
>> ImportError: No module named getopt
>
> Honestly, this looks like a screwed python install or some screw up  
> when mailman compiled.  Can you do a few basic info things?
>

Sure, happy to do so!

> which python
>

/usr/local/bin/python

> whereis python
>

python: /usr/local/bin/python /usr/local/man/man1/python.1.gz /usr/ 
ports/lang/python

> python
> # and to the command interpreter type
> import getopt
> # and exit with ^D (control D)


# python
Python 2.4.3 (#2, Jun 13 2006, 21:29:49)
[GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
Type "help", "copyright", "credits" or "license" for more information.
 >>> import getopt
 >>>

(I'm assuming this means no issues here)


> egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf /etc/make.conf
>

# egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf /etc/make.conf
/usr/local/etc/pkgtools.conf-  #     'perl',
/usr/local/etc/pkgtools.conf-  #     'ruby',
/usr/local/etc/pkgtools.conf:  #        'python',
/usr/local/etc/pkgtools.conf-  #   ]
/usr/local/etc/pkgtools.conf-  #


> egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf /etc/make.conf
>

# egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf /etc/make.conf
/usr/local/etc/pkgtools.conf-    'security/clamav' => 'CLAMAVUSER? 
=vscan CLAMAVGROUP?=vscan',
/usr/local/etc/pkgtools.conf-    'www/MT' => '-DWITH_MYSQL',
/usr/local/etc/pkgtools.conf:    'mail/mailman' => 'MAIL_GID=mailman'
/usr/local/etc/pkgtools.conf-  }
/usr/local/etc/pkgtools.conf-



> head -5 /usr/local/mailman/bin/qrunner
>

# head -5 /usr/local/mailman/bin/qrunner
#! /usr/local/bin/python

# Copyright (C) 2001-2006 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or




> --Alex
>
>
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions- 
> unsubscribe@freebsd.org"


--Apple-Mail-33-195540927
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEkDT4CgdfeCwsL5ERApaZAKCiQHsMoH5Z5deF3un+8pm5DOyglQCfc0aA
Kzhn1s9WBeuboPG1pHa8PW4=
=jIUU
-----END PGP SIGNATURE-----

--Apple-Mail-33-195540927--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38D0516F-2F6B-4700-9006-5A2D6034DC0C>