X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2Fintro.xml;h=facffa7f67dbf08ef4bd9ed09d0af93274a26f3e;hb=bd57425b302d5c2e52732545f3f354a2f5f471cf;hp=f227f2f0724e4d23008d21f24d3cbfb5cf7f01b4;hpb=4661cdbb26de93d072226ab6cd9325c1ca7bb75e;p=clsql.git diff --git a/doc/intro.xml b/doc/intro.xml index f227f2f..facffa7 100644 --- a/doc/intro.xml +++ b/doc/intro.xml @@ -1,4 +1,4 @@ - + @@ -126,9 +126,9 @@ Ensure &asdf; is loaded Simply load the file asdf.lisp. - + (load "asdf.lisp") - + @@ -138,30 +138,31 @@ parameters and return values. The &ffi; in most &clsql; implementations do not support 64-bit integers. Thus, C helper libraries are required to break these 64-bit integers into two compatible - 32-bit integers. + 32-bit integers. The helper libraries reside in the directories + uffi/ and db-mysql. - Makefiles for Microsoft Windows and GNU/Solaris systems - are supplied to build the libraries. Since many Microsoft Windows - users don't have access to a compiler, the DLL and LIB - files for Microsoft Windows are supplied with the distribution. - + + &mswindows; + + Files named Makefile.msvc are supplied + for building the libraries under Microsoft Windows. Since + &mswindows; does not come with that compiler, compiled + DLL and LIB library files are + supplied with &clsql;. + + + + + &unix; + + Files named Makefile are supplied for building the libraries + under &unix;. However, the .asd automatically invoke + the makefiles when necessary. So, manual building of the helper libraries + is not necessary on &unix;. + + - To build the libraries on a GNU or Solaris, use the shell and - change to the root directory of &clsql;. You may need to edit the file - interfaces/mysql/Makefile - to specify the location of your - MySQL installation. The default Makefiles are setup for shared library - linking on Linux. If you are using FreeBSD or Solaris, you will need - to change the linker setting as instructed in the Makefile. - Then, you can give the command - -make libs - - in the root directory of &clsql; to build the libraries - interfaces/mysql/clsql-mysql.so - and interfaces/clsql-uffi/clsql-uffi.so. - @@ -173,10 +174,10 @@ make libs The following example code assumes the &uffi; files reside in the /usr/share/lisp/uffi/ directory. - + (push #P"/usr/share/lisp/uffi/" asdf:*central-registry*) -(asdf:oos 'asdf:load-op :uffi) - +(asdf:operate 'asdf:load-op :uffi) + @@ -189,10 +190,10 @@ make libs 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) - +(asdf:operate 'asdf:load-op :md5) + @@ -206,7 +207,7 @@ make libs /usr/share/lisp/clsql/ directory. You need to load, at a minimum, the main :clsql system and at least one interface system. - + (push #P"/usr/share/lisp/clsql/" asdf:*central-repository*) (asdf:operate 'asdf:load-op 'clsql-base) ; base clsql package (asdf:operate 'asdf:load-op 'clsql-mysql) ; MySQL interface @@ -214,7 +215,7 @@ make libs (asdf:operate 'asdf:load-op 'clsql-postgresql-socket) ; Socket PGSQL interface (asdf:operate 'asdf:load-op 'clsql-aodbc) ; Allegro ODBC interface (asdf:operate 'asdf:load-op 'clsql) ; main clsql package - + @@ -227,9 +228,9 @@ make libs in the tests/tests.lisp file in the &clsql; source directory. After creating that file, you can run the test suite with &asdf;: - -(asdf:operate 'asdf:test-op 'clsql) - . . + + (asdf:operate 'asdf:test-op 'clsql) +