the current optiminterp svn fails to install on cygwin 3.6.1

----------------------------------------------------------
  pkg ('install', '-noauto', '-verbose', 'optiminterp-0.3.3svn9515.tar.gz')
mkdir (/tmp/oct-28c5ec.24)
untar (optiminterp-0.3.3svn9515.tar.gz, /tmp/oct-28c5ec.24)
make: *** [all] Error 1
'make' returned the following error: make: Entering directory 
`/tmp/oct-28c5ec.24/optiminterp/src'
*** mkoctfile lacks Fortran 90 support
Makefile:22: recipe for target `all' failed
-----------------------------------------------------------

but if I run in the src directory

./autogen.sh
./configure
make

it works:
----------------------------------------------------------------------
mkoctfile -DHAVE_OCTAVE_ -v -c optiminterp.cc
g++ -c -I/usr/include/octave-3.6.1/octave/.. 
-I/usr/include/octave-3.6.1/octave -mieee-fp -I/usr/include/freetype2 -g 
-O2 -pipe -DHAVE_OCTAVE_ optiminterp.cc -o optiminterp.o
FFLAGS="-g -O2  -mieee-fp" mkoctfile -DHAVE_OCTAVE_ -v -c 
optimal_interpolation.F90
gfortran-4 -c -g -O2 -mieee-fp -DHAVE_OCTAVE_ optimal_interpolation.F90 
-o optimal_interpolation.o
FFLAGS="-g -O2  -mieee-fp" mkoctfile -DHAVE_OCTAVE_ -v -c 
optiminterp_wrapper.F90
gfortran-4 -c -g -O2 -mieee-fp -DHAVE_OCTAVE_ optiminterp_wrapper.F90 -o 
optiminterp_wrapper.o
mkoctfile -DHAVE_OCTAVE_ -v -o optiminterp.oct optiminterp.o 
optimal_interpolation.o optiminterp_wrapper.o  -llapack 
-L/usr/lib/gcc/i686-pc-cygwin/4.5.3 
-L/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../.. -lm -lgfortran -lcygwin 
-luser32 -lkernel32 -ladvapi32 -lshell32
g++ -shared -Wl,--export-all-symbols -Wl,--enable-auto-import 
-Wl,--enable-runtime-pseudo-reloc -o optiminterp.oct optiminterp.o 
optimal_interpolation.o optiminterp_wrapper.o -llapack 
-L/usr/lib/gcc/i686-pc-cygwin/4.5.3 
-L/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../.. -lm -lgfortran -lcygwin 
-luser32 -lkernel32 -ladvapi32 -lshell32 -L/usr/lib/octave/3.6.1 
-loctinterp -loctave -lcruft -Wl,-no-undefined
-------------------------------------------------------------------------

What is the best way to force autogen/configure during the
package installation ?

I noticed that strings-1.0.7 has additional

strings-1.0.7/Makefile
strings-1.0.7/configure

that seems the standard way.

It is OK to copy that generic file to the optiminterp tree
or I should take care of something else ?

Regards
Marco



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to