Skip Menu |
 

This queue is for tickets about the Sys-Syslog CPAN distribution.

Report information
The Basics
Id: 23886
Status: resolved
Priority: 0/
Queue: Sys-Syslog

People
Owner: SAPER [...] cpan.org
Requestors: Rakesh_Soni [...] symantec.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 0.19



Subject: issue with Sys::Syslog
Date: Mon, 11 Dec 2006 20:54:28 +0530
To: <bug-Sys-Syslog [...] rt.cpan.org>
From: "Rakesh Soni" <Rakesh_Soni [...] symantec.com>
Download (untitled) / with headers
text/plain 3.1k
Hi, I downloaded the cource of Sys::Syslog from cpan.org and am trying to build the sources so that I can include the module into my perl distribution. But I am geting this error while building the sources, please help: Show quoted text
________________________________________________________________________ ____ C:\Documents and Settings\rakesh_soni\Desktop\Perl modules\Sys-Syslog-0.17.tar\S ys-Syslog-0.17>nmake Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. cp Syslog.pm blib\lib\Sys\Syslog.pm G:\perl\bin\perl.exe G:\perl\lib\ExtUtils/xsubpp -noprototypes -typemap G:\perl\lib\ExtUtils\typemap Syslog.xs > Syslog.xsc && G:\perl\bin\perl.exe -ME xtUtils::Command -e mv Syslog.xsc Syslog.c cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_ST RICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.17\" -DXS_VERSION=\ "0.17\" "-IG:\perl\lib\CORE" Syslog.c Syslog.c Syslog.xs(102) : warning C4013: 'openlog' undefined; assuming extern returning i nt Syslog.xs(110) : warning C4013: 'syslog' undefined; assuming extern returning in t Syslog.xs(117) : warning C4013: 'setlogmask' undefined; assuming extern returnin g int Syslog.c(292) : warning C4101: 'RETVAL' : unreferenced local variable Syslog.xs(122) : warning C4013: 'closelog' undefined; assuming extern returning int Running Mkbootstrap for Sys::Syslog () G:\perl\bin\perl.exe -MExtUtils::Command -e chmod 644 Syslog.bs G:\perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('NAME'=>\"Sy s::Syslog\", 'DLBASE' => 'Syslog', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORT S' => { }, 'DL_VARS' => []);" link -out:blib\arch\auto\Sys\Syslog\Syslog.dll -dll -nologo -nodefaultli b -debug -opt:ref,icf -libpath:"G:\perl\lib\CORE" -machine:x86 Syslog.obj G: \perl\lib\CORE\perl58.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winspoo l.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.li b uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msv crt.lib -def:Syslog.def Creating library blib\arch\auto\Sys\Syslog\Syslog.lib and object blib\arch\au to\Sys\Syslog\Syslog.exp Syslog.obj : error LNK2019: unresolved external symbol _openlog referenced in fu nction _XS_Sys__Syslog_openlog_xs Syslog.obj : error LNK2019: unresolved external symbol _syslog referenced in fun ction _XS_Sys__Syslog_syslog_xs Syslog.obj : error LNK2019: unresolved external symbol _setlogmask referenced in function _XS_Sys__Syslog_setlogmask_xs Syslog.obj : error LNK2019: unresolved external symbol _closelog referenced in f unction _XS_Sys__Syslog_closelog_xs blib\arch\auto\Sys\Syslog\Syslog.dll : fatal error LNK1120: 4 unresolved externa ls NMAKE : fatal error U1077: 'link' : return code '0x460' Stop.
________________________________________________________________________ _____ Distribution Name:Sys-Syslog-0.18 Perl version: perl, v5.8.7 built for MSWin32-x86-multi-thread Operating system: Microsoft Windows XP Professional Please let me know what I am doing wrong as soon as possible since this is really urgent for me. Thanks and Regards, Rakesh
Subject: Re: [rt.cpan.org #23886] issue with Sys::Syslog
Date: Mon, 11 Dec 2006 22:10:21 +0100
To: bug-Sys-Syslog [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Download (untitled) / with headers
text/plain 916b
Rakesh Soni wrote via RT: Show quoted text
> I downloaded the cource of Sys::Syslog from cpan.org and am trying to > build the sources so that I can include the module into my perl > distribution. But I am geting this error while building the sources, > please help: > [...] > Distribution Name:Sys-Syslog-0.18 > Perl version: perl, v5.8.7 built for MSWin32-x86-multi-thread > Operating system: Microsoft Windows XP Professional > > Please let me know what I am doing wrong as soon as possible since > this > is really urgent for me.
The current version of Sys::Syslog doesn't work on Win32. However there is ongoing work in the development version to make it use the Win32 event logger. You can test it in the Subversion repository: » svn://svn.mongueurs.net/Sys-Syslog/ You can browse the source code here: » http://svnweb.mongueurs.net/Sys-Syslog/ -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
Subject: RE: [rt.cpan.org #23886] issue with Sys::Syslog
Date: Tue, 12 Dec 2006 15:11:09 +0530
To: <bug-Sys-Syslog [...] rt.cpan.org>
From: "Rakesh Soni" <Rakesh_Soni [...] symantec.com>
Download (untitled) / with headers
text/plain 1.8k
Hi, Thanks a lot for the response. I want to achieve something exactly what you anticipated -- write to windows event log. So can you tell me how to build the sources that the link contains? The same three step process? Perl Makefile.PL Nmake test Nmake install? Or do I need to do something else? Also could you please provide me with the download link for those sources since some of those files are binary and if I do a copy paste from browser, it will corrupt the binary. Do I need to rename the perllog_dll.uu to something or it should be asa it is? Also do I need to add version to the perllog.mc file? Because when I run compile.pl it says it doesn't have it. Please comment. Thanks and Regards Rakesh Show quoted text
-----Original Message----- From: Sébastien Aperghis-Tramoni via RT [mailto:bug-Sys-Syslog@rt.cpan.org] Sent: Tuesday, December 12, 2006 2:41 AM To: Rakesh Soni Subject: Re: [rt.cpan.org #23886] issue with Sys::Syslog <URL: http://rt.cpan.org/Ticket/Display.html?id=23886 > Rakesh Soni wrote via RT:
> I downloaded the cource of Sys::Syslog from cpan.org and am trying to > build the sources so that I can include the module into my perl > distribution. But I am geting this error while building the sources, > please help: > [...] > Distribution Name:Sys-Syslog-0.18 > Perl version: perl, v5.8.7 built for MSWin32-x86-multi-thread > Operating system: Microsoft Windows XP Professional > > Please let me know what I am doing wrong as soon as possible since > this is really urgent for me.
The current version of Sys::Syslog doesn't work on Win32. However there is ongoing work in the development version to make it use the Win32 event logger. You can test it in the Subversion repository: » svn://svn.mongueurs.net/Sys-Syslog/ You can browse the source code here: » http://svnweb.mongueurs.net/Sys-Syslog/ -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
Subject: Re: [rt.cpan.org #23886] Win32 support for Sys::Syslog
Date: Tue, 12 Dec 2006 11:13:53 +0100
To: bug-Sys-Syslog [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Download (untitled) / with headers
text/plain 990b
Rakesh Soni wrote via RT: Show quoted text
> Thanks a lot for the response. > I want to achieve something exactly what you anticipated -- write to windows > event log. > So can you tell me how to build the sources that the link contains? > The same three step process?
Yes. Show quoted text
> Also could you please provide me with the download link for those sources > since some of those files are binary and if I do a copy paste from browser, > it will corrupt the binary.
I gave you the SVN URL, so just type the following command in your shell: svn checkout svn://svn.mongueurs.net/Sys-Syslog/ Show quoted text
> Do I need to rename the perllog_dll.uu to something or it should be asa it > is? > Also do I need to add version to the perllog.mc file? Because when I run > compile.pl it says it doesn't have it.
Just check out from the SVN then run the usual mantra. After make test, check your event logs, it should contain some entries made by the Perl process. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
Subject: RE: [rt.cpan.org #23886] Win32 support for Sys::Syslog
Date: Tue, 12 Dec 2006 20:08:14 +0530
To: <bug-Sys-Syslog [...] rt.cpan.org>
From: "Rakesh Soni" <Rakesh_Soni [...] symantec.com>
Download (untitled) / with headers
text/plain 1.4k
Hi, Thanks a lot for your kind cooperation. I could build the sources successfully and syslog\win32.pm also got installed properly. Thanks again. Rakesh Show quoted text
-----Original Message----- From: Sébastien Aperghis-Tramoni via RT [mailto:bug-Sys-Syslog@rt.cpan.org] Sent: Tuesday, December 12, 2006 3:45 PM To: Rakesh Soni Subject: Re: [rt.cpan.org #23886] Win32 support for Sys::Syslog <URL: http://rt.cpan.org/Ticket/Display.html?id=23886 > Rakesh Soni wrote via RT:
> Thanks a lot for the response. > I want to achieve something exactly what you anticipated -- write to > windows event log. > So can you tell me how to build the sources that the link contains? > The same three step process?
Yes.
> Also could you please provide me with the download link for those > sources since some of those files are binary and if I do a copy paste > from browser, it will corrupt the binary.
I gave you the SVN URL, so just type the following command in your shell: svn checkout svn://svn.mongueurs.net/Sys-Syslog/
> Do I need to rename the perllog_dll.uu to something or it should be > asa it is? > Also do I need to add version to the perllog.mc file? Because when I > run compile.pl it says it doesn't have it.
Just check out from the SVN then run the usual mantra. After make test, check your event logs, it should contain some entries made by the Perl process. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
Native Win32 support is now available with Sys::Syslog 0.19 -- Close the world, txEn eht nepO.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.