From: Sebastien.Barre@utc.fr (Sébastien Barré)
To: egcs@cygnus.com
Cc: cygwin@sourceware.cygnus.com
Subject: pb with Cwd::getcwd() ! [perl 5.005_02 / Cygwin32 B.20.1]
Date: Thu, 25 Feb 1999 17:19:00 -0000 [thread overview]
Message-ID: <36d9f665.6589134@news.club-internet.fr> (raw)
(crossposted to the cygwin32 mailing list also)
I'm trying to build/install Perl 5.005_02 for Cygwin32 B20.1
(NT4.0/SP4), and it fails while installing the HTML-pod pages.
After some investigation in the installperl script, I found that the
Cwd::getcwd() (= get pathname of current working directory) was
responsible :
Use ::Cwd;
print getcwd();
=>
readdir(./..): No such file or directory at yo.pl line 2
If I try to use using cwd() (= same as getcwd but is
implemented using the most natural and safe form for the current
architecture) instead of getcwd();
Use ::Cwd;
print cwd();
=>
/d/devel/gnuwin32/root/tmp/perl5.005_02
which seems OK, although /d/devel/gnuwin32/root is mounted to /, hence
it should better returns /tmp/perl5.005_02.
The problem is, getcwd() seems to be used in many other files in the
distribution, therefore I'd like to fix/understand it in a more general
way before starting to replace all instance of getcwd() with cwd().
Thanks a lot.
--
Sebastien Barre : http://www.hds.utc.fr/~barre/
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
WARNING: multiple messages have this Message-ID
From: Sebastien.Barre@utc.fr (Sébastien Barré)
To: egcs@cygnus.com
Cc: cygwin@sourceware.cygnus.com
Subject: pb with Cwd::getcwd() ! [perl 5.005_02 / Cygwin32 B.20.1]
Date: Sun, 28 Feb 1999 23:02:00 -0000 [thread overview]
Message-ID: <36d9f665.6589134@news.club-internet.fr> (raw)
Message-ID: <19990228230200.2SPkj-1uOLa0eWn3nFEUaZOIrSnPUd5wmh40fsN26ak@z> (raw)
(crossposted to the cygwin32 mailing list also)
I'm trying to build/install Perl 5.005_02 for Cygwin32 B20.1
(NT4.0/SP4), and it fails while installing the HTML-pod pages.
After some investigation in the installperl script, I found that the
Cwd::getcwd() (= get pathname of current working directory) was
responsible :
Use ::Cwd;
print getcwd();
=>
readdir(./..): No such file or directory at yo.pl line 2
If I try to use using cwd() (= same as getcwd but is
implemented using the most natural and safe form for the current
architecture) instead of getcwd();
Use ::Cwd;
print cwd();
=>
/d/devel/gnuwin32/root/tmp/perl5.005_02
which seems OK, although /d/devel/gnuwin32/root is mounted to /, hence
it should better returns /tmp/perl5.005_02.
The problem is, getcwd() seems to be used in many other files in the
distribution, therefore I'd like to fix/understand it in a more general
way before starting to replace all instance of getcwd() with cwd().
Thanks a lot.
--
Sebastien Barre : http://www.hds.utc.fr/~barre/
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
next reply other threads:[~1999-02-25 17:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-25 17:19 Sébastien Barré [this message]
[not found] ` < 36d9f665.6589134@news.club-internet.fr >
1999-02-25 20:09 ` Todd Goodman
[not found] ` < 001101be613d$0fc52430$0301a8c0@tgoodman8 >
1999-02-25 22:59 ` (C<readdir> broken ?) " Sebastien Barre
[not found] ` < 4.1.19990226075141.018fbf10@mail.club-internet.fr >
1999-02-26 19:03 ` Todd Goodman
[not found] ` < 001e01be61fd$138424c0$0301a8c0@tgoodman8 >
1999-02-26 20:13 ` Rick Rankin
1999-02-28 23:02 ` Rick Rankin
1999-02-28 23:02 ` Todd Goodman
1999-02-28 23:02 ` Sebastien Barre
1999-02-28 23:02 ` Todd Goodman
1999-02-28 23:02 ` Sébastien Barré
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=36d9f665.6589134@news.club-internet.fr \
--to=sebastien.barre@utc.fr \
--cc=cygwin@sourceware.cygnus.com \
--cc=egcs@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).