Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Mar 29, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link
Contributor

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 [email protected] on 15 Nov 2012 at 2:19

@GoogleCodeExporter
Copy link
Contributor Author

perl Makefile.PL  PREFIX=/usr

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


Original comment by [email protected] on 15 Nov 2012 at 9:17

  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant