gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] Troubles bulding gcl 2.7.0t3


From: Vadim V. Zhytnikov
Subject: Re: [Gcl-devel] Troubles bulding gcl 2.7.0t3
Date: Fri, 12 Aug 2005 11:48:51 +0300
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Camm Maguire writes:
Greetings!

"Vadim V. Zhytnikov" <address@hidden> writes:


Since I already spent some time meditating on GCL's makefile and
things it is supposed to do I'll try do some cosmetic patch for t4.



Thanks!  Also, if you have the time for some of the ansi print/format
function compliance, that would be wonderful too.  My thought was to
put the newly required functions in mod/gcl_ansi_io.lsp.

Take care,


This is patch for t5 which resolves main installation
problems (at least to me).

--
      Vadim V. Zhytnikov

       <address@hidden>
      <address@hidden>

diff -uNr gcl-orig/makefile gcl/makefile
--- gcl-orig/makefile   2005-08-09 10:17:02 +0400
+++ gcl/makefile        2005-08-11 22:32:33 +0400
@@ -145,6 +145,18 @@
        echo '#' other options: -load "/tmp/foo.o" -load "jo.lsp" -eval '"(joe 
3)"' >> bin/gcl
        chmod a+x bin/gcl
 
+install_unix_command:
+       rm -f $(DESTDIR)$(prefix)/bin/gcl
+       (echo '#!/bin/sh' ; \
+       echo exec $(BINDIR)/$(FLISP)$(EXE) \\ ; \
+       echo '   -dir' $(INSTALL_LIB_DIR)/unixport/ \\ ; \
+       echo '   -libdir' $(INSTALL_LIB_DIR)/ \\ ; \
+       echo '   -eval '\''(setq si::*allow-gzipped-file* t)'\' \\ ;\
+       ! [ -d "$(TK_CONFIG_PREFIX)" ] || echo '   -eval '\''(setq 
si::*tk-library* '\"$(TK_LIBRARY)\"')'\' \\;\
+       echo '     '\"address@hidden" ) > $(DESTDIR)$(prefix)/bin/gcl;
+       echo '#' other options: -load "/tmp/foo.o" -load "jo.lsp" -eval '"(joe 
3)"' >> $(DESTDIR)$(prefix)/bin/gcl
+       chmod a+x $(DESTDIR)$(prefix)/bin/gcl
+
 install_windows_command:
        rm -f $(prefix)/bin/gcl
        (echo '#!/bin/sh' ; \
@@ -185,14 +197,12 @@
        mkdir -p $(DESTDIR)$(prefix)/bin
        mkdir -p $(DESTDIR)$(INSTALL_LIB_DIR)
        MINSTALL_LIB_DIR=`echo $(INSTALL_LIB_DIR) | sed -e 
'sX^\([a-z]\):X/\1Xg'` ; \
-       $(MAKE) install_command "INSTALL_LIB_DIR=$(INSTALL_LIB_DIR)" 
"prefix=$(prefix)" "DESTDIR=$(DESTDIR)" "BINDIR=$$MINSTALL_LIB_DIR/unixport"
-       rm -f $(DESTDIR)$(prefix)/bin/gcl.exe
+       $(MAKE) install_unix_command "INSTALL_LIB_DIR=$(INSTALL_LIB_DIR)" 
"prefix=$(prefix)" "DESTDIR=$(DESTDIR)" "BINDIR=$$MINSTALL_LIB_DIR/unixport"
        tar cf - $(PORTDIR)/$(FLISP)$(EXE) info/*.info* $(LISP_LIB) \
        $(TCL_EXES)  |  (cd $(DESTDIR)$(INSTALL_LIB_DIR) ;tar xf -)
        cd $(DESTDIR)$(INSTALL_LIB_DIR)/$(PORTDIR) && \
                mv $(FLISP)$(EXE) temp$(EXE) && \
-               echo '(reset-sys-paths "$(INSTALL_LIB_DIR)/")\
-                     (si::save-system "$(FLISP)$(EXE)")' | ./temp$(EXE) && \
+               echo '(reset-sys-paths "$(INSTALL_LIB_DIR)/") (si::save-system 
"$(FLISP)$(EXE)")' | ./temp$(EXE) && \
                rm -f temp$(EXE)
        if [ -e "unixport/rsym$(EXE)" ] ; then cp unixport/rsym$(EXE) 
$(DESTDIR)$(INSTALL_LIB_DIR)/unixport/ ; fi
 #      ln $(SYMB) $(INSTALL_LIB_DIR)/$(PORTDIR)/$(FLISP)$(EXE) \


reply via email to

[Prev in Thread] Current Thread [Next in Thread]