netftpserver-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Net::FTPServer] Fwd: RE: Net::FTPServer under Cygwin


From: Richard Jones
Subject: [Net::FTPServer] Fwd: RE: Net::FTPServer under Cygwin
Date: Mon, 22 May 2006 11:53:24 +0100
User-agent: Mutt/1.5.9i

----- Forwarded message from Aaron West <address@hidden> -----

Subject: RE: Net::FTPServer under Cygwin
From: Aaron West <address@hidden>
To: address@hidden

p.s, in case you are curious
 
Perl 5.8.7 under cygwin
 
It seems Socket comes with Perl. I don't care to upgrade from 5.8.7 to 5.8.8
right now:

 
cpan> test Socket
Running test for module Socket
Running make for N/NW/NWCLARK/perl-5.8.8.tar.gz
 
The most recent version "1.78" of the module "Socket"
comes with the current version of perl (5.8.8).
I'll build that only if you ask for something like
    force install Socket
or
    install N/NW/NWCLARK/perl-5.8.8.tar.gz
Running make test
  Make had some problems, won't test

$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
  Platform:
    osname=cygwin, osvers=1.5.18(0.13242),
archname=cygwin-thread-multi-64int
    uname='cygwin_nt-5.1 inspiron 1.5.18(0.13242) 2005-07-02 20:30 i686
unknown unknown cygwin '
    config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads -Uusemymalloc
-Doptimize=-O3 -Dman3ext=3pm -Dusesitecustomize'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-I/usr/local/include',
    optimize='-O3',
    cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-I/usr/local/include'
    ccversion='', gccversion='3.4.4 (cygming special) (gdc 0.12, using dmd
0.125)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld2', ldflags =' -s -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lgdbm -ldb -lcrypt -lgdbm_compat
    perllibs=-lcrypt -lgdbm_compat
    libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
    cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT
                        USE_LARGE_FILES USE_SITECUSTOMIZE
                        PERL_IMPLICIT_CONTEXT
  Locally applied patches:
        SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962
  Built under cygwin
  Compiled at Dec 30 2005 02:44:25
  %ENV:
    CYGWIN=""
  @INC:
    /usr/lib/perl5/5.8/cygwin
    /usr/lib/perl5/5.8
    /usr/lib/perl5/site_perl/5.8/cygwin
    /usr/lib/perl5/site_perl/5.8
    /usr/lib/perl5/site_perl/5.8/cygwin
    /usr/lib/perl5/site_perl/5.8
    /usr/lib/perl5/vendor_perl/5.8/cygwin
    /usr/lib/perl5/vendor_perl/5.8
    /usr/lib/perl5/vendor_perl/5.8/cygwin
    /usr/lib/perl5/vendor_perl/5.8
    .

________________________________

From: Aaron West [mailto:address@hidden 
Sent: Thursday, May 11, 2006 9:36 AM
To: 'address@hidden'
Subject: Net::FTPServer under Cygwin


re: FTPServer.pm (Latest on cpan.)
 
setnetent doesn't work. Maybe you could stick it in an eval?
 
Line 4672, FTPServer.pm:
 
Changned:
    setnetent 1;
 
to:
 
    eval {setnetent 1}; #function does not exist in cygwin
 
Now:
 
Failed 1/43 test scripts, 97.67% okay. 5/573 subtests failed, 99.13% okay.
make: *** [test_dynamic] Error 14
 
That's better than before; everything was failing.
 
(I don't have BSD::Resource installed. I don't think it installs under
Cygwin.)
 
I did a forced install, and Anonymous FTP works.


----- End forwarded message -----

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]