Wrong compile command in MakeFile
Bug #1288473 reported by
Marco Tusa
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Data Recovery Tool for InnoDB |
New
|
Undecided
|
Unassigned |
Bug Description
In the MakeFile the line with the gcc command for the sys_parser is not correct and you will get an error when compile on Ubuntu.
The original is:
gcc `mysql_config --cflags` `mysql_config --libs` -o $@ $<
While it should be:
sys_parser: sys_parser.c
@ if test -z "`which mysql_config`"; then echo "sys_parser needs mysql development package"; fi;
gcc -o $@ $< `mysql_config --cflags` `mysql_config --libs`
I have tested on:
CentOS
RH
Ubuntu
Can you please fix the source MakeFile
tks
To post a comment you must log in.