View previous topic :: View next topic |
Author |
Message |
xanderhsia n00b
Joined: 08 Jul 2004 Posts: 34
|
Posted: Wed Oct 13, 2004 2:59 am Post subject: Scilab 3.0 hangs on simple commands |
|
|
Just emerged scilab 3.0 and have found something strange.
I can do integer operations, but not floating point. For instance I can enter 1+1 and get as expected 2. But if I enter 1/2 the command window shows "ans= "and then hangs.
I have tried scilab-3.0 with and w/o atlas and on a couple of different machines (one Pentium-M and one Athlon); all variations have resulted in this error.
The funny thing is I had it working at one point w/o atlas. I reemerged it with USE="atlas" to take advantage of atlas capability. When it failed I unmerged atlas, changed USE flags, and reemerged scilab; it now hangs as above.
So, anybody else out there in Gentoo land seen this? fixed this? willing to try and verify this? got an idea to help me track this down?
Thanks,
xan |
|
Back to top |
|
|
NonDucor n00b
Joined: 26 Jun 2004 Posts: 5 Location: Florianopolis, Brazil
|
Posted: Tue Oct 19, 2004 6:04 pm Post subject: |
|
|
I have just emerged Scilab and got the same problem. I don't know what's happening but I am now re-emerging it with lower CFLAGS (-mtune=atlhon-xp)
I have never used atlas, and I am emerging it with +gtk +gtk2 +tcltk +Xaw3d
Could it be something related with tcl/tk ? That's because it hangs only when it have to show the results on the screen.
For example:
hangs but
doesn't. _________________ When the gods wish to punish us, they answer our prayers.
Oscar Wilde |
|
Back to top |
|
|
xanderhsia n00b
Joined: 08 Jul 2004 Posts: 34
|
Posted: Wed Oct 20, 2004 2:19 pm Post subject: |
|
|
You could be right about the tcltk. I tried emerging with USE="-tcltk" and scilab hangs on start up. Of course, there is a complication depending on which version of gcc you used to compile scilab. On one computer I downgraded gcc to 3.3.4 and reemerged scilab with the tcltk flag and it seems to work fine. On the other, with the more current gcc-3.4.2, scilab hangs on output as you noted, but only for things with decimal points. So, which one is the problem (or both) tcktk, or gcc. I'll try to get the cvs versions of tcltk installed and see if that helps |
|
Back to top |
|
|
NonDucor n00b
Joined: 26 Jun 2004 Posts: 5 Location: Florianopolis, Brazil
|
Posted: Wed Oct 20, 2004 9:30 pm Post subject: |
|
|
You are right. I emerged gcc-3.3.4-r2 and scilab and now it is running fine. I didn't touch tcltk.
By the way, I didn't face the problem you described in your other post https://forums.gentoo.org/viewtopic.php?t=237120.
But I compiled gcc without nls support, coud this be the difference ? (by the way, I usually face problems while emerging stuff with nls).
NonDucor _________________ When the gods wish to punish us, they answer our prayers.
Oscar Wilde |
|
Back to top |
|
|
|