FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
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.
4961 Discussions

Does Platform Designer work on Ubuntu 18.04?

DMAHM1
Beginner
1,379 Views

I have Quartus Prime Standard Edition 19.1 working on Ubuntu 18.04. I am trying to use the platform designer. When I try to generate the HDL files, I get an error preceded by some info which are related to Quartus not finding certain Perl libraries which are already installed:

"Can't locate Getopt/Long.pm in @INC (you may need to install the Getopt::Long module)"

I am wondering if Platform Designer is supported on Ubuntu.

If it is, how can I fix this issue?

0 Kudos
12 Replies
AnandRaj_S_Intel
Employee
820 Views

Hi Dina,

 

Are you using Ubuntu 18.04 LTS? (Ubuntu 18.04 LTSis supported version for Quartus Prime Standard Edition 19.1)

If yes, please try to reinstall the Quartus and check.

if no, use Operating System Support for Intel FPGA Software Version 19.1

http://fpgasoftware.intel.com/requirements/19.1/

 

Regards

Anand

DMAHM1
Beginner
820 Views

I am using Ubuntu 18.04 LTS, I also tried reinstalling Quartus, but the files generation still fails.

MSchn21
Beginner
820 Views

I have this exact same problem: Ubuntu 18.04LTS and Quartus 19.1. I have installed the prerequisites per the installation document located at https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/manual/archives/quartus_ins... .

 

Qsys fails with this message on a simple PIO:

Can't locate Getopt/Long.pm in @INC (you may need to install the Getopt::Long module) (@INC contains: /opt/Intel/QuartusPrimeStandard_19.1/quartus/sopc_builder/bin/europa /opt/Intel/QuartusPrimeStandard_19.1/quartus/sopc_builder/bin /opt/Intel/QuartusPrimeStandard_19.1/quartus/../ip/altera/sopc_builder_ip/common /opt/Intel/QuartusPrimeStandard_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 /opt/Intel/QuartusPrimeStandard_19.1/quartus/../ip/altera/sopc_builder_ip/altera_avalon_pio/generate_rtl.pl line 18.

 

This design didn't have any problem with version 18.1.

 

 

 

PGötz
Beginner
820 Views

The Problem also appear on Arch Linux using Quartus Lite 19.1 . The same design worked with 18.1 flawlessly!

AnandRaj_S_Intel
Employee
820 Views

Hi Dina,

 

Is this replicable for any new projects in your system environment??

Please try to reinstall and check.

If it does not work, We have to install the latest Quartus version and try.

Based on the information you provided, we can identify if it is a bug.

 

Regards

Anand

 

 

DMAHM1
Beginner
820 Views

Yes, I tried for different projects and I get the same warning followed by generation failed error. However, it works fine on a Windows 10 PC.

I tried reinstalling and it still didn't work. I have the latest version of the Quartus Prime Standard Edition (19.1).

AnandRaj_S_Intel
Employee
820 Views

Hi Dina,

 

Sorry for the inconvenience caused.

bug reports was filled for the same issue.

Please check below link

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base...

 

Regards

Anand

DMAHM1
Beginner
820 Views

I already have these libraries installed, except for lib32bz2-1.0 which I cannot find. Quartus itself works fine, the only problem arises when I try to generate HDL files using platform Designer.

PGötz
Beginner
820 Views

The problem exists within the included perl distribution being compiled with the wrong paths!

 

Full error (with additional line breaks):

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

It seems like the perl distribution points to the wrong directory because the library is located at /opt/altera/19.1/quartus/linux64/perl/lib/5.28.1/Getopt/Long.pm

 

I've found a bunch references in the perl distribution pointing to the wrong directory ( https://pastebin.com/wfUKcSjq )

 

A "fix" seems to be to link to the system perl executeable: http://www.armadeus.org/wiki/index.php?title=Quartus_installation_on_Linux#Perl_Getopt::Long

 

Full log: https://pastebin.com/b91vNq3k

 

Linux Distribution: Arch

 

$ quartus --version Quartus Prime Design Software  Version 19.1.0 Build 670 09/22/2019 SJ Lite Edition   $ which quartus /opt/altera/19.1/quartus/bin/quartus

 

DMAHM1
Beginner
820 Views

I figured out the problem. Quartus was unable to locate the latest Perl library files so I had to modify the PERL5LIB environment variable to add the new path.

AnandRaj_S_Intel
Employee
820 Views

Thanks for sharing the solution.

ABerg36
Beginner
820 Views

Posting this here for the next Ubuntu 20.4 user who still has problems after trying the environment variable solution. http://www.armadeus.org/wiki/index.php?title=Quartus_installation_on_Linux#Perl_Getopt::Long

Reply