Accéder au contenu.
Menu Sympa

fr - [sympa-fr] Divers 5.3a.b => 5.3b.4

Objet : Pour les administrateurs de serveurs de listes utilisant le logiciel Sympa

Archives de la liste

Chronologique Discussions  
  • From: Ludovic GARNIER <adresse@cachée>
  • To: adresse@cachée
  • Subject: [sympa-fr] Divers 5.3a.b => 5.3b.4
  • Date: Thu, 19 Apr 2007 20:33:41 +0200

Bonsoir à tous.
Après perte droits alloués sur l'arbo /home/sympa (config jusqu'alors assez fonctionnelle en sympa-5.3b.1hors soucis style en mode web), ai tenté hier une installation de sympa-5.3b.4 ...
Erreur ;(
Des pbs déjà antérieurs d'installation de modules perl sont semble-t-il et non sans peine depuis résolus.
Ils ont fait avancé les make comme suit ...

Sous /home/sympa/src
tar zxvf sympa-5.3b.4.tar.gz
(...)
[root@ sympa-5.3b.4]# ./configure --with-iconsdir=/var/www/icons/ --with-sendmail_aliases=/etc/postfix/sympa_aliases --with-virtual_aliases=/etc/postfix/sympa_virtual --with-newaliases=/usr/sbin/postalias
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for perl... /usr/local/bin/perl
checking for suidperl... /usr/bin/suidperl
checking for sudo... /usr/bin/sudo
checking for mhonarc... /usr/local/bin/mhonarc
checking for openssl... /usr/bin/openssl
checking for cvs2cl.pl... /usr/local/bin
checking for msgfmt... /usr/bin/msgfmt
checking for sh... /bin/sh
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands

make
Checking needed CPAN modules ...
/usr/local/bin/perl ./check_perl_modules.pl
******* Check perl for SYMPA ********

Checking for PERL version:
-----------------------------
your version of perl is OK (5.008008  >= 5.005)

Checking for REQUIRED modules:
------------------------------------------
perl module          from CPAN       STATUS
-----------          ---------       ------
Archive::Zip         Archive-Zip    OK (1.18   >= 1.05)
CGI                  CGI            OK (3.29   >= 2.52)
Crypt::CipherSaber   CipherSaber    OK (1.00   >= 0.50)
DBD::mysql           Msql-Mysql-modulesOK (4.004  >= 2.0407)
DBI                  DBI            OK (1.54   >= 1.06)
DB_File              DB_FILE        OK (1.815  >= 1.75)
Digest::MD5          Digest-MD5     OK (2.36   >= 2.00)
Constant subroutine DEBUG redefined at /usr/local/lib/perl5/5.8.8/i686-linux-ld/Encode.pm line 8.
Subroutine encodings redefined at /usr/local/lib/perl5/5.8.8/i686-linux-ld/Encode.pm line 55.
Subroutine perlio_ok redefined at /usr/local/lib/perl5/5.8.8/i686-linux-ld/Encode.pm line 74.
Subroutine define_encoding redefined at /usr/local/lib/perl5/5.8.8/i686-linux-ld/Encode.pm line 80.
Subroutine getEncoding redefined at /usr/local/lib/perl5/5.8.8/i686-linux-ld/Encode.pm line 93.
Subroutine find_encoding redefined at /usr/local/lib/perl5/5.8.8/i686-linux-ld/Encode.pm line 117.
Subroutine resolve_alias redefined at /usr/local/lib/perl5/5.8.8/i686-linux-ld/Encode.pm line 122.
Subroutine clone_encoding redefined at /usr/local/lib/perl5/5.8.8/i686-linux-ld/Encode.pm line 128.
Subroutine encode redefined at /usr/local/lib/perl5/5.8.8/i686-linux-ld/Encode.pm line 136.
Subroutine decode redefined at /usr/local/lib/perl5/5.8.8/i686-linux-ld/Encode.pm line 152.
Subroutine from_to redefined at /usr/local/lib/perl5/5.8.8/i686-linux-ld/Encode.pm line 168.
Subroutine encode_utf8 redefined at /usr/local/lib/perl5/5.8.8/i686-linux-ld/Encode.pm line 188.
Subroutine decode_utf8 redefined at /usr/local/lib/perl5/5.8.8/i686-linux-ld/Encode.pm line 194.
Subroutine predefine_encodings redefined at /usr/local/lib/perl5/5.8.8/i686-linux-ld/Encode.pm line 212.
Subroutine Encode::str2bytes redefined at /usr/local/lib/perl5/5.8.8/i686-linux-ld/Encode.pm line 150.
Subroutine Encode::bytes2str redefined at /usr/local/lib/perl5/5.8.8/i686-linux-ld/Encode.pm line 166.
Encode               Encode         OK (2.19   >= 1.0)
FCGI                 FCGI           OK (0.67   >= 0.67)
File::Spec           File-Spec      OK (3.24   >= 0.8)
IO::Scalar           IO-stringy     OK (2.110  >= 1.0)
LWP                  libwww-perl    OK (5.805  >= 1.0)
Locale::TextDomain   libintl-perl   OK (1.16   >= 1.0)
MHonArc::UTF8        MHonArc        OK (2.6.16 >= 2.6.0)
MIME::Base64         MIME-Base64    OK (3.07   >= 3.03)
MIME::Charset        MIME-Charset   OK (0.044  >= 0.04.1)
MIME::EncWords       MIME-EncWords  OK (0.040  >= 0.040)
MIME::Tools          MIME-tools     OK (5.420  >= 5.419)
Mail::Internet       MailTools      OK (1.76   >= 1.51)
Regexp::Common       Regexp-Common  OK (2.120  >= 1.0)
Template             Template-ToolkitOK (2.18   >= 1.0)
XML::LibXML          XML-LibXML     OK (1.63   >= 1.0)

Checking for OPTIONAL modules:
------------------------------------------
perl module          from CPAN       STATUS
-----------          ---------       ------
Bundle::LWP          LWP            OK (1.11   >= 1.09)
Constant subroutine CGI::XHTML_DTD redefined at /usr/local/lib/perl5/5.8.8/constant.pm line 103.
CGI::Fast            CGI            CGI::Fast doesn't return 1 (check it).
Crypt::OpenSSL::X509 Crypt-OpenSSL-X509OK (0.4    >= 0.3.1)
DBD::Oracle          DBD-Oracle     was not found on this system.
Setting FTP Passive mode
Description: Oracle database driver, required if you connect to a Oracle database.
Install module DBD::Oracle ? [n]
DBD::Pg              DBD-Pg         was not found on this system.
Description: PostgreSQL database driver, required if you connect to a PostgreSQL database.
Install module DBD::Pg ? [n]
DBD::SQLite          DBD-SQLite     was not found on this system.
Description: Sybase database driver, required if you connect to a SQLite database.
Install module DBD::SQLite ? [n]
DBD::Sybase          DBD-Sybase     was not found on this system.
Description: Sybase database driver, required if you connect to a Sybase database.
Install module DBD::Sybase ? [n]
File::NFSLock        File-NFSLock   OK (1.20   >= 1.0)
IO::Socket::SSL      IO-Socket-SSL  OK (1.02   >= 0.90)
Net::LDAP            perl-ldap      OK (0.34   >= 0.27)
Net::SMTP            libnet         OK (2.30   >= 1.0)
Net::SSLeay          NET-SSLeay     OK (1.30   >= 1.16)
SOAP::Lite           SOAP-Lite      OK (0.69   >= 0.60)
******* NOTE *******
You can retrive all theses modules from any CPAN server
(for example ftp://ftp.pasteur.fr/pub/computing/CPAN/CPAN.html)
Making src
making in src...
make[1]: Entering directory `/home/sympa/src/sympa-5.3b.4/src'
gcc -g -DCONFIG=\"/etc/sympa.conf\" -o queue queue.c
gcc -g -DCONFIG=\"/etc/sympa.conf\" -o bouncequeue bouncequeue.c
gcc -g -DCONFIG=\"/etc/sympa.conf\" -o familyqueue familyqueue.c
gcc -g -DCONFIG=\"/etc/sympa.conf\" -DNEWALIASES=\"/usr/sbin/postalias\" \
        -DNEWALIASES_ARG=\"\" -o aliaswrapper aliaswrapper.c
aliaswrapper.c: In function ‘main’:
aliaswrapper.c:40: attention : incompatible implicit declaration of built-in function ‘exit’
gcc -g -DCONFIG=\"/etc/sympa.conf\" -DPOSTMAP=\"/usr/sbin/postmap\" \
        -DPOSTMAP_ARG=\"/etc/postfix/sympa_virtual\" -o virtualwrapper virtualwrapper.c
virtualwrapper.c: In function ‘main’:
virtualwrapper.c:39: attention : incompatible implicit declaration of built-in function ‘exit’

make[1]: Leaving directory `/home/sympa/src/sympa-5.3b.4/src'
Making man
making in doc/man8/...
make[1]: Entering directory `/home/sympa/src/sympa-5.3b.4/doc/man8'
make[1]: Rien à faire pour « all ».
make[1]: Leaving directory `/home/sympa/src/sympa-5.3b.4/doc/man8'
making in po/....
make[1]: Entering directory `/home/sympa/src/sympa-5.3b.4/po'
Checking available locales ...
#############################################################################################################
## IMPORTANT : Sympa is not able to use all supported locales because they are not properly configured on this server
## Herer is a list on NOT supported locales :
##     eu
## On Debian you should run the following command : dpkg-reconfigure locales
## On others systems, check /etc/locale.gen or /etc/sysconfig/i18n files
#############################################################################################################
make[1]: Leaving directory `/home/sympa/src/sympa-5.3b.4/po'

=> qq'un a eu je crois les mêmes erreurs sur le basque ...

[root@ sympa-5.3b.4]# more /etc/sysconfig/i18n
LANG="fr_FR.UTF-8"
SUPPORTED="fr_FR.UTF-8:fr_FR"
SYSFONT="latarcyrheb-sun16"

[root@ sympa-5.3b.4]# uname -a
Linux 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 i686 i386 GNU/Linux


/etc/sympa.conf
lang    fr
# was supported_lang de,cs,el,es,et_EE,en_US,fr,hu,it,ja_JP,nl,oc,pt_BR,sv,tr
supported_lang  fr,en_US

## Directory containing available NLS catalogues (Message internationalization)
localedir       /home/sympa/locale

## The character encoding used on your file system (utf-8 | iso-8859-1 | iso-8859-2 | ...)
## If your server is not configured to use utf-8, Sympa can still use it, but you need to declare the charset used.
filesystem_encoding     utf-8

###\\\\ Database ////###
## Database type (mysql | Pg | Oracle | Sybase | SQLite)
## be carefull to the case
db_type mysql
## Name of the database
## with SQLite, the name of the DB corresponds to the DB file
db_name sympa
## The host hosting your sympa database
db_host localhost
## Database user for connexion
db_user sympa
## Database password (associated to the db_user)
## What ever you use a password or not, you must protect the SQL server (is it a not a public internet service ?)
db_passwd       passwd


make install
(...)
Overwriting /usr/local/man/man8/alias_manager.8
Overwriting /usr/local/man/man8/sympa.8
Can't read load_subscribers.pl: Aucun fichier ou répertoire de ce type
Overwriting /home/sympa/bin/arc2webarc.pl
Overwriting /home/sympa/bin/testldap.pl
Overwriting /home/sympa/bin/p12topem.pl
(...)
Installing sources...
cp sympa.wsdl /home/sympa/bin/etc
Setting SetUID bit on sympa_soap_server.fcgi...
chmod u+s /home/sympa/bin/sympa_soap_server.fcgi
chmod g+s /home/sympa/bin/sympa_soap_server.fcgi
make[1]: Leaving directory `/home/sympa/src/sympa-5.3b.4/soap'

#########################################################
# If you install Sympa for the first time on this server
# you should check the INSTALL file.
#
# If you are upgrading, you now need to run
#    /home/sympa/bin/sympa.pl --upgrade
#######################################################

[root@ sympa-5.3b.4]# sudo -u sympa /home/sympa/bin/sympa.pl --upgrade
Conf::_load_auth(/home/sympa/bin/etc/auth.conf)
Configuration file read, default log level  0
DBD::mysql::db do failed: Table 'admin_table' already exists at /home/sympa/bin/Upgrade.pm line 783.
Could not create table admin_table in database sympa : Table 'admin_table' already exists
DBD::mysql::db do failed: Table 'logs_table' already exists at /home/sympa/bin/Upgrade.pm line 783.
Could not create table logs_table in database sympa : Table 'logs_table' already exists
DBD::mysql::db do failed: Table 'user_table' already exists at /home/sympa/bin/Upgrade.pm line 783.
Could not create table user_table in database sympa : Table 'user_table' already exists
DBD::mysql::db do failed: Table 'subscriber_table' already exists at /home/sympa/bin/Upgrade.pm line 783.
Could not create table subscriber_table in database sympa : Table 'subscriber_table' already exists
DBD::mysql::db do failed: Table 'netidmap_table' already exists at /home/sympa/bin/Upgrade.pm line 783.
Could not create table netidmap_table in database sympa : Table 'netidmap_table' already exists
DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.`admin_table' at line 1 at /home/sympa/bin/Upgrade.pm line 806.
Unable to execute SQL query : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.`admin_table' at line 1
Sympa not setup to use DBI

Language::SetLang(), missing locale parameter
Database sympa defined in sympa.conf has not the right structure or is unreachable. If you don't use any database, comment db_xxx parameters in sympa.conf

[root@ sympa-5.3b.4]# /usr/bin/mysql --version
/usr/bin/mysql  Ver 14.7 Distrib 4.1.20, for redhat-linux-gnu (i386) using readline 4.3

[root@ sympa-5.3b.4]# locale -a |grep "^\(eu\|fr\)"
eu_ES
eu_ES@euro
eu_ES.iso88591
eu_ES.iso885915@euro
eu_ES.utf8
fr
fran▒ais
fr_BE
fr_BE@euro
fr_BE.iso88591
fr_BE.iso885915@euro
fr_BE.utf8
fr_CA
fr_CA.iso88591
fr_CA.utf8
fr_CH
fr_CH.iso88591
fr_CH.utf8
french
fr_FR
fr_FR@euro
fr_FR.iso88591
fr_FR.iso885915@euro
fr_FR.utf8
fr.iso88591
fr.iso885915
fr_LU
fr_LU@euro
fr_LU.iso88591
fr_LU.iso885915@euro
fr_LU.utf8


[root@ sympa-5.3b.4]# ls -la /home/sympa/locale
total 16

drwxr-xr-x  27 sympa sympa 1024 avr 19 04:07 .
drwxrwxrwx  21 sympa sympa 2048 avr 19 17:38 ..
drwxr-xr-x   3 sympa sympa   80 avr 19 04:07 bg
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 cs
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 de
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 el
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 en_US
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 es
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 et
drwxr-xr-x   3 sympa sympa   80 avr 19 04:07 eu
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 fi
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 fr
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 hu
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 it
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 ja
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 nb_NO
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 nl
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 oc
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 pl
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 pt
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 pt_BR
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 ro
drwxr-xr-x   3 sympa sympa   80 avr 19 04:07 ru
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 sv
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 tr
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 zh_CN
drwxr-xr-x   3 sympa sympa   80 nov  7 20:22 zh_TW


Tout début de solution bienvenu ... avant de devoir revenir sur des version et restau plus anciennes, remise en prod rapide oblige.
Merci
Ludovic




Archives gérées par MHonArc 2.6.19+.

Haut de le page