[Shipwright] Having problems importing RT plugins into vessel
Wenck, Samuel
samuel.wenck at lmco.com
Mon Aug 24 16:31:24 EDT 2009
Jesse, Here's the errors running the shell script to import RTFM into the vessel.
Thanks... Sam
@rh53 shipwright]$ ./shipwright_rt_package.sh
run cmd: svn info file:///home/wencks/rt_vessel/shipwright/repo//shipwright
run cmd: svn cat
file:///home/wencks/rt_vessel/shipwright/repo//shipwright/map.yml
run cmd: svn cat
file:///home/wencks/rt_vessel/shipwright/repo//shipwright/map.yml
run cmd: svn cat
file:///home/wencks/rt_vessel/shipwright/repo//shipwright/source.yml
run source RTFM: /home/wencks/rt_vessel/shipwright/RTFM-2.4.2.tar.gz
run cmd: /usr/bin/perl -Mversion -MShipwright::Util::CleanINC
shipwright_makefile.pl
run err:
Cannot determine author info from lib/RT/FM.pm
Cannot determine license info from lib/RT/FM.pm
Cannot find the location of RT.pm that defines $RT::LocalPath in: inc .
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8
/opt/rt3/lib /opt/lib/rt3 /opt/lib /usr/local/rt3/lib /usr/local/lib/rt3
/usr/local/lib /home/rt3/lib /home/lib/rt3 /home/lib /usr/rt3/lib /usr/lib/rt3
/usr/lib /sw/rt3/lib /sw/lib/rt3 /sw/lib
run cmd: /usr/bin/perl shipwright_makefile.pl
run err:
Cannot determine author info from lib/RT/FM.pm
Cannot determine license info from lib/RT/FM.pm
Cannot find the location of RT.pm that defines $RT::LocalPath in: inc
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/5.8.8 . /opt/rt3/lib /opt/lib/rt3 /opt/lib /usr/local/rt3/lib
/usr/local/lib/rt3 /usr/local/lib /home/rt3/lib /home/lib/rt3 /home/lib
/usr/rt3/lib /usr/lib/rt3 /usr/lib /sw/rt3/lib /sw/lib/rt3 /sw/lib
run cmd: make clean
run err:
make: *** No rule to make target `clean'. Stop.
failed to run make clean with exit number 512
something wrong when execute make clean: 512
the output is:
the error is: make: *** No rule to make target `clean'. Stop.
at /usr/lib/perl5/site_perl/5.8.8/Shipwright/Util.pm line 83
Shipwright::Util::run('Shipwright::Util', 'ARRAY(0x18004ee0)') called
at /usr/lib/perl5/site_perl/5.8.8/Shipwright/Source/Base.pm line 368
Shipwright::Source::Base::_follow('Shipwright::Source::Compressed=HASH(0x17b47460)',
'/tmp/shipwright_source_kYSz8J/RTFM') called at
/usr/lib/perl5/site_perl/5.8.8/Shipwright/Source/Compressed.pm line 34
Shipwright::Source::Compressed::run('Shipwright::Source::Compressed=HASH(0x17b47460)',
'copy', 'HASH(0x17b57940)') called at
/usr/lib/perl5/site_perl/5.8.8/Shipwright/Script/Import.pm line 157
Shipwright::Script::Import::run('Shipwright::Script::Import=HASH(0x172939d0)',
'file:/home/wencks/rt_vessel/shipwright/RTFM-2.4.2.tar.gz') called at
/usr/lib/perl5/site_perl/5.8.8/App/CLI/Command.pm line 53
App::CLI::Command::run_command('Shipwright::Script::Import=HASH(0x172939d0)',
'file:/home/wencks/rt_vessel/shipwright/RTFM-2.4.2.tar.gz') called at
/usr/lib/perl5/site_perl/5.8.8/App/CLI.pm line 79
App::CLI::dispatch('Shipwright::Script') called at /usr/bin/shipwright
line 17
cannot remove path when cwd is /tmp/shipwright_source_kYSz8J/RTFM for
/tmp/shipwright_source_kYSz8J: at /usr/lib/perl5/5.8.8/File/Temp.pm line 902
[wencks at rh53 shipwright]$
-----Original Message-----
From: Jesse Vincent [mailto:jesse at bestpractical.com]
Sent: Monday, August 24, 2009 4:26 PM
To: Wenck, Samuel
Cc: shipwright at lists.bestpractical.com
Subject: Re: [Shipwright] Having problems importing RT plugins into vessel
Sam,
Can you show us the actual errors?
On Mon, Aug 24, 2009 at 03:38:41PM -0400, Wenck, Samuel wrote:
> I have successfully built a shipwright vessel for RT 3.8.4 which includes nearly all of the required Perl modules. I am using Shipwright version 2.3.5 to build the vessel. I didn't have any issues with adding Perl modules to the vessel but now I am trying to add some RT plugins, including RTFM and RT-Authen-ExternalAuth, with no much success.
>
> Here is the portion of my shell script to build the vessel that pertains to RTFM:
>
> # RTFM installation
> echo 'configure: %%PERL%% Makefile.PL PREFIX=%%INSTALL_BASE%%/local/plugins/RT-FM
> install: %%MAKE%% install' > /home/wencks/rt_vessel/shipwright/tmp/shipwright_RTFM_build
> $IMPORT file:/home/wencks/rt_vessel/shipwright/RTFM-2.4.2.tar.gz --build-script /home/wencks/rt_vessel/shipwright/tmp/shipwright_RT
> FM_build
>
> However, I keep getting errors that seem like the Perl Makefile.PL command is being executed without the PREFIX option. I can run the Makefile.PL command from the command line with the PREFIX option shown above and not get any errors
>
> Does anyone have better suggestions for importing RT plugins into shipwright vessels?
>
> Thanks in advance... Sam
> _______________________________________________
> Shipwright mailing list
> Shipwright at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/shipwright
--
More information about the Shipwright
mailing list