mctaek / mysql-master-ha

Automatically exported from code.google.com/p/mysql-master-ha
0 stars 0 forks source link

How to change installation directory when installing mha from sources #38

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. make git clone sources of mha node (or manager)
2. Do steps like in wiki
  $ perl Makefile.PL
  $ make
  $ sudo make install
3. it installs "bin" files in /usr/local/bin and my system(ubuntu) doesnt see 
it.
these files are : apply_diff_relay_logs  filter_mysqlbinlog  purge_relay_logs  
save_binary_logs

If i use deb package, the dpkg installs these files in /usr/bin and all work 
good.

So how to change installation dir for 'bin' files?
thanks in advance.

ps: as temporary solution i make symbolic links of these files to /usr/bin/. 
but it's not good and easy for deploing on many machines

Original issue reported on code.google.com by obric...@balakam.com on 15 Nov 2012 at 2:19

GoogleCodeExporter commented 8 years ago
perl Makefile.PL  PREFIX=/usr

Then apply_diff_relay_logs etc will be installed under. /usr/bin/

Original comment by Yoshinor...@gmail.com on 15 Nov 2012 at 9:17