Forum Discussion
Hi,
I have experienced a similar problem.
Running Quartus Prime Lite 19.1 on Ubuntu 18.04 LTS.
When generating HDL from Platform Designer, get the following error:
"
Info: button_pio: Can't locate Getopt/Long.pm in @INC (you may need to install the Getopt::Long module)
(@INC contains:
~/intelFPGA_lite/19.1/quartus/sopc_builder/bin/europa
~/intelFPGA_lite/19.1/quartus/sopc_builder/bin
~/intelFPGA_lite/19.1/quartus/../ip/altera/sopc_builder_ip/common
~/intelFPGA_lite/19.1/quartus/../ip/altera/sopc_builder_ip/altera_avalon_pio
/tools/perl/5.28.1/linux64/lib/site_perl/5.28.1/x86_64-linux
/tools/perl/5.28.1/linux64/lib/site_perl/5.28.1
/tools/perl/5.28.1/linux64/lib/5.28.1/x86_64-linux
/tools/perl/5.28.1/linux64/lib/5.28.1)
"
The workaround I found (based on MUmar's fix) is:
1) Create the folder that is being looked for by Platform Designer:
sudo mkdir /tools/perl/5.28.1/linux64/
2) Create link in this new directory to the perl stuff that is bundled with Quartus:
sudo ln -s ~/intelFPGA_lite/19.1/quartus/linux64/perl/lib /tools/perl/5.28.1/linux64/
This seems to allow the perl being used by Platform Designer to find the GetOpt code contained in the Quartus Prime installation directory.
Best wishes,
Gwilym