On Sun, Feb 26, 2012 at 4:50 AM, marco atzeri <marco.atz...@gmail.com> wrote: > Hi, > I am trying to prepare the cygwin forge package bundle > to align with octave 3.6.1, but geometry is making me crazy. > It is the only package with a peculiar failure. > > If I try to install the package inside my octave script I get: > --------------------------------------------------------------- > pkg ('install', '-noauto', '-global', '-verbose', > 'geometry-1.4.0svn9614.tar.gz') > mkdir (/tmp/oct-28c25c.3d) > untar (geometry-1.4.0svn9614.tar.gz, /tmp/oct-28c25c.3d) > warning: Copying subfolder src to package main dir, but multiple > Makefiles are not handled > mkoctfile: unrecognized argument -mieee-fp > make: *** [compile] Error 1 > 'make' returned the following error: make: Entering directory > `/tmp/oct-28c25c.3d/geometry/src' > mkoctfile -c -Wall -Wextra -I. compilador.c -o compilador.o > Makefile:9: recipe for target `compile' failed > ------------------------------------------------------------- > > and the "unrecognized argument" seems to come from > $ mkoctfile -p XTRA_CFLAGS > -mieee-fp > > while when I try as standalone from terminal, it works > --------------------------------------------------------------- > pkg install -noauto -verbose geometry-1.4.0svn9614.tar.gz > mkdir (/tmp/oct-28ddb8.0) > untar (geometry-1.4.0svn9614.tar.gz, /tmp/oct-28ddb8.0) > warning: Copying subfolder src to package main dir, but multiple > Makefiles are not handled > make: Entering directory `/tmp/oct-28ddb8.0/geometry/src' > mkoctfile -c -Wall -Wextra -I. compilador.c -o compilador.o > mkoctfile -c -Wall -Wextra -I. errores.c -o errores.o > mkoctfile -c -Wall -Wextra -I. eucli.c -o eucli.o > mkoctfile -c -Wall -Wextra -I. fgeneral.c -o fgeneral.o > mkoctfile -c -Wall -Wextra -I. greiner.c -o greiner.o > mkoctfile -c -Wall -Wextra -I. polig.c -o polig.o > mkoctfile -c -Wall -Wextra -I. ptopol.c -o ptopol.o > mkoctfile -c -Wall -Wextra -I. segmento.c -o segmento.o > mkoctfile -c -Wall -Wextra -I. ventorno.c -o ventorno.o > mkoctfile -s -Wall -Wextra -I. _oc_polybool.cc *.o > rm -rf *.o *~ > make: Leaving directory `/tmp/oct-28ddb8.0/geometry/src' > copyfile /tmp/oct-28ddb8.0/geometry/src/_oc_polybool.oct > /tmp/oct-28ddb8.0/geometry/inst/i686-pc-cygwin-api-v48+ > For information about changes from previous versions of the geometry > package, run 'news ("geometry")'. > -------------------------------------------------------------------- > > what could cause the two different behaviors ? > They should work in the same way > > the octave script is very simple > ----------------------------------------------------------------- > echo on > diary ../../build/diary > more off > > pkg prefix > /pub/devel/octave-forge/octave-forge-20120224-1/inst/usr/share/octave/packages/ > \ > > /pub/devel/octave-forge/octave-forge-20120224-1/inst/usr/lib/octave/packages/ > > pkg local_list > /pub/devel/octave-forge/octave-forge-20120224-1/inst/usr/share/octave/octave_packages > pkg global_list > /pub/devel/octave-forge/octave-forge-20120224-1/inst/usr/share/octave/octave_packages > > pkg install -noauto -global -verbose general-1.2.2.tar.gz > pkg unload general > pkg install -noauto -global -verbose miscellaneous-1.0.11.tar.gz > pkg unload miscellaneous > pkg install -noauto -global -verbose linear-algebra-2.1.0svn9583a.tar.gz > pkg unload linear-algebra > pkg install -noauto -global -verbose geometry-1.4.0svn9614.tar.gz > pkg unload geometry > ..... > -------------------------------------------------------------------- > > and it is run from a bash script used to prepare general variables > the source/installation trees and to pack the final outcome. > > 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
Hi, Thanks for reporting the problem. This happens when you try to install from any script or just from one in particular? (the admin/releasePKG.m works fine with geometry here) If it is only your script, could you put it here so I can try to reproduce the error and try to isolate the problem? I guess it may be some of the flags. http://agora.panocha.org.mx/ Thank you -- M. Sc. Juan Pablo Carbajal ----- PhD Student University of Zürich http://ailab.ifi.uzh.ch/carbajal/ ------------------------------------------------------------------------------ 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