~ubuntu-branches/ubuntu/dapper/fpc/dapper

« back to all changes in this revision

Viewing changes to packages/base/mysql/README

  • Committer: Bazaar Package Importer
  • Author(s): Carlos Laviola
  • Date: 2004-08-12 16:29:37 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040812162937-moo8ulvysp1ln771
Tags: 1.9.4-5
fp-compiler: needs ld, adding dependency on binutils.  (Closes: #265265)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
This is the MySQL interface of Free Pascal.
 
2
 
 
3
You need at least compiler version 0.99.8 to compile this.
 
4
 
 
5
To Compile under Linux
 
6
- You must know where the mysql libraries are.
 
7
- You must know where libgcc is.
 
8
 
 
9
Both these things must be set in the Makefile. After that a simple 'make'
 
10
and 'make install' should compile and install everything.
 
11
 
 
12
You can test with 'make test', but this supposes that there is a 'testdb'
 
13
database available. If not, you must run
 
14
  mkdb databasename
 
15
  testdb databasename
 
16
  rmdb databasename
 
17
manually. You need create permission on the database for this to work.
 
18
 
 
19
Redhat 5.1 and later users: You must ADD to the path the location of the
 
20
libc5 libraries. It will NOT work with glibc 6. I hope to fix this in the
 
21
future.
 
22
 
 
23
Win32 users: There are multiple .dll files circulating around. 
 
24
you should fix the statement
 
25
mysqllib = 'libmysql'
 
26
in the mysql unit, so it matches the version you have.
 
27
 
 
28
Enjoy !
 
29
 
 
30
Michael.