From: Robert R. <re...@ii...> - 2004-08-03 16:07:41
|
Paul Kienzle wrote: > > On Jul 28, 2004, at 10:55 AM, Robert Reutemann wrote: > >> Hi >> >> Trying to build the latest octave-forge release >> (2004.07.07) on solaris (sparc) 2.8 using gcc 3.4.1 >> with octave 2.1.57 I ran into a couple of problems. .... >> gmake check fails (segmentation violation while in >> main/signal). I don't know yet, what other problems >> I still have. (It wasn't in main/signal, but in main/sparse, sorry, see below.) > > I would be much obliged if you could split up the > make check work so that it only checks a directory > at a time. At least that way it will minimize the > consequences of a segfault. You probably don't > want to go down to the level of the individual file > since that will start and restart octave too many > times. Alternatively, the test program could monitor > progress and restart at the next test after a segfault. I tried to split up the make check stuff. All the problems seem to be in sparse/.... Up to main/signal, fntests.m works, with the following error: -------------------------------------------------------- >>>>> processing main/signal/kaiserord.m ***** test error("extend demo to show detail at criteria box corners"); !!!!! test failed error: extend demo to show detail at criteria box corners -------------------------------------------------------- Then, I have to comment *all* checks in sparse, except for pcg.m. Including any of the other sparse tests leads to a segmentation violation. With the sparse stuff commented out, the tests run through, with the following error: -------------------------------------------------------- >>>>> processing main/statistics/princomp.m ***** assert(Tsq,1,10*eps); !!!!! test failed error: assert (Tsq,1,10 * eps) expected 1 but got NaN NaN Dimensions don't match shared variables { Tsq = NaN NaN m = -0.70711 0.70711 0.00000 0.70711 0.70711 0.00000 -0.00000 0.00000 1.00000 pc = -0.70711 0.70711 0.00000 0.70711 0.70711 0.00000 -0.00000 0.00000 1.00000 w = 1 0 0 x = 1 2 3 2 1 3 z = 0.70711 0.00000 0.00000 -0.70711 -0.00000 0.00000 } -------------------------------------------------------- In batch_test.m, I again have to remove the sparse stuff ("fem_test"), since I get segmentation violations other- wise. With sparse commented out, batch_test.m passes all tests. >> If anybody has experience with building octave and >> octave-forge on solaris 2.8 with gcc I'll be thankful >> for any hints and better solutions. > > > Please post your experiences on the octave wiki > > http://wiki.octave.org > > Category Install. > I'll try to summarize my experiences there next. I still didn't work on getting the scripts to run with standard /bin/sh -- just using /bin/bash was easier. Robert |