Discussion:
CL-PDF on ACL 9.0 - using Quicklisp works
Martin Mallinson
2014-08-22 14:20:17 UTC
Permalink
Ah - success! I could not get asdf to work - see note below since it may
be helpful to understand why - but quicklist just worked ... (thanks for
the tip Nick)

*ASDF Notes (th**is is all ACL 9.0 64bit)*
sch(68): (asdf:asdf-version)
"3.0.2.3"
sch(74): (asdf/operate:load-system "cl-pdf")
Error: Component "cl-pdf" not found
[condition type: missing-component]
sch(75): (setf asdf:*central-registry* '(*default-pathname-defaults*))
(*default-pathname-defaults*)
sch(76): (asdf/operate:load-system "cl-pdf")
; Loading c:\LISP\CL-pdf\trunk\cl-pdf.asd
Error: Component :iterate not found, required by #<system "cl-pdf">
[condition type: missing-dependency]

*QUICKLISP notes*
sch(78): (ql:quickload :cl-pdf)
To load "cl-pdf":
Load 1 ASDF system:
cl-pdf
; Loading "cl-pdf"
To load "iterate":
Install 1 Quicklisp release:
iterate
; Fetching #<url
"http://beta.quicklisp.org/archive/iterate/2013-01-28/iterate-20130128-darcs.tgz">
; 326.07KB
==================================================
333,896 bytes in 1.85 seconds (176.73KB/sec)
; Loading "iterate"
[package iterate]..........................
; Loading "cl-pdf"
To load "zpb-ttf":
Install 1 Quicklisp release:
zpb-ttf
; Fetching #<url
"http://beta.quicklisp.org/archive/zpb-ttf/2013-07-20/zpb-ttf-1.0.3.tgz">
; 43.82KB
==================================================
44,869 bytes in 0.13 seconds (327.00KB/sec)
; Loading "zpb-ttf"
[package zpb-ttf]..........
; Loading "cl-pdf"
[package pdf]..................................
(:cl-pdf)
sch(79): (example1 "c:/temp/temp.pdf")
#P"c:\\temp\\temp.pdf"
sch(80): (ed *)

It works ... thanks team..
Martin M
Dave Cooper
2014-08-23 06:49:38 UTC
Permalink
Hi Martin,

Are you delivering a runtime with cl-pdf? If so, note the
initialization stuff in zzinit.lisp for the afm directories.

I actually added that file, to improve flexibility for runtime delivery (as
it was, it assumed you were always loading from fasls and the default afm
directory was in a certain place relative to the fasls).

If the zzinit stuff isn't clear, give me a shout.

My Best,

Dave
Post by Martin Mallinson
Ah - success! I could not get asdf to work - see note below since it may
be helpful to understand why - but quicklist just worked ... (thanks for
the tip Nick)
*ASDF Notes (th**is is all ACL 9.0 64bit)*
sch(68): (asdf:asdf-version)
"3.0.2.3"
sch(74): (asdf/operate:load-system "cl-pdf")
Error: Component "cl-pdf" not found
[condition type: missing-component]
sch(75): (setf asdf:*central-registry* '(*default-pathname-defaults*))
(*default-pathname-defaults*)
sch(76): (asdf/operate:load-system "cl-pdf")
; Loading c:\LISP\CL-pdf\trunk\cl-pdf.asd
Error: Component :iterate not found, required by #<system "cl-pdf">
[condition type: missing-dependency]
*QUICKLISP notes*
sch(78): (ql:quickload :cl-pdf)
cl-pdf
; Loading "cl-pdf"
iterate
; Fetching #<url
"http://beta.quicklisp.org/archive/iterate/2013-01-28/iterate-20130128-darcs.tgz"
<http://beta.quicklisp.org/archive/iterate/2013-01-28/iterate-20130128-darcs.tgz>
; 326.07KB
==================================================
333,896 bytes in 1.85 seconds (176.73KB/sec)
; Loading "iterate"
[package iterate]..........................
; Loading "cl-pdf"
zpb-ttf
; Fetching #<url
"http://beta.quicklisp.org/archive/zpb-ttf/2013-07-20/zpb-ttf-1.0.3.tgz"
<http://beta.quicklisp.org/archive/zpb-ttf/2013-07-20/zpb-ttf-1.0.3.tgz>>
; 43.82KB
==================================================
44,869 bytes in 0.13 seconds (327.00KB/sec)
; Loading "zpb-ttf"
[package zpb-ttf]..........
; Loading "cl-pdf"
[package pdf]..................................
(:cl-pdf)
sch(79): (example1 "c:/temp/temp.pdf")
#P"c:\\temp\\temp.pdf"
sch(80): (ed *)
It works ... thanks team..
Martin M
--
My Best,

Dave Cooper, Genworks Support
david.cooper-LlVAWi/yG7NWk0Htik3J/***@public.gmane.org, dave.genworks.com(skype)
USA: 248-327-3253(o), 1-248-330-2979(mobile)
UK: 0191 645 1699
Faré
2014-08-25 16:19:59 UTC
Permalink
Post by Martin Mallinson
Ah - success! I could not get asdf to work - see note below since it may
be helpful to understand why - but quicklist just worked ... (thanks for the
tip Nick)
ASDF Notes (this is all ACL 9.0 64bit)
sch(68): (asdf:asdf-version)
"3.0.2.3"
sch(74): (asdf/operate:load-system "cl-pdf")
Error: Component "cl-pdf" not found
[condition type: missing-component]
sch(75): (setf asdf:*central-registry* '(*default-pathname-defaults*))
(*default-pathname-defaults*)
sch(76): (asdf/operate:load-system "cl-pdf")
; Loading c:\LISP\CL-pdf\trunk\cl-pdf.asd
Error: Component :iterate not found, required by #<system "cl-pdf">
[condition type: missing-dependency]
asdf needs to be told where your software is when that software isn't
at one of the standard places (which include ~/common-lisp/ in its
asdf 3.1 and later, but not in earlier versions of asdf;
~/.local/share/common-lisp/source/ is in all versions since asdf 2.0).
See the manual for how to configure your source-registry.

Note that while the central registry is still supported,
it is actively disrecommended to use the ASDF 1 style:
(setf asdf:*central-registry* '(*default-pathname-defaults*))
This defeats the desired reproducibility of locating source code.

Instead, try e.g. to have your
~/config/common-lisp/source-registry.conf as follows:
(:source-registry
(:tree (:home "some/subdirectory/"))
:inherit-configuration)

—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org
Director is a misnomer. You're a hoper. You put all these people together and
you hope it all works out. — Frank Oz, director of "Dirty Rotten Scoundrels"
Nick Levine
2014-08-24 15:44:00 UTC
Permalink
Date: Fri, 22 Aug 2014 07:20:17 -0700
Ah - success! I could not get asdf to work - see note below since it
may be helpful to understand why
Because you need a degree in astrophysics to do anything non-trivial
with ASDF?
- but quicklist just worked ...
(thanks for the tip Nick)
Indeed it does. (Note: QuickLisp with a #\p.)

- n
Loading...