[Mailman-Users] Has anybody installed mailman on Solaris 9?
I have to install mailman on Solaris 9. Can anybody help me out? Yahoo! India Matrimony: Find your life partneronline. -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Re: [Mailman-Users] Problem Installing on Solaris 10
Thank you Mark. I get an option --without-extension not recognized error. /kpt From: Mark Sapiro [mailto:[EMAIL PROTECTED] Sent: Mon 4/3/2006 1:11 PM To: Kent Taylor; mailman-users@python.org Subject: Re: [Mailman-Users] Problem Installing on Solaris 10 Kent Taylor wrote: I'm attempting to install Mailman 2.1.8b1 on Solaris 10 - configure works - make works - make install does not. I checked the lists and found that I'm not the only person to have this problem - Unfortunately, the other person's solution was to revert to Solaris 8 - I really don't want to do that. The make install error is command '/sgnome/tools/x86-solaris/forte/SOS8/SUNWspro/bin/cc' failed with exit status 2 trying to compile src/hangul.c - Any assistance would be appreciated. Thank you. I'm only guessing as a workaround that might not work or might cause other problems, but if you look at misc/Makefile in the unpack directory, you'll see SHELL= /bin/sh PYTHONLIBDIR= $(prefix)/pythonlib SETUPINSTOPTS= --install-lib $(DESTDIR)$(PYTHONLIBDIR) \ --install-purelib $(DESTDIR)$(PYTHONLIBDIR) \ --install-data $(DESTDIR)$(PYTHONLIBDIR) SETUPCMD= setup.py --quiet install $(SETUPINSTOPTS) PKGDIR= $(srcdir) Try adding a line to SETUPINSTOPTS so it becomes SETUPINSTOPTS= --install-lib $(DESTDIR)$(PYTHONLIBDIR) \ --install-purelib $(DESTDIR)$(PYTHONLIBDIR) \ --without-extension \ --install-data $(DESTDIR)$(PYTHONLIBDIR) -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] Problem Installing on Solaris 10
I'm attempting to install Mailman 2.1.8b1 on Solaris 10 - configure works - make works - make install does not. I checked the lists and found that I'm not the only person to have this problem - Unfortunately, the other person's solution was to revert to Solaris 8 - I really don't want to do that. The make install error is command '/sgnome/tools/x86-solaris/forte/SOS8/SUNWspro/bin/cc' failed with exit status 2 trying to compile src/hangul.c - Any assistance would be appreciated. Thank you. /kpt -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] Installation on Solaris 10
I'm attempting to install Mailman 2.1.8b1 on Solaris 10 - configure works - make works - make install does not. The problem seems to a Python issue - I checked the Python lists and found that I'm not the only person to have this problem - Unfortunately, the other person's solution was to revert to Solaris 8 - I really don't want to do that. The make install error is command '/sgnome/tools/x86-solaris/forte/SOS8/SUNWspro/bin/cc' failed with exit status 2 trying to compile src/hangul.c - Any assistance would be appreciated. Thank you. /kpt -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] Mailman installation on Solaris 10 crashes
A couple of weeks ago there were two or three posts about Mailman crashing on install of the Japanese and Korean Codecs. I swapped some offlist E-mails with Barry Sapiro and told him that I would investigate this for him when I did a fresh install of Solaris 10 on a box to be used as a Mailman mail server. Accordingly, this afternoon I did a default Jumpstart install of the Solaris 10 entire package on an Ultra 60 and added a gcc 3.3 development system from a Solaris Software Companion disk. One additional item was to set the install default path to pick up needed directories that are not included in the Solaris base install. PATH=$PATH:/usr/ccs/bin:/usr/sfw/bin:/usr/local/bin:/opt/sfw/bin The last three directories in that order are significant. I did a build and install of Python 2.5 in /usr/local, and configured Mailman with the needed mail and cgi gid statments, then ran a make. Make install failed. The key section in the installation output is this: (cd ./$p ; umask 02 ; PYTHONPATH=/usr/local/mailman/pythonlib /usr/sfw/bin/p ython setup.py --quiet install --install-lib /usr/local/mailman/pythonlib --ins tall-purelib /usr/local/mailman/pythonlib --install-data /usr/local/mailman/pyt honlib); \ done /usr/sfw/lib/python2.3/distutils/dist.py:213: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) /usr/ucb/cc: language optional software package not installed error: command '/usr/sfw/lib/python2.3/pycc' failed with exit status 1 *** Error code 1 make: Fatal error: Command failed for target `install-packages' Current working directory /usr/local/src/mailman-2.1.9/misc WHOOPS! What is with the very clear /opt/sfw/lib/python2.3 when I just installed 2.5 and put it in /usr/local/bin? Yes, Sun has included an older version of Python in the Solaris 10 distribution. To build and install with a locally-built Python, you have to put --with-python=/path/to/python as a flag to the configure script. Doing so produced a clean make and install. Note that while the fact that the wrong version of Python is not clearly evident until the installation crashes, the make step is also done with the same version. As of this writing, I don't know what issues this raises for Mailman at runtime. Nor do I know what issues are raised if the offending packages are removed. The actual version reported is 2.3.3, and pkginfo includes the notation GNOME, so the runtime, at least, has some involvement if you are using the gnome desktop. An additional (and very well-known) Solaris gotcha is the error line /usr/ucb/cc: language optional software package not installed Evidently, the Solaris Python looks for a cc in the path. /usr/ucb/cc is simply a stub that most Solaris sysadmins rename or move after installation. The Sun Studio 11 native compiler is probably compatible with it, but there is still the objection to using an older Python. Hank -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Problem Installing on Solaris 10
Kent Taylor wrote: I'm attempting to install Mailman 2.1.8b1 on Solaris 10 - configure works - make works - make install does not. I checked the lists and found that I'm not the only person to have this problem - Unfortunately, the other person's solution was to revert to Solaris 8 - I really don't want to do that. The make install error is command '/sgnome/tools/x86-solaris/forte/SOS8/SUNWspro/bin/cc' failed with exit status 2 trying to compile src/hangul.c - Any assistance would be appreciated. Thank you. I'm only guessing as a workaround that might not work or might cause other problems, but if you look at misc/Makefile in the unpack directory, you'll see SHELL= /bin/sh PYTHONLIBDIR= $(prefix)/pythonlib SETUPINSTOPTS= --install-lib $(DESTDIR)$(PYTHONLIBDIR) \ --install-purelib $(DESTDIR)$(PYTHONLIBDIR) \ --install-data $(DESTDIR)$(PYTHONLIBDIR) SETUPCMD= setup.py --quiet install $(SETUPINSTOPTS) PKGDIR= $(srcdir) Try adding a line to SETUPINSTOPTS so it becomes SETUPINSTOPTS= --install-lib $(DESTDIR)$(PYTHONLIBDIR) \ --install-purelib $(DESTDIR)$(PYTHONLIBDIR) \ --without-extension \ --install-data $(DESTDIR)$(PYTHONLIBDIR) -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Mailman on Solaris8
LM == Len Merikanto [EMAIL PROTECTED] writes: LM Retried everything if i do everything from the scratch. LM ie install mailman and do not upgrade it. LM just install from scratch it works. LM then when i copt all files from mailman dir on freebsd move LM them to solaris reisntall mailman like upgrade it everything LM goes wrong. LM and i get that error. also tried only just copy lists from LM lists dir of freebsd mailman and the mm_cfg.py from Mailman LM dir into solaris i get it halfly working. i can see listinfo LM but cannot admin nor do anything to lists. Did you try going to the shell prompt, running Python interactively, and typing in that Python code? What do you get for that? I would suggest that you do a fresh install on Solaris, then if you want to move the `lists' subdir from FreeBSD, that should work. -Barry -- Mailman-Users maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users
[Mailman-Users] Mailman installation on Solaris 10
I'm beginning to replace the Mailman 2.1.9 installation on Solaris 9 Sparc, which has served us very well for the last two years. The new target machines are Sun Ultra 60's, one running Solaris 10-u4 (8/07) and the other, Solaris 10-u6 (10/08). All that is on either machine is a fresh install of Solaris (full install). While I've been through the drill of building and installing both Python and Mailman on Solaris before, I have a few obsrvations and questions. I went through the Mailman web page to find a download site. Going to Sourceforge offers only 2.12.rc1 unless you click stable on the first screen. I was unable to download either 2.1.11 or 2.1.12 from Sourceforge. That site links to Superb Hosting, which appears to be unresponsive. I had to get the software from the alternative GNU site. Both of the Solaris installs include Python 2.4.4. Whether the Solaris build is something resembling a full build or not, I don't know, but will soon find out unless someone has checked this out before me. In the past, getting anything resembling a full build of Python on Solaris has been a labor of love (porting the build scripts), and I'd prefer not to have to build and install another version of Python. I see Mark Sapiro's mail about incompatibility between 2.1.12rc1 and Python 2.4. My production installations have to have an archive search (not part of Mailman). In the past, we've used htDig 3.1.6, which is decidedly long in tooth, particularly as it requires gcc/g++ 2.95.3 to build (will not build with gcc 3 or above). For one installation, I'll filch the already-built binaries. However, I'll reopen the question of a better (and currently-maintained) search engine. I'm aware of a mail list discussing using Mhonarc and Mnogosearch, but nothing since the last posts to that site (early 2006). Is there something newer and better, or is doing the porting work needed to use Mnogosearch the best alternative available? One issue with the current 2.1.9 installation is performance while searching archives with htDig. We currently have 5gb of archives, and archive searches are very popular with our listers. I have picked up the patches for htDig-Mailman integration for 2.1.11 and assume I'm on my own for 2.1.12, for the present. Unless somebody tells me otherwise, I'll assume that I'm the first installing 2.1.12 on Solaris 10. That will go on the later (current rev) machine. Worth noting that on Solaris 10 10/08, it appears that sun has included the Studio 12 development system, with the c compiler in /usr/bin/cc. While our old nemesis, the BSD stub /usr/bin/cc is still there, a PATH that has /usr/bin before /usr/ucb should find a working cc. The config.pck files currently on the production system are for 2.1.9. If I build 2.1.11 and 2.1.12 as fresh builds and installs (no upgrade) and later copy my 2.1.9 config.pck files into them, will Mailman detect and correct the configuration? Any notes, comments, advice greatly appreciated. Hank -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] install problem python 2.2 on solaris 7
Alex Chavez wrote: I'm not able to install Python 2.2 on a solaris 7 os5.7 sparc box. Can anyone help? The output and error msg are below: This is a Python problem, and you've posted to Mailman's user list. You might get better luck if you post to [EMAIL PROTECTED], or alternatively, browse its newsgroup news:comp.lang.python -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- Mailman-Users maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users
Re: [Mailman-Users] mailman setup
Idzet sunny [EMAIL PROTECTED]: I am not able to continue...as i have executed make install on a solaris 2.8,and when i try accessing webservername.domain/mailman it says file not found...pls help.. make install is not enough to do the job. You have to manually config your webserver too, and then some other stuff. Read INSTALL carefully... there's quite a lot to do :( zOLtaN -- Mailman-Users maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users
Re: [Mailman-Users] Mailman installation on Solaris 10 crashes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Feb 2, 2007, at 1:25 AM, [EMAIL PROTECTED] wrote: crashing on install of the Japanese and Korean Codecs. I swapped some offlist E-mails with Barry Sapiro and told him that I would I'm almost afraid to ask who Barry Sapiro is. Is that some kind of mashup of me and Mark? :) And another WHOOPS! Another over-the-hill geezer special. But since I saw the backside of the big 70 a while back, I suppose I'm entitled to one once in a while. WHOOPS! What is with the very clear /opt/sfw/lib/python2.3 when I just installed 2.5 and put it in /usr/local/bin? I would additionally make sure /usr/local/bin is first on your $PATH. There is a great deal of discussion (and some religious fervor) on the Solaris newsgroups about having (or refusing to have) a /usr/local directory on a Solaris system. The anti faction has some very strong points. Putting the /usr filesystem on its own filesystem mounted read-only is a good security measure. I bypass the arguments by putting /usr/local on its own filesystem. A better PATH layout for Solaris 9 or 10 would probably end with /usr/ccs/bin:/usr/local/bin:/opt/sfw/bin:/usr/sfw/bin Those directories all have to be added locally to the Solaris distribution defaults. Sun has moved to including more and more of what was known to Unix developers as the GNU suite in Solaris in the /usr/sfw directory, with some GNU things (bash, gzip) in /usr/bin. Time was (Solaris 2.5.1) that the GNU suite was all add-on from packages on the bonus software companion disk. What I'm working out is a suitable layout for a Solaris 10 development system that requires a minimum of jiggery-pokery for compiling various open source software packages. The system that actually runs Mailman in production is a different minimally-configured hardened-up Solaris box. A lot of this is OS-specific and site-specific, and probably discussion here should be limited to getting Python and Mailman installed. An additional (and very well-known) Solaris gotcha is the error line /usr/ucb/cc: language optional software package not installed Evidently, the Solaris Python looks for a cc in the path. /usr/ucb/cc is simply a stub that most Solaris sysadmins rename or move after installation. The Sun Studio 11 native compiler is probably compatible with it, but there is still the objection to using an older Python. It's actually probably the Makefile that's finding /usr/ucb/cc. Pretty well-known failure mode on Solaris. Make sure a usable C compiler (either named gcc or cc wink) is first on your $PATH. No doubt. What I posted was the result of some offlist discussions I had with Mark about problems building Mailman on Solaris that were posted here a week or so ago. I offered to investigate a few of these on a fresh install of Solaris 10 11/06 before I had fully configured the box to my normal layout. Ultimately, that box will be configured to use the Sun development system (Studio 11, has cc and CC wink). There are decisions that a Solaris administrator has to make, such as whether to download and compile sendmail, apache, and bind; or to use the Sun distribution versions. I think that the decision is clear about Python---download and build your own, and configure your system so that it is the Python of choice on your site. (I'll note in passing that I didn't like the looks of the additional compiling in the Python install, and am going to go back to revisit that). Hank -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] mailman setup
I am not able to continue...as i have executed make install on a solaris 2.8,and when i try accessing webservername.domain/mailman it says file not found...pls help.. regs dk __ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com -- Mailman-Users maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users
Re: [Mailman-Users] Problem with Installing Mailman 2.1.9 on Solaris 10
The esteemed David Devereaux-Weber has said: Hank, Thanks for your help! I installed Python 2.4.4. I did receive errors that tcl and something else didn't install. Now, the Mailman install script still finds /opt/csw/lib/python2.3/distutils/dist.py:213 . Can you tell me where Python 2.4.4 puts the distutils? Dave If you built python 2.4.4 to install in /usr/local, you should have a /usr/local/lib/python2.4 directory that has the distutils in it. I assume you're building Mailman 2.1.9 from downloaded source; if not, I recommend you do that, rather than using somebody else's prebuilt source. Make sure the correct python is in your PATH. If you've already built Mailman with the /opt/csw python2.3, do a make clean, rerun configure, make, and make install on Mailman. As I've said, /opt/csw is not a Solaris 10 directory, but is used by one or more of the package prebuilders. I would do an audit on what is in that directory and pkgrm anything you don't actually need on your system. Using the Solaris release sendmail and apache works well, but I'd build Python 2.4.4 and Mailman 2.1.9 from source. The default gid for sendmail is other and for apache is nobody, for the Mailman configure script on Solaris 9/10. Hank -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] 2.1 Install Issues
I don't claim to be a developer, however, the following change to misc/Makefile.in works in my testing: -- cut here - diff misc/Makefile.in-2.1 misc/Makefile.in 78c78,81 $(INSTALL) -m $(FILEMODE) $(ICONS) $(ICONDIR) --- for i in $(ICONS); \ do \ $(INSTALL) -m $(FILEMODE) $$i $(ICONDIR); \ done -- cut here - I hope that is sufficient help. Thanks! David Date: Sat, 4 Jan 2003 11:44:19 -0500 To: David LeVine [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Mailman-Users] 2.1 Install Issues From: [EMAIL PROTECTED] (Barry A. Warsaw) DL == David LeVine [EMAIL PROTECTED] writes: DL I think the Solaris make does support wildcarding, perhaps DL with slightly different syntax...:^) Maybe you can help figure out the right syntax for Solaris make? -Barry -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Problem with Installing Mailman 2.1.9 on Solaris 10
Hank, Thanks for your help! I installed Python 2.4.4. I did receive errors that tcl and something else didn't install. Now, the Mailman install script still finds /opt/csw/lib/python2.3/distutils/dist.py:213 . Can you tell me where Python 2.4.4 puts the distutils? Dave [EMAIL PROTECTED] wrote: The esteemed David Devereaux-Weber has said: I'm having a problem with building mailman 2.1.9 on Solaris 10. No problems with configure or make, but make install breaks. Here is an extract: /opt/csw/lib/python2.3/distutils/dist.py:213: There's your problem. Does anyone see something here? You're using the wrong Python. I don't know where you got this Python (/opt/csw is not a Solaris 10 directory), but it's behaving the same as the Python 2.3 that is in the Solaris 10 distribution installed in /usr/sfw. My recollection is that /opt/csw is being used by one or more prebuilt services who have religious tabus about using /usr/local, and presume you've downloaded a prebuilt Python package and installed it. Download the Python 2.4.4 source (not 2.5 or later), configure, and build that. It will not build completely, but what doesn't build (tcl and the ssl functions) isn't needed for Mailman. Solaris 10 comes with gcc 3.4.2 in /usr/sfw/bin, which can be used to build both Python and Mailman. When you've got Python 2.4.4 built and installed, use which python to make sure it's the first one in your path. /usr/local/bin/python Also, on a Solaris system (all versions), I strongly recommend renaming /usr/ucb/cc to something else so that configure scripts don't think the system has a working cc. That particular cc is a shell script stub that is there for historical reasons dating from the original SVR4 specification in 1988. If you have downloaded and installed the Sun development system (Studio 11 is the current marketing name for it) that installs by default in /opt/SUNWspro, use that cc and CC instead of the GNU stuff. Note that you'll have to force the configure scripts not to use gcc when you run them. Hank -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Mailman 2.1.[56] installation problem w/ KoreanCodecs
Hi, found this message back from 2005/11/28: make install dies with (cd ./$p ; umask 02 ; PYTHONPATH=/home/mailman/2.1.5/pythonlib /usr/local/bin/python setup.py --quiet install --install-lib /home/mailman/2.1.5/pythonlib --install-purelib /home/mailman/2.1.5/pythonlib --install-data /home/mailman/2.1.5/pythonlib); \ done /usr/local/lib/python2.4/distutils/dist.py:222: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) src/hangul.c:33: error: syntax error before numeric constant src/hangul.c:34: error: syntax error before numeric constant error: command 'gcc' failed with exit status 1 *** Error code 1 This happens with either 2.1.5 or 2.1.6, various versions of Python as well. It's on Solaris 10 with Sun's bundled gcc (/usr/sfw/bin/gcc). Rather furstrating. Is there an easy way to just skip these codecs i have no use for? I came across the same problem with mailman 2.1.9 and thought I'd share my solution. This is due to a bug in Solaris 10 headers. signal.h includes sys/regset.h which pollutes the macro namespace (if you will) with definitions for x86 registers, like GS and SS. This is only on Solaris/x86; Solaris/sparc doesn't have this error. Before running configure, I do this: # work around solaris bug # http://forum.java.sun.com/thread.jspa?threadID=5074551 gtar zxf misc/KoreanCodecs-2.0.5.tar.gz perl -i -pe 's/GS, N/MYGS, N/; s/CODE.GS./CODE(MYGS)/; s/SS, N/MYSS, N/; s/CODE.SS./CODE(MYSS)/;' \ KoreanCodecs-2.0.5/src/hangul.c gtar zcf misc/KoreanCodecs-2.0.5.tar.gz KoreanCodecs-2.0.5 The tarball has to be unpacked and repacked because 'make' unpacks it. If you unpack it and patch it, without repacking it, 'make' will overwrite your changes when it unpacks it again. -frank -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] 2.1 Install Issues
DL == David LeVine [EMAIL PROTECTED] writes: DL I think the Solaris make does support wildcarding, perhaps DL with slightly different syntax...:^) Maybe you can help figure out the right syntax for Solaris make? -Barry -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] installation on solaris
Hi everybody. I'm trying to install mailman on solaris. It builds fine and creates subdirectories in /usr/local/mailman/, but stops with permission errorswhen trying to copy files to those directories. Which is kind of strange, because the directory has group write permissions and the user 'make installing' is in that group. Also I have a question about the web interface. Is setting ScriptAliases to cgi-bin in mailman directory enough to get that working or is there a step missing from the readmes ? thank you in advance -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Re: [Mailman-Users] Digest options - list configuration
The esteemed Brad Knowles has said: On 8/7/08, Mark Sapiro wrote: After some off list back and forth, Alan determined that the problem was that the mailman user had /bin/false as a login shell. Once that was changed, the script worked as expected. Was this on a Solaris box? I've had problems with them lately not allowing cron jobs to run under a specific userid, even if they were in the /etc/cron.allow list, unless the user had a valid password hash and a valid shell. One of the more screwed-up things I've seen from a Solaris box lately, I tell you Nothing particularly screwed up about Solaris as a platform for mailman. When setting up the mailman account, set up the account as a normal account, then use vipw to edit /etc/passwd and /etc/shadow. Just delete specification of any shell from the passwd line. Shadow line should look like: mailman:NP::: The letters NP in the password hash field are important. But there are already plenty of examples in the file for you to follow. When setting up the crontab, and changing it, su from root to mailman, and follow the Solaris instructions. They are in the man pages. You don't need to fuss with cron.allow and cron.deny to get cron to process the mailman crontab. Just because: Solaris isn't Linux, and sendmail isn't Postfix, isn't a reason to call either one of them screwed up. The Mailman build-install instructions work just fine on Solaris/sendmail, if you pay attention to doing things the Solaris way, and treat Mailman as just another sendmail user on an existing and functioning sendmail installation. julie:vancleef:$ uptime 9:54am up 194 day(s), 17:24, 3 users, load average: 0.00, 0.01, 0.02 It would be longer than that if we hadn't had a power outage shutown last winter. Hank -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
[Mailman-Users] configure mailman on Solaris 8
Hello, I'm having trouble getting configure to run on a Solaris 8 server. Here is the configure command that I issue and the resulting error. ./configure --prefix=/export/home/mailman --with-mail-gid=25 --with-cgi-gid=1004 checking for --with-var-prefix... no checking for --with-username... mailman checking for mailman UID... Traceback (most recent call last): File conftest.py, line 1, in ? import pwd, string ImportError: No module named pwd cat: cannot open conftest.out configure: error: * No mailman user found! * Your system must have a mailman user defined * (usually in your /etc/passwd file). Please see the INSTALL * file for details. I have created the user mailman and a group called mailman. Plus created the home directory /export/home/mailman. Has anyone out there compiled Mailman on Solaris 8? - George Crum -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
[Mailman-Users] Solaris 10 and Python
Has anyone successfully made this work on a Sun Solaris 10? I've been at this for three days and no matter what I do, I only manage to change error messages. At this point I've made it through the ./configure step, but it's breaking on make install. It's a Sun Fire x4100 running solaris 10. I've got mailman 2.1.14 and python 2.6.2 If you've made it work under that configuration and are willing so show off your 'leet skills helping me deal with this, please shoot me a note at mcn...@utk.edumailto:mcn...@utk.edu. Bill -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Problem with Installing Mailman 2.1.9 on Solaris
The esteemed David Devereaux-Weber, P.E. has said: Hank, I'm still not succeeding in building Mailman. I'd like to follow another path. Can you explain why Tcl/TK don't build? The Python make install command fatals there, and doesn't complete copying some of the modules into the right places. Dave You're running into problems I haven't encountered, if you can't install Python without tcl and ssl. I'd suggest clearing the build and install directories, doing a fresh unpack of the Python sources, and running through the build process again. My recollection is that both Python and Mailman will build with the gcc 3.4.2 that is in the Solaris 10 distribution /usr/sfw directory tree, but that you have to do some jiggery-pokery with LD_RUN_PATH, LD_LIBRARY_PATH, or crle to get the builds to find the GNU libraries. My installations were built with the Sun development system (Studio 11, installs in /opt/SUNWspro), so I haven't explored the implications of running with a GNU build on Solaris 10 very far. Why Python won't build with the extensions in Solaris is that the build process doesn't look in /opt/sfw. I've done enough porting exploration to see that a fix involves adding a search to those directories in setup.py (in the Python build base directory), but haven't explored everything I need to know to assure that I've got an appropriate fix. Some queries to the Python users and Python developers mail lists didn't produce meaningful results, and I'm left with the feeling that yer on yer own with Python reliability. What I can tell you is that my builds of Python 2.4.4 and 2.5, using the Sun devsys, and without doing any porting work, install and support Mailman on my systems. I'd suggest capturing the outputs of the configure and make steps and reviewing them. Also, the various log, makefile, and status files that configure generates. I'm not really prepared to wear a Python developer hat and try to work Python-on-Solaris problems beyond getting a Python that will support Mailman. Hank -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Mailman installation on Solaris 10 crashes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Feb 2, 2007, at 1:25 AM, [EMAIL PROTECTED] wrote: crashing on install of the Japanese and Korean Codecs. I swapped some offlist E-mails with Barry Sapiro and told him that I would I'm almost afraid to ask who Barry Sapiro is. Is that some kind of mashup of me and Mark? :) WHOOPS! What is with the very clear /opt/sfw/lib/python2.3 when I just installed 2.5 and put it in /usr/local/bin? I would additionally make sure /usr/local/bin is first on your $PATH. An additional (and very well-known) Solaris gotcha is the error line /usr/ucb/cc: language optional software package not installed Evidently, the Solaris Python looks for a cc in the path. /usr/ucb/cc is simply a stub that most Solaris sysadmins rename or move after installation. The Sun Studio 11 native compiler is probably compatible with it, but there is still the objection to using an older Python. It's actually probably the Makefile that's finding /usr/ucb/cc. Pretty well-known failure mode on Solaris. Make sure a usable C compiler (either named gcc or cc wink) is first on your $PATH. - -Barry -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) iQCVAwUBRcNPeXEjvBPtnXfVAQIYiQP/WF2jmsyk8wPVK8bwF4tWeD88RyEAjK0C sPYZW2PhOqPNyppovUpf2idrxych+WUwnKimU2y0vcFEbLcwqCDQmdLQjNbClkEA E+EK6Q2loPQiRMcTRTU9x04RIjNlVb4rdPlHW/FjSktTICXXFyNrPpYaBQ1bugtY gu+81Nqj0OI= =no6x -END PGP SIGNATURE- -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] mailman install problem - Solaris
No dice, I tried that with gcc and yacc. Is there any way to just avoid the Japanese and Korean codecs packages' compilation, or to skip them entirely? I don't really need to host any lists in Japanese or Korean (or do these packages do something else?) -Original Message- From: Mark Sapiro [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 23, 2007 5:09 PM To: Piniella, David A; Hank van Cleef Cc: mailman-users@python.org; Kent Taylor Subject: RE: [Mailman-Users] mailman install problem - Solaris Piniella, David A wrote: Thanks for you help, guys. Actually, I checked the Makefile in /usr/local/mailman (my $prefix), and /usr/local/mailman/src/Makefile and they both have CC=3D gcc. I have deleted the Makefiles, config.cache config.status, rerun ./configure (my specific options are --prefix, --with-cgi-gid, --with-mailhost and --with-urlhost) and re-run make and make install. I keep getting the error on make install. For laughs, since I saw the Makefile had the full path in the PYTHON=3D line, I put the full path to gcc in the CC=3D line, re-ran configure and it still fails. Yeah, I realized the problem after I sent my last reply. The problem is in the 'make install'. The install target runs the install target of misc/Makefile which in turn runs install-packages which installs the email, JapaneseCodecs, and KoreanCodecs packages. This install starts by unzipping and expanding the .tar.gz files containing the packages and then running the setup.py file from the package. Part of the KoreanCodecs package requires compilation of C modules. I think this is where you and other Solaris users run into difficulty. I'm not really an expert on this, but perhaps if you put a symlink to your gcc named cc somewhere on your path before running make install, this will do it. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] mailman install problem - Solaris
Piniella, David A wrote: Thanks for you help, guys. Actually, I checked the Makefile in /usr/local/mailman (my $prefix), and /usr/local/mailman/src/Makefile and they both have CC=3D gcc. I have deleted the Makefiles, config.cache config.status, rerun ./configure (my specific options are --prefix, --with-cgi-gid, --with-mailhost and --with-urlhost) and re-run make and make install. I keep getting the error on make install. For laughs, since I saw the Makefile had the full path in the PYTHON=3D line, I put the full path to gcc in the CC=3D line, re-ran configure and it still fails. Yeah, I realized the problem after I sent my last reply. The problem is in the 'make install'. The install target runs the install target of misc/Makefile which in turn runs install-packages which installs the email, JapaneseCodecs, and KoreanCodecs packages. This install starts by unzipping and expanding the .tar.gz files containing the packages and then running the setup.py file from the package. Part of the KoreanCodecs package requires compilation of C modules. I think this is where you and other Solaris users run into difficulty. I'm not really an expert on this, but perhaps if you put a symlink to your gcc named cc somewhere on your path before running make install, this will do it. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] mailman install problem
The esteemed Piniella, David A has said: Hi, I'm trying to install mailman 2.1.9 on a Solaris 10 x86 machine and I'm running into problems with make install. I have no cc installed, I am using GCC 3.4.5 which I've installed from blastwave.org; python is 2.3.5. I've searched the archives of the list and hit up google to no avail, any suggestion(s) or hints would be most appreciated, I'm ready to scrap this install. I don't know if it's something funky in Sol10's make or maybe mailman's expecting gcc to be cc (see unable to execute cc: No such file or directory \ error: command 'cc' failed with exit status 1 -- I did NOT specify the --with-gcc=no option during the configure). (snippity snippity) /opt/csw/lib/python2.3/distutils/dist.py:213: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) unable to execute cc: No such file or directory error: command 'cc' failed with exit status 1 make[1]: *** [install-packages] Error 1 make[1]: Leaving directory `/usr/local/mailman/misc' *** Error code 2 You're probably seeing what's a well-known problem with Solaris using GNU-type configure and Makefile generation. Easy to fix. The cc that some makefile is finding is probably /usr/ucb/cc in the Solaris install. That is a stub that does nothing. Rename it to cc.bsd. On a Solaris site, you have to set up PATH as a post-install operation. Most Solaris admins have a post-install script for doing this. Do a check, using the which command. which gcc should point to the path where the gcc you want to use is located, and do a version check. Then do a which cc. Unless you have Studio 11 installed, you should get a not found return. The Studio 11 compiler resources are in /opt/SUNWspro/bin if they are installed. You may have to locate the offending Makefile or rerun configure to recover, but try make install first, after assuring that nothing can find /usr/ucb/cc. Hank Hank -- Hank van Cleef ([EMAIL PROTECTED], [EMAIL PROTECTED]) 1986 420SEL A stranger in paradise (Fremont Co. Wyoming) 1986 GMC 1500 6.2 diesel pickup Seen one, seen them all -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Problem with Installing Mailman 2.1.9 on Solaris 10
Hank, I'm still not succeeding in building Mailman. I'd like to follow another path. Can you explain why Tcl/TK don't build? The Python make install command fatals there, and doesn't complete copying some of the modules into the right places. Dave [EMAIL PROTECTED] wrote: The esteemed David Devereaux-Weber has said: Hank, Thanks for your help! I installed Python 2.4.4. I did receive errors that tcl and something else didn't install. Now, the Mailman install script still finds /opt/csw/lib/python2.3/distutils/dist.py:213 . Can you tell me where Python 2.4.4 puts the distutils? Dave If you built python 2.4.4 to install in /usr/local, you should have a /usr/local/lib/python2.4 directory that has the distutils in it. I assume you're building Mailman 2.1.9 from downloaded source; if not, I recommend you do that, rather than using somebody else's prebuilt source. Make sure the correct python is in your PATH. If you've already built Mailman with the /opt/csw python2.3, do a make clean, rerun configure, make, and make install on Mailman. As I've said, /opt/csw is not a Solaris 10 directory, but is used by one or more of the package prebuilders. I would do an audit on what is in that directory and pkgrm anything you don't actually need on your system. Using the Solaris release sendmail and apache works well, but I'd build Python 2.4.4 and Mailman 2.1.9 from source. The default gid for sendmail is other and for apache is nobody, for the Mailman configure script on Solaris 9/10. Hank -- David Devereaux-Weber, P.E. DDW Services [EMAIL PROTECTED] (608)576-2599 http://ddwsvcs.com -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] 2.1 Install Issues
Date: Sat, 4 Jan 2003 02:00:46 -0500 To: David LeVine [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Mailman-Users] 2.1 Install Issues From: [EMAIL PROTECTED] (Barry A. Warsaw) DL On most directories, each file to be installed is enumerated DL and installed within a loop, however, for the icons directory, DL the Makefile seems to rely on wildcard matching. That may not DL be a valid assumption. Could be a GNU Make-ism. Maybe Solaris's make doesn't do wildcarding? (It's been too long since I've been on Solaris and I'm too tired right now to look it up. ;). I think the Solaris make does support wildcarding, perhaps with slightly different syntax...:^) DL On the line that installs the template subdirectories, the DL 'install-sh -c' line has '-m 644 instead of '-m 664', so that DL may also be a Makefile issue. That's correct for the files inside the template subdirs. DL As for the messages subdirectories, those appear to be created DL with simple calls to mkdir rather than install and they don't DL appear to have permissions being set at all. Actually, both should be created by the mkinstalldirs script in the top level source directory. I'll have to try to find some time to build Mailman on the Solaris box in the SF compile farm. Thanks for the time and the support... -Barry David -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Problem with Installing Mailman 2.1.9 on Solaris 10
The esteemed David Devereaux-Weber has said: I'm having a problem with building mailman 2.1.9 on Solaris 10. No problems with configure or make, but make install breaks. Here is an extract: /opt/csw/lib/python2.3/distutils/dist.py:213: There's your problem. Does anyone see something here? You're using the wrong Python. I don't know where you got this Python (/opt/csw is not a Solaris 10 directory), but it's behaving the same as the Python 2.3 that is in the Solaris 10 distribution installed in /usr/sfw. My recollection is that /opt/csw is being used by one or more prebuilt services who have religious tabus about using /usr/local, and presume you've downloaded a prebuilt Python package and installed it. Download the Python 2.4.4 source (not 2.5 or later), configure, and build that. It will not build completely, but what doesn't build (tcl and the ssl functions) isn't needed for Mailman. Solaris 10 comes with gcc 3.4.2 in /usr/sfw/bin, which can be used to build both Python and Mailman. When you've got Python 2.4.4 built and installed, use which python to make sure it's the first one in your path. /usr/local/bin/python Also, on a Solaris system (all versions), I strongly recommend renaming /usr/ucb/cc to something else so that configure scripts don't think the system has a working cc. That particular cc is a shell script stub that is there for historical reasons dating from the original SVR4 specification in 1988. If you have downloaded and installed the Sun development system (Studio 11 is the current marketing name for it) that installs by default in /opt/SUNWspro, use that cc and CC instead of the GNU stuff. Note that you'll have to force the configure scripts not to use gcc when you run them. Hank -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] One more try......
I could really use some help. Can someone help me (or point me to) with directions on how to use the patch updates on solaris. So I don't have to do the complete install. I looked through the archives and FAQ's but couldn't find anything (what did I miss). TIA Con Wieland UC Irvine -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
[Mailman-Users] make install failure
OK, the Solaris 10 box is operational, in that root is the only user and I'm getting things up and running. While my user account exists, none of my personal stuff is there yet, as it is in a state of flux. Once I bring the system on line, then I copy over all the home directory files, etc. In the meantime, I'm getting programs like mailman up and running. I've already replaced sendmail with exim, even getting it hooked into Solaris 10 smf control. Based on the previous discussion, I've replaced the stock python 2.4.4 on the box with a freshly compiled and installed 2.5.2 version. The configure script runs without error, as does the initial make. BTW, the install manual has an error: Page 4: % cd mailman-version % ./configure % make install The make install should be just make. Gotta make it before you can install it. :-) In any event, the following error occurs when trying to install: (cd ./$p ; umask 02 ; PYTHONPATH=/usr/local/mailman/pythonlib /usr/local/bin/python setup.py --quiet install --install-lib /usr/local/mailman/pythonlib --install-purelib /usr/local/mailman/pythonlib --install-data /usr/local/mailman/pythonlib); \ done /usr/local/lib/python2.5/distutils/dist.py:247: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) src/hangul.c:33: error: syntax error before numeric constant src/hangul.c:34: error: syntax error before numeric constant error: command 'gcc' failed with exit status 1 *** Error code 1 make: Fatal error: Command failed for target `install-packages' Current working directory /usr/local/src/mailman-2.1.11rc2/misc *** Error code 1 The following command caused the error: for d in bin cron misc Mailman scripts src templates messages tests; \ do \ (cd $d; make DESTDIR= install); \ done make: Fatal error: Command failed for target `doinstall' MB -- e-mail: [EMAIL PROTECTED]/~\ The ASCII [I've been to Earth. I know where it is. ] \ / Ribbon Campaign [And I'm gonna take us there.Starbuck 3/25/07] X Against Visit - URL: http://vidiot.com/ / \ HTML Email -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
[Mailman-Users] Errors installing mailman-2.0.13 / Python-2.2.1 / Solaris 8
Title: Errors installing mailman-2.0.13 / Python-2.2.1 / Solaris 8 ./configure returns errors installing mailman-2.0.13 with Python-2.2.1 under the Solaris 8 operating environment, Ultra 5. The initial errors I encounter were with the UID and group ID checking. I fixed these by following the advice from the post below: Re: [Mailman-Users] Solaris install problem David Sammons [EMAIL PROTECTED] writes: DS You have a module pwd in python2.../Modules/Setup which it's commented, just uncomment that and re-compile python and if it's necessary MM too... But the odd this is that with Python 2.2.1, it should auto-detect and automatically build the pwd module, without hacking Setup. If id doesn't do that, then there's a problem with the Python build process, but I didn't see that when I built it on SourceForge's compile farm. -Barry == Now the script runs until this point: checking for mail wrapper GID... 60001 checking for CGI wrapper GID... 60001 checking for CGI extensions... no Traceback (most recent call last): File conftest.py, line 2, in ? from socket import * File /usr/local/lib/python2.2/socket.py, line 41, in ? from _socket import * ImportError: No module named _socket pwd Anyone have an idea how to edit the /Python-2.2.1/Modules/Setup file, or should I look for another combination of source codes? Thank you, -Jeff Friedman [EMAIL PROTECTED]
Re: [Mailman-Users] Mailman on Solaris-based web server
Mark Sapiro wrote: John Wheaton wrote: I am curious whether Mailman will work on Solaris, and how best to integrate it with our current web site. Our school maintains an informational website at www.stfrancishighschool.com, hosted by IgLou in Louisville. We have been discussing with a few alumni the possibility of creating mailing lists for the alums, and Mailman seems like a good solution. We have also looked into Majordomo, which IgLou will administer for additional monthly charges. We would like to save money. Can Mailman be installed alongside our website? In other words, is it self contained? Can its bin and lib files, for example, be installed in our web directory, and still allow Mailman to function? Mailman can be installed under Solaris in your own virtual domain on your web host, but it requires (probably root) access to the shell on the server to do it and to integrate it with the web server and MTA on the host. I.e. IgLou will probably have to do it for you and will probably charge you for the installation and maybe for monthly use as well. To see what's involved in installing Mailman, go to http://cvs.sourceforge.net/viewcvs.py/mailman/mailman/INSTALL?only_with_tag=Release_2_1_5view=markup Adding to the mess, I am running mailman right now with postfix in a Solaris 8 box. Besides my own errors (I am working on that ;), I had no problems getting it to work. I literally set it to do postfix (and postfix to do it), typed ./config and off it went. Compiler used was gcc. So, if you need someone to harass, that much I may be able to help. =) -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Re: [Mailman-Users] Mailman on Solaris-based web server
John Wheaton wrote: Hello, I am curious whether Mailman will work on Solaris, and how best to integrate it with our current web site. Our school maintains an informational website at www.stfrancishighschool.com, hosted by IgLou in Louisville. We have been discussing with a few alumni the possibility of creating mailing lists for the alums, and Mailman seems like a good solution. We have also looked into Majordomo, which IgLou will administer for additional monthly charges. We would like to save money. Can Mailman be installed alongside our website? In other words, is it self contained? Can its bin and lib files, for example, be installed in our web directory, and still allow Mailman to function? What you are asking is exactly what I am planning on doing here. We have a mail server (Solaris 8 box) which is currently being used as mailman's website. What we are going to do is to NFS mount the mailman directory in our webserver (a Solaris 9 box) so it can be accessed there. Probably, the best way to do it is kinda like what you infered: install mailman in the webserver and then automount the data directories. I'll be playing with that and keep you all posted with my adventures. Our other possible solution is to host the mailing lists on one of our own Linux servers, if the app cannot be installed on our host's server. Since we run Exchange Server, I am trying to simplify matters by hosting the mailing lists offsite, though. Thanks for your help. John Wheaton, Technology Coordinator St. Francis High School 233 W. Broadway Louisville, KY 40202 -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
[Mailman-Users] How to integrate HTDIG when installing with Yum
I am about to install Mailman on a RHEL6 system using Yum. How do I integrate HTDIG with it? I have previously done HTDig integration on an install from source on Solaris, which involved a bunch of patching, I'm relatively new at Linux, but I suspect there is a better way to do it. Thanks, Larry -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] Problem installing on Solaris 8
I'm trying to install Mailman 2.1.6 on a Solaris 8 machine. There seems to be a rather strange error and I'm not sure if it's a misconfiguration of my machine or a problem with Mailman. I had no problem with 'configure' or with 'make'. I *did* use gcc -- there is a cc binary on the system, but the Sun compiler is *not* present, and this was no problem during the compile phase. However, when I got to 'make install' it seems there is a problem. The install process seems to want to call cc, even though it was not specified or used in either 'configure' or 'make'. Here is the error I get: 8---start-- (cd ./$p ; umask 02 ; PYTHONPATH=/usr/local/mailman/pythonlib /opt/csw/bin/python setup.py --quiet install --install-lib /usr/local/mailman/pythonlib --install-purelib /usr/local/mailman/pythonlib --install-data /usr/local/mailman/pythonlib); \ done /opt/csw/lib/python2.3/distutils/dist.py:213: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) /usr/ucb/cc: language optional software package not installed error: command 'cc' failed with exit status 1 *** Error code 1 make: Fatal error: Command failed for target `install-packages' Current working directory /export/home/users/steve/mailman-2.1.6/misc *** Error code 1 make: Fatal error: Command failed for target `doinstall' 8stop--- The error message from cc is the message that you get because the Sun compiler is not installed. But why is it being called? I've tried taking /usr/ucb out of the path so that there is no cc binary available, but then I get the error that there is no cc. OK, here's a workaround, but it's ugly. I put a symlink pointing cc to gcc and then made sure /usr/ucb was not in the path. I got some warnings: cc1: warning: -Wno-deprecated is valid for C++ but not C/ObjC but the install finished. It really sounds like there is something in the Mailman install procedure that has cc hard coded. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] mailman 2.1.11 install problem
CJ Keist wrote: One more thing, I just tried to link cc to gcc but then get the following when I try to install: cc: language arch=v8 not recognized cc: src/_japanese_codecs.c: linker input file unused because linking not done cc: build/temp.solaris-2.10-sun4v-2.5/src/_japanese_codecs.o: No such file or directory error: command 'cc' failed with exit status 1 *** Error code 1 make: Fatal error: Command failed for target `install-packages' Current working directory /space/src/mailman-2.1.11/misc *** Error code 1 The following command caused the error: for d in bin cron misc Mailman scripts src templates messages tests; \ do \ (cd $d; make DESTDIR= install); \ done make: Fatal error: Command failed for target `doinstall' That's a twist. Usually it's the Korean codecs that cause a problem, but see http://mail.python.org/pipermail/mailman-users/2008-June/062275.html for some info on the solaris install. Also, there's lots more in the archives. you can try sifting through http://www.mail-archive.com/search?q=solaris+installl=mailman-users%40python.org or refining that search. -- Mark Sapiro [EMAIL PROTECTED]The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
[Mailman-Users] Migration Help
Hi, I need some help migrating our mailing lists. I've looked on list.org, and searched google, and I've yet to find anyone who's done what I'm doing. Basically, we have our lists running on a Linux box with mailman 2.0.13. We're moving it to Solaris, using mailman 2.0.13. I obviously can't just tar up the directories, so I need to know what I need to take from the Linux install to get it working on Solaris. I've tried a bunch of different things, the only thing that I haven't done is recreating the lists, then importing their respective directories and archives. I can't really do this, as I only manage one out of the many lists we have.. if I have to I will, but there has to be an easier way. Mailman works fine for lists that I create on that box, so the Solaris install is not the problem, it's just the lists I try to move. Can anyone out there shed some light on this for me? Thanks, Jeff -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] sendmail and solaris stuff
The esteemed Barry Warsaw has said: Thanks Hank. I haven't used Sendmail in 20 years, so if there is some specific text you'd like to see added (or preferably a patch to the latex file), please feel free to send it directly to me and I'll push up a doc update. Barry (and Mark) Just to acknowledge your note. I am installing Mailman on a Solaris 10 cold O/S install, and am right at the point in the install manual where I have to configure sendmail to work with Mailman. This is the fourth or fifth time I've gone through the process, so as they say in the automotive trades, I'm able to make flat rate. Since you guys aren't working with either Sendmail or Solaris, I think it would be best for me to walk through and record the entire process, and give that to you as a basis for inclusion where and however you want to use it. I'll note that the sendmail.org faq on setting up virtual domains is broken, and while the bat book covers doing it, the discussion is not complete. I think that including the relevant part of the main.mc file, as well as the configuration of the local-domain-name file (known as the cw file), to give the novice admin. all of what is needed to set up a virtual domain system might be wise. That would save you guys from having to answer FAQ questions constantly. Mark, I still owe you a how-to on moving an existing list to a new host. Your notes on my first stab at it made clear that I was overcomplicating things. Hank -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Rr: Recovering from Server Fail
McNutt Jr, William R wrote: If I continue to make install I get the following error: .././install-sh -c -m 755 mailman /usr/local/mailman/scripts .././install-sh -c -m 644 sitelist.cfg /usr/local/mailman/data for p in email-2.5.8 JapaneseCodecs-1.4.11 KoreanCodecs-2.0.5; \ do \ gunzip -c ./$p.tar.gz | (cd . ; tar xf -); \ (cd ./$p ; umask 02 ; PYTHONPATH=/usr/local/mailman/pythonlib /usr/local/bin/python setup.py --quiet install --install-lib /usr/local/mailman/pythonlib --install-purelib /usr/local/mailman/pythonlib --install-data /usr/local/mailman/pythonlib); \ done /usr/local/lib/python2.6/distutils/dist.py:250: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) src/hangul.c:33: error: syntax error before numeric constant src/hangul.c:34: error: syntax error before numeric constant error: command 'gcc' failed with exit status 1 *** Error code 1 make: Fatal error: Command failed for target `install-packages' Current working directory /export/home/local/mailman-2.1.9/misc *** Error code 1 The following command caused the error: for d in bin cron misc Mailman scripts src templates messages tests; \ do \ (cd $d; make DESTDIR= install); \ done make: Fatal error: Command failed for target `doinstall' There's a lot of stuff in the archives of this list about various solaris installation issues. Try googling site:mail.python.org inurl:mailman solaris 10 codecs syntax. -- Mark Sapiro m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] Admin authentication failed 'cause of cookie
Hi, I'm working on a fresh install with Mailman 2.0.1, Python 2.0 and Apache 1.3.14 on a Solaris 2.6 box. I can't reach the administrative web page for my lists. Each time I enter the passwd (in myhost/mailman/admin/mylist) I receive a "Authentication failed" message followed by the password form. I tried to compare with a 'magic ports' installation on a FreeBSD 4.2 box, This one works fine, Then I discoverd that the Solaris box doesn't send the cookie named 'mylist:admin'. Whatever password I use (list or site), access is blocked. In the mailing list archive, I found a message talking about an update of Python from 1.5.5 to 2.0 that avoid proper authentication. (http://mail.python.org/pipermail/mailman-users/2001-January/008812.html) So I tried Python 1.6 and 1.5.2 without any success. Any ideas ? STh -- Mailman-Users maillist - [EMAIL PROTECTED] http://www.python.org/mailman/listinfo/mailman-users
Re: [Mailman-Users] Compile Problem: msgmerge: command not found.
Hi, Aaron The Young wrote: Hey all, I'm running Solaris 2.8 and python 2.3.3 and my configure of mailman 2.1.5 goes swell, but when I attempt to compile, I get the following during my compile: make[1]: Entering directory `/nn/local/src/mailman-2.1.5/messages' Merging new template file with existing translations msgmerge -U ca/LC_MESSAGES/mailman.po mailman.pot make[1]: msgmerge: Command not found Solaris 8 has no msgmerge. You have to install GNU gettext. Or, you can download latest messages/Makefile.in from CVS (Release_2_1-maint branch) and restart installation from 'configure'. You can get the latest CVS for the Release_2_1-maint by $ cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/mailman \ co -r Release_2_1-maint mailman -- Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/ -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Re: [Mailman-Users] newlist list creation error
Vidiot wrote: When I get to the step about getting mailman to start at boot time, I'll see if I can get it wedged into the Solaris 10 services system. The stuff I got to install exim should be modifiable to work with mailman. If I do manage to get it to work, I'll submit the files for future inclusion. Do some searching before you sit down to write a Solaris smf (service management facility) manifest from scratch. You will find other examples out there. I got my mailman manifest from this weblog entry: http://whacked.net/2005/08/14/more-work-on-grommit and a postfix manifest for my MTA from http://cuddletech.com/opensolaris/smf/postfix.xml There is also an archive of smf examples here: http://opensolaris.org/os/community/smf/manifests/ HTH - Tim -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] Apache, mailman and ScriptAlias - not as documented
That's because you're installing a RedHat package, and the RPM already installed /etc/httpd/conf.d/mailman.conf which contains that ScriptAlias. Oh crap. Another reason I am going toward Solaris 10. The last thing I'd do is stick a web server confing file in another directory and include it. If they would have dropped the mailman config file in the main config directory, it would have caught my attention. Burying it elsewhere just does the out-of-sight, out-of-mind thing. You should be following the RedHat documentation that came with your package, not our generic, install from source documentation. Ya, that is going to be fun - NOT! I don't even know where the DVD is at the moment and have no idea if they actually installed any doumentation. At this point I'm just going to say screw it until I get the Solaris 10 box up and running. The configurations are obviously going to be different as I have no idea what the Hell they did when mailman was installed. FYI, there is no man page for mailman, so there isn't even a hint as to what they did. The computer is running, sorta. The damn processor is running hot and that is just sitting on the BIOS screen looking at system values. The AMD supplied heatsink can't even keep the temp near 40 deg C doing nothing. In a warm room, trying to install Solaris results in Solaris bitching that the temp is too hot and stopping. Sure enough, it was at 61 degrees, four less than the operational max. Not your problem. Thanks for pointing this out. I'll go away now and compile the source when I get Sol10 working. Speaking of that, do you suggest using GNU or Sun Studio to compile the package? MB -- e-mail: [EMAIL PROTECTED]/~\ The ASCII [I've been to Earth. I know where it is. ] \ / Ribbon Campaign [And I'm gonna take us there.Starbuck 3/25/07] X Against Visit - URL: http://vidiot.com/ / \ HTML Email -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] Problem installing on Solaris 8
I'm trying to install Mailman 2.1.6 on a Solaris 8 machine. There seems to be a rather strange error and I'm not sure if it's a misconfiguration of my machine or a problem with Mailman. I had no problem with 'configure' or with 'make'. I *did* use gcc -- there is a cc binary on the system, but the Sun compiler is *not* present, and this was no problem during the compile phase. However, when I got to 'make install' it seems there is a problem. The install process seems to want to call cc, even though it was not specified or used in either 'configure' or 'make'. Here is the error I get: 8---start-- (cd ./$p ; umask 02 ; PYTHONPATH=/usr/local/mailman/pythonlib /opt/csw/bin/python setup.py --quiet install --install-lib /usr/local/mailman/pythonlib --install-purelib /usr/local/mailman/pythonlib --install-data /usr/local/mailman/pythonlib); \ done /opt/csw/lib/python2.3/distutils/dist.py:213: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) /usr/ucb/cc: language optional software package not installed error: command 'cc' failed with exit status 1 *** Error code 1 make: Fatal error: Command failed for target `install-packages' Current working directory /export/home/users/steve/mailman-2.1.6/misc *** Error code 1 make: Fatal error: Command failed for target `doinstall' 8stop--- The error message from cc is the message that you get because the Sun compiler is not installed. But why is it being called? I've tried taking /usr/ucb out of the path so that there is no cc binary available, but then I get the error that there is no cc. OK, here's a workaround, but it's ugly. I put a symlink pointing cc to gcc and then made sure /usr/ucb was not in the path. I got some warnings: cc1: warning: -Wno-deprecated is valid for C++ but not C/ObjC but the install finished. It really sounds like there is something in the Mailman install procedure that has cc hard coded. Try export CC='gcc' or CC='/path/to/gcc' then clean and re-run configure Or clean and run configure CC='/path/to/gcc' Or even both. Watch out for ar as well, I've had that do the same thing on Solaris 8. I usually add CC='/opt/sfw/bin/gcc' and AR='/opt/sfw/bin/gcc' to all my configure's and make's -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] mailman install problem
I have actually already renamed the /usr/ucb/cc (to cc_old) and modified my path (specifically for the install): bash-3.00# which gcc /opt/csw/gcc3/bin/gcc bash-3.00# which cc no cc in /usr/local/sbin /opt/csw/sbin /opt/sfw/sbin /opt/sbin /usr/sbin /sbin /usr/local/bin /usr/bin /opt/bin /bin /usr/openwin/bin /opt/csw/bin /opt/sfw/bin /usr/apache/bin /opt/csw/gcc3/bin /usr/ccs/bin bash-3.00# I'm still getting the same unable to execute cc error. I really don't understand it; would there be any cached info? -d. -Original Message- From: Hank van Cleef [mailto:[EMAIL PROTECTED] Sent: Tue 1/23/2007 3:52 PM To: Piniella, David A Cc: mailman-users@python.org Subject: Re: [Mailman-Users] mailman install problem The esteemed Piniella, David A has said: Hi, I'm trying to install mailman 2.1.9 on a Solaris 10 x86 machine and I'm running into problems with make install. I have no cc installed, I am using GCC 3.4.5 which I've installed from blastwave.org; python is 2.3.5. I've searched the archives of the list and hit up google to no avail, any suggestion(s) or hints would be most appreciated, I'm ready to scrap this install. I don't know if it's something funky in Sol10's make or maybe mailman's expecting gcc to be cc (see unable to execute cc: No such file or directory \ error: command 'cc' failed with exit status 1 -- I did NOT specify the --with-gcc=no option during the configure). (snippity snippity) /opt/csw/lib/python2.3/distutils/dist.py:213: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) unable to execute cc: No such file or directory error: command 'cc' failed with exit status 1 make[1]: *** [install-packages] Error 1 make[1]: Leaving directory `/usr/local/mailman/misc' *** Error code 2 You're probably seeing what's a well-known problem with Solaris using GNU-type configure and Makefile generation. Easy to fix. The cc that some makefile is finding is probably /usr/ucb/cc in the Solaris install. That is a stub that does nothing. Rename it to cc.bsd. On a Solaris site, you have to set up PATH as a post-install operation. Most Solaris admins have a post-install script for doing this. Do a check, using the which command. which gcc should point to the path where the gcc you want to use is located, and do a version check. Then do a which cc. Unless you have Studio 11 installed, you should get a not found return. The Studio 11 compiler resources are in /opt/SUNWspro/bin if they are installed. You may have to locate the offending Makefile or rerun configure to recover, but try make install first, after assuring that nothing can find /usr/ucb/cc. Hank Hank -- Hank van Cleef ([EMAIL PROTECTED], [EMAIL PROTECTED]) 1986 420SEL A stranger in paradise (Fremont Co. Wyoming) 1986 GMC 1500 6.2 diesel pickup Seen one, seen them all -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Mailman on Solaris-based web server
John Wheaton wrote: I am curious whether Mailman will work on Solaris, and how best to integrate it with our current web site. Our school maintains an informational website at www.stfrancishighschool.com, hosted by IgLou in Louisville. We have been discussing with a few alumni the possibility of creating mailing lists for the alums, and Mailman seems like a good solution. We have also looked into Majordomo, which IgLou will administer for additional monthly charges. We would like to save money. Can Mailman be installed alongside our website? In other words, is it self contained? Can its bin and lib files, for example, be installed in our web directory, and still allow Mailman to function? Mailman can be installed under Solaris in your own virtual domain on your web host, but it requires (probably root) access to the shell on the server to do it and to integrate it with the web server and MTA on the host. I.e. IgLou will probably have to do it for you and will probably charge you for the installation and maybe for monthly use as well. To see what's involved in installing Mailman, go to http://cvs.sourceforge.net/viewcvs.py/mailman/mailman/INSTALL?only_with_tag=Release_2_1_5view=markup -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Re: [Mailman-Users] I've built apache, sendmail, mailman successfully, how to make them work?
lovecreatesbeauty wrote: I build this mail system using apache, sendmail (bundled with Solaris 10) and mailman on Solaris 10 experimental. All these componemts work properly separately. How to make them work tegother, and just work as a real mail system as yours? Following are the working processes of the three main components on my Solaris 10 machine: snip of ps outputs showing sendmail, apache and mailman are running. I am really disturbed by the problems of this mail system and mailman for some days. Could you please help me? See http://www.list.org/mailman-install/index.html If you want more specific help from this list, you have to at least give us a clue like what do you do and what happens when you do it? And what part of Mailman works separately from apache and sendmail??? -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] mailman install problem - Solaris
Piniella, David A wrote: No dice, I tried that with gcc and yacc. Is there any way to just avoid the Japanese and Korean codecs packages' compilation, or to skip them entirely? I don't really need to host any lists in Japanese or Korean (or do these packages do something else?) This too is really tricky. See yesterday's take on this in the thread at http://mail.python.org/pipermail/mailman-users/2007-January/055498.html. There is some issue which seems to affect some combination of Solaris release 8 and some versions of Python's distutils module and probably the specific configuration of the Solaris machine that impacts the installation of the C modules in the KoreanCodecs package. You can't just eliminate the Korean codecs because it causes problems for the email package. If your Python is 2.4 or later however, there are Korean codecs in Python so you don't need the package in Mailman's pythonlib. If you have an earlier Python, installing CJKCodecs http://cjkpython.i18n.org might eliminate the need for the Korean and Japanese codecs in Mailman's pythonlib. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Solaris 10 and Python
On 22/01/2011 12:40 PM, McNutt Jr, William R mcn...@utk.edu wrote: Has anyone successfully made this work on a Sun Solaris 10? I've been at this for three days and no matter what I do, I only manage to change error messages. At this point I've made it through the ./configure step, but it's breaking on make install. It's a Sun Fire x4100 running solaris 10. I've got mailman 2.1.14 and python 2.6.2 Worked out of the box for me: ./configure \ --prefix=/data/mailman \ --with-python=/opt/webstack/bin/python \ --with-cgi-gid=webservd \ --with-mailhost=mail.mydomain \ --with-urlhost=www.mydomain \ --with-gcc=no Note that I have SunStudio, WebStack, and Postfix (built from source) on this machine. If you've made it work under that configuration and are willing so show off your 'leet skills helping me deal with this, please shoot me a note at mcn...@utk.edumailto:mcn...@utk.edu. Ask on the list, get answered on the list :-' Cheers, GaryB-) -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Solaris 10 and Python
-Original Message- From: mailman-users-bounces+s.watkins=nhm.ac...@python.org [mailto:mailman-users-bounces+s.watkins=nhm.ac...@python.org] On Behalf Of McNutt Jr, William R Sent: Friday, January 21, 2011 8:53 PM To: mailman-users@python.org Subject: [Mailman-Users] Solaris 10 and Python Has anyone successfully made this work on a Sun Solaris 10? I've been at this for three days and no matter what I do, I only manage to change error messages. At this point I've made it through the ./configure step, but it's breaking on make install. Any chance you can post what the failure message your make session returns? [this is me busily digging a very deep hole from which I may never return!] At this point, with no further info, I'm guessing it's most likely that you've probably not got your binary search path or your link library path setup to pick up all the things that make needs. A side question: is this list the best place to discuss mailman build issues? If not, then someone please squeal and the line of banter can be taken off-list. Steff - -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] Recovering from Server Fail, was FW: Make Install Fails
I've continued to fiddle with this and now have different errors, so I thought I would back up and give ya'll the big picture in case I'm approaching this from the wrong direction. Tuesday morning I had a hardware failure on my old Solaris 10 box. In 25 years in the business, I don't think I've seen a hardware failure as thorough as this that didn't involve smoke. The machine is utterly unrecoverable. So to get back into service, I decided to move the service to a different box. It's also a Solaris box, but is a Sun X4100. I have restored the directory tree from tape, but presume that the executables can't be run on the new platform. What is the quickest way to get mailman back in service? Bill McNutt -Original Message- From: mailman-users-bounces+mcnutt=utk@python.org [mailto:mailman-users-bounces+mcnutt=utk@python.org] On Behalf Of McNutt Jr, William R Sent: Wednesday, January 19, 2011 10:44 PM To: mailman-users@python.org Subject: [Mailman-Users] Make Install Fails I'm attempting to install Mailman on a Solaris 10 box and I am unable to get past make install. Sorry - not a unix guy, please use small words and explicit direction. Attached is the results of make install: Creating architecture independent directories... chmod o-r /usr/local/mailman/archives/private Creating architecture dependent directories... for f in mmsitepass newlist rmlist add_members list_members remove_members clone_member update arch sync_members check_db withlist check_perms find_member version config_list list_lists dumpdb cleanarch list_admins genaliases change_pw mailmanctl qrunner inject unshunt fix_url.py convert.py transcheck b4b5-archfix list_owners msgfmt.py show_qfiles discard rb-archfix reset_pw.py; \ do \ .././install-sh -c -m 755 ../build/bin/$f /usr/local/mailman/bin; \ done for f in crontab.in; \ do \ .././install-sh -c -m 644 $f /usr/local/mailman/cron; \ done for f in checkdbs mailpasswds senddigests gate_news nightly_gzip bumpdigests disabled; \ do \ .././install-sh -c -m 755 ../build/cron/$f /usr/local/mailman/cron; \ done for i in ./*.jpg ./*.png; \ do \ .././install-sh -c -m 644 $i /usr/local/mailman/icons; \ done for d in bin cron scripts tests; \ do \ dir=/usr/local/mailman/$d; \ .././install-sh -c -m 644 paths.py $dir; \ done .././install-sh -c -m 755 mailman /usr/local/mailman/scripts .././install-sh -c -m 644 sitelist.cfg /usr/local/mailman/data for p in email-2.5.8 JapaneseCodecs-1.4.11 KoreanCodecs-2.0.5; \ do \ gunzip -c ./$p.tar.gz | (cd . ; tar xf -); \ (cd ./$p ; umask 02 ; PYTHONPATH=/usr/local/mailman/pythonlib /usr/local/bin/python setup.py --quiet install --install-lib /usr/local/mailman/pythonlib --install-purelib /usr/local/mailman/pythonlib --install-data /usr/local/mailman/pythonlib); \ done /usr/local/lib/python2.6/distutils/dist.py:250: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) src/hangul.c:33: error: syntax error before numeric constant src/hangul.c:34: error: syntax error before numeric constant error: command 'gcc' failed with exit status 1 *** Error code 1 make: Fatal error: Command failed for target `install-packages' Current working directory /export/home/local/mailman/mailman-2.1.9/misc *** Error code 1 The following command caused the error: for d in bin cron misc Mailman scripts src templates messages tests; \ do \ (cd $d; make DESTDIR= install); \ done make: Fatal error: Command failed for target `doinstall' -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/mcnutt%40utk.edu -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Mailman complie errors again
Carl Zwanzig wrote: In a flurry of recycled electrons, Elvis Fernandes wrote: I am compiling mailman-2.1.5 on Solaris10 (SPARC) with gcc 3.3.2 When I do make install, I get the following fatal error: Mailman compiles itself. Are you compiling -python-? (That's what it looks like.) Sort of out of scope for this list, but you might want to take a look at: http://www.python.org/download/download_other.html /usr/include/sys/siginfo.h:432: error: parse error before k_siginfo_t /usr/include/sys/siginfo.h:437: error: parse error before '}' token In file included from /usr/include/sys/procset.h:24, from /usr/include/sys/wait.h:25, from /usr/include/stdlib.h:22, from /usr/local/include/python2.4/Python.h:39, from src/_japanese_codecs.c:12: Actually, this comes from the installation of the japanese codecs in mailman. The src/_japanese_codecs.c file is in the Mailman 2.1.5 distribution in the misc/JapaneseCodecs-1.4.10 directory. This is one of several compilations of c programs/modules in the Mailman make install process. Note however that Mailman 2.1.5 is not fully compatible with Python 2.4. I don't know if it would fix this problen, but if you're running Python 2.4 (or even if you're not) you would do well to install Mailman 2.1.6 or later. I see from a later post, Elvis 'fixed' the problem by falling back to Solaris 8. It's hard to say what's really going on in the case that fails, but it looks like there is some compatibility issue between the header files in /usr/include/sys/ and gcc 3.3.2 on Solaris 10. Presumably, the Python header file /usr/local/include/python2.4/Python.h is included in many Python modules and thus this whole include path was exercised during the original compile of Python for Solaris 10 (maybe with some other c compiler). -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] solaris10 sparc, check_perms messages
Hi, This is my first attempt to install Mailman-2.1.14 on solaris10/sparc. HAving installed pythin-2.6.2 and gcc4 I then successfull did y configure, gmake, gmake install. However, when I run bin/check_perms I receive below messages. -bash-3.00# ./bin/check_perms Traceback (most recent call last): File ./bin/check_perms, line 395, in module checkmail() File ./bin/check_perms, line 293, in checkmail mode = statmode(wrapper) File ./bin/check_perms, line 82, in statmode return os.stat(path)[ST_MODE] OSError: [Errno 2] No such file or directory: '/usr/local/mailman/mail/mailman' Can someone throw some light on this issue? In addition, if there is any howto or install document on internet for Mailman on solaris 10 then please let me know that too. Thanks. Aero -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] 2.1 Install Issues
DL On most directories, each file to be installed is enumerated DL and installed within a loop, however, for the icons directory, DL the Makefile seems to rely on wildcard matching. That may not DL be a valid assumption. Could be a GNU Make-ism. Maybe Solaris's make doesn't do wildcarding? (It's been too long since I've been on Solaris and I'm too tired right now to look it up. ;). DL On the line that installs the template subdirectories, the DL 'install-sh -c' line has '-m 644 instead of '-m 664', so that DL may also be a Makefile issue. That's correct for the files inside the template subdirs. DL As for the messages subdirectories, those appear to be created DL with simple calls to mkdir rather than install and they don't DL appear to have permissions being set at all. Actually, both should be created by the mkinstalldirs script in the top level source directory. I'll have to try to find some time to build Mailman on the Solaris box in the SF compile farm. -Barry -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] Problem with Installing Mailman 2.1.9 on Solaris 10
I'm having a problem with building mailman 2.1.9 on Solaris 10. No problems with configure or make, but make install breaks. Here is an extract: /opt/csw/lib/python2.3/distutils/dist.py:213: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) unable to execute cc: No such file or directory error: command 'cc' failed with exit status 1 *** Error code 1 make: Fatal error: Command failed for target `install-packages' Current working directory /usr/local/src/mailman-2.1.9/misc *** Error code 1 The following command caused the error: for d in bin cron misc Mailman scripts src templates messages tests; \ do \ (cd $d; make DESTDIR= install); \ done make: Fatal error: Command failed for target `doinstall' Does anyone see something here? Thanks! Dave Devereaux-Weber -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] solaris10 sparc, check_perms messages
upen wrote: This is my first attempt to install Mailman-2.1.14 on solaris10/sparc. HAving installed pythin-2.6.2 and gcc4 I then successfull did y configure, gmake, gmake install. However, when I run bin/check_perms I receive below messages. -bash-3.00# ./bin/check_perms Traceback (most recent call last): File ./bin/check_perms, line 395, in module checkmail() File ./bin/check_perms, line 293, in checkmail mode = statmode(wrapper) File ./bin/check_perms, line 82, in statmode return os.stat(path)[ST_MODE] OSError: [Errno 2] No such file or directory: '/usr/local/mailman/mail/mailman' Presumably this is because the mail wrapper has some other name, perhaps /usr/local/mailman/mail/mailman.exe, but why? Or is there no /usr/local/mailman/mail/* mail wrapper at all? Can someone throw some light on this issue? It may be a bug in check_perms. What options did you give to configure? What is the name of the mail wrapper file in /usr/local/mailman/mail/? In addition, if there is any howto or install document on internet for Mailman on solaris 10 then please let me know that too. Try http://www.google.com/#q=site:mail.python.org+inurl%3Amailman+solaris 10 -- Mark Sapiro m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] Upgrading from 2.0.5 to 2.0.8
I'm currently running Mailman 2.0.5 on a Solaris 8 box, and am planning on upgrading it to 2.0.8. I've noticed that there are patch files available on SourceForge for the patch command. After I apply the patch files and run the make and make install commands, will this erase the mailing list data and configuration directories? Or is there a provision in the make file for preserving these directories with mailing list data (e.g. data/, archives/private/, archives/public/, lists/, etc...)? Is there a FAQ on upgrading Mailman or a recommended plan for doing upgrades on a live installation that doesn't require the erasure of data? Thanks, Ash. -- Mailman-Users maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users
[Mailman-Users] Migration to new host new version
I need to migrate an existing Mailman install to a new machine running a newer version of Mailman. here are the details: OLD SERVER OS Solaris 7 Mailman version 2.0beta2 MailmanDir /usr/local/mailman NEW SERVER == OS Redhat 7.2 Mailman Version 2.0.11-1 MailmanDir /var/mailman What is the process to migrate to the new server? Can I just copy all the following files to the new server : archives data lists mail templates cron filters Mailman is new to me so any help would be appreciated. --Brian -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Re: [Mailman-Users] Solaris install problem
DS == David Sammons [EMAIL PROTECTED] writes: DS You have a module pwd in python2.../Modules/Setup DS which it´s commented, just uncomment that and DS re-compile python and if it´s necesary MM too... But the odd this is that with Python 2.2.1, it should auto-detect and automatically build the pwd module, without hacking Setup. If id doesn't do that, then there's a problem with the Python build process, but I didn't see that when I built it on SourceForge's compile farm. -Barry -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Re: [Mailman-Users] mailman-2.1.26: `make install` fails
On 06/05/2018 01:40 PM, Brent Kearney wrote: > Thanks Mark; its an old Sun Solaris 10 system. I’m not sure how to get the > version from make itself, but the GCC version is 3.4.3. Try make --version or if that doesn't work, make --help to see the options. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Mailman 2.1.[56] installation problem w/ KoreanCodecs
Christophe Kalt wrote: Hi all, make install dies with (cd ./$p ; umask 02 ; PYTHONPATH=/home/mailman/2.1.5/pythonlib /usr/local/bin/python setup.py --quiet install --install-lib /home/mailman/2.1.5/pythonlib --install-purelib /home/mailman/2.1.5/pythonlib --install-data /home/mailman/2.1.5/pythonlib); \ done /usr/local/lib/python2.4/distutils/dist.py:222: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) src/hangul.c:33: error: syntax error before numeric constant src/hangul.c:34: error: syntax error before numeric constant error: command 'gcc' failed with exit status 1 *** Error code 1 This happens with either 2.1.5 or 2.1.6, various versions of Python as well. It's on Solaris 10 with Sun's bundled gcc (/usr/sfw/bin/gcc). Rather furstrating. Is there an easy way to just skip these codecs i have no use for? You are using python2.4 which should support Chinese/Korean/Japanese codecs by itself. So, you need not, in principle, install Korean/Japanese codecs which are included in mailman distribution. You may want to try my language select patch in the SF tracker: http://sourceforge.net/tracker/index.php?func=detailaid=1298355group_id=103atid=300103 Or, you can go to the mailman_source/misc directory and find [Kk]orean notation in Makefile and paths.py and comment them out, then do the make install again. -- Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/ -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Solaris install problem
You have a module pwd in python2.../Modules/Setup which it´s commented, just uncomment that and re-compile python and if it´s necesary MM too... --- derf [EMAIL PROTECTED] escribió: I'm trying to install Mailman under Solaris 8 with the 8_recommended patches installed. I've downloaded, compiled, and installed Python 2.2.1. While attempting to configure Mailman 2.0.13, it gives the following error no matter what I do: # ./configure --with-username=mailman loading cache ./config.cache checking for --with-python... no checking for python... /usr/local/bin/python checking Python interpreter... /usr/local/bin/python checking Python version... 2.2.1 checking for a BSD compatible install... ./install-sh -c checking whether make sets ${MAKE}... yes checking for true... /usr/bin/true checking for --without-gcc... no checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether #! works in shell scripts... yes checking for --with-var-prefix... no checking for --with-username... mailman checking for mailman UID... Traceback (most recent call last): File conftest.py, line 1, in ? import pwd, string ImportError: No module named pwd cat: cannot open conftest.out configure: error: * No mailman user found! * Your system must have a mailman user defined * (usually in your /etc/passwd file). Please see the INSTALL * file for details. # My /etc/passwd has the following line in it: mailman:x:126:508::/apps/mailman:/usr/local/bin/tcsh The user and group have been created as per the instructions. I'm thinking that it's giving me this error message, but not because of the user issue, but because of something else. Does anybody have any idea what this could be? Thanks, Derf -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ _ Do You Yahoo!? La emoción e intensidad del deporte en Yahoo! Deportes. http://deportes.yahoo.com.mx -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Re: [Mailman-Users] mailman 2.1.11 install problem
Mark, Thank you. I did find the following messages: http://www.mail-archive.com/mailman-users@python.org/msg43260.html http://www.mail-archive.com/mailman-users@python.org/msg43262.html http://www.mail-archive.com/mailman-users@python.org/msg35645.html But nothing is working, they seem to make sure your env path is set right. This is what I have set: /usr/ccs/bin:/usr/sfw/bin:/usr/local/bin:/opt/csw/bin:/usr/bin:/usr/sbin I don't have access to Sun Studio compiler so that option is out for me. I'm using python from blastwave.org version 2.5.1 Mark Sapiro wrote: CJ Keist wrote: One more thing, I just tried to link cc to gcc but then get the following when I try to install: cc: language arch=v8 not recognized cc: src/_japanese_codecs.c: linker input file unused because linking not done cc: build/temp.solaris-2.10-sun4v-2.5/src/_japanese_codecs.o: No such file or directory error: command 'cc' failed with exit status 1 *** Error code 1 make: Fatal error: Command failed for target `install-packages' Current working directory /space/src/mailman-2.1.11/misc *** Error code 1 The following command caused the error: for d in bin cron misc Mailman scripts src templates messages tests; \ do \ (cd $d; make DESTDIR= install); \ done make: Fatal error: Command failed for target `doinstall' That's a twist. Usually it's the Korean codecs that cause a problem, but see http://mail.python.org/pipermail/mailman-users/2008-June/062275.html for some info on the solaris install. Also, there's lots more in the archives. you can try sifting through http://www.mail-archive.com/search?q=solaris+installl=mailman-users%40python.org or refining that search. -- C. J. Keist Email: [EMAIL PROTECTED] UNIX/Network ManagerPhone: 970-491-0630 Engineering Network ServicesFax: 970-491-5569 College of Engineering, CSU Ft. Collins, CO 80523-1301 All I want is a chance to prove 'Money can't buy happiness' -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] How to integrate HTDIG when installing with Yum
Rosenbaum, Larry M. wrote: I am about to install Mailman on a RHEL6 system using Yum. How do I integrate HTDIG with it? I have previously done HTDig integration on an install from source on Solaris, which involved a bunch of patching, I'm relatively new at Linux, but I suspect there is a better way to do it. The only htDig integration I am aware of is a set of patches originally developed by Richard Barrett and currently available in various versions at https://bugs.launchpad.net/mailman/+bug/266554, http://www.openinfo.co.uk/mm/index.html and http://www.msapiro.net/mm/. These patches are designed to be applied during a source install. Application to an installed Mailman, particularly a RHEL package, would at a minimum require some knowledge of the details of the patches to know what to apply to the various installed files, what new files to add, how to compile the htdig and mmsearch wrappers and so forth. The better way would be for someone familiar with the Red Hat package, the htDig patches and Red Hat packaging in general to create a Red Hat Mailman RPM with htDig integration installed and then people could just install that RPM. As far as I know, no such RPM exists. My advice is if you are not going to enable SELinux on your RHEL server, forget the RedHat Package and install Mailman from source with the patches as you did on Solaris. If you are going to enable SELinux, consider still installing Mailman from source and including the Red Hat patch you will find linked from the FAQ article at http://wiki.list.org/x/KYCB or a more recent version if you can find one, and then struggling through the security policy issues that may remain. -- Mark Sapiro m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Mailman on Solaris8
On Fri, 4 May 2001, Barry A. Warsaw wrote: LM == Len Merikanto [EMAIL PROTECTED] writes: | choose_boundary | hostid = socket.gethostbyname(socket.gethostname()) | error: host not found LM Hostname is ok. domain name is ok. LM What can this problem be? gethostname or gethostbyname is misconfigured? ;) Try this in straight Python: snip snip % /usr/bin/python Python 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux (egcs- on linux-i386 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam from socket import * gethostname() 'anthem' gethostbyname(gethostname()) '192.168.1.2' snip snip Do you get the hostname and IP address as expected? If not, then it's a DNS, NIS, or /etc/hosts problem (i.e. a system configuration problem and not Python or Mailman). -Barry Retried everything if i do everything from the scratch. ie install mailman and do not upgrade it. just install from scratch it works. then when i copt all files from mailman dir on freebsd move them to solaris reisntall mailman like upgrade it everything goes wrong. and i get that error. also tried only just copy lists from lists dir of freebsd mailman and the mm_cfg.py from Mailman dir into solaris i get it halfly working. i can see listinfo but cannot admin nor do anything to lists. Len Merikanto, Phone: +358968691950 Tietoverkot Oy Mobile: +358409008494 Munkkisaarenkatu 2 Fax:+358968691935 00150 Helsinki, Finland -- Mailman-Users maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users
[Mailman-Users] problem upgrading from 2.0.11 to 2.1.8 on Solaris 9 with Python 2.4
Hi everyone, I'm updating a mailman installation which is currently 2.0.11 running under Solaris 9 on a Sun Sparc system I've compiled mailman-2.1.8 without a problem but when I went to install it, it's aborted part-way through the update process with this error: start Updating Mailman 2.0 pending_subscriptions.db database Traceback (most recent call last): File bin/update, line 789, in ? errors = main() File bin/update, line 713, in main update_pending() File bin/update, line 592, in update_pending addr = data[0].address AttributeError: 'str' object has no attribute 'address' gmake: *** [update] Error 1 stop I made sure that the web server and mail server are turned off before trying to install the new version of the software... Could this be an unknown problem when updating from 2.0.11, or is it something more insidious - perhaps a problem with Python itself? The machine used to have Python 2.2 installed but before starting the mailman upgrade I upgraded Python from 2.2 to 2.4. Maybe backing that out by re-installing Python 2.2 will help? Regards, Craig. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] mailman install problem - Solaris
The esteemed Piniella, David A has said: OK, for giggles, I updated python to 2.5 from 2.3.5, and now configure does this: checking for group name mailman... Traceback (most recent call last): File conftest.py, line 1, in module import grp ImportError: ld.so.1: python: fatal: libgcc_s.so.1: open failed: No such file or directory cat: cannot open conftest.out configure: error: * No mailman group found! * Your system must have a mailman group defined * (usually in your /etc/group file). Please see the INSTALL * file for details. bash-3.00# cat /etc/group | grep mailman mailman::100:mailman bash-3.00# ...what? David, at this point I'm going to bow out and let Mark do the talking. The only real contribution I had to make was to flag the /usr/bin/cc issue in Solaris, which is is something that bites almost everyone sooner or later. Hank -- Hank van Cleef ([EMAIL PROTECTED], [EMAIL PROTECTED]) 1986 420SEL A stranger in paradise (Fremont Co. Wyoming) 1986 GMC 1500 6.2 diesel pickup Seen one, seen them all -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] mailman-2.1.9 on Solaris 8: /bin/sh: /bin/update: cannot execute
I'm having trouble with # make install The last few lines of output are: Compiling /usr/local/mailman/Mailman/htmlformat.py ... Compiling /usr/local/mailman/Mailman/i18n.py ... Compiling /usr/local/mailman/Mailman/versions.py ... /bin/sh: bin/update: cannot execute make: *** [update] Error 1 # The file bin/update contained: #! @PYTHON@ in the shebang line. I changed this to: #!/usr/local/bin/python and this allows me to execute /bin/update from the command line but the make install still fails so I must barking up the wrong tree. Python version is 2.3.3 Any ideas appreciated. -- View this message in context: http://www.nabble.com/mailman-2.1.9-on-Solaris-8%3A--bin-sh%3A--bin-update%3A-cannot-execute-tf4604696.html#a13148194 Sent from the Mailman - Users mailing list archive at Nabble.com. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] Make Install Fails
I'm attempting to install Mailman on a Solaris 10 box and I am unable to get past make install. Sorry - not a unix guy, please use small words and explicit direction. Attached is the results of make install: Creating architecture independent directories... chmod o-r /usr/local/mailman/archives/private Creating architecture dependent directories... for f in mmsitepass newlist rmlist add_members list_members remove_members clone_member update arch sync_members check_db withlist check_perms find_member version config_list list_lists dumpdb cleanarch list_admins genaliases change_pw mailmanctl qrunner inject unshunt fix_url.py convert.py transcheck b4b5-archfix list_owners msgfmt.py show_qfiles discard rb-archfix reset_pw.py; \ do \ .././install-sh -c -m 755 ../build/bin/$f /usr/local/mailman/bin; \ done for f in crontab.in; \ do \ .././install-sh -c -m 644 $f /usr/local/mailman/cron; \ done for f in checkdbs mailpasswds senddigests gate_news nightly_gzip bumpdigests disabled; \ do \ .././install-sh -c -m 755 ../build/cron/$f /usr/local/mailman/cron; \ done for i in ./*.jpg ./*.png; \ do \ .././install-sh -c -m 644 $i /usr/local/mailman/icons; \ done for d in bin cron scripts tests; \ do \ dir=/usr/local/mailman/$d; \ .././install-sh -c -m 644 paths.py $dir; \ done .././install-sh -c -m 755 mailman /usr/local/mailman/scripts .././install-sh -c -m 644 sitelist.cfg /usr/local/mailman/data for p in email-2.5.8 JapaneseCodecs-1.4.11 KoreanCodecs-2.0.5; \ do \ gunzip -c ./$p.tar.gz | (cd . ; tar xf -); \ (cd ./$p ; umask 02 ; PYTHONPATH=/usr/local/mailman/pythonlib /usr/local/bin/python setup.py --quiet install --install-lib /usr/local/mailman/pythonlib --install-purelib /usr/local/mailman/pythonlib --install-data /usr/local/mailman/pythonlib); \ done /usr/local/lib/python2.6/distutils/dist.py:250: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) src/hangul.c:33: error: syntax error before numeric constant src/hangul.c:34: error: syntax error before numeric constant error: command 'gcc' failed with exit status 1 *** Error code 1 make: Fatal error: Command failed for target `install-packages' Current working directory /export/home/local/mailman/mailman-2.1.9/misc *** Error code 1 The following command caused the error: for d in bin cron misc Mailman scripts src templates messages tests; \ do \ (cd $d; make DESTDIR= install); \ done make: Fatal error: Command failed for target `doinstall' -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] Mailman 2.0.13
Hi there!!! I´m trying to install MM2.0.9, but when I run: ./configure --with-python=/path/to/python I received the next message: Checking for mailman UID...Tracebak(most recent call last): File conftest.py, line 1, in ? import pwd, string ImportError: ld.so.1: /usr/python/bin/python: fatal: libgcc_s.so.1: open failed: No such file or directory cat: cannot open conftest.out configure: error: *** No mailman user found! *** Your system must have a mailman user defined *** (usually in your /etc/passwd file). Please see the INSTALL *** file for details I´ve create the user mailman and group I´m using solaris 7 and python 2.1 Any ideas Thanks _ Do You Yahoo!? La emoción e intensidad del deporte en Yahoo! Deportes. http://deportes.yahoo.com.mx -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
[Mailman-Users] 2.1 Install Issues
Hi, My server is running Solaris 2.8 with Python 2.2.2. I just downloaded and installed the 2.1 tarball and I've run into a few issues. Please point me to the correct FAQ if I've done something wrong, otherwise, please add them to the list of things to be addressed: - Not all of the icons were copied over from the source directory into the ~mailman/icons directory during the 'make install'; only the GNU icon was, neither the Python nor the mailman icon were. - All of the subdirectories under ~mailman/{messages,templates} were created with permissions 02755 instead of 02775. - When I create a list and try to change the 'description' under the 'general options', the change is ignored. - When I submit any change under the 'general options', it now pops me back to the authentication page (it didn't do this under 2.0.13). Thanks for any guidance or updates! David -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Multi-language support
Jeroen Valcke wrote: Of course I'm on Solaris and the .mo file is missing. :-( Is there another way to do translations? Is there somewhere a reference. Here is a patch for srcdir/messages/Makefile.in. You can edit Makefile directly and skip configure. --- Makefile.in.origMon Jun 23 19:41:09 2003 +++ Makefile.in Mon Jun 23 19:42:23 2003 @@ -106,7 +106,7 @@ po=$(srcdir)/$$d/LC_MESSAGES/mailman.po; \ mo=$(srcdir)/$$d/LC_MESSAGES/mailman.mo; \ dir=$(DESTDIR)$(prefix)/messages/$$d/LC_MESSAGES; \ - $(INSTALL) -m $(FILEMODE) $$po $$mo $$dir; \ + $(INSTALL) -m $(FILEMODE) $$mo $$dir; \ done mofiles: $(MOFILES) == Cheers, -- Tokio Kikuchi tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/ -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] No mail is going out
I'm new to this list - working on a solaris install. I struggled for a while with the same symptoms as you on 2.1.3 . What clinched it for me was creating the list mailman - my test list only worked after doing this. Look at the section Create a site-wide mailing list in INSTALL hth ac - Original Message - From: Thomas Spuhler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 29, 2003 4:38 PM Subject: [Mailman-Users] No mail is going out -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/angusc%40blueyonder.co. uk -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Problem installing on Solaris 8
Steve Garcia wrote: However, when I got to 'make install' it seems there is a problem. The install process seems to want to call cc, even though it was not specified or used in either 'configure' or 'make'. Here is the error I get: snip The error message from cc is the message that you get because the Sun compiler is not installed. But why is it being called? I've tried taking /usr/ucb out of the path so that there is no cc binary available, but then I get the error that there is no cc. Did you try this *before* running configure? I.e. did you rerun configure after taking /usr/ucb out of the path? -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Problem with Installing Mailman 2.1.9 on Solaris
Hank, I finally succeeded in getting python and mailman to build and install. There were a series of issues. I had an error in the path for the root user, and I had an error in PYTHONHOME for my user. Since I was using the standard location for python, I removed PYTHONHOME, and I fixed the path for root (used for make install for python). Thanks for your patience! Dave [EMAIL PROTECTED] wrote: -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] What is really required to go from 2.0.x to 2.1.y?
I am almost hesitant to post this email at all, because I am so amazingly confused at what is going on I half-think I'm imagining it. I have a Mailman 2.0.12 instance (not 2.0.5 as I previously thought, sorry Mark) running on a Solaris 8 SPARC server, which I'd planned to move onto a Linux RHEL4 x86 server using Mailman 2.1.9. In both cases, Mailman would be installed into /home/mailman to minimize configuration changes. In both cases, the hostname of the server would be list.bowdoin.edu. In both cases, /home/mailman would actually be served via NFS. And, oh yeah, I'm switching MTAs too (Postfix to sendmail). So, I made a copy of /home/mailman (which is actually on a NetApp) in case I had to revert my migration from Solaris to Linux. This was my workflow on the Linux server: * mount a fresh copy of /home/mailman (which is Mailman 0.12 from Solaris) * rm -rf /home/mailman/Mailman (because I'm switching MTAs) * configure Mailman 2.1.9 using the following string: ./configure --prefix=/home/mailman --with-urlhost=list.bowdoin.edu --with-mailhost=list.bowdoin.edu --with-cgi-gid=apache --with-mail-gid=mail * run make install * watch as make install runs bin/update, it fails on a couple of lists. Remove the offending lists, re-run bin/update, watch it run successfully. * rm /home/mailman/locks/* ; rm /home/mailman/qfiles/* ; rm /home/mailman/data/pending_subscriptions.db just to make sure * run bin/check_perms -f, watch it run successfully. * run bin/genaliases, paste output into /etc/aliases, run newaliases * run bin/mm_sitepass * run bin/mailmanctl start The problem is when I run bin/list_members on a list of whose membership I know well. Amazingly, when I run that command, I see list members from around 2-3 years ago; I do not see list members whom I absolutely know are on that list. And then, well, I get so confused I can hardly stand. :) What on earth is going on here? I have seen URLs like http://acd.ucar.edu/~fredrick/linux/mailman/upgrading.html and http://www.mail-archive.com/mailman-users@python.org/msg13279.html with hints for migrating server and versions at the same time; specifically running the fix_url command to update URLs for archives. But, I'm keeping the same hostname (list.bowdoin.edu) from both Solaris and Linux, so I don't bother with this. Does anyone have the faintest idea of what's going on? It's like I'm seeing a ghost. I know that copy of /home/mailman is, pre-upgrade, the same from the Sun server to the Linux server because there are unique files in there which I've placed myself. FWIW, I just made *another* copy of the /home/mailman directory from the Sun server, mounted it on the Linux server and DID NOT UPGRADE IT. Lo and behold, when I run bin/list_members, I see _correct_ users, _not old ones_. Thoughts? Am I going crazy? Thanks, Chris -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Mailman installation on Solaris 10
Hank van Cleef wrote: I went through the Mailman web page to find a download site. Going to Sourceforge offers only 2.12.rc1 unless you click stable on the first screen. I was unable to download either 2.1.11 or 2.1.12 from Sourceforge. That site links to Superb Hosting, which appears to be unresponsive. I had to get the software from the alternative GNU site. It was really slow when I just tried it, but worked eventually, You can select an alternate mirror on SF. Both of the Solaris installs include Python 2.4.4. Whether the Solaris build is something resembling a full build or not, I don't know, but will soon find out unless someone has checked this out before me. In the past, getting anything resembling a full build of Python on Solaris has been a labor of love (porting the build scripts), and I'd prefer not to have to build and install another version of Python. Configure requires distutils be available. It checks that it can import distutils.errors import distutils.sysconfig and also checks for the presence of the Python.h C header file, normally in /usr/include/pythonx.x/Python.h I see Mark Sapiro's mail about incompatibility between 2.1.12rc1 and Python 2.4. Good. My production server is running 2.1.12rc1 and Python 2.4.3 with the addition of the one patch to Scrubber.py. It is just by coincidence that a post that triggered that problem arrived the same day I upgraded. Just lucky I guess. I plan to upgrade that server soon to Python 2.6.1. I've done everything but 'make install'. It's a good thing I didn't do it before installing 2.1.12rc1 or that issue would have lurked until you found it wink. My production installations have to have an archive search (not part of Mailman). In the past, we've used htDig 3.1.6, which is decidedly long in tooth, particularly as it requires gcc/g++ 2.95.3 to build (will not build with gcc 3 or above). For one installation, I'll filch the already-built binaries. I have installed htDig from CVS http://htdig.cvs.sourceforge.net/htdig/ with gcc 4.1.1. However, I'll reopen the question of a better (and currently-maintained) search engine. I'm aware of a mail list discussing using Mhonarc and Mnogosearch, but nothing since the last posts to that site (early 2006). Is there something newer and better, or is doing the porting work needed to use Mnogosearch the best alternative available? One issue with the current 2.1.9 installation is performance while searching archives with htDig. We currently have 5gb of archives, and archive searches are very popular with our listers. I have picked up the patches for htDig-Mailman integration for 2.1.11 and assume I'm on my own for 2.1.12, for the present. The patches will apply with some 'offsets' and one 'fuzz'. If you want a set that applies clean you can get them at http://www.msapiro.net/mm/index.patch.2.1.12 and http://www.msapiro.net/mm/htdig.patch.2.1.12 (mirrored at http://fog.ccsf.edu/~msapiro/mm/index.patch.2.1.12 and http://fog.ccsf.edu/~msapiro/mm/htdig.patch.2.1.12) There are also two other patches in that directory named 'nightly_htdig' and 'rundig' which apply after the first two and which implement updating the htDig database when possible instead of rebuilding it from scratch every time. Unless somebody tells me otherwise, I'll assume that I'm the first installing 2.1.12 on Solaris 10. That will go on the later (current rev) machine. Worth noting that on Solaris 10 10/08, it appears that sun has included the Studio 12 development system, with the c compiler in /usr/bin/cc. While our old nemesis, the BSD stub /usr/bin/cc is still there, a PATH that has /usr/bin before /usr/ucb should find a working cc. The config.pck files currently on the production system are for 2.1.9. If I build 2.1.11 and 2.1.12 as fresh builds and installs (no upgrade) and later copy my 2.1.9 config.pck files into them, will Mailman detect and correct the configuration? Yes. It will detect that they are old and convert them on the fly. In theory, it will even convert config.db files from Mailman 1.x, but I won't guarantee that that one is error free. -- Mark Sapiro m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
[Mailman-Users] ./configure brakes on mailman 2.0.12
Hello there folks: I am trying to install mailman in a Sun Solaris V9 Sparc Ultra 5 desktop. I have Python 2.2.1 install and running fine. When I try to execute the command ./configure --prefix=/usr/local/mailman it works for a few seconds and then brakes with this error: loading cache ./config.cache checking for --with-python... no checking for python... /usr/local/bin/python checking Python interpreter... /usr/local/bin/python checking Python version... 2.2.1 checking for a BSD compatible install... ./install-sh -c checking whether make sets ${MAKE}... yes checking for true... /usr/bin/true checking for --without-gcc... no checking for gcc... no checking for cc... cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... no checking whether cc accepts -g... yes checking whether #! works in shell scripts... yes checking for --with-var-prefix... no checking for --with-username... mailman checking for mailman UID... 1003 checking for --with-groupname... mailman checking for mailman GID... 507 checking permissions on /usr/local/mailman... okay checking for mail wrapper GID... 1 checking for CGI wrapper GID... 60001 checking for CGI extensions... no ./configure: test: unknown operator == I have installed and configure mailman 2.0.11 and I am trying to upgrade. I have stoped the old mailman version before I try to install the newone but that still won't work. Any thoughts??? -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
[Mailman-Users] Mailman 2.1.[56] installation problem w/ KoreanCodecs
Hi all, make install dies with (cd ./$p ; umask 02 ; PYTHONPATH=/home/mailman/2.1.5/pythonlib /usr/local/bin/python setup.py --quiet install --install-lib /home/mailman/2.1.5/pythonlib --install-purelib /home/mailman/2.1.5/pythonlib --install-data /home/mailman/2.1.5/pythonlib); \ done /usr/local/lib/python2.4/distutils/dist.py:222: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) src/hangul.c:33: error: syntax error before numeric constant src/hangul.c:34: error: syntax error before numeric constant error: command 'gcc' failed with exit status 1 *** Error code 1 This happens with either 2.1.5 or 2.1.6, various versions of Python as well. It's on Solaris 10 with Sun's bundled gcc (/usr/sfw/bin/gcc). Rather furstrating. Is there an easy way to just skip these codecs i have no use for? -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] mailman 2.1.11 install problem
Hello, I'm upgrading from mailman 2.1.8 to 2.1.11. Running into a install problem, here is what I'm doing: ./configure --prefix=/userM/mail-services/mailman2 --with-python=/opt/csw/bin/python --with-cgi-gid=15 make I'm using gcc 3.4.3 on solaris 10 sparc platform This is the error I'm getting when I do make install unable to execute cc: No such file or directory error: command 'cc' failed with exit status 1 *** Error code 1 make: Fatal error: Command failed for target `install-packages' Current working directory /space/src/mailman-2.1.11/misc *** Error code 1 The following command caused the error: for d in bin cron misc Mailman scripts src templates messages tests; \ do \ (cd $d; make DESTDIR= install); \ done make: Fatal error: Command failed for target `doinstall' Had something similar when installing 2.1.8 and back then I just renamed /usr/ucb/cc to /usr/ucb/cc.otw But now it looks like it wants cc for some reason??? -- C. J. Keist Email: [EMAIL PROTECTED] UNIX/Network ManagerPhone: 970-491-0630 Engineering Network ServicesFax: 970-491-5569 College of Engineering, CSU Ft. Collins, CO 80523-1301 All I want is a chance to prove 'Money can't buy happiness' -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] configure mailman on Solaris 8
At 13:48 05/09/2002 -0700, George Crum wrote: Hello, I'm having trouble getting configure to run on a Solaris 8 server. Here is the configure command that I issue and the resulting error. ./configure --prefix=/export/home/mailman --with-mail-gid=25 --with-cgi-gid=1004 checking for --with-var-prefix... no checking for --with-username... mailman checking for mailman UID... Traceback (most recent call last): File conftest.py, line 1, in ? import pwd, string ImportError: No module named pwd cat: cannot open conftest.out configure: error: * No mailman user found! * Your system must have a mailman user defined * (usually in your /etc/passwd file). Please see the INSTALL * file for details. I have created the user mailman and a group called mailman. Plus created the home directory /export/home/mailman. Has anyone out there compiled Mailman on Solaris 8? - George Crum This looks line a python installation problem and not a Mailman specific problem. pwd is a standard python module used to access the password database on Unix systems and the error message you are getting is python saying that the module cannot be imported. You can confirm (or deny) this proposition by running python from the command line and trying to use pwd. For instance on my test system I get: [testsys!/u/barrett]:python Python 1.5.2 (#12, Oct 15 1999, 16:24:36) [C] on sunos5 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam import pwd pwd.getpwnam('barrett') ('barrett', 'x', 500, 101, 'Richard Barrett', '/u/barrett', '/usr/local/bin/bash') pwd.getpwnam('mailman') ('mailman', 'x', 601, 601, 'Mailman Maillist Manager account', '/u/mailman', '/usr/local/bin/bash') If you get an import failure after typing the import pwd line then you need to look to your python installation for the problem. -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Re: [Mailman-Users] Mailman on Solaris-based web server
At 4:42 PM -0400 2004-10-18, John Wheaton wrote: I am curious whether Mailman will work on Solaris, Yes, it will work on Solaris. See http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq01.024.htp for some information on this topic. and how best to integrate it with our current web site. That's a tougher question. How do you want it to integrate with your web site? Can Mailman be installed alongside our website? In other words, is it self contained? Yes. Can its bin and lib files, for example, be installed in our web directory, and still allow Mailman to function? Do you mean as an unprivileged user? No, that won't work. Mailman needs to be installed as it's own userid/groupid, which needs to be the same that will be used by the web server and the mail server, at least for the Mailman-related functions. Our other possible solution is to host the mailing lists on one of our own Linux servers, if the app cannot be installed on our host's server. Since we run Exchange Server, I am trying to simplify matters by hosting the mailing lists offsite, though. You're running Exchange Server on Linux?!? If you've got a Linux box somewhere and you have privileged access to that machine, you can install and run Mailman there. The Linux box should have the software you will need to interface with Mailman, typically something like Apache (for the web server) and sendmail or postfix (for the mail server). Exchange would be something run somewhere else, presumably on a Windows server of some sort. -- Brad Knowles, [EMAIL PROTECTED] Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 SAGE member since 1995. See http://www.sage.org/ for more info. -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Re: [Mailman-Users] Mailman on Solaris-based web server
On 19 Oct 2004, at 19:50, Brad Knowles wrote: At 4:42 PM -0400 2004-10-18, John Wheaton wrote: I am curious whether Mailman will work on Solaris, Yes, it will work on Solaris. See http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq01.024.htp for some information on this topic. and how best to integrate it with our current web site. That's a tougher question. How do you want it to integrate with your web site? Can Mailman be installed alongside our website? In other words, is it self contained? Yes. Can its bin and lib files, for example, be installed in our web directory, and still allow Mailman to function? Do you mean as an unprivileged user? No, that won't work. Mailman needs to be installed as it's own userid/groupid, which needs to be the same that will be used by the web server and the mail server, at least for the Mailman-related functions. Not so. But you do need to specify what gid the MTA will run the MM delivery script under and what gid the Web Server will run Mailman's cgi scripts as. Our other possible solution is to host the mailing lists on one of our own Linux servers, if the app cannot be installed on our host's server. Since we run Exchange Server, I am trying to simplify matters by hosting the mailing lists offsite, though. You're running Exchange Server on Linux?!? If you've got a Linux box somewhere and you have privileged access to that machine, you can install and run Mailman there. The Linux box should have the software you will need to interface with Mailman, typically something like Apache (for the web server) and sendmail or postfix (for the mail server). Exchange would be something run somewhere else, presumably on a Windows server of some sort. -- Brad Knowles, [EMAIL PROTECTED] Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin (1706-1790), reply of the Pennsylvania Assembly to the Governor, November 11, 1755 SAGE member since 1995. See http://www.sage.org/ for more info. -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
[Mailman-Users] Syntax error encountered on install
Hi, Any help with the following would be greatly appreciated: I'm trying to install Mailman 2.1.1 My python executable is in /usr/local/bin/python I have configured with parameters: ./configure --prefix=/sw/mailman/2.1.1 --with-mail-gid=mail --with-cgi-gid=www I am using solaris 8. When I run the command make install it gives the following: Creating language directory /sw/mailman/2.1.1/messages/ru/LC_MESSAGES Creating language directory /sw/mailman/2.1.1/messages/sv/LC_MESSAGES for f in ./test*.py ./*Base.py; \ do \ /usr/local/bin/install -c -m 644 $f /sw/mailman/2.1.1/tests; \ done for f in ./onebounce.py ./fblast.py; \ do \ /usr/local/bin/install -c -m 755 $f /sw/mailman/2.1.1/tests; \ done for d in bounces msgs; \ do \ (cd $d; make install); \ done for f in ./*.txt; \ do \ /usr/local/bin/install -c -m 644 $f /sw/mailman/2.1.1/tests/bounces; \ done for f in ./*.txt; \ do \ /usr/local/bin/install -c -m 644 $f /sw/mailman/2.1.1/tests/msgs; \ done /usr/local/bin/python -c 'from compileall import *; compile_dir(/sw/mailman/2.1.1/Mailman)' File string, line 1 from ^ SyntaxError: invalid syntax *** Error code 1 make: Fatal error: Command failed for target `doinstall' I get the same syntax error if I run /usr/local/python -c 'from compileall import *' at the command line. This seems to indicate it's a problem with Python. Any advice would be great. Cheers. JB. -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] mailman-2.1.9 on Solaris 8: /bin/sh: /bin/update:cannot execute
gregben wrote: I'm having trouble with # make install The last few lines of output are: Compiling /usr/local/mailman/Mailman/htmlformat.py ... Compiling /usr/local/mailman/Mailman/i18n.py ... Compiling /usr/local/mailman/Mailman/versions.py ... /bin/sh: bin/update: cannot execute make: *** [update] Error 1 # The file bin/update contained: #! @PYTHON@ in the shebang line. Something is wrong here, because make install should be running bin/update from the installation ($prefix) directory, and all the scripts in that directory should have been installed from configure's build/ directory and should have had the @PYTHON@ in the shebang line changed to an actual path by configure. I changed this to: #!/usr/local/bin/python and this allows me to execute /bin/update from the command line but the make install still fails so I must barking up the wrong tree. /bin/update ? or do you mean $prefix/bin/update ? bin/update is the very last thing run by make install, so if make install fails in running bin/update, and you fix the problem and run bin/update successfully, you are done. How does make install fail the second time? The same way? There are 3 bin/update files (if you run configure and make correctly) 1) bin/update in the unpack-configure directory with a #! @PTHHON@ shebang 2) build/bin/update in the unpack-configure directory created by configure with a proper path in the shebang 3) bin/update in the installation ($prefix) directory installed from 2) by make install. It is 3) that is run at the end of make install. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
[Mailman-Users] mailman 2.1.11 install problem
One more thing, I just tried to link cc to gcc but then get the following when I try to install: cc: language arch=v8 not recognized cc: src/_japanese_codecs.c: linker input file unused because linking not done cc: build/temp.solaris-2.10-sun4v-2.5/src/_japanese_codecs.o: No such file or directory error: command 'cc' failed with exit status 1 *** Error code 1 make: Fatal error: Command failed for target `install-packages' Current working directory /space/src/mailman-2.1.11/misc *** Error code 1 The following command caused the error: for d in bin cron misc Mailman scripts src templates messages tests; \ do \ (cd $d; make DESTDIR= install); \ done make: Fatal error: Command failed for target `doinstall' --- Hello, I'm upgrading from mailman 2.1.8 to 2.1.11. Running into a install problem, here is what I'm doing: ./configure --prefix=/userM/mail-services/mailman2 --with-python=/opt/csw/bin/python --with-cgi-gid=15 make I'm using gcc 3.4.3 on solaris 10 sparc platform This is the error I'm getting when I do make install unable to execute cc: No such file or directory error: command 'cc' failed with exit status 1 *** Error code 1 make: Fatal error: Command failed for target `install-packages' Current working directory /space/src/mailman-2.1.11/misc *** Error code 1 The following command caused the error: for d in bin cron misc Mailman scripts src templates messages tests; \ do \ (cd $d; make DESTDIR= install); \ done make: Fatal error: Command failed for target `doinstall' Had something similar when installing 2.1.8 and back then I just renamed /usr/ucb/cc to /usr/ucb/cc.otw But now it looks like it wants cc for some reason??? -- C. J. Keist Email: [EMAIL PROTECTED] UNIX/Network ManagerPhone: 970-491-0630 Engineering Network ServicesFax: 970-491-5569 College of Engineering, CSU Ft. Collins, CO 80523-1301 All I want is a chance to prove 'Money can't buy happiness' -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
[Mailman-Users] Cannot install Mailman 2.1: bin/update fails (Solaris 9, Python 2.2.2)
Hi, I don't succeed in installing Mailman 2.1. 'make install' fails with the following messages: # make install [...] Compiling /home/mailman/Mailman//Mailman/versions.py ... bin/update: downgrade is detected), nothing will be done.^J^J-h/--help^J Print this text and exit.^J^JUse this script to help you update to the latest release of Mailman from^Jsome previous version. It knows about versions back to 1.0b4 (?).^J: not found bin/update: Perform all necessary upgrades.^J^JUsage: %(PROGRAM)s [options]^J^JOptions:^J-f/--force^JForce running the upgrade procedures. Normally, if the version number^Jof the installed Mailman matches the current version number (or a^J: not found bin/update: import: not found bin/update: import: not found bin/update: import: not found bin/update: import: not found bin/update: import: not found bin/update: import: not found bin/update: import: not found bin/update: import: not found bin/update: import: not found bin/update: from: not found bin/update: from: not found bin/update: from: not found bin/update: from: not found bin/update: from: not found bin/update: from: not found bin/update: from: not found bin/update: from: not found bin/update: FRESH: not found bin/update: NOTFRESH: not found bin/update: syntax error at line 58: `(' unexpected make: *** [update] Error 2 # I tried with Mailman 2.1 tarballs from list.org and from sourceforge. For 'make' I used solaris make and gnu make (3.80). Python is a freshly installed Python 2.2.2. Compiler is gcc 2.95.3. There is no Mailman installed on the system yet. It seems to me, that there might be a Python syntax error in bin/update, but since I don't know Python, I'm not sure about it. Any hints, where the problem could come from or where I could start to look for a solution? Thanks in advance Frank Thommen ** Problems, questions, feedback? Mail to [EMAIL PROTECTED] ** -- Frank Thommen, IT Support Group, D-INFK, ETH Zuerich Mail: [EMAIL PROTECTED]; Phone: +41-1-63 27208 (Mon-Thu) Web: http://www.isg.inf.ethz.ch/ -- -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] problem upgrading from 2.0.11 to 2.1.8 on Solaris 9with Python 2.4
Kralizec Craig wrote: I'm updating a mailman installation which is currently 2.0.11 running under Solaris 9 on a Sun Sparc system I've compiled mailman-2.1.8 without a problem but when I went to install it, it's aborted part-way through the update process with this error: start Updating Mailman 2.0 pending_subscriptions.db database Traceback (most recent call last): File bin/update, line 789, in ? errors = main() File bin/update, line 713, in main update_pending() File bin/update, line 592, in update_pending addr = data[0].address AttributeError: 'str' object has no attribute 'address' gmake: *** [update] Error 1 stop I made sure that the web server and mail server are turned off before trying to install the new version of the software... Could this be an unknown problem when updating from 2.0.11, or is it something more insidious - perhaps a problem with Python itself? I'm not sure if this is a Mailman issue or if there is some specific problem with your data/pending.db file. I would have to research the actual pending.db format for 2.0.11 to answer this for sure, but I think Mailman is OK. update is trying to convert a pending subscription request from 2.0.11 format to the current pending.pck per list format and at the point of the error, data[0] is supposed to be a UserDesc instance and it is a string. If you are willing to abandon any unconfirmed subscribe, unsubscribe, address change or delivery re-enable requests or confirmation of held messages (I think they'll still be in the admindb web interface), you can just rename or move aside the data/pending.db file and rerun 'bin/update' which is the only part of the install that didn't complete. The machine used to have Python 2.2 installed but before starting the mailman upgrade I upgraded Python from 2.2 to 2.4. Maybe backing that out by re-installing Python 2.2 will help? I don't think so. -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Linux Preferred?
The esteemed Brad Knowles has said: on 1/27/09 9:07 AM, Tim Ferguson said: Is there a preferred flavor of Linux that Mailman seems to work and install the best with? I'm trying Ubuntu, but the apt-get feature is getting hung up on trying to find the repositories and can't, so, until I get that fixed I just thought I'd ask. If you're installing from our source, then most any recent version of Linux should work fine. If you're installing from someone else's binary packages, then you are dependent on the person doing the packaging -- they have to keep up with our releases, back-port patches, etc On python.org, where we host all the official mailman-* mailing lists, Debian works just fine. But we run the version from our own source, and not the binary packaged version. I have to put in another plug for building Mailman from sources vs. doing a prepackaged install built by somebody else. I have just built and installed Mailman 2.1.11 and 2.1.12rc1 on Solaris 10 following the installation guide at http://www.gnu.org/software/mailman/mailman-install/index.html If you've got an appropriate Python installed and have a compiler on the build machine, actually configuring, building, and installing the Mailman application is the easiest part of the job. The remainder are very straightforward systems administration tasks to get the mailman account set up properly and get correct permissions on everything. We also built Mailman 2.1.9 on a Debian machine a couple of years ago. Another guy did the work and had problems because he did not follow the Installation Guide completely. I was asked to audit and correct things, which involved no more than correcting group name and permissions as outlined in the Installation Guide. I have always been an advocate for building from source rather than using prepackaged as the default choice for add-on programs. Only when I trust a pre-built package (as with the sendmail and bind in the Solaris distribution) do I use a prepackaged version. Hank -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9
Re: [Mailman-Users] solaris10 sparc, check_perms messages
Hi, On Sat, Dec 11, 2010 at 9:33 PM, Mark Sapiro m...@msapiro.net wrote: upen wrote: This is my first attempt to install Mailman-2.1.14 on solaris10/sparc. HAving installed pythin-2.6.2 and gcc4 I then successfull did y configure, gmake, gmake install. However, when I run bin/check_perms I receive below messages. -bash-3.00# ./bin/check_perms Traceback (most recent call last): File ./bin/check_perms, line 395, in module checkmail() File ./bin/check_perms, line 293, in checkmail mode = statmode(wrapper) File ./bin/check_perms, line 82, in statmode return os.stat(path)[ST_MODE] OSError: [Errno 2] No such file or directory: '/usr/local/mailman/mail/mailman' Presumably this is because the mail wrapper has some other name, perhaps /usr/local/mailman/mail/mailman.exe, but why? Or is there no /usr/local/mailman/mail/* mail wrapper at all? Yes, surprisingly there was no mailman file or directory in /usr/local/mailman/mail after installation. However, I later decided not to use python package and gcc4 provided by Blastwave CSW and infact removed all references to csw/lib and csw/bin from PATH and LD_LIBRARY_PATH and decided to use old gcc version from /usr/local/bin and python from /usr/sfw/bin and installed Mailman again. This way everything is working fine. In fact check_perms also worked fine this time. :) Can someone throw some light on this issue? It may be a bug in check_perms. What options did you give to configure? What is the name of the mail wrapper file in /usr/local/mailman/mail/? In addition, if there is any howto or install document on internet for Mailman on solaris 10 then please let me know that too. Try http://www.google.com/#q=site:mail.python.org+inurl%3Amailman+solaris 10 Thanks much. Issue resolved. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Installation / Web Interface Error
I think the problem is with your SSL libraries. Are you using static or dynamic SSL libraries? Did you remove the dynamic libraries after installing? Maybe its just a matter of setting LD_LIBRARY_PATH. Alan Mizrahi Universidad Simon Bolivar CESMA [EMAIL PROTECTED] On Wed, 13 Mar 2002, Jeffrey M. Johnson wrote: I have run Mailman for a couple of years on a old Solaris on Intel box and have recently purchased a new Sun Netra X1 to run my mail programs. Currently I am running Solaris 2.8, Mailman 2.0.8, Python 2.1, openssl 0.9.6c During the 'make install' one of the last lines is /usr/bin/env: No such file or Directory However there is no amplification of this error else where. When I attempt to access Mailman via the web interface I get teh Bug in Mailman... The error log contains the following error (hand typed here) admin(9415): ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: file /usr/local/lib/python2.1/lib-dynload/_socket.so: symbol SSL_set_fd referenced symbol not found Any Ideas? Thanks Jeff -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
[Mailman-Users] Problems installing mailman on Solaris 8
Hi all, We are attempting to install mailman on a solaris 8 box. We installed python via a package from sunfreeware.com and compiled and installed mailman from source. However when we try to access the admin script, we get the following error: admin(11198): [- Traceback --] admin(11198): Traceback (most recent call last): admin(11198): File /usr/local/mailman/scripts/driver, line 80, in run_main admin(11198): import Mailman.pythonlib.cgi admin(11198): File /usr/local/mailman/Mailman/pythonlib/cgi.py, line 35, in ? admin(11198): from StringIO import StringIO admin(11198): ImportError: cannot import name StringIO admin(11198): [- Python Information -] which is a complete mystery to us, a web search and a search of the archives reveals that this problem has been reported before in 2001 but no solution was provided, just the question. Has anyone got a suggestion for how we can resolve this? What are we doing wrong? Thanks Alex Heatley Unix System Administrator Systems Management Group Phone (+64) 4 916 3142 Fax (+64) 4 917 0050 --- This email message and any attachment(s) is intended only for the person(s) or entity(entities) to whom it is addressed. The information it contains may be classified as IN CONFIDENCE and may be legally privileged. If you are not the intended recipient any use, disclosure or copying of the message or attachment(s) is strictly prohibited. If you have received this message in error please notify us immediately and destroy it and any attachment(s). Thank you. The Ministry of Social Development accepts no responsibility for changes made to this message or to any attachment(s) after transmission from the Ministry. --- -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] Please you help me !!
Hi: I am now install mailman ,but there are some problem when configuation. Can you help me ? The Errer is : ms1% ./configure loading cache ./config.cache checking for --with-python... no checking for python... /usr/local/bin/python checking Python interpreter... /usr/local/bin/python checking Python version... 2.2.1 checking for a BSD compatible install... ./install-sh -c checking whether make sets ${MAKE}... yes checking for true... /bin/true checking for --without-gcc... no checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether #! works in shell scripts... yes checking for --with-var-prefix... no checking for --with-username... mailmanchecking for mailman UID... Traceback (most recent call last): File "conftest.py", line 1, in ? import pwd ImportError: No module named pwd cat: cannot open conftest.out configure: error: * No "mailman" user found! * Your system must have a "mailman" user defined * (usually in your /etc/passwd file). Please see the INSTALL * file for details. Note: My system is Solaris 2.8 ,python have installed, andusername "mailman" have created , why have the error message !!! Thanks!! Ann Lin
Re: [Mailman-Users] Please you help me !!
Simple... as root... go to your shell and type: adduser mailman thats it. On Mon, 2002-09-02 at 03:37, phlin wrote: Hi: I am now install mailman ,but there are some problem when configuation. Can you help me ? The Errer is : ms1% ./configure loading cache ./config.cache checking for --with-python... no checking for python... /usr/local/bin/python checking Python interpreter... /usr/local/bin/python checking Python version... 2.2.1 checking for a BSD compatible install... ./install-sh -c checking whether make sets ${MAKE}... yes checking for true... /bin/true checking for --without-gcc... no checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether #! works in shell scripts... yes checking for --with-var-prefix... no checking for --with-username... mailman checking for mailman UID... Traceback (most recent call last): File conftest.py, line 1, in ? import pwd ImportError: No module named pwd cat: cannot open conftest.out configure: error: * No mailman user found! * Your system must have a mailman user defined * (usually in your /etc/passwd file). Please see the INSTALL * file for details. Note: My system is Solaris 2.8 ,python have installed, and username mailman have created , why have the error message !!! Thanks!! Ann Lin -- Michael Pike Northern Navajo Medical Center Information Techonology Development 505-368-6062 The NNMC E-Series - Perfecting Healthcare Information Technology http://eseries.ihs.gov -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Re: [Mailman-Users] how I install
On Sun, 2003-09-14 at 01:58, Arvinda Agarwal wrote: How I install Mailman on my server, can any buddy tell me plz. I just checked the mailman package when I put Mandrake Linux on my system. You can, on a mandrake box, just do: root# urpmi mailman and it should go find the latest integrated version and install it, nicely integrated with postfix. However, that might not work for you, since your server might be running some other flavor of Linux, one of the BSD family, a commerical unix like Solaris, AIX, HP/UX or Tru-64, maybe a nice old VMS box, maybe Novell, or even some hideous code that sprang unbidden from the depths of Redmond Washington. And even if we knew which OS you were running, we wouldn't know if you were running sendmail, postfix, exim, qmail, pmdf, groupwise, cc:mail or exchange as your MTA. Without knowing a bit more about your server, we can't tell you how to install it. -- Daniel J McDonald, CCIE #2495 Austin Network Design http://www.austinnetworkdesign.com -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] mailman install problem
Piniella, David A wrote: I'm trying to install mailman 2.1.9 on a Solaris 10 x86 machine and I'm running into problems with make install. I have no cc installed, I am using GCC 3.4.5 which I've installed from blastwave.org; python is 2.3.5. I've searched the archives of the list and hit up google to no avail, any suggestion(s) or hints would be most appreciated, I'm ready to scrap this install. I don't know if it's something funky in Sol10's make or maybe mailman's expecting gcc to be cc (see unable to execute cc: No such file or directory \ error: command 'cc' failed with exit status 1 -- I did NOT specify the --with-gcc=no option during the configure). configure should find an appropriate C compiler and taylor the Makefile appropriately. Were there any errors from configure. What does config.log say about the C compiler? -- Mark Sapiro [EMAIL PROTECTED] The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp
Re: [Mailman-Users] Mailman and Gmane ?
John Fitzsimons wrote: I have also contributed to public, and private, newsgroup servers for more than ten years now. However, I am not a unix expert and I do not have root access to a unix server. Incidentally, if the problem is just one of access to a unix machine, the Systers group had a really nice little set up where they had a linux virtual machine, running mailman, set up to run in virtualbox. That meant we could do testing on all the laptops: mac/windows/solaris/etc. I totally understand if you don't have time to learn all this stuff, but if you're willing to learn, you can install virtualbox (http://www.virtualbox.org/), get a linux vm (or install one yourself -- I usually recommend Ubuntu for a quick and easy install), and install Mailman. It's a bit time consuming, but it's not actually as hard as instructions make it sound, generally speaking. There may be some instructions or links to the vms we were using here (or elsewhere in the systers wiki): http://systers.org/systers-soc/doku.php/getting_started With all your testing experience, it'd be totally awesome if you could grab the new mailman 3 alpha and test that! And at worst, if you don't manage to get it running, you're still testing the instructions and that's still totally useful. :) Terri -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] error while running make install
On 3/7/2012 2:54 PM, Con Wieland wrote: I get the following error while running make install on Solaris 10 trying to install mailman-2.1.14-1 any help would be appreciated. I see other folks with the error but no solutions [...] for p in ; \ do \ [...] Your Python installation is new enough that none of the special pythonlib packages need to be installed. Thus, configure has created misc/Makefile containing EMAILPKG= JACODECSPKG= KOCODECSPKG= PACKAGES= $(EMAILPKG) $(JACODECSPKG) $(KOCODECSPKG) so that PACKAGES is empty resulting in for p in $(PACKAGES); \ being seen as for p in ; \ and whatever shell your version of make uses doesn't like this. You might try setting SHELL=/bin/bash or the path to whatever shell will successfully accept for p in ; do echo xxx $p xxx; done and produce no output at the beginning of misc/Makefile or just at the command level before running 'make install'. -- Mark Sapiro m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] Integrating Sendmail and Solaris (installation guide)
Mailman, in its default configuration, readily integrates with a properly-configured sendmail installation. The discussion below gives specific file locations for a Solaris 9 installation. Solaris 10 locates the sendmail control file sources in /etc/mail/cf rather than /usr/lib/mail/cf. Locations of the sendmail executable and ancillary files are compile-time options for sendmail, so you will need to determine file locations for your specific installation. In our discussion, we also assume that the sendmail MTA that communicates with the Internet backbone and Mailman are installed on the same node (same hardware box). Steps required for a Mailman-sendmail integration: 1. Enable smrsh. Creating the directory links was covered in the previous installation step. In addition, assure that the link to the smrsh program is declared in main.mc. (/usr/lib/mail/cf/main.mc on a Solaris 9 system). FEATURE(smrsh, /usr/lib/smrsh)dnl 2. For each list that you create, you need to add a set of alias pipes to the aliases file (typically /etc/mail/aliases) and run the newaliases program (/usr/sbin/newaliases). If you are following this guide for an initial Mailman installation, you will not be creating lists until later steps. Mailman will give you the alias information when you create a list. Additionaly, the $(prefix)/bin/genaliases script will generate all of aliases needed for all lists that have been created to stdout. These are in the correct format for the sendmail aliases file. 3. Set up sendmail masquerading to correspond to the Mailman configuration. For example, if your installation is on a machine known as myhost.mydomain.net and you create a list to receive mail at [EMAIL PROTECTED], you will need to masquerade as mydomain.net. You will also need to masquerade the sending envelope as well. In its simplest form, the statements in main.mc for doing this are: MASQUERADE_AS(`mydomain.net')dnl FEATURE(`masquerade_envelope')dnl 4. Add the masquerade address to /etc/mail/local-host-names. For the example above, the local-host-names file must have: mydomain.net The above four items cover the basics needed to integrate Mailman with a simple sendmail installation. Except for the need to enable smrsh and to install piping aliases, virtually everything surrounding a Mailman installation supported by the sendmail MTA is specific to sendmail, and some of the above is abstracted from sendmail documentation. This documentation includes: The README included in the sendmail source distribution from http://www.sendmail.org/ Costales, Bryan: Sendmail, 3rd edition, O'Reilly, 2002 This is commonly referred to as the bat book. Costales, Bryan: Sendmail 8.13 Companion, O'Reilly, 2006 Additional resources are the web site and sendmail faq at: http://www.sendmail.org/ Usenet newsgroup comp.mail.sendmail For convenience, we include comments here on sendmail configuration considerations that often come up on the mailman-users list. References are to Costales, Sendmail. A general guiding principle when working with sendmail is to keep it simple. In particular, configure and test your sendmail installation thoroughly, with user accounts running simple MUA's such as elm or mutt, before expecting sendmail to work with Mailman. Virtually all of the problems users encounter with sendmail are visible to simple MUA testing. In particular, do ALL of your sendmail configuration through the M4 macro files, rather than attempting to read and edit the .cf files. Since your M4 files will quickly become site-specific, we recommend copying the the full M4 setup to a local directory, and managing the configuration from there. This will prevent a sendmail upgrade from overlaying your site's configuration, something that has historically been a problem to Solaris users, where a sendmail upgrade is included in a patch cluster. Management of sendmail .cf files through the M4 files is discussed in Sendmail chapter 4. Virtual Domain handling: This refers to the case where a server at mydomain.net handles mail for otherdomain.com. The authoritative DNS for otherdomain.com is set with A and/or MX records pointing to the same IP as that for mydomain.net. Handling this in sendmail is straightforward. Masquerading is covered in detail in Sendmail section 4.4, pp160ff. However, the discussion does not give a complete main.mc file masquerading configuration, which we include here for convenience: MASQUERADE_AS(`mydomain.net')dnl FEATURE(`masquerade_entire_domain')dnl FEATURE(`limited_masquerade')dnl LOCAL_DOMAIN(`mydomain.net otherdomain.com')dnl MASQUERADE_DOMAIN(`mydomain.net')dnl In short, you include all of the domain names you are handling, but only specify masquerading for domains where you need a nodename removed from the canonical name. You also need to add the additional domain(s) to /etc/mail/local-host-names; each domain name on a separate line. Note that local-host-names is actually