File: README.compile_on_potato

package info (click to toggle)
mysql 3.23.49-8.13
  • links: PTS
  • area: main
  • in suites: woody
  • size: 65,624 kB
  • ctags: 45,242
  • sloc: ansic: 255,722; cpp: 86,801; perl: 26,117; tcl: 19,882; sh: 18,775; asm: 4,001; yacc: 2,626; makefile: 2,494; java: 2,300; awk: 1,484; sed: 428
file content (44 lines) | stat: -rw-r--r-- 2,081 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#
# COMPILING THE DEBIAN MYSQL PACKAGE ON POTATO
#
# As many people asked for a recipe to do this I include here the one
# "Paul van den Berg" <P.B.van.den.Berg@farm.rug.nl> send me. Thanks Paul.
#
1. Get the sources .tar.gz and .diff and .dsc from an archive
2. I had to change a filename:
   mv mysql_3.23.33-1.diff mysql_3.23.33-1.diff.gz
   (netscape stripped it off while downloading, but did not unpack)
3. Make yourself super-user with su
4. Unpack : dpkg-source -x mysql_3.23.33-1.dsc
5. Change directory to the unpacked source: cd mysql-3.23.33
6. Edit file debian/control and run dselect
   debian/control lists required packages and version numbers (for unstable).
   The select option in dselect lists packages and version numbers in potato,
   and from there you can install missing packages on your system. Use "/"   
   to search for the packages you see in debian/control.
   I changed the following version numbers in debian/control:
   Package        From            To
   debhelper      2.1.2           2.0.86
   debconf        0.3.66          0.2.80.17
   adduser        3.24            3.11.1   
   perl		  5.6		  5.005
6. Edit file debian/rules
   - this file calls a program dh_installlogrotate, which is not available in
     debhelper 2.0.86 comment the line with dh_installlogrotate with a "#"
     and add the following line:
     cp `pwd`/debian/mysql-server.logrotate `pwd`/debian/mysql-server/etc/logrotate.d/mysql-server
     (the cp command should be one line!)
   - change 'export DH_COMPAT=3' to 'export DH_COMPAT=2'
   - change 'dh_installman' to 'dh_installmanpages'
7. Build the .deb packages an take a break:
   debian/rules binary
8. Install the packages in the following order:
   cd ..
   dpkg -i mysql-doc_3.23.33-1_all.deb (if you want the documentation)
   dpkg -i mysql-common_3.23.33-1_all.deb
   dpkg -i libmysqlclient10_3.23.33-1_i386.deb
   dpkg -i mysql-client_3.23.33-1_i386.deb
   dpkg -i mysql-server_3.23.33-1_i386.deb
   I never needed libmysqlclient10_dev, so I did not install it.
9. Test your new mysql. It worked for me!