axiom-developer
[Top][All Lists]
Advanced

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

[Axiom-developer] RE: gcl-2.6.8pre on MAC OSX 10.2


From: Page, Bill
Subject: [Axiom-developer] RE: gcl-2.6.8pre on MAC OSX 10.2
Date: Thu, 26 Oct 2006 22:08:46 -0400

On Thursday, October 26, 2006 9:27 PM I wrote:
> 
> I *am* currently fighting with another problem with the
> gcl-2.6.8pre build. When building gcl on an x86-64 Ubuntu
> system, the following segment of the ./configure script fails
> to create a valid value for EMACS_SITE_LISP. I see from the
> email lists that this hack has caused some trouble in the past.
> ... 
> It seems to me there ought to be a better way.
> ...

Here is an actual patch that implements the new test. It works
on my current targe system, but I haven't tested it any further.

---------

address@hidden:~/sage-1.4.1.2-x86_64-Linux$ diff -au
~/axiom.build/lsp/gcl-2.6.8pre/configure
spkg/build/axiom4sage-0.1/lsp/gcl-2.6.8pre/configure
--- /home/page/axiom.build/lsp/gcl-2.6.8pre/configure   2006-09-17
14:56:50.000000000 -0700
+++ spkg/build/axiom4sage-0.1/lsp/gcl-2.6.8pre/configure
2006-10-26 19:18:59.000000000 -0700
@@ -6243,14 +6243,14 @@
           (setq ans cur)
            (if (string-match "-0-9.+$" cur) nil
                (setq tem nil)))))
-  (message ans))
+  (message (concat "<filename>" ans "<filename>)))
 EOF

 echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
 echo "configure:6251: checking emacs site lisp directory" >&5
 if [ "$EMACS_SITE_LISP" = "unknown" ] ; then
        if [ "$EMACS" != "" ] ; then
-               EMACS_SITE_LISP=`$EMACS -q -batch --no-site-file -l
conftest.el 2>&1 | grep -v ^Warning: | sed -e /Loading/d | sed -e
/load/d `
+               EMACS_SITE_LISP=`$EMACS -q -batch --no-site-file -l
conftest.el 2>&1 | awk -F '<filename>' '/<filename>(.*)<filename>/
{print $2}' `
        else
                EMACS_SITE_LISP=""
        fi
@@ -6267,13 +6267,13 @@
            (setq file (expand-file-name "/default.el" (car tem))))
          (setq tem nil) (setq ans file)))
    (setq tem (cdr tem)))
-  (message ans))
+  (message (concat "<filename>" ans "<filename>")))
 EOF

 echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
 echo "configure:6275: checking emacs default.el" >&5
 if [ "$EMACS" != "" ] ; then
-       EMACS_DEFAULT_EL=`$EMACS -q -batch --no-site-file -l conftest.el
2>&1 | sed -e /Loading/d | sed -e /load/d `
+       EMACS_DEFAULT_EL=`$EMACS -q -batch --no-site-file -l conftest.el
2>&1 | awk -F '<filename>' '/<filename>(.*)<filename>/ {print $2}' `
 else
        EMACS_DEFAULT_EL=""
 fi
address@hidden:~/sage-1.4.1.2-x86_64-Linux$

----------

Regards,
Bill Page.




reply via email to

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