[Mailman-Users] make install failure

2008-06-29 Thread Vidiot
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


Re: [Mailman-Users] make install failure

2008-06-29 Thread Vidiot
Mark Sapiro:

'make install' is sufficient. It will do the necessary 'make' actions.

It didn't for me.  It didn't do any of the python stuff until I ran just make.

See
http://mail.python.org/pipermail/mailman-users/2008-June/062269.html
and
http://mail.python.org/pipermail/mailman-users/2008-June/062275.html.

Is this the same stuff you pointed to before?  If so, then I misread it.
I didn't think it gave a compile error, but did something else wrong.

I'll go back and read the previous e-mails about this.

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] make install failure

2008-06-29 Thread Mark Sapiro
Vidiot wrote:

Mark Sapiro:

'make install' is sufficient. It will do the necessary 'make' actions.

It didn't for me.  It didn't do any of the python stuff until I ran just make.


What Python stuff didn't it do that needed to be done. All a straight
'make' does is compile all the wrappers and compile the various
mailman.po message catalogs into mailman.mo files.

Almost all the Makefiles have null all: targets. The only ones that
don't are those that run make in subdirectories and the ones in src/
and messages/, and those two run the all: target as part of the
install: target.

-- 
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


Re: [Mailman-Users] make install failure

2008-06-29 Thread Vidiot
Mark posted:

What Python stuff didn't it do that needed to be done. All a straight
'make' does is compile all the wrappers and compile the various
mailman.po message catalogs into mailman.mo files.

I wiped out the directory and started over.  Here is what the make install did:


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 export.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 cull_bad_shunt; \
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.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'


Notice the complete lack of anything to do with python compiling.

Again I started over and then did only a make:


for d in bin cron misc Mailman scripts src templates messages tests; \
do \
(cd $d; make); \
done
for d in Cgi Logging Archiver Handlers Bouncers Queue MTA Gui Commands; \
do \
(cd $d; make); \
done
gcc -c -I. -DPREFIX=\/usr/local/mailman\  
-DPYTHON=\/usr/local/bin/python\  -DHELPFUL -g -O2 -g -O2 
-DPACKAGE_NAME=\\ -DPACKAGE_TARNAME=\\ -DPACKAGE_VERSION=\\ 
-DPACKAGE_STRING=\\ -DPACKAGE_BUGREPORT=\\ -DHAVE_STRERROR=1 
-DHAVE_SETREGID=1 -DHAVE_SYSLOG=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_SYSLOG_H=1 -DGETGROUPS_T=gid_t -DHAVE_VSNPRINTF=1  ./common.c
gcc -c -I. -DPREFIX=\/usr/local/mailman\  
-DPYTHON=\/usr/local/bin/python\  -DHELPFUL -g -O2 -g -O2 
-DPACKAGE_NAME=\\ -DPACKAGE_TARNAME=\\ -DPACKAGE_VERSION=\\ 
-DPACKAGE_STRING=\\ -DPACKAGE_BUGREPORT=\\ -DHAVE_STRERROR=1 
-DHAVE_SETREGID=1 -DHAVE_SYSLOG=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_SYSLOG_H=1 -DGETGROUPS_T=gid_t -DHAVE_VSNPRINTF=1  ./vsnprintf.c
gcc -DSCRIPT=\admindb\ -I. -DCGI_GROUP=\nobody\ -g -O2 -g -O2 
-DPACKAGE_NAME=\\ -DPACKAGE_TARNAME=\\ -DPACKAGE_VERSION=\\ 
-DPACKAGE_STRING=\\ -DPACKAGE_BUGREPORT=\\ -DHAVE_STRERROR=1 
-DHAVE_SETREGID=1 -DHAVE_SYSLOG=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_SYSLOG_H=1 -DGETGROUPS_T=gid_t -DHAVE_VSNPRINTF=1  common.o vsnprintf.o 
-o admindb ./cgi-wrapper.c
gcc -DSCRIPT=\admin\ -I. -DCGI_GROUP=\nobody\ -g -O2 -g -O2 
-DPACKAGE_NAME=\\ -DPACKAGE_TARNAME=\\ -DPACKAGE_VERSION=\\ 
-DPACKAGE_STRING=\\ -DPACKAGE_BUGREPORT=\\ -DHAVE_STRERROR=1 
-DHAVE_SETREGID=1 -DHAVE_SYSLOG=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_SYSLOG_H=1 -DGETGROUPS_T=gid_t -DHAVE_VSNPRINTF=1  common.o vsnprintf.o 
-o admin 

Re: [Mailman-Users] make install failure

2008-06-29 Thread Mark Sapiro
Vidiot wrote:

Mark posted:

What Python stuff didn't it do that needed to be done. All a straight
'make' does is compile all the wrappers and compile the various
mailman.po message catalogs into mailman.mo files.

I wiped out the directory and started over.  Here is what the make install did:

[...]
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'

Note the list of subdirectories in for d in 

The error occurs in the 'misc' directory. The stuff that doesn't get
done is in the 'src' and 'messages' directories that it never got to.

-- 
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