tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.0.19); end of file during parsing on OS/390 host.


From: Klaus-Georg Adams
Subject: Re: tramp (2.0.19); end of file during parsing on OS/390 host.
Date: 27 Sep 2002 09:48:52 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

address@hidden (Kai Großjohann) writes:

> Klaus-Georg Adams <address@hidden> writes:
> 
> > Wenn doing a
> > C-x C-f /rsh:ihsapfc:~/
> > where ihsapfc is an OS/390 machine, I eventually get the message
> > End of file during parsing
> > in the minibuffer.
> >
> > The *tramp/rsh ihsapfc* buffer is empty.
> >
> > -----------*debug tramp/rsh ihsapfc*------------------
> > [...]
> > $ test -e /net/sapmnt.home1/d034879/ 2>/dev/null; echo tramp_exit_status $? 
> > tramp_exit_status 0
> > # file attributes with perl: /rsh:ihsapfc:/net/sapmnt.home1/d034879/
> > $ tramp_file_attributes /net/sapmnt.home1/d034879/
> > -----------*debug tramp/rsh ihsapfc*------------------
> 
> Please use Tramp to open a connection like the above.  Then switch to
> the *tramp/foo* buffer, erase it, and then do
> 
> M-: (process-send-string "tramp_file_attributes 
> /net/sapmnt.home1/d034879/\n") RET

I did
M-: (process-send-string nil "tramp_file_attributes 
/net/sapmnt.home1/d034879/\n") RET
in the *tramp/foo* buffer and I saw
-------snip-----------

/////
-------snip-----------


> 
> Also do the same but with "/" as file name.  What do you see?

The same thing as above.

> 
> (Seeing "/////" on a line by themselves is normal, that's the strange
> shell prompt that Tramp uses.)
> 
> I think that Tramp found a Perl on the remote system but that this
> Perl cannot execute the Perl code in tramp_file_attributes.  Maybe
> you can give some information about the Perl it finds?  Type:
> 
> M-: (tramp-get-remote-perl nil "rsh" nil "ihsapfc") RET

The result of the above is "/usr/bin/perl5"

/usr/bin/perl5 -V gives

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=os390, osvers=09.00, archname=os390
    uname='os390 sc55 09.00 02 9672 '
    config_args='-des -Dprefix=/usr/local'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='c89', ccflags ='-DMAXSIG=38 -DOEMVS -D_OE_SOCKETS 
-D_XOPEN_SOURCE_EXTENDED -D_ALL_SOURCE -DYYDYNAMIC',
    optimize=' ',
    cppflags=''
    ccversion='', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=undef, longlongsize=, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=4
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='ld', ldflags ='-Wl,EDIT=NO -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lm -lc
    perllibs=-lm -lc
    libc=, so=a, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef, ccdlflags=''
    cccdlflags='-W 0,dll', lddlflags=''


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under os390
  Compiled at Jan  7 2002 15:34:32
  @INC:
    /usr/local/lib/perl5/5.6.1/os390
    /usr/local/lib/perl5/5.6.1
    /usr/local/lib/perl5/site_perl/5.6.1/os390
    /usr/local/lib/perl5/site_perl/5.6.1
    /usr/local/lib/perl5/site_perl
    .




reply via email to

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