Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17266 讨论

Cannot run the quartus 9 on CentOS 5.4

Altera_Forum
名誉分销商 II
3,055 次查看

Hi all, 

I recently changed my os from winxp to CentOS 5.4 , and I installed the quartus 9.0 on it successfully. But when key in "quartus" in terminal, the start window can be seen but disappear immediatelly, and such message are showed in terminal: 

 

--- Quote Start ---  

 

/opt/altera9.0/quartus/mw/bin-linux_optimized/rpcss.secure: /opt/altera9.0/quartus/mw/bin-linux_optimized/rpcss.secure: cannot execute binary file 

Segmentation fault 

 

--- Quote End ---  

 

 

any suggestion? 

 

Thanks in advance 

 

Regards
0 项奖励
19 回复数
Altera_Forum
名誉分销商 II
2,265 次查看

My first guess is that you are on a 64-bit Linux and are trying to execute 32-bit code. 

Is that true? 

-edj
0 项奖励
Altera_Forum
名誉分销商 II
2,265 次查看

running "quartus" on 64-bit machines should work fine. i suppose trying "quartus --64bit" may be worth a try.

0 项奖励
Altera_Forum
名誉分销商 II
2,265 次查看

you can also try removing ~/.mw and /tmp/Mw_* but i don't anticipate this fixing the problem.

0 项奖励
Altera_Forum
名誉分销商 II
2,265 次查看

I'm sure I run the quartus 9 on a 32bit centos 5.4. 

The response of command "uname -a" just as following 

 

--- Quote Start ---  

 

Linux CentOS-EDA02 2.6.18-164.9.1.el5PAE# 1 SMP Tue Dec 15 21:41:47 EST 2009 i686 athlon i386 GNU/Linux 

 

--- Quote End ---  

 

 

And after delete the directory "~/.mw", I got the same result as before. 

 

Anyway, thanks for your responses!
0 项奖励
Altera_Forum
名誉分销商 II
2,265 次查看

until you are able to resolve the issue i would install 9.1 and run qgui (instead of quartus). qgui does not depend on MainWin which appears to be the problem.

0 项奖励
Altera_Forum
名誉分销商 II
2,265 次查看

thks to thepancake. 

I downloaded the quartus 9.1 as you advised. But now I got another problem in the installation. When I run the install scripts in terminal, I got the response  

 

--- Quote Start ---  

 

If: expression syntax 

 

--- Quote End ---  

 

My default shell is bash and tcsh is installed. I changed the default shell from bash to csh with command chsh, but it seems like there is no any help and the problem remained.
0 项奖励
Altera_Forum
名誉分销商 II
2,265 次查看

I use Centos5.4(gnome).Use "install" installed,it can run, but the windows can't maximize . 

Try too use root
0 项奖励
Altera_Forum
名誉分销商 II
2,265 次查看

No matter as normal user or root, the same response "If: expression syntax" accured when runing the install script. So I guess it's related the shell.

0 项奖励
Altera_Forum
名誉分销商 II
2,265 次查看

dxy: try this: 

 

http://www.altera.com/support/kdb/solutions/rd11102009_744.html 

 

 

xusamuel, the shell is called on the first line of the installer script. type which csh or which tcsh and copy the path into that first line of the installer.
0 项奖励
Altera_Forum
名誉分销商 II
2,265 次查看

I can not believe. The software is working correctly. 

After seeing your reply,i am ready to try. 

First,i run the software. Even worse than before,it is very very slow. Simply do not work. 

I remove the Environment Variables(set yesterday,in ".bashrc" file),it work well. 

I don't know why,but I was lucky. 

 

Thank you anyway
0 项奖励
Altera_Forum
名誉分销商 II
2,265 次查看

 

--- Quote Start ---  

No matter as normal user or root, the same response "If: expression syntax" accured when runing the install script. So I guess it's related the shell. 

--- Quote End ---  

 

 

Were you able to solve this problem? My csh is located @ /bin/csh. The first line of the script points correctly to this location, so i don't know what else to do to stop getting this "if: Expression Syntax." when i tryto run the install script. 

 

Cheers, Leonardo.
0 项奖励
Altera_Forum
名誉分销商 II
2,265 次查看

does it refer to a line number? i would like to check this out.

0 项奖励
Altera_Forum
名誉分销商 II
2,265 次查看

[root@localhost Altera Software]# ls 

install ip_lic.txt literature nios2eds readme.txt tools 

ip license.txt modelsim_ae quartus space.txt 

[root@localhost Altera Software]# ./install  

if: Expression Syntax. 

[root@localhost Altera Software]# csh install  

if: Expression Syntax. 

[root@localhost Altera Software]# head -n 1 install # !/bin/tcsh  

 

Any ideas?
0 项奖励
Altera_Forum
名誉分销商 II
2,265 次查看

something strange there, it looks like its installed already. i just grabbed 9.1-linux-free and here's my ls: 

 

$ ls adm.gz dev_info.txt ip_lic.txt md5sum.txt stub.csh agx_we.gz devinfo_we.gz libraries.gz perlsrc.gz stx2_we.gz aii_we.gz dsp_builder.gz license.txt qcleanup stx3_we.gz common.gz eda.gz linux.gz qdesigns.gz stx4_we.gz compare gpl_lic.txt lmf.gz qt stx_we.gz cusp.gz gtar m3k_we.gz readme.txt sys_reqs.txt cyc3_we.gz gzip m7ka_we.gz sgxii_we.gz tutorial.gz cyc4gx_we.gz help.gz m7k_we.gz sgx_we.gz version.txt cycii_we.gz install manifest.txt sopc.gz cyc_we.gz ip.gz maxii_we.gz space.txt
0 项奖励
Altera_Forum
名誉分销商 II
2,265 次查看

and ./install opens up the install script and prompts me for install location. this is on Fedora 12.

0 项奖励
Altera_Forum
名誉分销商 II
2,265 次查看

Forgot to mention i'm trying to install quartus 7.1 (it came along with the DE2-70 board... it supports stratix devices i intend to use, which is not the case for the webpack version).  

 

The problem seems to be in this line: 

 

if ($#argv > 0) then 

 

I'm not a csh wiz, but it looks OK to me. Trying to use quotes around the $#argv didn't solve the problem also...
0 项奖励
Altera_Forum
名誉分销商 II
2,265 次查看

the current script has that same line so i'm not sure that's the problem. 

 

what i do know is that 7.1 is very old, i wouldn't go down that road.
0 项奖励
Altera_Forum
名誉分销商 II
2,265 次查看

 

--- Quote Start ---  

Were you able to solve this problem? My csh is located @ /bin/csh. The first line of the script points correctly to this location, so i don't know what else to do to stop getting this "if: Expression Syntax." when i tryto run the install script. 

 

Cheers, Leonardo. 

--- Quote End ---  

 

 

Sorry, this problem is still unsolved. I installed a clean centos 5.4 on my laptop(thinkpad x60), the same problem remained. I'll try it on an rhel 4.7 workstation after my bussiness travel. 

 

Wish you lucky.
0 项奖励
Altera_Forum
名誉分销商 II
2,265 次查看

 

--- Quote Start ---  

and ./install opens up the install script and prompts me for install location. this is on Fedora 12. 

--- Quote End ---  

 

Now,I install it on the Fedora 12,and use the bash to install, and I had installed the tcsh, in yhe install process didn't any warn. 

But I want to use bash to open the software.it's show the ALTREA's log, and end,show that  

Segmentation fault (core dumped) 

How to solve it???
0 项奖励
回复