Re: lib/auto/IO/Compress/Compress.a: No such file or directory

2020-01-28 Thread Jeffrey Walton
ormalize/Normalize.a > > lib/auto/Encode/Byte/Byte.a lib/auto/Encode/CN/CN.a > > lib/auto/Encode/EBCDIC/EBCDIC.a lib/auto/Encode/JP/JP.a > > lib/auto/Encode/KR/KR.a lib/auto/Encode/Symbol/Symbol.a > > lib/auto/Encode/TW/TW.a lib/auto/Encode/Unicode/Unicode.a libperl.a > &g

Re: lib/auto/IO/Compress/Compress.a: No such file or directory

2020-01-28 Thread Jeffrey Walton
lib/auto/Encode/TW/TW.a lib/auto/Encode/Unicode/Unicode.a libperl.a > `cat ext.libs` /home/jwalton/bootstrap/lib/libdb.a -lm > /usr/lib/libcrypt.a > cc: lib/auto/IO/Compress/Compress.a: No such file or directory > > Here is the full build: https://pastebin.com/Pu0cYi25 How does the b

lib/auto/IO/Compress/Compress.a: No such file or directory

2020-01-28 Thread Jeffrey Walton
/auto/Encode/JP/JP.a lib/auto/Encode/KR/KR.a lib/auto/Encode/Symbol/Symbol.a lib/auto/Encode/TW/TW.a lib/auto/Encode/Unicode/Unicode.a libperl.a `cat ext.libs` /home/jwalton/bootstrap/lib/libdb.a -lm /usr/lib/libcrypt.a cc: lib/auto/IO/Compress/Compress.a: No such file or directory Here is the full

Re: how to perform file and directory metadata tests/queries in Perl with elevated privs?

2016-04-22 Thread Shlomi Fish
Hi Ken, On Thu, 21 Apr 2016 10:47:08 -0700 Kenneth Wolcott wrote: > Hi; > > I try not to run my scripts with elevated privilege. > > But sometimes files, directories and filesystems need to be accessed > via elevated privilege. > > So how to do this? > > If

Re: how to perform file and directory metadata tests/queries in Perl with elevated privs?

2016-04-22 Thread Rubén Llorente
El Fri, 22 Apr 2016 10:28:04 +, Rubén Llorente escribió: > > SUID and SGID are tricky matters. Common security advice is not to have > SUID or SGID scripts because sometimes you can cause a race condition > and run arbitrary scripts with the privileges of the owner of the > script. Which is

Re: how to perform file and directory metadata tests/queries in Perl with elevated privs?

2016-04-22 Thread Rubén Llorente
El Fri, 22 Apr 2016 13:05:28 +0300, Shlomi Fish escribió: > The way I understand the basic Unix permissions and privileges model > (which is before SELinux and other more complex stuff was introduced) > the way you gain root or other users privileges is by executing (using > EXECVE - possibly

Re: how to perform file and directory metadata tests/queries in Perl with elevated privs?

2016-04-22 Thread Shlomi Fish
Hi Ken, On Thu, 21 Apr 2016 10:47:08 -0700 Kenneth Wolcott wrote: > Hi; > > I try not to run my scripts with elevated privilege. > > But sometimes files, directories and filesystems need to be accessed > via elevated privilege. > > So how to do this? > > If

how to perform file and directory metadata tests/queries in Perl with elevated privs?

2016-04-21 Thread Kenneth Wolcott
Hi; I try not to run my scripts with elevated privilege. But sometimes files, directories and filesystems need to be accessed via elevated privilege. So how to do this? If I'm logged in as an ordinary user and run a script (manually or under crontab), the "-d", "-f", "-r" type of file

it told me that Can't open perl script hello.p1 No such file or directory

2011-05-23 Thread Gang Cheng
hello.p1 No such file or directory!! how can I solve it thank you!!!

Re: it told me that Can't open perl script hello.p1 No such file or directory

2011-05-23 Thread Alexey Mishustin
hello.p1 it told me that Can't open perl script hello.p1 No such file or directory!! how can I solve it thank you!!! Maybe hello.pl, not hello.p1? 'pl' (abbreviated from 'Perl') is the common extension of perl scripts. -- Regards, Alex -- To unsubscribe, e-mail: beginners-unsubscr

Re: it told me that Can't open perl script hello.p1 No such file or directory

2011-05-23 Thread Kenneth Wolcott
as E:\ perl hello.p1         it told me that Can't open perl script hello.p1  No such file or directory!! how can I solve it  thank you!!! p1 is different than pl. pl is the usual suffix chosen for perl programs. Try perl hello.pl after renaming your script to be hello.pl. On UNIX/Linux

Re: it told me that Can't open perl script hello.p1 No such file or directory

2011-05-23 Thread Thomas Lingmann
e:\ as perl.p1 but when I run it with the window commend line as E:\ perl hello.p1 it told me that Can't open perl script hello.p1 No such file or directory!! how can I solve it thank you!!! -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e

Re: make command throws error Perl script no found C:/Program No such file or directory

2009-01-08 Thread viji19812001
On Jan 6, 5:32 pm, rc...@pcug.org.au (Owen) wrote: Hi, I have perl5.10.0 installed under C:/ and using bash prompt to run a makecommand. How are you doing that? When I issue themakecommandit throws error Perl Script not found C:/Program no such file or directory Where

Re: make command throws error Perl script no found C:/Program No such file or directory

2009-01-08 Thread Owen
On Jan 6, 5:32 pm, rc...@pcug.org.au (Owen) wrote: Hi, I have perl5.10.0 installed under C:/ and using bash prompt to run a makecommand. How are you doing that? When I issue themakecommandit throws error Perl Script not found C:/Program no such file or directory Where

Re: make command throws error Perl script no found C:/Program No such file or directory

2009-01-07 Thread viji19812001
for an installation that Iam doing When I issue themakecommandit throws error Perl Script not found C:/Program no such file or directory Where is the script that you are trying to run? Iam installing an opentv kit...hence its make command that iam running under c:/optv.where the kit

Re: make command throws error Perl script no found C:/Program No such file or directory

2009-01-07 Thread Rob Dixon
viji19812...@gmail.com wrote: I have perl5.10.0 installed under C:/ and using bash prompt to run a make command. When I issue the make command it throws error Perl Script not found C:/Program no such file or directory Perl is not installed in Program files it under c: Also I do

make command throws error Perl script no found C:/Program No such file or directory

2009-01-06 Thread viji19812001
Hi, I have perl5.10.0 installed under C:/ and using bash prompt to run a make command. When I issue the make command it throws error Perl Script not found C:/Program no such file or directory Perl is not installed in Program files it under c: Also I do understand it could be a spacing problem

Re: make command throws error Perl script no found C:/Program No such file or directory

2009-01-06 Thread Owen
Hi, I have perl5.10.0 installed under C:/ and using bash prompt to run a make command. How are you doing that? When I issue the make command it throws error Perl Script not found C:/Program no such file or directory Where is the script that you are trying to run? Perl

Could not open testfile.txt: No such file or directory

2008-05-30 Thread Mimi Cafe
Still cannot see why Perl complains that Could not open file for reading. File or directory does exist. I have modified my script and now using Getopt::Long module instead of the @ARGV variable. Can someone take a look? The script is now run with command line options like this: myscript --master

Re: Could not open testfile.txt: No such file or directory

2008-05-30 Thread Matthew Whipple
On Fri, 2008-05-30 at 13:04 +0100, Mimi Cafe wrote: Still cannot see why Perl complains that Could not open file for reading. File or directory does exist. I have modified my script and now using Getopt::Long module instead of the @ARGV variable. Can someone take a look? The script is now

Re: Could not open testfile.txt: No such file or directory

2008-05-30 Thread Beginner
Hi, Did you mean to mail the cgi list? On 30 May 2008 at 13:04, Mimi Cafe wrote: use constant DEFAULT_REPORTDIR = .\\compare_report; Is this a windows path? You can and probably should always use '/' for directory path separators or in this case 'compare_report' would do. my $master_list

Re: No such file or directory

2008-05-30 Thread Mimi Cafe
Still cannot see why Perl complains that Could not open file for reading. File or directory does exist. I have modified my script and now using Getopt::Long module instead of the @ARGV variable. Can someone take a look? The script is now run with command line options like this: myscript --master

Re: No such file or directory

2008-05-29 Thread Ken Foskey
, , $supplied) or die Could not open $supplied: $!\n; # Error: No such file or directory. } Any help Mimi for starters you might want to look at the operator: while( ) { } Will read each file on the command line in sequence, saves you thinking about it. If it is Unix it is case sensitive

Re: No such file or directory

2008-05-29 Thread Mimi Cafe
; # This works fine! my @ad_clients = ADFILE; close ADFILE; my %inputclient; foreach my $supplied (@ARGV){ open (INPUTFILE, , $supplied) or die Could not open $supplied for reading: $!\n # This does not works! Error: No such file or directory Mimi On 29/05/2008, Ken Foskey [EMAIL PROTECTED

Re: No such file or directory

2008-05-29 Thread Jeff Peng
(INPUTFILE, , $supplied) or die Could not open $supplied: $!\n; # Error: No such file or directory. } How do you pass the files to the script? Using opendir to do it is better I may suggest. -- Jeff Peng - [EMAIL PROTECTED] Professional Squid supports in China http://www.ChinaSquid.com

No such file or directory

2008-05-29 Thread Mimi Cafe
: No such file or directory. } Any help Mimi

Re: No such file or directory

2008-05-29 Thread Mimi Cafe
) or die Could not open $ad_clients for reading: $! \n; # This works fine! my @ad_clients = ADFILE; close ADFILE; my %inputclient; foreach my $supplied (@ARGV){ open (INPUTFILE, , $supplied) or die Could not open $supplied for reading: $!\n # This does not works! Error: No such file or directory

No such file or directory

2008-05-21 Thread anthony brooke
Hello, I know that this is a very common problem, but I am very sure that the file exist in that directory, also its permission is -rwxrwxrwx , why does it give such an error ? What are the other potential problems that cause this ? Thanks Send instant messages to your online friends

Re: No such file or directory

2008-05-21 Thread Roman
anthony brooke wrote: Hello, I know that this is a very common problem, but I am very sure that the file exist in that directory, also its permission is -rwxrwxrwx , why does it give such an error ? What are the other potential problems that cause this ? Thanks Send instant messages to your

Re: No such file or directory

2008-05-21 Thread anthony brooke
anthony brooke wrote: Hello, I know that this is a very common problem, but I am very sure that the file exist in that directory, also its permission is -rwxrwxrwx , why does it give such an error ? What are the other potential problems that cause this ? Thanks Send instant messages

Re: No such file or directory

2008-05-21 Thread anthony brooke
anthony brooke wrote: Hello, I know that this is a very common problem, but I am very sure that the file exist in that directory, also its permission is -rwxrwxrwx , why does it give such an error ? What are the other potential problems that cause this ? Thanks Send instant messages

Re: No such file or directory

2008-05-21 Thread Jeff Peng
open(RULES, 'rule.pl') please use full path if you don't know where you are exactly. On Wed, May 21, 2008 at 3:45 PM, anthony brooke [EMAIL PROTECTED] wrote: -- Jeff Peng - [EMAIL PROTECTED] Professional Squid supports in China http://www.ChinaSquid.com/ -- To unsubscribe, e-mail: [EMAIL

Re: No such file or directory

2008-05-21 Thread anthony brooke
- Original Message From: Jeff Peng [EMAIL PROTECTED] To: Perl Beginners beginners@perl.org Sent: Wednesday, May 21, 2008 15:53:00 Subject: Re: No such file or directory open(RULES, 'rule.pl') please use full path if you don't know where you are exactly. On Wed, May 21, 2008 at 3:45

Re: Assemble file and directory name for copy

2007-10-19 Thread Dr.Ruud
Joseph L. Casale schreef: I am using File::Path and need to assemble a directory without a trailing backslash, $Dir and a file, $File for copy. I can't get the syntax right to assemble the path inside the copy? I need something like: Copy ($FromDir . \ . $File, $ToDir . \ . $File) Any

Re: Assemble file and directory name for copy

2007-10-19 Thread Paul Lalli
On Oct 19, 12:13 pm, [EMAIL PROTECTED] (Joseph L. Casale) wrote: I am using File::Path and need to assemble a directory without a trailing backslash, $Dir and a file, $File for copy. I can't get the syntax right to assemble the path inside the copy? I need something like: Copy ($FromDir . \

RE: Assemble file and directory name for copy

2007-10-19 Thread Joseph L. Casale
Thank you! jlc -Original Message- From: Paul Lalli [mailto:[EMAIL PROTECTED] Sent: October-19-07 10:35 AM To: beginners@perl.org Subject: Re: Assemble file and directory name for copy On Oct 19, 12:13 pm, [EMAIL PROTECTED] (Joseph L. Casale) wrote: I am using File::Path and need

problem printing contents of file in directory

2007-06-28 Thread alok nath
Hi, Can anybody tell me why its not printing the contents of each inside a particular folder ? I lost all my hairs scratching my head. Thanks Alok. my $tstToRunDir = C:\\perlScripts ; my $fileInTstToRunDir ; opendir TST2RUN, $tstToRunDir || die Failed to open $tstToRunDir $!\n ; open

Re: problem printing contents of file in directory

2007-06-28 Thread John W. Krahn
alok nath wrote: Hi, Hello, Can anybody tell me why its not printing the contents of each inside a particular folder ? Yes I can, and so can Perl's documentation: perldoc -f readdir my $tstToRunDir = C:\\perlScripts ; my $fileInTstToRunDir ; opendir TST2RUN, $tstToRunDir || die Failed

about creating a file in directory

2005-11-07 Thread ZHAO, BING
Hi, It seems pretty easy to unlink a file from a directory, but wherever describes unlinking file has no counterpart on create a file. I did perldoc -q file: got what seemed to be what I need, then tested my program, no good: opendir PDB,SCRATCH or die cannot

RE: about creating a file in directory

2005-11-07 Thread Ward.P.Fontenot
] Sent: Monday, November 07, 2005 2:50 PM To: beginners@perl.org Subject: about creating a file in directory Hi, It seems pretty easy to unlink a file from a directory, but wherever describes unlinking file has no counterpart on create a file. I did perldoc -q

Re: about creating a file in directory

2005-11-07 Thread JupiterHost.Net
ZHAO, BING wrote: Hi, Hello, It seems pretty easy to unlink a file from a directory, but wherever describes unlinking file has no counterpart on create a file. I did perldoc -q file: got what seemed to be what I need, then tested my program, no good

RE: *.jpg: No such file or directory

2003-03-12 Thread Paul Boutros
: Tuesday, March 11, 2003 8:43 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: ls: *.jpg: No such file or directory Hi My error is as the subject says, i have a script that i am trying in it to locate where a directory with images are. the part in the script that the error i think

RE: *.jpg: No such file or directory

2003-03-12 Thread Dan Muey
*.jpg`; foreach (@jpegs) { print$_; # dont forget that a newline is still at the end of each element in the array... } ls: *.jpg: No such file or directory --- Regards, Mel

Re: ls: *.jpg: No such file or directory

2003-03-12 Thread Scott R. Godin
$_;# dont forget that a newline is still at the end of each element in the array... } ls: *.jpg: No such file or directory --- chdir '/home/me/images/' or die Unable to chdir to /home/me/images: $!; my @jpegs = glob *.jpg; print $_\n

Re: AW: ls: *.jpg: No such file or directory

2003-03-12 Thread Scott R. Godin
. Godin [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. März 2003 11:25 An: [EMAIL PROTECTED]; [EMAIL PROTECTED] Betreff: Re: ls: *.jpg: No such file or directory Mel Awaisi wrote: Hi My error is as the subject says, i have a script that i am trying in it to locate where

RE: *.jpg: No such file or directory

2003-03-12 Thread Corey D. Herbel
) { } -Original Message- From: mel awaisi [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 8:43 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: ls: *.jpg: No such file or directory Hi My error is as the subject says, i have a script that i am trying in it to locate

ls: *.jpg: No such file or directory

2003-03-11 Thread mel awaisi
that a newline is still at the end of each element in the array... } ls: *.jpg: No such file or directory --- Regards, Mel _ Chat online in real time with MSN Messenger http://messenger.msn.co.uk

Re: ls: *.jpg: No such file or directory

2003-03-11 Thread Steve Grazzini
of each # element in the array... } ls: *.jpg: No such file or directory --- I'm not sure what your question is... but since you've declared $dir and not actually used it, maybe you want to try one of these: # # add

No Such File or Directory

2002-10-15 Thread James Edward Gray II
Okay, here's a different on, mkdir() is giving me a No Such File or Directory error. I am passing it a string of two directories I want created, one inside the other, but the way I read the entry in Programming Perl, this is okay. Am I missing something? James -- To unsubscribe, e-mail

RE: No Such File or Directory

2002-10-15 Thread Nikola Janceski
That's not ok. use File::Path; mkpath(); if you want that functionality. -Original Message- From: James Edward Gray II [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 2:14 PM To: [EMAIL PROTECTED] Subject: No Such File or Directory Okay, here's a different

RE: Dates in file or directory names ?

2002-02-18 Thread Dave Cross
On Sat, 02 Feb 2002 17:11:12 +, Timothy Johnson wrote: -Original Message- From: Dave Cross To: [EMAIL PROTECTED] Sent: 2/2/02 1:01 AM Subject: Re: Dates in file or directory names ? On Thu, 31 Jan 2002 21:20:16 +, Mark Richmond wrote: Ok, so I'm confused

windows - how do I detect file vs directory and then traverse

2002-02-09 Thread Joe Collins
anybody done this, i.e. written a perl program to study harddrive and find largest files/largest directories? 2-How do I tell if an item is a file or a directory via stat or something else? Thanks, Joe -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: windows - how do I detect file vs directory and then traverse

2002-02-09 Thread Wagner-David
: Saturday, February 09, 2002 08:58 To: [EMAIL PROTECTED] Subject: windows - how do I detect file vs directory and then traverse Hi, My goal is to find all the directories on my computer and sort them by size order as my PC harddrive is rapidly filling up and I am sure I have some junk on it taking up

Re: Dates in file or directory names ?

2002-02-02 Thread Dave Cross
On Thu, 31 Jan 2002 21:20:16 +, Mark Richmond wrote: Ok, so I'm confused What I want to do is create a directory where the name is the current date say mkdir(2002131) What Can't figure out is how to build the date string. I'm sure I'm just missing something. Any thoughts. [can you

RE: Dates in file or directory names ?

2002-02-02 Thread Timothy Johnson
Or you can just use localtime(); ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(); my $date = ($year + 1900).($mon + 1).$mday; mkdir($date); -Original Message- From: Dave Cross To: [EMAIL PROTECTED] Sent: 2/2/02 1:01 AM Subject: Re: Dates in file or directory names

Dates in file or directory names ?

2002-01-31 Thread Mark Richmond
Title: Blank Ok, so I'm confused What I want to do is create a directory where the name is the current date say mkdir(2002131); What Can't figure out is how to build the date string. I'm sure I'm just missing something. Any thoughts. -regards -mark - Mark Richmond [EMAIL PROTECTED]

RE: Dates in file or directory names ?

2002-01-31 Thread Wagner-David
dd format. Wags ;) -Original Message-From: Mark Richmond [mailto:[EMAIL PROTECTED]]Sent: Thursday, January 31, 2002 13:20To: [EMAIL PROTECTED]Subject: Dates in file or directory names ? Ok, so I'm confused What I want to do is create a directory where the name is the cu

Re: No such file or directory exists

2001-10-24 Thread walter valenti
Hi, look the first line of the script: contains the location of perl's interpreter Most common are: #!/usr/bin/perl #!/usr/local/bin/perl Walter I'm working with my perl scripts in Linux and Windows. my scripts were running fine when I ran them as perl myscript.pl but when I tried to

Re: No such file or directory exists

2001-10-24 Thread walter valenti
:Re: No such file or directory exists Hi, look the first line of the script: contains the location of perl's interpreter Most common are: #!/usr/bin/perl #!/usr/local/bin/perl Walter I'm working with my perl scripts in Linux and Windows. my

Re: No such file or directory exists

2001-10-24 Thread Greg . Froese
That was not the problem. The problem was the ^M at the end of each line walter valenti [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 10/24/2001 09:11 AM To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject:Re: No such file

No such file or directory exists

2001-10-24 Thread Greg . Froese
I'm working with my perl scripts in Linux and Windows. my scripts were running fine when I ran them as perl myscript.pl but when I tried to execute the perl script using only its name (./myscript.pl) then I would get the message No such file exists I searched and searched until I found that

Re: No such file or directory exists

2001-10-24 Thread Etienne Marcotte
PROTECTED] 10/24/2001 09:11 AM To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject:Re: No such file or directory exists Hi, look the first line of the script: contains the location of perl's interpreter Most common are: #!/usr

Re: No such file or directory exists

2001-10-24 Thread Peter Scott
At 09:01 AM 10/24/2001 -0500, [EMAIL PROTECTED] wrote: I'm working with my perl scripts in Linux and Windows. my scripts were running fine when I ran them as perl myscript.pl but when I tried to execute the perl script using only its name (./myscript.pl) then I would get the message No such

Re: No such file or directory exists

2001-10-24 Thread Greg . Froese
elementary? oooh, that hurts =) but you are right, I should have been using -w Peter Scott [EMAIL PROTECTED] 10/24/2001 10:03 AM To: [EMAIL PROTECTED], [EMAIL PROTECTED] cc: Subject:Re: No such file or directory exists At 09:01 AM 10/24/2001 -0500

Re: No such file or directory exists

2001-10-24 Thread Peter Scott
At 10:12 AM 10/24/2001 -0500, [EMAIL PROTECTED] wrote: elementary? oooh, that hurts =) Hey, everyone does it (or something like it), that's the only reason to call it elementary - because we manage to keep making the same mistakes and forgetting to check the obvious. You want to know how many