alex.paes | 22 Sep 01:46 2008

Problem compiling clg-0.93

Hi everyone,

I've been trying to setup clg but i've had quite some problems. My setup is
as follows:

Windows Vista Home Premium
Clisp 2.43/2.45 (get the same problem with both versions, plus some others
in 2.45)
CLG-0.93

After some minor tweaks (changing pkg-config:pkg-exists-p and
pkg-config:run-pkg-config because the exit-code collected by asdf here is
not a number but instead T or NIL) i get stuck when it starts loading
glib.asd (that's the last output line) with the following error:

MAKE-PATHNAME illegal :DIRECTORY argument (:RELATIVE "c:" "opt"
"gtk+-2.14.1.1" "bin")

After some tests i get the idea that the problem is with the colon in "c:"
section because when trying

(make-pathname :directory '(:relative "opt" "gtk+-2.14.1.1" "bin"))

it works without any problem. I have tried to find out how to solve this
but clisp debugger seems unreadable to me (i'm quite new to lisp)
Maybe some of you guys can help me nail this down?

Thanks in advance for the time and help,

Alex Paes
(Continue reading)

Julian Stecklina | 1 Oct 22:13 2008
Picon

Compilation broken in SLIME

Hello,

compilation seems broken with SBCL+SLIME because of the #? reader
macro. Is there any known workaround or is there no one using clg with a
recent Slime?

Regards,
--

-- 
Julian Stecklina

Well, take it from an old hand: the only reason it would be easier to
program in C is that you can't easily express complex problems in C,
so you don't. - Erik Naggum (in comp.lang.lisp)

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Julian Stecklina | 1 Oct 23:50 2008
Picon

GLADE support broken

Hello,

loading a GLADE file seems broken. A very minimal file that demonstrates
this:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
<!--Generated with glade3 3.4.5 on Wed Oct  1 23:37:35 2008 -->
<glade-interface>
  <widget class="GtkWindow" id="window1">
    <child>
      <widget class="GtkVBox" id="vbox1">
        <property name="visible">True</property>
        <child>
          <placeholder/>
        </child>
      </widget>
    </child>
  </widget>
</glade-interface>

Trying to load this gives:
* (glade-xml:load-interface "test2.glade")

There is no applicable method for the generic function
  #<STANDARD-GENERIC-FUNCTION SB-MOP:CLASS-FINALIZED-P (1)>
when called with arguments
  (NIL).
   [Condition of type SIMPLE-ERROR]

(Continue reading)

Julian Stecklina | 1 Oct 22:11 2008
Picon

Gentoo build problem + patch

Hello,

clg needs the following patch to build on Gentoo Linux.

------------------------------ tools/config.lisp ------------------------------
index 432c906..6bf7dcf 100644
 <at>  <at>  -147,7 +147,10  <at>  <at> 
     (values-list
      (loop
       repeat 4
-      for part in (split-string (lisp-implementation-version) :delimiter #\.)
+      ;; We use . and - as delimiters because some Linux
+      ;; distributions tend to patch SBCL and add a distro-specific
+      ;; version tag (like 1.0.19-gentoo).
+      for part in (split-string (lisp-implementation-version) :delimiter '(#\. #\-))
       while (every #'digit-char-p part)
       collect (parse-integer part))))
   (defun sbcl>= (major minor micro &optional patch)

Regards,
--

-- 
Julian Stecklina

Well, take it from an old hand: the only reason it would be easier to
program in C is that you can't easily express complex problems in C,
so you don't. - Erik Naggum (in comp.lang.lisp)

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
(Continue reading)


Gmane