SPUG: Module installation

DeRykus, Charles E charles.e.derykus at boeing.com
Thu Feb 24 13:16:28 PST 2005


Yes, something's clearly cattywampus in your prod. install. You might want
to investigate variant Perl installs on the dev/prod hosts.  Could the production
box compiler have been upgraded or removed for instance...? Does it match 
the compiler version that Perl was built with...? Run perl -V on both boxes and 
look for the 'cc' settings.
 
More imporant probably would be to reprise what occurred when the admin ran
the Date::Calc module install...?  Did he use CPAN to do it....?  What failed, etc.
It's hard to know without some more sleuthing.
 
--
Charles DeRykus
 

	-----Original Message-----
	From: Peterson, Eric D. [mailto:Eric.Peterson at wwireless.com] 
	Sent: Thursday, February 24, 2005 11:02 AM
	To: DeRykus, Charles E; spug-list at pm.org
	Subject: RE: SPUG: Module installation
	
	
	 
	Yes, both are v.5.4.  As for the configure options, the SA didn't tell/ask me about them.
	 
	You think it might be an effect of how Perl itself was made on each machine?
	 

	________________________________________
	Eric D. Peterson, Reporting
	Prediction is very difficult, especially about the future. -Niels Bohr

		-----Original Message-----
		From: DeRykus, Charles E [mailto:charles.e.derykus at boeing.com] 
		Sent: Thursday, 24 February, 2005 10:53
		To: Peterson, Eric D.; spug-list at pm.org
		Subject: RE: SPUG: Module installation
		
		
		Do you know if the same version and configure options of Date-Calc were used...?  I don't know
		the recent version history of Date-Calc but it almost looks as if there might be a pure-perl version
		as well as an option for configuring a compiled component since the development box has the arch.
		specific PA-RISC2.0 in the path. 
		 
		--
		Charles DeRykus
		 

			-----Original Message-----
			From: Peterson, Eric D. [mailto:Eric.Peterson at wwireless.com] 
			Sent: Thursday, February 24, 2005 9:10 AM
			To: 'spug-list at pm.org'
			Subject: SPUG: Module installation
			
			


			I've a question about installing Perl Modules on HPUX.  On our dev box a module got installed as 

			        /opt/perl/lib/site_perl/5.6.1/PA-RISC2.0-thread-multi/Date/Calc.pm 

			Whereas on the production box it got installed as 

			        /opt/perl5/lib/site_perl/5.6.1/Date-Calc-5.4/Calc.pm 

			When I run code to use this module, it runs successfully in Dev but fails in Production.  I'm not the root user and am not the person to do the make.  What can I tell my SA that would help him?  He seems to be at a loss on how to install Perl Modules.

			        #!/usr/bin/perl -T 
			        use warnings; 
			        use strict; 
			        use Date::Calc qw/Today Add_Delta_Days/; 


			Can't locate loadable object for module Date::Calc in @INC (@INC contains: /opt/perl5/lib/site_perl/5.6.1/Date-Calc-5.4 /opt/perl5/lib/5.6.1/PA-RISC2.0-thread-multi /opt/perl5/lib/5.6.1 /opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0-thread-multi /opt/perl5/lib/site_perl/5.6.1 /opt/perl5/lib/site_perl) at ./d line 46

			Compilation failed in require at ./d line 46. 
			BEGIN failed--compilation aborted at ./d line 46. 


			________________________________________ 
			Eric D. Peterson, Reporting 
			Dreams that do come true can be as unsettling as those that don't. -Brett Butler, Keep Deep in Paradise 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/spug-list/attachments/20050224/670cf932/attachment.htm


More information about the spug-list mailing list