Dear Jan,

The perl module is already installed (as /usr/share/perl5/Net/Cmd.pm).  I'm 
trying to help the sage compiler locate it, either

1) by copying it to someplace that the compiler will look (which I already 
tried, without success, as documented above) or 

2) by telling the compiler where on my system to look for it (which I can't 
figure out how to do, but may be the better option, in case the compiler 
needs other perl modules).

Thanks,
Mike

On Wednesday, March 22, 2023 at 11:45:00 PM UTC-4 Jan Groenewald wrote:

> Hi
>
> Can you do this?
>
> perl -MCPAN -e 'install IPC::Cmd'
>
> (works for me on debian) 
>
> Regards,
> Jan
>
>
> On Thu, 23 Mar 2023 at 04:52, Mike <mill...@gmail.com> wrote:
>
>> Running "$ MAKE='make -j40' make" gives the error message
>> =====
>> The following package(s) may have failed to build (not necessarily
>> during this run of 'make all-start'):
>> * package:         openssl-3.0.5
>>   last build time: Mar 22 18:43
>>   log file:        /home/millermj/sage-9.8/logs/pkgs/openssl-3.0.5.log
>>   build directory: 
>> /home/millermj/sage-9.8/local/var/tmp/sage/build/openssl-3.0.5
>> =====
>>
>> and /home/millermj/sage-9.8/logs/pkgs/openssl-3.0.5.log says
>>
>> =====
>> Can't locate IPC/Cmd.pm in @INC (@INC contains: 
>> /home/millermj/sage-9.8/local/var/tmp/sage/build/openssl-3.0.5/src/util/perl 
>> /home/millermj/sage-9.8/local/lib/perl5 /usr/local/amber20/lib/perl 
>> /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
>> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . 
>> /home/millermj/sage-9.8/local/var/tmp/sage/build/openssl-3.0.5/src/external/perl/Text-Template-1.56/lib)
>> =====
>>
>> Locating the required file with "$ find / -name Cmd.pm 2>/dev/null"
>> /usr/share/perl5/Net/Cmd.pm
>>
>> Copying to a directory in @INC:
>> $ mkdir 
>> /home/millermj/sage-9.8/local/var/tmp/sage/build/openssl-3.0.5/src/util/perl/IPC
>> $ cp /usr/share/perl5/Net/Cmd.pm 
>> /home/millermj/sage-9.8/local/var/tmp/sage/build/openssl-3.0.5/src/util/perl/IPC
>> $ ls 
>> /home/millermj/sage-9.8/local/var/tmp/sage/build/openssl-3.0.5/src/util/perl/IPC
>> Cmd.pm
>>
>> Then running
>> ./configure
>> MAKE='make -j40' make
>>
>> results in the same "Can't locate IPC/Cmd.pm" error message as above.
>>
>> So, how can I help the compiler find that module?
>> (Note: I don't have root access to the machine.)
>>
>> Running CentOS Linux release 7.9.2009 (Core), if that helps.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "sage-support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-support...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/6ca2dcd0-85dd-4bca-a122-716e7d41b10cn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/sage-support/6ca2dcd0-85dd-4bca-a122-716e7d41b10cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/1f10079b-9393-4d54-9f30-ac1ccf4c3117n%40googlegroups.com.

Reply via email to