On 4/18/10, joaquin borges <ultradenso at gmail.com> wrote:
> I have built maxima 5.21.0 from source ,in ubuntu 9.10, with scl.
> When I run maxima I get this message:
> "Warning: the kernel parameter max_map_count=65530 is less than the 191488+
> pages usable by Scieneer Common Lisp. It is recommended that
> max_map_count be
> increased to at least 191488. This can be done with either:
> sysctl -w vm.max_map_count=191488
> echo 191488 > /proc/sys/vm/max_map_count
I'm going to guess this isn't the source of the problem ....
> Maxima 5.21.0 http://maxima.sourceforge.net
> using Lisp Scieneer Common Lisp 1.3.9
> Distributed under the GNU Public License. See the file COPYING.
> Dedicated to the memory of William Schelter.
> The function bug_report() provides bug reporting information.
> filename_merge: unexpected argument: "/home/daniel/.maxima/###.amd64f"
Hmm. This error originates in the code below.
My guess is that SCL treats pathnames (or strings, who knows)
differently than other Lisp implementations.
I'd like to ask you to (trace errset-namestring) before running Maxima.
I'm not sure how to achieve that. Maybe you can tell SCL on the
command line to evaluate (trace errset-namestring) ?
If so you can then use Maxima's --lisp-options='...' to pass the
appropriate argument to SCL, I guess.
Sorry I can't be more helpful.
Robert Dodier
PS.
(defun macsyma-namestring-sub (user-object)
(if (macsyma-namestringp user-object) user-object
(let* ((system-object
(cond ((and (atom user-object) (not (symbolp user-object)))
user-object)
((atom user-object) ;hence a symbol in view of the
(print-invert-case (fullstrip1 user-object))) ; first clause
(($listp user-object)
(fullstrip (cdr user-object)))
(t
(merror (intl:gettext "filename_merge: unexpected
argument: ~M") user-object))))
(namestring-try (errset-namestring system-object)))
(if namestring-try (car namestring-try)
;; know its small now, so print on same line.
(merror (intl:gettext "filename_merge: unexpected argument:
~:M") user-object)))))