- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quartus 19.1 has issues with its perl distribution on Linux. When generating a Qsys project, I get the following error:
```
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
```
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I found a forum case that has a similar issue with yours. Perhaps the solution could help in your current case.
https://forums.intel.com/s/question/0D50P00004VQsDh/does-platform-designer-work-on-ubuntu-1804
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I haven't found this thread :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Paul,
Do you able to solve the issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm able to use Quartus by using the "fix" I mentioned above. Perl in the Quartus installation is still not working out of the box and requires manual changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For me inserting the line
export PERL5LIB=/opt/intel_fpga/quartus/linux64/perl/lib/5.28.1
into
~/.bashrc
solved the problem. Please note that the application must be restarted to inherit the environment variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yeah, but this wasn't necessary with previous versions of Quartus and it could cause further problems or compatibility issues with my systems perl installation.
I have already another "fix" in use (as mentioned above), but would prefer if Intel would recognize this bug and fix it in the next build/release
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fyi, this bug will fix in future releases. In the meanwhile, please use the "fix" that you mentioned above.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page