porter
11-20-2006, 11:44 AM
Hello,
So I changed the makefile from CC=CC to CC=g++. I also put changed
xairy.out > xairy.reslt && \
to
./xairy.out > xairy.reslt && \
as was suggested for another users errors
Now I get the following error:
g++ -I/usr/local/src/recipes_cpp/utils -I. -o xairy.out xairy.o airy.o bessik.o bessjy.o beschb.o chebev.o -lm
./xairy.out > xairy.reslt && \
/usr/local/src/recipes_cpp/utils/nrdiff.pl xairy.reslt /usr/local/src/recipes_cpp/demo/answers
/bin/sh: /usr/local/src/recipes_cpp/utils/nrdiff.pl: /usr/local/bin/perl: bad interpreter: No such file or directory
make: *** [xairy.reslt] Error 126
And the files produced are:
airy.o bessik.o chebev.o fncval.dat makefile~ matrx1.dat matrx3.dat table1.dat tarray.dat xairy.o xairy.reslt
beschb.o bessjy.o dates1.dat makefile make.log matrx2.dat spctrl.dat table2.dat text.dat xairy.out
Does anyone have any ideas on how I should proceed to get these code running. Thanks. porter
So I changed the makefile from CC=CC to CC=g++. I also put changed
xairy.out > xairy.reslt && \
to
./xairy.out > xairy.reslt && \
as was suggested for another users errors
Now I get the following error:
g++ -I/usr/local/src/recipes_cpp/utils -I. -o xairy.out xairy.o airy.o bessik.o bessjy.o beschb.o chebev.o -lm
./xairy.out > xairy.reslt && \
/usr/local/src/recipes_cpp/utils/nrdiff.pl xairy.reslt /usr/local/src/recipes_cpp/demo/answers
/bin/sh: /usr/local/src/recipes_cpp/utils/nrdiff.pl: /usr/local/bin/perl: bad interpreter: No such file or directory
make: *** [xairy.reslt] Error 126
And the files produced are:
airy.o bessik.o chebev.o fncval.dat makefile~ matrx1.dat matrx3.dat table1.dat tarray.dat xairy.o xairy.reslt
beschb.o bessjy.o dates1.dat makefile make.log matrx2.dat spctrl.dat table2.dat text.dat xairy.out
Does anyone have any ideas on how I should proceed to get these code running. Thanks. porter