Subject: | DBIx-MyParse - Bug in compliation on Ubuntu Edgy and Mac OS X 10.4 |
Date: | Sun, 16 Mar 2008 11:47:29 +0000 |
To: | bug-DBIx-MyParse [...] rt.cpan.org |
From: | "Thomas David Baker" <bakert [...] gmail.com> |
Where occurs:
On both Ubuntu Edgy and Mac OS X 10.4
Steps to reproduce:
Follow instructions in README sections A and then B to install from
source up to and including "make install" for DBIx-MyParse-0.88
Expected:
DBIx-MyParse-0.88 will install.
Actual:
11:40:28 bakert@zaphod:~/DBIx-MyParse-0.88$ sudo make install
g++ -c -I. -I/home/bakert/mysql-5.0.51a/
-I/home/bakert/mysql-5.0.51a//sql
-I/home/bakert/mysql-5.0.51a//include
-I/home/bakert/mysql-5.0.51a//regex -DEMBEDDED_LIBRARY -DMYSQL_SERVER
-Wall -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions
-fno-rtti -DNO_EMBEDDED_ACCESS_CHECKS -O2 -DVERSION=\"0.88\"
-DXS_VERSION=\"0.88\" -fPIC "-I/usr/lib/perl/5.8/CORE"
my_parse_cc.cc
my_parse_cc.cc:25:1: warning: "EMBEDDED_LIBRARY" redefined
<command line>:1:1: warning: this is the location of the previous definition
my_parse_cc.cc:26:1: warning: "MYSQL_SERVER" redefined
<command line>:1:1: warning: this is the location of the previous definition
In file included from /home/bakert/mysql-5.0.51a//include/my_global.h:83,
from /home/bakert/mysql-5.0.51a/sql/mysql_priv.h:28,
from my_parse_cc.cc:28:
/home/bakert/mysql-5.0.51a//include/my_config.h:1127:1: warning:
"VERSION" redefined
<command line>:1:1: warning: this is the location of the previous definition
In file included from /home/bakert/mysql-5.0.51a/sql/mysql_priv.h:28,
from my_parse_cc.cc:28:
/home/bakert/mysql-5.0.51a//include/my_global.h:1345:1: warning:
"NO_EMBEDDED_ACCESS_CHECKS" redefined
<command line>:1:1: warning: this is the location of the previous definition
my_parse_cc.cc:77: error: 'st_table_list' has not been declared
my_parse_cc.cc: In function 'perl_object* my_parse_table(THD*,
st_select_lex*, perl_object*, perl_object*, int*)':
my_parse_cc.cc:81: error: request for member 'alias' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:82: error: request for member 'alias' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:85: error: request for member 'outer_join' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:87: error: request for member 'outer_join' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:89: error: request for member 'straight' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:91: error: request for member 'natural_join' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:95: error: request for member 'embedding' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:96: error: request for member 'embedding' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:113: error: request for member 'on_expr' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:114: error: request for member 'on_expr' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:118: error: request for member 'table_name' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:119: error: request for member 'table_name' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:124: error: request for member 'db' in '* table', which
is of non-class type 'int'
my_parse_cc.cc:125: error: request for member 'db' in '* table', which
is of non-class type 'int'
my_parse_cc.cc:128: error: request for member 'lock_type' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:130: error: request for member 'lock_type' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:135: error: request for member 'use_index' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:136: error: request for member 'use_index' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:138: error: request for member 'force_index' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:145: error: request for member 'ignore_index' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:146: error: request for member 'ignore_index' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:150: error: request for member 'nested_join' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:151: error: request for member 'nested_join' in '*
table', which is of non-class type 'int'
my_parse_cc.cc:154: error: request for member 'derived' in '* table',
which is of non-class type 'int'
my_parse_cc.cc:157: error: request for member 'derived' in '* table',
which is of non-class type 'int'
my_parse_cc.cc: In function 'perl_object* my_parse_tables_obj(THD*,
st_select_lex*, perl_object*, List<TABLE_LIST>*)':
my_parse_cc.cc:180: error: cannot convert 'TABLE_LIST*' to 'int*' for
argument '5' to 'perl_object* my_parse_table(THD*, st_select_lex*,
perl_object*, perl_object*, int*)'
my_parse_cc.cc:195: error: cannot convert 'TABLE_LIST*' to 'int*' for
argument '5' to 'perl_object* my_parse_table(THD*, st_select_lex*,
perl_object*, perl_object*, int*)'
my_parse_cc.cc: In function 'perl_object* my_parse_tables_list(THD*,
st_select_lex*, perl_object*, TABLE_LIST*)':
my_parse_cc.cc:211: error: cannot convert 'TABLE_LIST*' to 'int*' for
argument '5' to 'perl_object* my_parse_table(THD*, st_select_lex*,
perl_object*, perl_object*, int*)'
my_parse_cc.cc:229: error: cannot convert 'TABLE_LIST*' to 'int*' for
argument '5' to 'perl_object* my_parse_table(THD*, st_select_lex*,
perl_object*, perl_object*, int*)'
my_parse_cc.cc: In function 'perl_object* my_parse_inner(THD*,
st_select_lex*, bool)':
my_parse_cc.cc:970: error: cannot convert 'TABLE_LIST*' to 'int*' for
argument '5' to 'perl_object* my_parse_table(THD*, st_select_lex*,
perl_object*, perl_object*, int*)'
my_parse_cc.cc:991: error: cannot convert 'TABLE_LIST*' to 'int*' for
argument '5' to 'perl_object* my_parse_table(THD*, st_select_lex*,
perl_object*, perl_object*, int*)'
make: *** [my_parse_cc.o] Error 1