Hello to all, I am trying to build Quantlib under Windows 7 with Cygwin. Every folder and file seems to be in the right place, but the build process returns the following error message. Can someone point me the right way to solve this? Thanks very much. make[4]: Leaving directory '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/volatility' make[4]: Entering directory '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental' /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -L/drives/c/Lucas/softwares/boost_1_58_0 -o libExperimental.la amortizingbonds/libAmortizingBonds.la barrieroption/libBarrierOption.la callablebonds/libCallableBonds.la catbonds/libCatBonds.la commodities/libCommodities.la convertiblebonds/libConvertibleBonds.la coupons/libCoupons.la credit/libCredit.la exoticoptions/libExoticOptions.la finitedifferences/libMultiDimFDM.la fx/libFX.la inflation/libInflation.la lattices/libLattices.la math/libMath.la mcbasket/libMcBasket.la processes/libProcesses.la risk/libRisk.la shortrate/libShortRate.la swaptions/libSwaptions.la variancegamma/libVarianceGamma.la varianceoption/libVarianceOption.la volatility/libVolatility.la libtool: link: (cd .libs/libExperimental.lax/libAmortizingBonds.a && ar x "/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a") /drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a: No such file or directory M:\Riscos\RM\PRICE\DLL\MinGW-4.8.1\bin\ar.exe: Makefile:463: recipe for target 'libExperimental.la' failed Thank you, ------------------------------------------------------------------------------ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Do you have ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a? If not, are there any errors logged while compiling in ql/experimental/amortizingbonds? (It would be before the part you quoted.) Luigi' On 19:33, Tue, Aug 4, 2015 Lucas Ingles <[hidden email]> wrote:
-- <http://leanpub.com/implementingquantlib/> ------------------------------------------------------------------------------ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Luigi, I do have ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a and there are no errors during ql/experimental/amortizingbonds compilation phase. I can see all the files and folders in the right place after "make" stops. I can even run the "problematic" line with success: cd .libs/libExperimental.lax/libAmortizingBonds.a && ar x "/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a" Now that I am trying to run "make" again, it included an RM line before the error. I think this is related to the problem: make[4]: Leaving directory '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/volatility' make[4]: Entering directory '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental' /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -L/drives/c/Lucas/softwares/boost_1_58_0 -o libExperimental.la amortizingbonds/libAmortizingBonds.la barrieroption/libBarrierOption.la callablebonds/libCallableBonds.la catbonds/libCatBonds.la commodities/libCommodities.la convertiblebonds/libConvertibleBonds.la coupons/libCoupons.la credit/libCredit.la exoticoptions/libExoticOptions.la finitedifferences/libMultiDimFDM.la fx/libFX.la inflation/libInflation.la lattices/libLattices.la math/libMath.la mcbasket/libMcBasket.la processes/libProcesses.la risk/libRisk.la shortrate/libShortRate.la swaptions/libSwaptions.la variancegamma/libVarianceGamma.la varianceoption/libVarianceOption.la volatility/libVolatility.la libtool: link: rm -fr .libs/libExperimental.lax libtool: link: (cd .libs/libExperimental.lax/libAmortizingBonds.a && ar x "/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a") /drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a: No such file or directory M:\Riscos\RM\PRICE\DLL\MinGW-4.8.1\bin\ar.exe: Makefile:463: recipe for target 'libExperimental.la' failed make[4]: *** [libExperimental.la] Error 9 Also, is there any way to disable experimental folder from my build? Regards, Do you have ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a? If not, are there any errors logged while compiling in ql/experimental/amortizingbonds? (It would be before the part you quoted.) Luigi' On 19:33, Tue, Aug 4, 2015 Lucas Ingles <[hidden email]> wrote:
--
------------------------------------------------------------------------------ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
That's weird. I don't think I've seen it happen before. As for disabling the experimental folder, you can edit ql/Makefile.am and remove experimental from the list of subdirs and libExperimental from the list of libraries to link. You'll get some errors in the test suite, though, since there are test cases that exercise that code. You'll have to comment those out. Luigi On Tue, Aug 4, 2015 at 9:01 PM Lucas Ingles <[hidden email]> wrote:
-- <http://leanpub.com/implementingquantlib/> ------------------------------------------------------------------------------ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Yes, I think the problem is some config in this machine, because I tried with another one with the same environment (Win7 + Cygwin) and it worked. Unfortunatelly, I was not able to fix that error. I will try to skip experimental as a temporary solution. Thanks very much for the help Luigi. Em 04/08/2015 16:40, "Luigi Ballabio" <[hidden email]> escreveu:
------------------------------------------------------------------------------ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Just bumped into a similar issue, but on standard Linux, not cygwin. Fixed it by manually deleting all .deps , .libs folders and .o, .lo, .la and .a files, rerunning autogen.sh and configure and running make. I don't think the normal 'make clean' cleaned well enough when I switch from my master branch to a very old, outdated branch. Francois Botha On 4 August 2015 at 22:48, Lucas Ingles <[hidden email]> wrote:
------------------------------------------------------------------------------ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
make distclean might have worked in that case.
On Sun, 9 Aug 2015 17:16:51 +0200 Francois Botha <[hidden email]> wrote: > Just bumped into a similar issue, but on standard Linux, not cygwin. > Fixed it by manually deleting all .deps , .libs folders > and .o, .lo, .la and .a files, rerunning autogen.sh and configure and > running make. I don't think the normal 'make clean' cleaned well > enough when I switch from my master branch to a very old, outdated > branch. > > Francois Botha > > On 4 August 2015 at 22:48, Lucas Ingles <[hidden email]> > wrote: > > > Yes, I think the problem is some config in this machine, because I > > tried with another one with the same environment (Win7 + Cygwin) > > and it worked. Unfortunatelly, I was not able to fix that error. I > > will try to skip experimental as a temporary solution. Thanks very > > much for the help Luigi. Em 04/08/2015 16:40, "Luigi Ballabio" > > <[hidden email]> escreveu: > > > >> That's weird. I don't think I've seen it happen before. > >> > >> As for disabling the experimental folder, you can edit > >> ql/Makefile.am and remove experimental from the list of subdirs > >> and libExperimental from the list of libraries to link. You'll get > >> some errors in the test suite, though, since there are test cases > >> that exercise that code. You'll have to comment those out. > >> > >> Luigi > >> > >> On Tue, Aug 4, 2015 at 9:01 PM Lucas Ingles > >> <[hidden email]> wrote: > >> > >>> Luigi, I do have > >>> ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a and > >>> there are no errors during ql/experimental/amortizingbonds > >>> compilation phase. I can see all the files and folders in the > >>> right place after "make" stops. I can even run the "problematic" > >>> line with success: > >>> > >>> cd .libs/libExperimental.lax/libAmortizingBonds.a && ar x > >>> "/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a" > >>> > >>> Now that I am trying to run "make" again, it included an RM line > >>> before the error. I think this is related to the problem: > >>> > >>> make[4]: Leaving directory > >>> '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/volatility' > >>> > >>> make[4]: Entering directory > >>> '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental' > >>> > >>> /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 > >>> -L/drives/c/Lucas/softwares/boost_1_58_0 -o libExperimental.la > >>> amortizingbonds/libAmortizingBonds.la > >>> barrieroption/libBarrierOption.la > >>> callablebonds/libCallableBonds.la catbonds/libCatBonds.la > >>> commodities/libCommodities.la > >>> convertiblebonds/libConvertibleBonds.la coupons/libCoupons.la > >>> credit/libCredit.la exoticoptions/libExoticOptions.la > >>> finitedifferences/libMultiDimFDM.la fx/libFX.la > >>> inflation/libInflation.la lattices/libLattices.la math/libMath.la > >>> mcbasket/libMcBasket.la processes/libProcesses.la risk/libRisk.la > >>> shortrate/libShortRate.la swaptions/libSwaptions.la > >>> variancegamma/libVarianceGamma.la > >>> varianceoption/libVarianceOption.la volatility/libVolatility.la > >>> > >>> libtool: link: rm -fr .libs/libExperimental.lax > >>> > >>> libtool: link: (cd .libs/libExperimental.lax/libAmortizingBonds.a > >>> && ar x > >>> "/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a") > >>> > >>> /drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a: > >>> No such file or directory > >>> > >>> M:\Riscos\RM\PRICE\DLL\MinGW-4.8.1\bin\ar.exe: Makefile:463: > >>> recipe for target 'libExperimental.la' failed > >>> > >>> make[4]: *** [libExperimental.la] Error 9 > >>> > >>> Also, is there any way to disable experimental folder from my > >>> build? Thanks very much for the help with this point. > >>> > >>> Regards, > >>> Lucas > >>> > >>> Do you have > >>> ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a? If > >>> not, are there any errors logged while compiling in > >>> ql/experimental/amortizingbonds? (It would be before the part you > >>> quoted.) > >>> > >>> Luigi' > >>> > >>> On 19:33, Tue, Aug 4, 2015 Lucas Ingles <[hidden email]> > >>> wrote: > >>> > >>>> Hello to all, > >>>> > >>>> I am trying to build Quantlib under Windows 7 with Cygwin. Every > >>>> folder and file seems to be in the right place, but the build > >>>> process returns the following error message. Can someone point > >>>> me the right way to solve this? Thanks very much. > >>>> > >>>> make[4]: Leaving directory > >>>> '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/volatility' > >>>> > >>>> make[4]: Entering directory > >>>> '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental' > >>>> > >>>> /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 > >>>> -L/drives/c/Lucas/softwares/boost_1_58_0 -o libExperimental.la > >>>> amortizingbonds/libAmortizingBonds.la > >>>> barrieroption/libBarrierOption.la > >>>> callablebonds/libCallableBonds.la catbonds/libCatBonds.la > >>>> commodities/libCommodities.la > >>>> convertiblebonds/libConvertibleBonds.la coupons/libCoupons.la > >>>> credit/libCredit.la exoticoptions/libExoticOptions.la > >>>> finitedifferences/libMultiDimFDM.la fx/libFX.la > >>>> inflation/libInflation.la lattices/libLattices.la > >>>> math/libMath.la mcbasket/libMcBasket.la > >>>> processes/libProcesses.la risk/libRisk.la > >>>> shortrate/libShortRate.la swaptions/libSwaptions.la > >>>> variancegamma/libVarianceGamma.la > >>>> varianceoption/libVarianceOption.la volatility/libVolatility.la > >>>> > >>>> libtool: link: > >>>> (cd .libs/libExperimental.lax/libAmortizingBonds.a && ar x > >>>> "/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a") > >>>> > >>>> /drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a: > >>>> No such file or directory > >>>> > >>>> M:\Riscos\RM\PRICE\DLL\MinGW-4.8.1\bin\ar.exe: Makefile:463: > >>>> recipe for target 'libExperimental.la' failed > >>>> > >>>> Thank you, > >>>> Lucas > >>>> > >>>> ------------------------------------------------------------------------------ > >>>> _______________________________________________ > >>>> QuantLib-users mailing list > >>>> [hidden email] > >>>> https://lists.sourceforge.net/lists/listinfo/quantlib-users > >>>> > >>> -- > >>> > >>> <http://leanpub.com/implementingquantlib/> > >>> <http://implementingquantlib.com> > >>> <http://twitter.com/lballabio> > >>> > >> -- > >> > >> <http://leanpub.com/implementingquantlib/> > >> <http://implementingquantlib.com> > >> <http://twitter.com/lballabio> > >> > > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > QuantLib-users mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/quantlib-users > > > > > ------------------------------------------------------------------------------ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
In reply to this post by igitur
I observe this too from time to time when switching to "very
different" branches and trying to build them. Something like a "very clean" target that resets the directory to the status as if freshly checked out would be useful I guess. Or support for building in a separate directory. Peter On 9 August 2015 at 17:16, Francois Botha <[hidden email]> wrote: > Just bumped into a similar issue, but on standard Linux, not cygwin. Fixed > it by manually deleting all .deps , .libs folders and .o, .lo, .la and .a > files, rerunning autogen.sh and configure and running make. I don't think > the normal 'make clean' cleaned well enough when I switch from my master > branch to a very old, outdated branch. > > Francois Botha > > On 4 August 2015 at 22:48, Lucas Ingles <[hidden email]> wrote: >> >> Yes, I think the problem is some config in this machine, because I tried >> with another one with the same environment (Win7 + Cygwin) and it worked. >> Unfortunatelly, I was not able to fix that error. I will try to skip >> experimental as a temporary solution. Thanks very much for the help Luigi. >> >> Em 04/08/2015 16:40, "Luigi Ballabio" <[hidden email]> escreveu: >>> >>> That's weird. I don't think I've seen it happen before. >>> >>> As for disabling the experimental folder, you can edit ql/Makefile.am and >>> remove experimental from the list of subdirs and libExperimental from the >>> list of libraries to link. You'll get some errors in the test suite, though, >>> since there are test cases that exercise that code. You'll have to comment >>> those out. >>> >>> Luigi >>> >>> On Tue, Aug 4, 2015 at 9:01 PM Lucas Ingles <[hidden email]> >>> wrote: >>>> >>>> Luigi, I do have >>>> ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a and there are no >>>> errors during ql/experimental/amortizingbonds compilation phase. I can see >>>> all the files and folders in the right place after "make" stops. I can even >>>> run the "problematic" line with success: >>>> >>>> cd .libs/libExperimental.lax/libAmortizingBonds.a && ar x >>>> "/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a" >>>> >>>> Now that I am trying to run "make" again, it included an RM line before >>>> the error. I think this is related to the problem: >>>> >>>> make[4]: Leaving directory >>>> '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/volatility' >>>> >>>> make[4]: Entering directory >>>> '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental' >>>> >>>> /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 >>>> -L/drives/c/Lucas/softwares/boost_1_58_0 -o libExperimental.la >>>> amortizingbonds/libAmortizingBonds.la barrieroption/libBarrierOption.la >>>> callablebonds/libCallableBonds.la catbonds/libCatBonds.la >>>> commodities/libCommodities.la convertiblebonds/libConvertibleBonds.la >>>> coupons/libCoupons.la credit/libCredit.la exoticoptions/libExoticOptions.la >>>> finitedifferences/libMultiDimFDM.la fx/libFX.la inflation/libInflation.la >>>> lattices/libLattices.la math/libMath.la mcbasket/libMcBasket.la >>>> processes/libProcesses.la risk/libRisk.la shortrate/libShortRate.la >>>> swaptions/libSwaptions.la variancegamma/libVarianceGamma.la >>>> varianceoption/libVarianceOption.la volatility/libVolatility.la >>>> >>>> libtool: link: rm -fr .libs/libExperimental.lax >>>> >>>> libtool: link: (cd .libs/libExperimental.lax/libAmortizingBonds.a && ar >>>> x >>>> "/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a") >>>> >>>> >>>> /drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a: >>>> No such file or directory >>>> >>>> M:\Riscos\RM\PRICE\DLL\MinGW-4.8.1\bin\ar.exe: Makefile:463: recipe for >>>> target 'libExperimental.la' failed >>>> >>>> make[4]: *** [libExperimental.la] Error 9 >>>> >>>> Also, is there any way to disable experimental folder from my build? >>>> Thanks very much for the help with this point. >>>> >>>> Regards, >>>> Lucas >>>> >>>> Do you have ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a? >>>> If not, are there any errors logged while compiling in >>>> ql/experimental/amortizingbonds? (It would be before the part you quoted.) >>>> >>>> Luigi' >>>> >>>> >>>> On 19:33, Tue, Aug 4, 2015 Lucas Ingles <[hidden email]> wrote: >>>>> >>>>> Hello to all, >>>>> >>>>> I am trying to build Quantlib under Windows 7 with Cygwin. Every folder >>>>> and file seems to be in the right place, but the build process returns the >>>>> following error message. Can someone point me the right way to solve this? >>>>> Thanks very much. >>>>> >>>>> make[4]: Leaving directory >>>>> '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/volatility' >>>>> >>>>> make[4]: Entering directory >>>>> '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental' >>>>> >>>>> /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 >>>>> -L/drives/c/Lucas/softwares/boost_1_58_0 -o libExperimental.la >>>>> amortizingbonds/libAmortizingBonds.la barrieroption/libBarrierOption.la >>>>> callablebonds/libCallableBonds.la catbonds/libCatBonds.la >>>>> commodities/libCommodities.la convertiblebonds/libConvertibleBonds.la >>>>> coupons/libCoupons.la credit/libCredit.la exoticoptions/libExoticOptions.la >>>>> finitedifferences/libMultiDimFDM.la fx/libFX.la inflation/libInflation.la >>>>> lattices/libLattices.la math/libMath.la mcbasket/libMcBasket.la >>>>> processes/libProcesses.la risk/libRisk.la shortrate/libShortRate.la >>>>> swaptions/libSwaptions.la variancegamma/libVarianceGamma.la >>>>> varianceoption/libVarianceOption.la volatility/libVolatility.la >>>>> >>>>> libtool: link: (cd .libs/libExperimental.lax/libAmortizingBonds.a && ar >>>>> x >>>>> "/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a") >>>>> >>>>> >>>>> /drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a: >>>>> No such file or directory >>>>> >>>>> M:\Riscos\RM\PRICE\DLL\MinGW-4.8.1\bin\ar.exe: Makefile:463: recipe for >>>>> target 'libExperimental.la' failed >>>>> >>>>> Thank you, >>>>> Lucas >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> _______________________________________________ >>>>> QuantLib-users mailing list >>>>> [hidden email] >>>>> https://lists.sourceforge.net/lists/listinfo/quantlib-users >>>> >>>> -- >>>> >>>> <http://leanpub.com/implementingquantlib/> >>>> <http://implementingquantlib.com> >>>> <http://twitter.com/lballabio> >>> >>> -- >>> >>> <http://leanpub.com/implementingquantlib/> >>> <http://implementingquantlib.com> >>> <http://twitter.com/lballabio> >> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> QuantLib-users mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/quantlib-users >> > > > ------------------------------------------------------------------------------ > > _______________________________________________ > QuantLib-users mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/quantlib-users > ------------------------------------------------------------------------------ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
yes, I think distclean is veryclean, didn't know that ... thanks ! :-)
On 9 August 2015 at 17:31, Peter Caspers <[hidden email]> wrote: > I observe this too from time to time when switching to "very > different" branches and trying to build them. Something like a "very > clean" target that resets the directory to the status as if freshly > checked out would be useful I guess. Or support for building in a > separate directory. > Peter > > On 9 August 2015 at 17:16, Francois Botha <[hidden email]> wrote: >> Just bumped into a similar issue, but on standard Linux, not cygwin. Fixed >> it by manually deleting all .deps , .libs folders and .o, .lo, .la and .a >> files, rerunning autogen.sh and configure and running make. I don't think >> the normal 'make clean' cleaned well enough when I switch from my master >> branch to a very old, outdated branch. >> >> Francois Botha >> >> On 4 August 2015 at 22:48, Lucas Ingles <[hidden email]> wrote: >>> >>> Yes, I think the problem is some config in this machine, because I tried >>> with another one with the same environment (Win7 + Cygwin) and it worked. >>> Unfortunatelly, I was not able to fix that error. I will try to skip >>> experimental as a temporary solution. Thanks very much for the help Luigi. >>> >>> Em 04/08/2015 16:40, "Luigi Ballabio" <[hidden email]> escreveu: >>>> >>>> That's weird. I don't think I've seen it happen before. >>>> >>>> As for disabling the experimental folder, you can edit ql/Makefile.am and >>>> remove experimental from the list of subdirs and libExperimental from the >>>> list of libraries to link. You'll get some errors in the test suite, though, >>>> since there are test cases that exercise that code. You'll have to comment >>>> those out. >>>> >>>> Luigi >>>> >>>> On Tue, Aug 4, 2015 at 9:01 PM Lucas Ingles <[hidden email]> >>>> wrote: >>>>> >>>>> Luigi, I do have >>>>> ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a and there are no >>>>> errors during ql/experimental/amortizingbonds compilation phase. I can see >>>>> all the files and folders in the right place after "make" stops. I can even >>>>> run the "problematic" line with success: >>>>> >>>>> cd .libs/libExperimental.lax/libAmortizingBonds.a && ar x >>>>> "/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a" >>>>> >>>>> Now that I am trying to run "make" again, it included an RM line before >>>>> the error. I think this is related to the problem: >>>>> >>>>> make[4]: Leaving directory >>>>> '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/volatility' >>>>> >>>>> make[4]: Entering directory >>>>> '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental' >>>>> >>>>> /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 >>>>> -L/drives/c/Lucas/softwares/boost_1_58_0 -o libExperimental.la >>>>> amortizingbonds/libAmortizingBonds.la barrieroption/libBarrierOption.la >>>>> callablebonds/libCallableBonds.la catbonds/libCatBonds.la >>>>> commodities/libCommodities.la convertiblebonds/libConvertibleBonds.la >>>>> coupons/libCoupons.la credit/libCredit.la exoticoptions/libExoticOptions.la >>>>> finitedifferences/libMultiDimFDM.la fx/libFX.la inflation/libInflation.la >>>>> lattices/libLattices.la math/libMath.la mcbasket/libMcBasket.la >>>>> processes/libProcesses.la risk/libRisk.la shortrate/libShortRate.la >>>>> swaptions/libSwaptions.la variancegamma/libVarianceGamma.la >>>>> varianceoption/libVarianceOption.la volatility/libVolatility.la >>>>> >>>>> libtool: link: rm -fr .libs/libExperimental.lax >>>>> >>>>> libtool: link: (cd .libs/libExperimental.lax/libAmortizingBonds.a && ar >>>>> x >>>>> "/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a") >>>>> >>>>> >>>>> /drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a: >>>>> No such file or directory >>>>> >>>>> M:\Riscos\RM\PRICE\DLL\MinGW-4.8.1\bin\ar.exe: Makefile:463: recipe for >>>>> target 'libExperimental.la' failed >>>>> >>>>> make[4]: *** [libExperimental.la] Error 9 >>>>> >>>>> Also, is there any way to disable experimental folder from my build? >>>>> Thanks very much for the help with this point. >>>>> >>>>> Regards, >>>>> Lucas >>>>> >>>>> Do you have ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a? >>>>> If not, are there any errors logged while compiling in >>>>> ql/experimental/amortizingbonds? (It would be before the part you quoted.) >>>>> >>>>> Luigi' >>>>> >>>>> >>>>> On 19:33, Tue, Aug 4, 2015 Lucas Ingles <[hidden email]> wrote: >>>>>> >>>>>> Hello to all, >>>>>> >>>>>> I am trying to build Quantlib under Windows 7 with Cygwin. Every folder >>>>>> and file seems to be in the right place, but the build process returns the >>>>>> following error message. Can someone point me the right way to solve this? >>>>>> Thanks very much. >>>>>> >>>>>> make[4]: Leaving directory >>>>>> '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/volatility' >>>>>> >>>>>> make[4]: Entering directory >>>>>> '/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental' >>>>>> >>>>>> /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 >>>>>> -L/drives/c/Lucas/softwares/boost_1_58_0 -o libExperimental.la >>>>>> amortizingbonds/libAmortizingBonds.la barrieroption/libBarrierOption.la >>>>>> callablebonds/libCallableBonds.la catbonds/libCatBonds.la >>>>>> commodities/libCommodities.la convertiblebonds/libConvertibleBonds.la >>>>>> coupons/libCoupons.la credit/libCredit.la exoticoptions/libExoticOptions.la >>>>>> finitedifferences/libMultiDimFDM.la fx/libFX.la inflation/libInflation.la >>>>>> lattices/libLattices.la math/libMath.la mcbasket/libMcBasket.la >>>>>> processes/libProcesses.la risk/libRisk.la shortrate/libShortRate.la >>>>>> swaptions/libSwaptions.la variancegamma/libVarianceGamma.la >>>>>> varianceoption/libVarianceOption.la volatility/libVolatility.la >>>>>> >>>>>> libtool: link: (cd .libs/libExperimental.lax/libAmortizingBonds.a && ar >>>>>> x >>>>>> "/drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a") >>>>>> >>>>>> >>>>>> /drives/c/Lucas/softwares/QuantLib/QuantLib-1.6.1-GCC/ql/experimental/amortizingbonds/.libs/libAmortizingBonds.a: >>>>>> No such file or directory >>>>>> >>>>>> M:\Riscos\RM\PRICE\DLL\MinGW-4.8.1\bin\ar.exe: Makefile:463: recipe for >>>>>> target 'libExperimental.la' failed >>>>>> >>>>>> Thank you, >>>>>> Lucas >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> _______________________________________________ >>>>>> QuantLib-users mailing list >>>>>> [hidden email] >>>>>> https://lists.sourceforge.net/lists/listinfo/quantlib-users >>>>> >>>>> -- >>>>> >>>>> <http://leanpub.com/implementingquantlib/> >>>>> <http://implementingquantlib.com> >>>>> <http://twitter.com/lballabio> >>>> >>>> -- >>>> >>>> <http://leanpub.com/implementingquantlib/> >>>> <http://implementingquantlib.com> >>>> <http://twitter.com/lballabio> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> QuantLib-users mailing list >>> [hidden email] >>> https://lists.sourceforge.net/lists/listinfo/quantlib-users >>> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> QuantLib-users mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/quantlib-users >> ------------------------------------------------------------------------------ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
In the end, I was able to build successfully. I was using Cygwin that comes packaged with MobaXTerm (due to some restrictions that I had), and I think maybe it was the problem. I finally installed the "real" Cygwin, re-downloaded QuantLib, and also fixed permissions of "depcomp" (the script was without "execute" permission). After all that, the build process finished with success. LucasThanks very much to everybody, 2015-08-09 12:33 GMT-03:00 Peter Caspers <[hidden email]>: yes, I think distclean is veryclean, didn't know that ... thanks ! :-) -- Lucas Lorenzi Ingles
------------------------------------------------------------------------------ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |