I'm running the MSVC build of Octave 3.0.3 + Octave-Forge 2008-08-31 under
Windows XP. I am experimenting with the JHandles Java source to add
exponents to the axes to improve scaling. For instance, when I plot(1:10,
(1:10)*1e-20), I want reasonable y-axis tick labels and a "\times 10^{20}"
near the end of the y-axis.
I downloaded the JHandles source package and have made some initial edits,
and I would like to build jhandles.jar. I have tried running the configure
script included in the source tarball, but I can't get it to work. After
much experimentation, here are the steps I've taken:
- Install Octave 3.0.3 MSVC build to c:\gnu\octave-3.0.3, (to avoid
spaces in the pathname)
- Install MSVC 8 (Visual Studio 8 Express Edition) to its default
- Install MSYS/MinGW.to C:\MinGW
- Start a MSVC 8 command prompt
- Start MinGW's bash within that command prompt
- Add c:\gnu\octave-3.0.3\bin to the path (called /c/gnu/octave-3.0.3/bin
from within MinGW)
- Unpack the JHandles source tarball and change to its directory
- Run "sh configure"
Here's the output I get:
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for mkoctfile... mkoctfile
conftest.cc
c:\gnu\octave-3.0.3\include\octave-3.0.3\octave\lo-utils.h(69) : fatal error
C1083: Cannot open include file: 'windows.h': No such file or directory
LINK : fatal error LNK1181: cannot open input file 'conftest.o'
configure: error: Could not run mkoctfile
I'm not sure why lo-utils.h is looking for windows.h and why it can't be
found; I would expect configure to have taken care of this. I have tried
experimenting with cccl (mentioned by Michael Goffioul in 2006 on
octave-maintainers) and also with building under Cygwin, but neither gets me
any farther than this. In the end, all I really want to do is build
jhandles.jar, and I don't care if mkoctfile can be used or not.
So what am I doing wrong, or what do I need to do to build jhandles.jar?
Thanks in advance.
Joe V.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev