ahmadamin41 has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to create a GNUMake file in TAO by using

"#mwc.pl -type gnuace"

command but I am receiving below mention error

"MPC_ROOT was set to /usr/opt/tao/2.0/share/ace/bin/MakeProjectCreator.

Can't locate Driver.pm in @INC ( @INC contains:

/usr/opt/tao/2.0/share/ace/bin/MakeProjectCreator/modules

/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi

/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl

/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi

/usr/lib/perl5/vendor_perl/5.8.8

/usr/lib/perl5/vendor_perl

/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi

/usr/lib/perl5/5.8.8 .

) at /usr/opt/tao/2.0/share/ace/bin/mwc.pl line 53."

Kindly share which perl package I need to install inorder to get this Driver.pm? Thanks
#! /usr/bin/perl eval '(exit $?0)' && eval 'exec perl -w -S $0 ${1+"$@"}' & eval 'exec perl -w -S $0 $argv:q' if 0; # ****************************************************************** # Author: Chad Elliott # Date: 6/17/2002 # $Id: mwc.pl 1861 2011-08-31 16:18:08Z mesnierp $ # ****************************************************************** # ****************************************************************** # Pragma Section # ****************************************************************** require 5.006; use strict; use FindBin; use File::Spec; use File::Basename; my($basePath) = (defined $FindBin::RealBin ? $FindBin::RealBin : File::Spec->rel2abs(dirna +me($0))); if ($^O eq 'VMS') { $basePath = File::Spec->rel2abs(dirname($0)) if ($basePath eq ''); $basePath = VMS::Filespec::unixify($basePath); } $basePath .= '/MakeProjectCreator'; my($mpcroot) = $ENV{MPC_ROOT}; my($mpcpath) = (defined $mpcroot ? $mpcroot : dirname(dirname($basePath)) . '/MPC +'); unshift(@INC, $mpcpath . '/modules'); if (defined $mpcroot) { print STDERR "MPC_ROOT was set to $mpcroot.\n"; } if (! -d "$mpcpath/modules") { print STDERR "ERROR: Unable to find the MPC modules in $mpcpath.\n"; if (defined $mpcroot) { print STDERR "Your MPC_ROOT environment variable does not point to + a ", "valid MPC location.\n"; } else { print STDERR "You can set the MPC_ROOT environment variable to the + ", "location of MPC.\n"; } exit(255); } require Driver; # ************************************************************ # Subroutine Section # ************************************************************ sub getBasePath { return $mpcpath; } # ************************************************************ # Main Section # ************************************************************ my($driver) = new Driver($basePath, Driver::workspaces()); exit($driver->run(@ARGV));

Replies are listed 'Best First'.
Re: Driver.pm Package
by wazat (Monk) on Dec 20, 2013 at 18:27 UTC

    My guess is that Driver.pm is part of MakeProjectCreator, not a distinct CPAN module. My first step would be to see if I could find anything in your directory hierarchy. For example:

    find /usr/opt/tao | grep -i driver
Re: Driver.pm Package
by Anonymous Monk on Dec 20, 2013 at 17:58 UTC
    No idea. I've never heard of it and can't find anything on Google, either. Have you considered contacting Object Computing, Inc, who appear to be responsible for MakeProjectCreator?