X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=doc%2Fintro.sgml;fp=doc%2Fintro.sgml;h=8399857a428645f3379a39139259cc8ec283e04c;hp=5f0b76b81fb91fc1f413a324b83574d6d99b0d3e;hb=8e793d3e1cd85db1f864f6ae9eba6bb27da66c99;hpb=f3478e088951e67bbde5666b04c6e37b6552ce4c diff --git a/doc/intro.sgml b/doc/intro.sgml index 5f0b76b..8399857 100644 --- a/doc/intro.sgml +++ b/doc/intro.sgml @@ -46,15 +46,9 @@ are: &defsystem; - &clsql; uses &defsystem to compile and load its -components. &defsystem; is included in the &clocc; collection. The -version in the pre-packaged distribution is rather old and -may not function well. The version in CVS tree tree works quite -well. For convenience, a copy of the latest &defsystem; at the FTP -site -of &clsql;. + &clsql; uses &asdf; to compile and load its +components. &asdf; is included in the &cclan; collection. @@ -145,14 +139,13 @@ in the root directory of &clsql; to build the libraries Load &uffi; Unzip or untar the &uffi; distribution which creates a directory -for the &uffi; files. Add that directory to Defsystem's mk:*central-registry*. -You can do that by either pushing the pathname of the directory onto this variable, or -use the new add-registry-location present in the newest versions of -&defsystem;. The following example code assumes the &uffi; files reside in the -/usr/local/src/lisp/uffi directory. +for the &uffi; files. Add that directory to Defsystem's asdf:*central-registry*. +You can do that by pushing the pathname of the directory onto this variable. + The following example code assumes the &uffi; files reside in the +/usr/share/lisp/uffi/ directory. -(mk:add-registry-location #P"/usr/local/src/lisp/uffi") -(mk:load-system :uffi) +(push #P"/usr/share/lisp/uffi/" asdf:*central-repository*) +(asdf:oos 'asdf:load-op :uffi) @@ -161,19 +154,19 @@ use the new add-registry-location present in the newest ver Load &clsql; modules Unzip or untar the &clsql; distribution which creates a directory -for the &clsql; files. Add that directory to Defsystem's mk:*central-registry*. -You can do that by either pushing the pathname of the directory onto this variable, or -use the new add-registry-location present in the newest versions of -&defsystem;. The following example code assumes the &clsql; files reside in the -/usr/local/src/lisp/clsql directory. You need to load, at a minimum, +for the &clsql; files. Add that directory to Defsystem's asdf:*central-registry*. +You can do that by pushing the pathname of the directory onto this variable. + The following example code assumes the &clsql; files reside in the +/usr/share/lisp/clsql/ directory. You need to load, at a minimum, the main :clsql system and at least one interface system. -(mk:add-registry-location #P"/usr/local/src/lisp/clsql") -(mk:load-system :clsql) ; main clsql package -(mk:load-system :clsql-mysql) ; MySQL interface -(mk:load-system :clsql-postgresql) ; PostgreSQL interface -(mk:load-system :clsql-postgresql-socket) ; Socket PGSQL interface -(mk:load-system :clsql-aodbc) ; Allegro ODBC interface +(push #P"/usr/share/lisp/clsql/" asdf:*central-repository*) +(asdf:oos 'asdf:load-op :clsql-base) ; base clsql package +(asdf:oos 'asdf:load-op :clsql-mysql) ; MySQL interface +(asdf:oos 'asdf:load-op :clsql-postgresql) ; PostgreSQL interface +(asdf:oos 'asdf:load-op :clsql-postgresql-socket) ; Socket PGSQL interface +(asdf:oos 'asdf:load-op :clsql-aodbc) ; Allegro ODBC interface +(asdf:oos 'asdf:load-op :clsql) ; main clsql package