Summary: | sci-mathematics/scilab-4.1* does not compile. Can't find macros | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Kordik <mike> |
Component: | Current packages | Assignee: | Gentoo Science Mathematics related packages <sci-mathematics> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | jlec |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mike Kordik
2006-11-21 15:27:43 UTC
(In reply to comment #0) Due to the warning I got about GTK, I did re-emerge with USE=-gtk emerge scilab. When it gets to the same point it runs scilab but within scilab I get the same exact error about not being able to load('SCI/macros/mtlb/lib') (In reply to comment #0) > load('SCI/macros/mtlb/lib') > !--error 241 > File SCI/macros/mtlb/lib does not exist or read access denied > at line 42 of exec file called by : > exec('SCI/scilab.star',-1);;quit > Somehow, scilab seems to get confused with its internal SCI environmental variable which should expand into the proper path. Do you already have a version of scilab installed? Thanks, Markus (In reply to comment #2) > Somehow, scilab seems to get confused with its internal SCI > environmental variable which should expand into the proper path. > Do you already have a version of scilab installed? > > Thanks, > Markus > I have 4.0 installed now but it no longer runs. It complains about not finding libvte.so.4 when I try to run it. I do not run scilab that often so I don't know when it broke. I am emerging updates often so it could have broken weeks ago and I am just now finding out when I want to run scilab. I re-emerged vte but that didn't help. Now I am trying to re-emerge scilab-4.0. Thanks (In reply to comment #3) > (In reply to comment #2) > > Somehow, scilab seems to get confused with its internal SCI > > environmental variable which should expand into the proper path. > > Do you already have a version of scilab installed? > > > > Thanks, > > Markus > > > > I have 4.0 installed now but it no longer runs. It complains about not finding > libvte.so.4 when I try to run it. I do not run scilab that often so I don't > know when it broke. I am emerging updates often so it could have broken weeks > ago and I am just now finding out when I want to run scilab. > > I re-emerged vte but that didn't help. Now I am trying to re-emerge scilab-4.0. > > Thanks > I emerge --unmerge scilab and tried to emerge it again but I get the same error. Any ideas for me to try? Thanks Could you possibly capture all of the emerge output (until it fails), bzip it and post it somewhere (or send it to me via email). I'd like to have a look at it. Please don't post it here since it'll probably be a fairly large file. Thanks, Markus Hi Mike, I had a look at the output you sent me and, unfortunately, nothing really looked suspicious. There are two things I'd like you to please try: - try compiling without USE="-Xaw3d" - if this doesn't help, please cd into /var/tmp/portage/sci-mathematics/scilab-4.0/work/scilab-4.0/macros and run ../bin/scilab -nwni -ns -f buildmacros.sce by hand to see what happens. If this still hangs you could try an strace strace ../bin/scilab -nwni -ns -f buildmacros.sce and check where it hangs. Thanks, Markus (In reply to comment #6) > Hi Mike, > > I had a look at the output you sent me and, unfortunately, nothing really > looked suspicious. There are two things I'd like you to please try: > - try compiling without USE="-Xaw3d" > - if this doesn't help, please cd into > /var/tmp/portage/sci-mathematics/scilab-4.0/work/scilab-4.0/macros > and run > ../bin/scilab -nwni -ns -f buildmacros.sce > by hand to see what happens. If this still hangs you could try an strace > strace ../bin/scilab -nwni -ns -f buildmacros.sce > and check where it hangs. > > Thanks, > Markus > Markus, When I emerge scilab with -Xaw3D, I get the same error. Now that I am running with -gtk it runs scilab with when it hits the buildmacros command but I get the same error: Startup execution: loading initial environment load('SCI/macros/mtlb/lib') !--error 241 File SCI/macros/mtlb/lib does not exist or read access denied at line 42 of exec file called by : exec('SCI/scilab.star',-1);;quit but it is within scilab. I ran the buildmacros.sce like you suggest but it is in a different path on my system: /var/tmp/portage/scilab-4.0/work/scilab-4.0/macros It runs scilab as it does with the emerge and I get the same error within scilab Startup execution: loading initial environment load('SCI/macros/mtlb/lib') !--error 241 File SCI/macros/mtlb/lib does not exist or read access denied at line 42 of exec file called by : exec('SCI/scilab.star',-1);;quit I ran it with strace. It gets to the waitpid command towards the end and runs scilab to compile the macros and I get the same error within scilab and I have to quit scilab twice to get out. In my original post above I said it hangs. It does with use=:gtk". With use="-gtk tcltk" it runs scilab but gives the same error. I have bzipped the strace output and emailed it to you. Thanks Mike Hi Mike, Unfortunately, the strace didn't provide any clues. The reason for the failure likely is the fact that the call ../bin/scilab -nwni -ns -f buildmacros.sce ignores the -ns command line flag and happily loads the environment anyway causing the build to fail. I found a similar report in scilab's bugzilla and we'll probably have to watch it until the scilab devs come up with a fix http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2212 Best, Markus Hi Mike, Could you please try with scilab-4.1 (should hit the mirrors in about an hour from now) and let me know if you still have this problem? Thanks, Markus (In reply to comment #9) > Hi Mike, > > Could you please try with scilab-4.1 (should hit the mirrors in about an > hour from now) and let me know if you still have this problem? > > Thanks, > Markus > Markus, Unfortunately, I get the same error. Thanks for continuing to look at this. There must be something else on my system that is messed up. Thanks Mike Hi Mike, Bummer, I was really hoping that 4.1 would help you out! It doesn't look like much has happened on the upstream bug. I'll post back in case I can think of something else to try. Best, Markus Hi Mike, Are you still having issues with this using scilab-4.1.1? Thanks, Markus (In reply to comment #12) > Hi Mike, > > Are you still having issues with this using scilab-4.1.1? > > Thanks, > Markus > Yes. Unfortunately. Same problem Hi Mike, Too bad :( BTW, in a different bug the issue came up that emerging scilab with USE="-tk gtk" for some very weird reason causes all sorts of trouble on amd64. Hence, should these be your useflags as well please try USE="tk gtk" even if you only want the gtk interface. Thanks, Markus (In reply to comment #14) > Hi Mike, > > Too bad :( > BTW, in a different bug the issue came up that emerging > scilab with USE="-tk gtk" for some very weird reason > causes all sorts of trouble on amd64. Hence, should these > be your useflags as well please try USE="tk gtk" even if > you only want the gtk interface. > > Thanks, > Markus > USE="tk gtl" emerge scilab . . . Startup execution: loading initial environment load('SCI/macros/mtlb/lib') !--error 241 File SCI/macros/mtlb/lib does not exist or read access denied at line 51 of exec file called by : exec('SCI/scilab.star',-1);;quit --> Same thing Hi Mike, Thanks for trying and too bad :( Markus Is this still valid for 4.1.2? dropped from the tree, use sci overlay versions instead |