- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The 10.1 linux version of quartus seems quite good. I can easily installed it on a ubuntu machine. However, some command tools like sof2falsh, elf2flash still have some problem. When I typed them in the terminal, it usually give me errors like:
can't locate sh_launch.pm in @inc (@inc contains: /bin /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at - line 2.begin failed--compilation aborted at - line 2. I guess it might caused by some environment variables settings . Have anyone met this problem before? Any advice will be appreciated.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Andy,
I'm still working on getting things working in SUSE, but that error went away for me after I setup the following: setenv ALTERA_ROOT /home/altera/10.1 setenv SOPC_KIT_NIOS2 ${ALTERA_ROOT}/nios2eds setenv _QUARTUS_ROOT ${ALTERA_ROOT}/nios2eds/../quartus setenv QUARTUS_ROOTDIR ${ALTERA_ROOT}/quartus setenv _NIOS2EDS_ROOT ${ALTERA_ROOT}/nios2eds/ setenv PATH ${PATH}:${ALTERA_ROOT}/nios2eds/bin/gnu/H-i686-mingw32/bin:${ALTERA_ROOT}/nios2eds/sdk2/bin:${ALTERA_ROOT}/nios2eds/bin:${ALTERA_ROOT}/quartus/bin:${ALTERA_ROOT}/quartus/sopc_builder/bin Of course, change ALTERA_ROOT path to match your install. :) With that, nios2-configure-sof & nios2-flash-programmer work for me. -Brian PS: I still need to search the forums for java errors I get with sof2flash.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Brian,
Those commands works now. Thanks a lot! It has bothered me for quite a long time. I do think that altera should set these Env for the users or give some pop-up hints after installation.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page