gnubbs has asked for the wisdom of the Perl Monks concerning the following question:
When I run this code, I get the following:#!/usr/local/bin/perl -w use strict; #Create global vars for paths, etc. my $temp_dir_path = "/tmp/usage"; my $temp_iso_file = "/tmp/usage_report.iso"; my $archive_name = "archive.tar"; my $mkisofs_cmd = "/usr/bin/mkisofs"; my @mkisofs_flags = ("-o $temp_iso_file","-J","-R","-v", "-V 'Usage Re +ports'", $temp_dir_path . "/" . $archive_name); if ((system $mkisofs_cmd, @mkisofs_flags) == 0) { die "Unable to make ISO image!!\n\n"; }
If I run mkisofs at the command line, it works without a hitch.[root@gemOS-v007]# perl -w test.pl mkisofs 1.14 (i686-pc-linux-gnu) /usr/bin/mkisofs: No such file or directory. Unable to open disc image + file
I apparently had one too many beers last night to be able to figure this out. Thanks for any help. gnubbs/usr/bin/mkisofs -o /tmp/usage_report.iso -J -R -v -V 'Usage Reports' +/tmp/usage/archive.tar
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Quick mkisofs question
by Corion (Patriarch) on Nov 04, 2004 at 15:06 UTC | |
by gnubbs (Beadle) on Nov 04, 2004 at 15:14 UTC | |
by JediWizard (Deacon) on Nov 04, 2004 at 15:18 UTC | |
|
Re: Quick mkisofs question
by PodMaster (Abbot) on Nov 04, 2004 at 15:10 UTC |