Perl Path incorrect during Platform Designer Generate
I downloaded one of the Labs for the Platform Designer online training and when I went to try to generate the .qsys file in it, I keep getting an error message about perl not being found.
I am running v19.4 on RHEL8.
Error: Error starting the process ([/<INSTALL_PATH>/bin64/perl/bin/perl.exe, mk_avalon_state_machine_master.pl, file=/tmp/alt0109_4419065792222304765.dir/0011_av_sm_master_gen/avalon_state_machine_master, entityname=avalon_state_machine_master, av_commands=idle; write 00 FF; write 00 FF; write 00 F3; write 00 FC; read 1040; testbit 0 0; read 1040; testbit 0 1; write 00 F1; write 00 F2; write 00 F4; write 00 F8; write 40 00; write 44 00; write 48 00; write 4C 40; write 58 8C; read 40; testbit 0 1; write 00 FA; write 00 F5; read 1040; testbit 0 0; read 1040; testbit 0 1; write 00 F1; write 00 F2; write 00 F4; write 00 F8; write 20 00; write 24 00; write 28 00; write 2C 40; write 38 28C; read 20; testbit 0 1; write 20 00; write 24 00; write 28 10000; write 2C 40; write 38 8C; read 20; testbit 0 1; read 1040; testbit 1 0; read 1040; testbit 1 1; write 00 F8; write 00 F4; write 00 F2; write 00 F1; loop 0]): Cannot run program "/<INSTALL_PATH>/bin64/perl/bin/perl.exe" (in directory "~/altera_test/IPD17_1/Lab1/ip/avalon_state_machine_master"): error=2, No such file or directory
The problem is that the perl.exe file is not in /bin64/perl/bin/ but rather in /linux64/perl/bin/ in my install. I tried to change the system path to add the linux64 path at the top, but it ignored that. It seems that quartus has created a $perl internal variable that is set to the bin64 path. Is there a way to correct this?
How do I get the tool to point to its own perl directory correctly?
Thanks