Community
cancel
Showing results for 
Search instead for 
Did you mean: 
GApts
Beginner
432 Views

[Ubuntu 18.04 LTS] Quartus Prime Platform Designer HDL generation fails with Can't locate Getopt/Long.pm in @INC (you may need to install the Getopt::Long module) (@INC contains:

OS: Ubuntu 18.04 LTS. Clean installation.

I tried adding

export PERL5LIB=/home/giorgi3092/intelFPGA_lite/19.1/quartus/linux64/perl/lib/5.28.1

to ~/.bashrc but problem persisted.

 

 

 

Error messages:

 

Info: button_pio: Can't locate Getopt/Long.pm in @INC (you may need to install the Getopt::Long module) (@INC contains: /home/giorgi3092/intelFPGA_lite/19.1/quartus/sopc_builder/bin/europa /home/giorgi3092/intelFPGA_lite/19.1/quartus/sopc_builder/bin /home/giorgi3092/intelFPGA_lite/19.1/quartus/../ip/altera/sopc_builder_ip/common /home/giorgi3092/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) at /home/giorgi3092/intelFPGA_lite/19.1/quartus/../ip/altera/sopc_builder_ip/altera_avalon_pio/generate_rtl.pl line 18.

 

 

Info: button_pio: BEGIN failed--compilation aborted at /home/giorgi3092/intelFPGA_lite/19.1/quartus/../ip/altera/sopc_builder_ip/altera_avalon_pio/generate_rtl.pl line 18.

 

Info: button_pio: Done RTL generation for module 'soc_system_button_pio'

Error: button_pio: Failed to find module soc_system_button_pio

 

Info: button_pio: "soc_system" instantiated altera_avalon_pio "button_pio"

 

Error: Generation stopped, 16 or more modules remaining

 

0 Kudos
1 Reply
GApts
Beginner
138 Views

My bad.

I was in the wrong directory while executing commands at http://www.armadeus.org/wiki/index.php?title=Quartus_installation_on_Linux#Perl_Getopt::Long

Followed it, and problem solved.