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
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
in the root directory of &clsql; to build the libraries
<filename>interfaces/mysql/clsql-mysql.so</filename>
and <filename>interfaces/clsql-uffi/clsql-uffi.so</filename>.
in the root directory of &clsql; to build the libraries
<filename>interfaces/mysql/clsql-mysql.so</filename>
and <filename>interfaces/clsql-uffi/clsql-uffi.so</filename>.
The following example code assumes the &uffi; files reside in the
<filename>/usr/share/lisp/uffi/</filename>
directory.
The following example code assumes the &uffi; files reside in the
<filename>/usr/share/lisp/uffi/</filename>
directory.
The following example code assumes the cl-md5 files reside in the
<filename>/usr/share/lisp/cl-md5/</filename>
directory.
The following example code assumes the cl-md5 files reside in the
<filename>/usr/share/lisp/cl-md5/</filename>
directory.
<filename>/usr/share/lisp/clsql/</filename>
directory. You need to load, at a minimum,
the main <symbol>:clsql</symbol> system and at least one interface system.
<filename>/usr/share/lisp/clsql/</filename>
directory. You need to load, at a minimum,
the main <symbol>:clsql</symbol> 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
(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
(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
(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
in the <filename>tests/tests.lisp</filename> file in the &clsql;
source directory. After creating that file, you can run the test suite
with &asdf;:
in the <filename>tests/tests.lisp</filename> file in the &clsql;
source directory. After creating that file, you can run the test suite
with &asdf;: