X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fintro.sgml;h=c722627bb5bc9c2a3713586f285b7c28d735d734;hb=36d17cf365b7fe0dcab77450c3caf5961efa3985;hp=c7b2d18a1c9fa04e266283e69db6ff218b7e5550;hpb=b4f641e256405778029888b10727095ce35055e0;p=clsql.git diff --git a/doc/intro.sgml b/doc/intro.sgml index c7b2d18..c722627 100644 --- a/doc/intro.sgml +++ b/doc/intro.sgml @@ -37,6 +37,9 @@ are: improved packages and symbol export. + +transaction support. + @@ -46,15 +49,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. @@ -73,15 +70,10 @@ 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. - - + &uffi; + &clsql;'s postgresql-socket interface uses Pierre Mai's + md5 module. If you plan to use + this interface please download the md5 module from ftp://clsql.b9.com Supported Common Lisp Implementation @@ -89,9 +81,12 @@ 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.14 on Debian Linux. + &scl; 1.1 on Debian Linux. + &openmcl; 0.13 on Debian Linux PowerPC. @@ -101,7 +96,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 +150,28 @@ 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-registry*) +(asdf:oos 'asdf:load-op :uffi) + + + + + Load &md5; module + + If you plan to use the clsql-postgresql-socket interface, you must load the md5 module. + Unzip or untar the cl-md5 distribution, which creates a directory for the cl-md5 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 cl-md5 files reside in the + /usr/share/lisp/cl-md5/ directory. + +(push #P"/usr/share/lisp/cl-md5/" asdf:*central-registry*) +(asdf:oos 'asdf:load-op :md5) @@ -171,23 +180,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. + + +