Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] make test fails



******    message to minivend-users from jojo@buchonline.net     ******

On 19 May, Andreas Kotowicz wrote:
> ******    message to minivend-users from Andreas Kotowicz <koto@mynetix.de>     ******
> 
> hi, 
> 
> I just tried to install minivend 4.04. I'm running Linux, Perl 5.6. after doing
> perl Makefile.PL, make, I do a make test. it fails at step 4. what could be the
> problem? it's a clean mv install. 
> 
> monster:[minivend-4.04]# make test
> PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.0/i686-linu
> x -I/usr/local/lib/perl5/5.6.0 test.pl
> server/unixmode.......ok 1
> server/startup........ok 2
> link/unixmode.........ok 3
> server/inetmode.......Could not lock file: Die Ressource ist zur Zeit nicht verfügbar
[DEL]

Andreas,

we (Stefan and I) have said in mv-de-list, why this happe
n with minivend. Your setting of locale _is_ wrong, because it is set to
the german language. In this case, you will get some message like

"Unterbrechung während dem Systemaufruf"

instead of

"Interrupted system call"

in this case, you will get problem to stop or to restart the minivend
server because, minivend is looking for some system message like
"Interrupted" instead of "Unterbrechung". For example

------------snipp-----------
> localhost|127\.0\.0\.1
> - - - [18/Mai/2000:08:34:12 +0200] - - START server (770) (INET and UNIX)
> - - - [18/Mai/2000:08:34:47 +0200] - - error 'Unterbrechung während des
> Betriebssystemaufrufs' from select.
> - - - [18/Mai/2000:08:34:47 +0200] - - Died in select, retrying: error
> 'Unterbrechung während des Betriebssystemaufrufs' from select.
------------snipp-----------

because

------------snipp Server.pm-----------
        if ($n == -1) {
            if ($! =~ m/^Interrupted/) {
                if ($Signal_Terminate) {
                    last;
                }
            }
            else {
				my $msg = $!;
				$msg = ::errmsg("error '%s' from select." , $msg );
				::logGlobal({}, $msg );
                die "$msg\n";
            }
        }
------------snipp-----------

Look at "if ($! =~ m/^Interrupted/) {"!!!

The best way to solve your problem is to use setlocale right! Maybe you
have to check your shell-rc-file. In my case, it is ".cshrc" (FreeBSD).

Regards,

	Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1671449
45886 Gelsenkirchen         FAX: 0209 1671449

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: