Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15322 Discussions

[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:

GApts
Beginner
601 Views

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
306 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.

Reply