On Jul 6, 2010, at 11:54, Alexander Hansen wrote:

> Thus I was trying to find the accepted way of using the
>> perl version and the package version.  But that tells me that my  
>> package
>> is duplicately defined.
>>
>> And validate gives
>> % fink validate rmagic.info
>> Validating package file rmagic.info...
>> Error: Duplicate declaration of package "rmagic". (rmagic.info)
>> Error: Duplicate declaration of package "rmagic". (rmagic.info)
>> Error: Duplicate declaration of package "rmagic". (rmagic.info)
>> Error: Duplicate declaration of package "rmagic". (rmagic.info)
>>
>> this is under OS 10.5.  I have the distribution defined 3 times for  
>> 10.5
>> for different versions of perl.  I have 4 versions of perl on my  
>> system
>> (3 in fink and one from the OS).
>>
>> I can get rid of this by defining my package to be rmagic-pmNN but is
>> that necessary?
>>
>> -Scott
>>
>
> If it's primarily a user-executable package, rather than a module that
> other things load, I'd recommend _not_ putting in the -pmNN.

Ok, I will get rid of the -pmNN.  Now the code explicitly calls /usr/ 
bin/perl in the header to the script.  I need to make sure that the  
packages are the correct ones for the version of PERL that is  
installed in the OS.

Ok, but then my package does not validate as above.  Because it thinks  
it is declaring the same package 3 times on OS X 10.5 for the 3  
different PERL installations and once for OS X 10.6 for the same perl  
installation.  I can remove all these so that there is only 1 perl  
version for each OS version.

Is this a bug in the validation routine that I get a duplicate package  
error or is it because I have perl5.8.8 on the system install and  
perl5.10.0, perl5.8.1 and perl 5.8.6 in my fink install?

-Scott



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to