[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] Re: Bug#262929: axiom: cannot compile packages using )
From: |
Camm Maguire |
Subject: |
[Axiom-developer] Re: Bug#262929: axiom: cannot compile packages using )comp |
Date: |
02 Aug 2004 11:45:33 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings, and thanks for your report!
I've accidentally left a temporary compiler switch setting in an
incorrect state. I'll fix this in the next upload.
Here is a workaround for now:
)lisp (setq compiler::*default-system-p* nil)
If you want to make this permanent, then you can follow the above with
)lisp (si::save-system "/tmp/foo")
and as root
mv /tmp/foo /usr/lib/axiom-0.20040705/bin/AXIOMsys
Take care, and sorry for the oversight.
Marcus Better <address@hidden> writes:
> Package: axiom
> Version: 0.20040705-6, address@hidden
> Severity: important
>
> Compiling an Axiom package using the )comp command fails at the C code
> stage. This seems to be because the file cmpinclude.h is missing.
>
> I tried to compile the following simple package (but the results are
> the same with other packages, even those from the dsitrbution in
> src/algebra):
>
> -----------------------------
> )abbrev package TESTPAK TestPackage
> TestPackage(): Exports == Implementation where
> Exports == with
> op: INT -> INT
>
> Implementation == add
> op(x) == x
> -----------------------------
>
> The output is as follows:
>
> GCL (GNU Common Lisp) 2.6.3 CLtL1 Jul 15 2004 18:58:27
> Source License: LGPL(gcl,gmp), GPL(unexec,bfd)
> Binary License: GPL due to GPL'ed components: (READLINE BFD UNEXEC)
> Modifications of this banner must retain notice of a compatible license
> Dedicated to the memory of W. Schelter
>
> Use (help) to get some basic information on how to use GCL.
> AXIOM Computer Algebra System
> Version of Tuesday July 20, 2004 at 02:48:23
> -----------------------------------------------------------------------------
> Issue )copyright to view copyright notices.
> Issue )summary for a summary of useful system commands.
> Issue )quit to leave AXIOM and return to shell.
> -----------------------------------------------------------------------------
>
> Re-reading compress.daase Re-reading interp.daase
> Re-reading operation.daase
> Re-reading category.daase
> Re-reading browse.daase
> (1) ->
> )comp test.spad
>
> Loading /usr/lib/axiom-0.20040705/autoload/apply.
> Loading /usr/lib/axiom-0.20040705/autoload/c-doc.
> Loading /usr/lib/axiom-0.20040705/autoload/c-util.
> Loading /usr/lib/axiom-0.20040705/autoload/profile.
> Loading /usr/lib/axiom-0.20040705/autoload/category.
> Loading /usr/lib/axiom-0.20040705/autoload/compiler.
> Loading /usr/lib/axiom-0.20040705/autoload/define.
> Loading /usr/lib/axiom-0.20040705/autoload/functor.
> Loading /usr/lib/axiom-0.20040705/autoload/info.
> Loading /usr/lib/axiom-0.20040705/autoload/iterator.
> Loading /usr/lib/axiom-0.20040705/autoload/modemap.
> Loading /usr/lib/axiom-0.20040705/autoload/nruncomp.
> Loading /usr/lib/axiom-0.20040705/autoload/package.
> Loading /usr/lib/axiom-0.20040705/autoload/htcheck.
> Warning: macro table not found
> Loading /usr/lib/axiom-0.20040705/autoload/xruncomp.
> Compiling AXIOM source code from file /home/marcus/ghs/test.spad
> using old system compiler.
> Loading /usr/lib/axiom-0.20040705/autoload/parsing.
> Loading /usr/lib/axiom-0.20040705/autoload/bootlex.
> Loading /usr/lib/axiom-0.20040705/autoload/def.
> Loading /usr/lib/axiom-0.20040705/autoload/fnewmeta.
> Loading /usr/lib/axiom-0.20040705/autoload/metalex.
> Loading /usr/lib/axiom-0.20040705/autoload/metameta.
> Loading /usr/lib/axiom-0.20040705/autoload/parse.
> Loading /usr/lib/axiom-0.20040705/autoload/postpar.
> Loading /usr/lib/axiom-0.20040705/autoload/postprop.
> Loading /usr/lib/axiom-0.20040705/autoload/preparse.
> TESTPAK abbreviates package TestPackage
> ------------------------------------------------------------------------
> initializing NRLIB TESTPAK for TestPackage
> compiling into NRLIB TESTPAK
> compiling exported op : INT -> INT
> TESTPAK;op;2INT;1 is replaced by x
> Time: 0 SEC.
>
> (time taken in buildFunctor: 0)
>
> ;;; *** |TestPackage| REDEFINED
>
> ;;; *** |TestPackage| REDEFINED
> Time: 0 SEC.
>
>
> Cumulative Statistics for Constructor TestPackage
> Time: 0 seconds
>
> Loading /usr/lib/axiom-0.20040705/autoload/bc-matrix.
> Loading /usr/lib/axiom-0.20040705/autoload/bc-misc.
> Loading /usr/lib/axiom-0.20040705/autoload/bc-solve.
> Loading /usr/lib/axiom-0.20040705/autoload/bc-util.
> Loading /usr/lib/axiom-0.20040705/autoload/ht-util.
> Loading /usr/lib/axiom-0.20040705/autoload/htsetvar.
> Loading /usr/lib/axiom-0.20040705/autoload/ht-root.
> Loading /usr/lib/axiom-0.20040705/autoload/br-con.
> Loading /usr/lib/axiom-0.20040705/autoload/br-data.
> Loading /usr/lib/axiom-0.20040705/autoload/showimp.
> Loading /usr/lib/axiom-0.20040705/autoload/br-op1.
> Loading /usr/lib/axiom-0.20040705/autoload/br-op2.
> Loading /usr/lib/axiom-0.20040705/autoload/br-search.
> Loading /usr/lib/axiom-0.20040705/autoload/br-util.
> Loading /usr/lib/axiom-0.20040705/autoload/topics.
> Loading /usr/lib/axiom-0.20040705/autoload/br-prof.
> Loading /usr/lib/axiom-0.20040705/autoload/br-saturn.
> finalizing NRLIB TESTPAK
> Processing TestPackage for Browser database:
> --->-->TestPackage((op (INT INT))): Not documented!!!!
> --->-->TestPackage(constructor): Not documented!!!!
> --->-->TestPackage(): Missing Description
> Compiling /home/marcus/ghs/TESTPAK.NRLIB/code.lsp.
> ; (DEFUN |TESTPAK;op;2INT;1| ...) is being compiled.
> ;; Warning: The variable $ is not used.
> End of Pass 1.
> End of Pass 2.
> /home/marcus/ghs/TESTPAK.NRLIB/code.c:2:24: cmpinclude.h: No such file
> or directory
> In file included from /home/marcus/ghs/TESTPAK.NRLIB/code.c:3:
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:3: error: parse error before
> "LI1"
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:9: error: parse error before
> "LI3"
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:24: error: parse error before
> "LnkTLI9"
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:24: error: parse error before
> '...' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:25: error: parse error before
> '*' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:25: error: `object' declared as
> function returning a function
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:25: error: function `object' is
> initialized like a variable
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:25: error: parse error before
> ')' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:25: error: parse error before
> ')' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:26: error: parse error before
> "LnkTLI8"
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:26: error: parse error before
> '...' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:27: error: parse error before
> '*' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:27: error: `object' declared as
> function returning a function
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:27: error: function `object' is
> initialized like a variable
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:27: error: parse error before
> ')' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:27: error: parse error before
> ')' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:28: error: parse error before
> "LnkTLI7"
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:28: error: parse error before
> '...' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:29: error: parse error before
> '*' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:29: error: `object' declared as
> function returning a function
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:29: error: function `object' is
> initialized like a variable
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:29: error: parse error before
> ')' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:29: error: parse error before
> ')' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:32: error: parse error before
> "LnkTLI5"
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:33: error: parse error before
> '*' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:33: error: `object' declared as
> function returning a function
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:33: error: function `object' is
> initialized like a variable
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:34: error: parse error before
> "LnkTLI4"
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:34: error: parse error before
> '...' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:35: error: parse error before
> '*' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:35: error: `object' declared as
> function returning a function
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:35: error: function `object' is
> initialized like a variable
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:35: error: parse error before
> ')' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:35: error: parse error before
> ')' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:36: error: parse error before
> "LnkTLI3"
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:36: error: parse error before
> '...' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:37: error: parse error before
> '*' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:37: error: `object' declared as
> function returning a function
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:37: error: function `object' is
> initialized like a variable
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:37: error: parse error before
> ')' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.h:37: error: parse error before
> ')' token
> /home/marcus/ghs/TESTPAK.NRLIB/code.c: In function `init_code':
> /home/marcus/ghs/TESTPAK.NRLIB/code.c:4: error: parse error before ')'
> token
> /home/marcus/ghs/TESTPAK.NRLIB/code.c: At top level:
> /home/marcus/ghs/TESTPAK.NRLIB/code.c:7: error: parse error before
> "LI1"
> /home/marcus/ghs/TESTPAK.NRLIB/code.c:9: error: parse error before
> "object"
> /home/marcus/ghs/TESTPAK.NRLIB/code.c:9: error: parse error before
> "V4"
> /home/marcus/ghs/TESTPAK.NRLIB/code.c: In function `L2':
> /home/marcus/ghs/TESTPAK.N:86: error: `sup' undeclared (first use in
> this function)
> /home/marcus/ghs/TESTPAK.NRLIB/code.c:86: error: `vs_check' undeclared
> (first use in this function)
> /home/marcus/ghs/TESTPAK.NRLIB/code.c:89: error: parse error before
> "V11"
> /home/marcus/ghs/TESTPAK.NRLIB/code.c:90: error: syntax error beforeIn
> function `LnkTLI7':
> /home/marcus/ghs/TESTPAK.NRLIB/code.c:117: error: parse error before
> "V1"
> /home/marcus/ghs/TESTPAK.NRLIB/code.c:117: error: `va_list' undeclared
> (first use in this function)
> /home/marcus/ghs/TESTPAK.NRLIB/code.c:117: error: `ap' undeclared
> (first use in this function)
> /home/marcus/ghs/TESTPAK.NRLIB/code.c:117: error: `first' undeclared
> (first use in this function)
> /home/marcus/ghs/TESTPAK.NRLIB/code.c:117: error: `V1' undeclared
> (first use in this function)
> ...lots of similar lines deleted...
>
> >> System error:
> (SYSTEM "gcc -c -Wall -DVOL=volatile -fsigned-char -pipe
> -I/usr/lib/gcl-2.6.3/unixport/../h -O3 -fomit-frame-pointer -c
> '/home/marcus/ghs/TESTPAK.NRLIB/code.c' -o
> '/home/marcus/ghs/TESTPAK.NRLIB/code.o' -w") returned a non-zero value 0.
>
> protected-symbol-warn called with (NIL)
>
>
> -- System Information:
> Debian Release: testing/unstable
> APT prefers unstable
> APT policy: (500, 'unstable'), (500, 'testing')
> Architecture: i386 (i686)
> Kernel: Linux 2.6.7custom
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
>
> Versions of packages axiom depends on:
> ii axiom-databases 0.20040705-6 A general purpose computer
> algebra
> ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries
> an
> ii libgmp3 4.1.3-1 Multiprecision arithmetic library
> ii libncurses5 5.4-4 Shared libraries for terminal
> hand
> ii libreadline4 4.3-11 GNU readline and history
> libraries
>
> -- no debconf information
>
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Axiom-developer] Re: Bug#262929: axiom: cannot compile packages using )comp,
Camm Maguire <=