Inline::Octave works under cygwin. I have not tested it under XP. Perhaps there is an issue with nmake not understanding the makefile? -- Andy Adler <[EMAIL PROTECTED]> 1(613)562-5800x6218
On Fri, 6 Aug 2004, Raymond Smith wrote: > Hello, > i am having some trouble with inline octave. I have installed version .44 > or inline, and I have the Inline c cookbook examples working. > > However when i try to get inline octave working i have problems. > First as i understand it, i need to install inline octave by running > Makefile.pl -> make -> make test -> make install > > Makefile.pl works fine > > make > i get an error: > C:\Perl\site\lib\Inline-Octave-0.21>make Makefile:645: *** missing > separator. Stop. > > When I comment out these lines in the makefile then make works, but then > make test gives the following: > C:\Perl\site\lib\INLINE~1.21>make test > C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, > 'blib\lib','blib\arch')" t\1_simple.t t\2_calling.t t\3_defines.t > t\4_multisections.t t\5_hilbert.t t\6_nargout.t t\7_nargin.t > t\8_operators.t t\9_types.t make.exe: *** [test_dynamic] Error -1 > > Even when I run one test at a time (for instance the first test), it > reports that the test failed 100%. > > > I installed Inline using the ppm perl manager. That works fine. I have > downloaded all the Inline:Octave stuff, but it seems like Inline cannot > "see" my Octave extensions. > > > I also tried a simple example: > > use Inline Octave => 'DATA'; > print 'hello'; > __DATA__ > __Octave__ > x = 7; > disp(x); > exit; > > When i tried to run this initially, perl said, I only know about C, Foo, > etc... (octave was not listed) > > > After I put the octave.pm file in the ./Inline > directory, i do not get any errors, but the simple script > seems to hang. > > > Any comments on how to successfully link inline octave with inline would > be greatly appreciated. I am using windows XP Home edition. > > Sincerely, > paul > > > >