R: make install-lib

Marco Atzeri marco_atzeri at yahoo.it
Tue May 12 04:53:00 CDT 2009


--- Lun 11/5/09, John W. Eaton <jwe at octave.org> ha scritto:

> Da: John W. Eaton <jwe at octave.org>
> Oggetto: Re: R: make install-lib
> A: "Marco Atzeri" <marco_atzeri at yahoo.it>
> Cc: "octave maintainers list" <maintainers at octave.org>
> Data: Lunedì 11 maggio 2009, 21:23
> On  9-May-2009, Marco Atzeri
> wrote:
> 
> | you are right. 
> | The problem I have is not there.
> | 
> | It is on the 2 rows below the "if", 
> | the rm and the install are not referring to the same
> file
> | 
> |         if $(SHARED_LIBS);
> then \
> |           rm -f
> $(DESTDIR)$(octlibdir)/$(SHLPRE)octinterp.$(SHLEXT_VER); \
> |           $(INSTALL)
> $(SHLLIBPRE)octinterp.$(SHLLIB) \
> |         
>    $(DESTDIR)$(octlibdir)/$(SHLLIBPRE)octinterp.$(SHLLIB_VER);
> \
> |           rm -f
> $(DESTDIR)$(octlibdir)/$(SHLLIBPRE)octinterp.$(SHLLIB); \
> |           (cd
> $(DESTDIR)$(octlibdir) ; $(LN_S)
> $(SHLLIBPRE)octinterp.$(SHLLIB_VER)
> $(DESTDIR)$(octlibdir)/$(SHLLIBPRE)octinterp.$(SHLLIB)); \
> | 
> | the install of $(SHLPRE)octinterp.$(SHLEXT) is missing.
> 
> I'm not sure what is supposed to be happening, but I made
> the
> following change so that the install-lib targets in
> libcruft/Makefile.in, liboctave/Makefile.in, and
> src/Makefile.in all
> use the same pattern now.
> 
>   http://hg.savannah.gnu.org/hgweb/octave/rev/d18be838d5c4
> 
> jwe


Hi John,
finally I realized that the problem I had
on cygwin install-lib was my fault.
Attached a small patch to finally solve it,
on configure.in

     SHLPRE=cyg
+    SHLBINPRE=cyg
     SHLEXT=dll
     SHLLIB=dll.a
-    SHLBIN=a    
+    SHLBIN=dll 



Regards
Marco



      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hg_conf2.patch
Type: text/x-diff
Size: 1244 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090512/2d08c9dd/attachment.bin 


More information about the Octave-maintainers mailing list