Subject: The mailing list for listmasters using Sympa
List archive
- From: Brian Eliassen <address@concealed>
- To: David Verdin <address@concealed>
- Cc: address@concealed
- Subject: [sympa-users] Sympa 6.2b.3 Install
- Date: Fri, 6 Feb 2015 10:18:36 -0800
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>
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/));
Everything else went smoothly.
Brian
-
Re: [sympa-users] Sympa 6.2b.2 Errors,
Brian Eliassen, 02/03/2015
-
Re: [sympa-users] Sympa 6.2b.2 Errors,
David Verdin, 02/05/2015
-
[sympa-users] Sympa 6.2b.3 Install,
Brian Eliassen, 02/06/2015
- Re: [sympa-users] Sympa 6.2b.3 Install, David Verdin, 02/13/2015
- [sympa-users] Sympa 6.2b.4 Install, Brian Eliassen, 02/17/2015
-
[sympa-users] Sympa 6.2b.3 Install,
Brian Eliassen, 02/06/2015
-
Re: [sympa-users] Sympa 6.2b.2 Errors,
David Verdin, 02/05/2015
Archive powered by MHonArc 2.6.19+.