Hello Mike

I installed the supplied Unix::Syslog from psad and not from CPAN.

find /usr/lib/psad -type d -name 'Unix' |xargs rm -rf
has no output. So Unix::Syslog isn't installed into it.

I added the complete build and install log and the output in /var/log/messages.
Hope this helps.
If not, when will psad-3.0 be available? Because this is not a big problem and 
I can wait til psad-3.0.

regards Robert

grisu:/usr/src/psad-2.1.7/deps/Unix-Syslog # perl Makefile.PL
Writing Makefile for Unix::Syslog
grisu:/usr/src/psad-2.1.7/deps/Unix-Syslog # make test
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING 
-fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall 
-D_FORTIFY_SOURCE=2 -fstack-protector -g -Wall -pipe -DVERSION=\"0.100\" 
-DXS_VERSION=\"0.100\" -fPIC 
"-I/usr/lib/perl5/5.8.8/i586-linux-thread-multi/CORE" Syslog.c
Syslog.c: In function ‘XS_Unix__Syslog_priorityname’:
Syslog.c:324: warning: unused variable ‘targ’
Syslog.c:323: warning: unused variable ‘RETVAL’
Syslog.c:322: warning: unused variable ‘p’
Syslog.c: In function ‘XS_Unix__Syslog_facilityname’:
Syslog.c:342: warning: unused variable ‘targ’
Syslog.c:341: warning: unused variable ‘RETVAL’
Syslog.c:340: warning: unused variable ‘f’
Syslog.c: In function ‘XS_Unix__Syslog_setlogmask’:
Syslog.c:438: warning: unused variable ‘targ’
Syslog.c:437: warning: unused variable ‘RETVAL’
Running Mkbootstrap for Unix::Syslog ()
chmod 644 Syslog.bs
rm -f blib/arch/auto/Unix/Syslog/Syslog.so
cc -shared Syslog.o -o blib/arch/auto/Unix/Syslog/Syslog.so \
-lc \

chmod 755 blib/arch/auto/Unix/Syslog/Syslog.so
cp Syslog.bs blib/arch/auto/Unix/Syslog/Syslog.bs
chmod 644 blib/arch/auto/Unix/Syslog/Syslog.bs
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..54
ok 1
Testing priorities:
LOG_EMERG ok 2
LOG_EMERG ok 3
LOG_ALERT ok 4
LOG_CRIT ok 5
LOG_ERR ok 6
LOG_WARNING ok 7
LOG_NOTICE ok 8
LOG_INFO ok 9
LOG_DEBUG ok 10
LOG_EMERG ok 11
LOG_ALERT ok 12
LOG_CRIT ok 13
LOG_ERR ok 14
LOG_WARNING ok 15
LOG_NOTICE ok 16
LOG_INFO ok 17
LOG_DEBUG ok 18

Testing facilities
LOG_KERN ok 19
LOG_USER ok 20
LOG_MAIL ok 21
LOG_DAEMON ok 22
LOG_AUTH ok 23
LOG_SYSLOG ok 24
LOG_LPR ok 25
LOG_NEWS ok 26
LOG_UUCP ok 27
LOG_CRON ok 28
LOG_LOCAL0 ok 29
LOG_LOCAL1 ok 30
LOG_LOCAL2 ok 31
LOG_LOCAL3 ok 32
LOG_LOCAL4 ok 33
LOG_LOCAL5 ok 34
LOG_LOCAL6 ok 35
LOG_LOCAL7 ok 36

These facilities are not defined on all systems:
LOG_AUTHPRIV ok 37
LOG_FTP ok 38

The number of available facilities is:
LOG_NFACILITIES ok 39
LOG_FACMASK ok 40

Testing options
LOG_PID ok 41
LOG_CONS ok 42
LOG_ODELAY ok 43
LOG_NDELAY ok 44
LOG_NOWAIT ok 45

These options are not defined on all systems:
LOG_PERROR ok 46

Testing macros for setlogmask()
LOG_MASK(1) ok 47
LOG_UPTO(1) ok 48

These macros are not defined on all systems:
LOG_PRI(1) ok 49
LOG_MAKEPRI(1,1) ok 50
LOG_FAC(1) ok 51

On some systems these functions are undefined and
return just empty strings:
priorityname(LOG_EMERG) skipped 52
facilityname(LOG_KERN) skipped 53

Testing setlogmask:
Setting mask to 64
New mask is 64 ok 54

*** Test results: 52 tests of 54 passed!

Testing functions

As the functions `openlog', `closelog' and `syslog' do not return any
value that indicates success or failure, please have a look at the log
file generated by syslogd(8). The following tests print a message of
the facility `local7' and the priority `info'.

openlog
syslog
setlogmask
syslog
closelog

Testing pointer handling in closelog().
Calling closelog() a second time.
This message should not be preceeded by an error message
about dereferenced pointers.

grisu:/usr/src/psad-2.1.7/deps/Unix-Syslog # make install
Manifying blib/man3/Unix::Syslog.3pm
Files found in blib/arch: installing files in blib/lib into architecture 
dependent library tree
Writing 
/usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/auto/Unix/Syslog/.packlist
Appending installation info to 
/usr/lib/perl5/5.8.8/i586-linux-thread-multi/perllocal.pod

---------------------------------------------------------------------------------------
/var/log/messages
Feb 15 20:24:48 src@grisu test.pl[12632]: Unix::Syslog testsuite: The ident 
string should be `test.pl' (Test 55)
Feb 15 20:24:48 src@grisu test.pl[12632]: Unix::Syslog testsuite: Testing quote 
character `%' (Test 56)
Feb 15 20:24:48 src@grisu test.pl[12632]: Unix::Syslog testsuite: This message 
prints an error message: No such file or directory (Test 57)
Feb 15 20:24:48 src@grisu test.pl[12632]: Unix::Syslog testsuite: This message 
prints a percent sign followed by the character `m': %m (Test 58)
Feb 15 20:24:48 src@grisu test.pl[12632]: Unix::Syslog testsuite: This message 
prints a percent sign followed by an error message: %No such file or directory 
(Test 59)
Feb 15 20:24:48 src@grisu test.pl[12632]: Unix::Syslog testsuite: This message 
prints a percent sign followed by the character `m': %m (Test 60)
Feb 15 20:24:48 src@grisu test.pl[12632]: Unix::Syslog testsuite: This message 
prints two percent signs followed by the character `m': %%m (Test 61)
Feb 15 20:24:48 src@grisu test.pl[12632]: Unix::Syslog testsuite: This message 
prints three percent signs followed by the character `m': %%%m (Test 62)
Feb 15 20:24:48 src@grisu test.pl[12632]: Unix::Syslog testsuite: (LOG_MASK) 
This message should be visible (Test 63)
Feb 15 20:24:48 src@grisu test.pl[12632]: Unix::Syslog testsuite: (LOG_UPTO) 
This message should be visible (Test 65)
Feb 15 20:24:48 src@grisu test.pl[12632]: Unix::Syslog testsuite: (LOG_UPTO) 
This message should be visible (Test 66)

-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                          
        
Jetzt informieren: http://www.gmx.net/de/go/freephone/

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
psad-discuss mailing list
psad-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/psad-discuss

Reply via email to