<div dir="ltr">On Thu, Aug 21, 2014 at 6:10 PM, Martin Mallinson <span dir="ltr"><<a href="mailto:martin@mallinson.homeip.net" target="_blank">martin@mallinson.homeip.net</a>></span> wrote:<br><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">CL-PDF looks very useful for me. Thanks Marc and the team at ILC2014 for<br>
this and all the great info!<br>
<br>
Ok, now to use CL-PDF on Allegro I SVN'ed it from<br>
<a href="https://github.com/mbattyani/cl-pdf" target="_blank">https://github.com/mbattyani/cl-pdf</a> and tried to build it with acl-load<br>
the essence of which is<br>
<br>
(defparameter *cl-pdf-home* excl:*source-pathname*)<br>
<br>
(defun cl-file (x)<br>
(tpl:do-command "cl" (namestring (merge-pathnames x *cl-pdf-home*))))<br>
<br>
(eval-when (load)<br>
(mapc #'cl-file<br>
'("defpackage"<br>
"cl-zlib-small"<br>
"pdf"<br>
"pdf-base"<br>
"pdf-geom"<br>
)))<br>
<br>
note the lower case do-command "cl" not "CL" since I am in modern mode<br>
ACL 9.0 64 bit<br>
<br></blockquote><div>Note that Allegro 9 should come with ASDF 3, which can load cl-pdf:<br></div><div>(require "asdf")<br></div><div>(asdf:load-system "cl-pdf")<br><br></div><div>If it doesn't provide the latest ASDF 3.1.3, it's a good time to file a bug:<br>
(asdf:asdf-version)<br></div><div>Though if it provides 3.0.1 or later, that's not too bad.<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Anyhow it does not work, since cl-zlib-small.lisp tells me to:<br>
(defvar *libgz-path* "/usr/lib/libz.so"<br>
"Set this variable to point to the location of the zlib library<br>
(libz.so or zlib.dll) on your system.")<br>
<br>
which begs the question of where is zlib.dll for 64 bits? It is not on<br>
my machine and I cant seem to find it on the WWW...<br>
Any LISPer's using CL-PDF on ACL WIndows 64bit who have solved this<br>
problem? Any help much appreciated...<br>
<br></blockquote><div>Have you tried these pages? Googling for gzip dll windows:<br><a href="http://www.gzip.org/">http://www.gzip.org/</a><br><a href="http://gnuwin32.sourceforge.net/packages/gzip.htm">http://gnuwin32.sourceforge.net/packages/gzip.htm</a><br>
<br></div><div>In the worst case, you should be able to compile from source...<br><br></div><div>PS: I loved your interventions at ILC 2014. Nice to meet you!<br></div><div><br>—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• <a href="http://fare.tunes.org">http://fare.tunes.org</a><br>
Until you make the unconscious conscious, it will direct your life<br>and you will call it fate. — Carl Jung (1875–1961)<br></div></div></div></div>