X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fintro.sgml;h=753ca3d59858f992c4e9be3f1df40d9a24fb54eb;hb=3a76a2fde6312f1602a98237baa87e2235cdcca0;hp=c7b2d18a1c9fa04e266283e69db6ff218b7e5550;hpb=b4f641e256405778029888b10727095ce35055e0;p=clsql.git
diff --git a/doc/intro.sgml b/doc/intro.sgml
index c7b2d18..753ca3d 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.
@@ -72,16 +66,6 @@ are zip files for Microsoft Windows systems and gzipped tar files for
other systems.
-
- XPTest (optional)
- The test suite for &clsql; uses the onShore Development's
-XPTest package. onShore has graciously put the package in the public
-domain. You can download the package from onShore's web site.
-This package is not required except if you wish to run the &clsql;
-test suite.
-
-
Supported Common Lisp Implementation
@@ -89,9 +73,11 @@ The implementations that support &clsql; is governed by the supported
implementations of &uffi;. The following implementations are supported:
- &acl; v6.1 on Redhat Linux 7.2, FreeBSD 4.5, and Microsoft Windows XP.
- &lw; v4.2 on Redhat Linux 7.2 and Microsoft Windows XP.
- &cmucl; 18d-pre on Redhat Linux 7.2, FreeBSD 4.5, and Solaris 2.8.
+ &acl; v6.2 on Debian Linux, FreeBSD 4.5, and Microsoft Windows XP.
+ &lw; v4.2 on Debian Linux and Microsoft Windows XP.
+ &cmucl; 18d on Debian Linux, FreeBSD 4.5, and Solaris 2.8.
+ &sbcl; 0.7.8 on Debian Linux, FreeBSD 4.5, and Solaris 2.8.
+ &openmcl; 0.13 on Debian Linux.
@@ -101,7 +87,7 @@ implementations of &uffi;. The following implementations are supported:
Currently, &clsql; supports the following databases:
- &mysql; v3.23.49.
+ &mysql; v3.23.51.
&postgresql; v7.2 with both direct API and TCP socket connections.
Allegro's ODBC interface (&aodbc;) using iODBC ODBC manager.
@@ -155,14 +141,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)
@@ -171,23 +156,35 @@ 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
+
+ Run test suite
+
+ After loading &clsql;, you can execute the test program in
+the directory ./test-suite. The test file,
+tester-clsql
+has instructions for creating a test.config.
+After creating that file, simple load the test file with Lisp
+and the tests should automatically execute.
+
+
+