From bug-request at octave dot org Tue Jan 10 09:12:56 2006 Subject: Re: [PATCH] Fix install-oct From: Ismail Donmez To: David dot Bateman at motorola dot com Cc: bug at octave dot org Date: Tue, 10 Jan 2006 17:10:30 +0200 Salı 10 Ocak 2006 16:53 tarihinde, David Bateman şunları yazmıştı: > Ismail Donmez wrote: > > Hi all, > > > > I was getting following error when I issued make install-oct under src > > direcotory ( with octave 2.9.4 ) : > > > > <--- snip ---> > > ../mkinstalldirs /usr/libexec/octave/2.9.4/oct/i686-pc-linux-gnu > > if [ -n " balance.oct besselj.oct betainc.oct cellfun.oct chol.oct > > ccolamd.oct colamd.oct colloc.oct daspk.oct dasrt.oct dassl.oct > > det.oct > > dispatch.oct eig.oct expm.oct fft.oct fft2.oct fftn.oct > > fftw_wisdom.oct > > filter.oct find.oct fsolve.oct gammainc.oct gcd.oct getgrent.oct > > getpwent.oct getrusage.oct givens.oct hess.oct inv.oct kron.oct > > lpsolve.oct lsode.oct lu.oct luinc.oct matrix_type.oct minmax.oct > > pinv.oct qr.oct quad.oct qz.oct rand.oct schur.oct sort.oct > > sparse.oct > > spchol.oct spdet.oct spkron.oct splu.oct spparms.oct sqrtm.oct > > svd.oct > > syl.oct time.oct gplot.oct __glpk__.oct __qp__.oct" ]; then \ > > xfiles=" balance.oct besselj.oct betainc.oct cellfun.oct chol.oct > > ccolamd.oct colamd.oct colloc.oct daspk.oct dasrt.oct dassl.oct > > det.oct > > dispatch.oct eig.oct expm.oct fft.oct fft2.oct fftn.oct > > fftw_wisdom.oct > > filter.oct find.oct fsolve.oct gammainc.oct gcd.oct getgrent.oct > > getpwent.oct getrusage.oct givens.oct hess.oct inv.oct kron.oct > > lpsolve.oct lsode.oct lu.oct luinc.oct matrix_type.oct minmax.oct > > pinv.oct qr.oct quad.oct qz.oct rand.oct schur.oct sort.oct > > sparse.oct > > spchol.oct spdet.oct spkron.oct splu.oct spparms.oct sqrtm.oct > > svd.oct > > syl.oct time.oct gplot.oct __glpk__.oct __qp__.oct"; \ > > for f in $xfiles; do \ > > /usr/bin/install -c $f > > /usr/libexec/octave/2.9.4/oct/i686-pc-linux-gnu/$f; > > \ > > done; \ > > ./mk-pkg-add --prefix /usr/libexec/octave/2.9.4/oct/i686-pc-linux-gnu > > balance.df besselj.df betainc.df cellfun.df chol.df ccolamd.df > > colamd.df colloc.df daspk.df dasrt.df dassl.df det.df dispatch.df > > eig.df expm.df fft.df fft2.df fftn.df fftw_wisdom.df filter.df > > find.df > > fsolve.df gammainc.df gcd.df getgrent.df getpwent.df getrusage.df > > givens.df hess.df inv.df kron.df lpsolve.df lsode.df lu.df > > luinc.df > > matrix_type.df minmax.df pinv.df qr.df quad.df qz.df rand.df > > schur.df > > sort.df sparse.df spchol.df spdet.df spkron.df splu.df spparms.df > > sqrtm.df svd.df syl.df time.df gplot.df __glpk__.df __qp__.df > > > > > /usr/libexec/octave/2.9.4/oct/i686-pc-linux-gnu/PKG_ADD ; > > > > /bin/sh: -c: line 1: syntax error: unexpected end of file > > make: *** [install-oct] Hata 2 > > > > <--- snip ---> > > > > Attached patch fixed the problem for me and it looks correct. Can it be > > applied? > > > > Regards, > > ismail > > > >------------------------------------------------------------------------ > > > >--- octave-2.9.4/src/Makefile.in 2005-11-11 21:48:04.000000000 +0200 > >+++ octave-fixed/src/Makefile.in 2006-01-10 13:58:42.000000000 +0200 > > at @ -403,7 +403,7 @@ > > for f in $$xfiles; do \ > > $(INSTALL_PROGRAM) $$f $(DESTDIR)$(octfiledir)/$$f; \ > > done; \ > >- $(srcdir)/mk-pkg-add --prefix $(octfiledir) $(DLD_DEF_FILES) > > > $(DESTDIR)$(octfiledir)/PKG_ADD + $(srcdir)/mk-pkg-add --prefix > > $(octfiledir) $(DLD_DEF_FILES) > $(DESTDIR)$(octfiledir)/PKG_ADD; \ fi > > .PHONY: install-oct > > This appears to already be fixed in the CVS... Ah then maybe its time for a new bleeding edge release then :-). Thanks for info. Regards, ismail ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------