Skip to Content.
Sympa Menu

en - Re: [sympa-users] Sympa 6.2b.3 Install

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Sympa 6.2b.3 Install
  • Date: Fri, 13 Feb 2015 17:45:45 +0100

Hi Brian,

Sorry sorry sorry for this late answer : I was busy fixing the CPAN troubles with Sympa...

Le 06/02/15 19:18, Brian Eliassen a écrit :
Hello David,

I'm still having issues getting a mailing list to work but I'll save that for the next message.  I went ahead and installed the latest version.  Again, here is my environment:

Environment: Solaris 10, gcc 3.4.6, GNU make 3.82, perl v5.14.2, MySQL 5.6.22, Apache httpd 2.4.10, sendmail 8.14.5 - everything built from source

I installed the file with the following commands:

     ./configure --prefix=/usr/local/sympa --with-initdir=/etc/init.d/ --without-smrshdir
     make
     Stop sympa: /etc/init.d/sympa stop
     make install
     /usr/local/sympa/bin/sympa_wizard.pl --check
     /usr/local/sympa/bin/sympa.pl --upgrade
     Start sympa: /etc/init.d/sympa start

--prefix=/usr/local/sympa is where I place most of my software unless a prebuilt package installs in /opt in which case I often make a link to the directory from within /usr/local.  For example, MySQL (built from source as I needed the 32-bit libraries) is in /opt/mysql/mysql so I have a /usr/local/mysql link pointing into there.
--with-initdir=/etc/init.d/ is necessary for Solaris as that is where all of the SK start/stop scripts reside.
--without-smrshdir because I don't have it so I don't need it.

The first problem was running the configure command.  The following output snippet shows the error:

<snip>
checking for msgfmt... no
checking for gmsgfmt... /usr/lib/gmsgfmt
ERROR: Cannot open file --version.
<snip>
You probably miss the gettext software.
I don't know what is the command to install it on Solaris. On a Debian, it is:
yum install gettext.

I tracked it down to:

  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
    *) GMSGFMT_015=$GMSGFMT ;;
  esac

Here is some debugging on my part:

/export/home/brian/software/sympa-6.2b.3> ll /usr/lib/gmsgfmt
-r-xr-xr-x   1 root     bin        35172 Jan 22  2005 /usr/lib/gmsgfmt
/export/home/brian/software/sympa-6.2b.3> file /usr/lib/gmsgfmt
/usr/lib/gmsgfmt:       ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped
/export/home/brian/software/sympa-6.2b.3> /usr/lib/gmsgfmt --version
ERROR: Cannot open file --version.

The only other problem is something that I've seen before but I failed to mention it as it didn't stop anything from building and that is what I was concentrating on.

When I run "/usr/local/sympa/bin/sympa_wizard.pl --check" on my system, I receive a lot of these warnings:
Use of uninitialized value $ENV{"LANG"} in pattern match (m//) at /usr/local/sympa/bin/sympa_wizard.pl line 484, <STDIN> line 1.

This is happening on:
    $ENV{'LANG'} = 'C' if ($ENV{'LANG'} =~ /UTF\-8/);

I believe if you change it to the following, it will resolve the problem:
    $ENV{'LANG'} = 'C' if (defined($ENV{'LANG'}) && ($ENV{'LANG'} =~ /UTF\-8/));
That's not really a trouble: this is used only to internationalize the wizard (get help in your favorite language, provided it is set in you environments variables).
We'll have a look at it.
In the meantime, feel free to try out the beta 4 (which will be out in a few minutes).

Everything else went smoothly.
Good!

We fixed the dependency loop, so I think our install troubles are more or less over!

Best regards and thanks again for beta testing!

David

Brian


--
A bug in Sympa? Quick! To the bug tracker!

 
David Verdin
Études et projets applicatifs
 
Tél : +33 2 23 23 69 71
Fax : +33 2 23 23 71 21
 
www.renater.fr
RENATER
263 Avenue du Gal Leclerc
35042 Rennes Cedex



PNG image

Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.19+.

Top of Page