I try compile percona with
CFLAGS="-arch i386 -arch x86_64 -O3 -fno-omit-frame-pointer"
CXXFLAGS="-arch i386 -arch x86_64 -O3 -fno-omit-frame-pointer
-felide-constructors -fno-exceptions -fno-rtti" ./configure
--prefix=/Applications/MEPP/Library/mysql
--disable-dependency-tracking --with-extra-charsets=complex
--enable-thread-safe-client --enable-local-infile
--with-unix-socket-path=/Applications/MEPP/tmp/mysql/mysql.sock
--with-charset=latin1 --with-collation=latin1_general_ci
--with-mysqld-user=_mysql --disable-shared --with-plugins=all
but retunrs this error
./lex.h:109: error: ‘CLIENT_STATS_SYM’ was not declared in this scope
./lex.h:249: error: ‘INDEX_STATS_SYM’ was not declared in this scope
./lex.h:370: error: ‘NOLOCK_SYM’ was not declared in this scope
./lex.h:398: error: ‘PATCHES’ was not declared in this scope
./lex.h:419: error: ‘QUERY_RESPONSE_TIME_SYM’ was not declared in this scope
./lex.h:485: error: ‘SLOW_SYM’ was not declared in this scope
./lex.h:504: error: ‘SQL_NO_FCACHE_SYM’ was not declared in this scope
./lex.h:536: error: ‘TABLE_STATS_SYM’ was not declared in this scope
./lex.h:543: error: ‘THREAD_STATS_SYM’ was not declared in this scope
./lex.h:579: error: ‘USER_STATS_SYM’ was not declared in this scope
In file included from ./lex_hash.h:25,
from sql_lex.cc:81:
./lex.h:109: error: ‘CLIENT_STATS_SYM’ was not declared in this scope
./lex.h:249: error: ‘INDEX_STATS_SYM’ was not declared in this scope
./lex.h:370: error: ‘NOLOCK_SYM’ was not declared in this scope
./lex.h:398: error: ‘PATCHES’ was not declared in this scope
./lex.h:419: error: ‘QUERY_RESPONSE_TIME_SYM’ was not declared in this scope
./lex.h:485: error: ‘SLOW_SYM’ was not declared in this scope
./lex.h:504: error: ‘SQL_NO_FCACHE_SYM’ was not declared in this scope
./lex.h:536: error: ‘TABLE_STATS_SYM’ was not declared in this scope
./lex.h:543: error: ‘THREAD_STATS_SYM’ was not declared in this scope
./lex.h:579: error: ‘USER_STATS_SYM’ was not declared in this scope
lipo: can't figure out the architecture type of:
/var/folders/vV/vVYXG0EWGXKFSdVsptlB+E+++TI/-Tmp-//cc1C3nHv.out
make[3]: *** [sql_lex.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
Any suggestions?
--
SIN ETIQUETAS.[ PUNTO ]
http://flavors.me/jyr
http://pythoncocoa.com
http://opentumblr.com
--
You received this message because you are subscribed to the Google Groups "Percona Discussion" group.
To post to this group, send email to percona-d...@googlegroups.com.
To unsubscribe from this group, send email to percona-discuss...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/percona-discussion?hl=en.
How can i know that sql_yacc.h doesn't regenerate?
> What the steps exactly before build?
Just run configure with the options in the previous mail. Then run
make and return the error.
> What the exact version?
Percona-Server-5.1.54-rel12.5
Mac OSX 10.6.6
> In any case, you can just remove sql/sql_yacc.h sql/sql_yacc.сс and try to
> build again.
I removed sql/sql_yacc.h sql/sql_yacc.сс,after run make and perl
mysql-test-run.pl, returns the error
main.percona_log_connection_error [ fail ]
Test ended at 2011-02-11 22:28:03
CURRENT_TEST: main.percona_log_connection_error
--- /Users/jyr/Downloads/MEPP/src/Percona-Server-5.1.54-rel12.5/mysql-test/r/percona_log_connection_error.result 2011-02-10
17:43:01.000000000 +0300
+++ /Users/jyr/Downloads/MEPP/src/Percona-Server-5.1.54-rel12.5/mysql-test/r/percona_log_connection_error.reject 2011-02-12
07:28:02.000000000 +0300
@@ -12,4 +12,4 @@
ERROR HY000: Too many connections
SET GLOBAL max_connections = @old_max_connections;
SET GLOBAL log_warnings = @old_log_warnings;
-1
+ 1
mysqltest: Result length mismatch
- saving '/Users/jyr/Downloads/MEPP/src/Percona-Server-5.1.54-rel12.5/mysql-test/var/log/main.percona_log_connection_error/'
to '/Users/jyr/Downloads/MEPP/src/Percona-Server-5.1.54-rel12.5/mysql-test/var/log/main.percona_log_connection_error/'
Only 1057 of 1607 completed.
mysql-test-run: *** ERROR: Not all tests completed
--
You received this message because you are subscribed to the Google Groups "Percona Discussion" group.
To post to this group, send email to percona-d...@googlegroups.com.
To unsubscribe from this group, send email to percona-discuss...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/percona-discussion?hl=en.
From source-code, I downloaded
http://www.percona.com/downloads/Percona-Server-5.1/Percona-Server-5.1.54-12.5/source/
> Pleaes notice me exact way.
> If repository,
can i to compile from source with ./configure ... && make && make
install ? or is necesary make all && cd Percona-Server &&
BUILD/autorun.sh
--
You received this message because you are subscribed to the Google Groups "Percona Discussion" group.
To post to this group, send email to percona-d...@googlegroups.com.
To unsubscribe from this group, send email to percona-discuss...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/percona-discussion?hl=en.
--
Mark Callaghan
mdca...@gmail.com
But, the file Percona-Server-5.1.54-rel12.5.tar.gz doesn't include the patches?
On Fri, Feb 11, 2011 at 1:25 AM, Oleg Tsarev <oleg....@percona.com> wrote:How can i know that sql_yacc.h doesn't regenerate?
> Hi,
> Look like sql_yacc.h doesn't regenerate.
Just run configure with the options in the previous mail. Then run
> What the steps exactly before build?
make and return the error.
> What the exact version?
Percona-Server-5.1.54-rel12.5
Mac OSX 10.6.6
I removed sql/sql_yacc.h sql/sql_yacc.сс,after run make and perl
> In any case, you can just remove sql/sql_yacc.h sql/sql_yacc.сс and try to
> build again.
mysql-test-run.pl, returns the error
main.percona_log_connection_error [ fail ]
Test ended at 2011-02-11 22:28:03
CURRENT_TEST: main.percona_log_connection_error
--- /Users/jyr/Downloads/MEPP/src/Percona-Server-5.1.54-rel12.5/mysql-test/r/percona_log_connection_error.result 2011-02-10
17:43:01.000000000 +0300
+++ /Users/jyr/Downloads/MEPP/src/Percona-Server-5.1.54-rel12.5/mysql-test/r/percona_log_connection_error.reject 2011-02-12
07:28:02.000000000 +0300
@@ -12,4 +12,4 @@
ERROR HY000: Too many connections
SET GLOBAL max_connections = @old_max_connections;
SET GLOBAL log_warnings = @old_log_warnings;
-1
+ 1
mysqltest: Result length mismatch
- saving '/Users/jyr/Downloads/MEPP/src/Percona-Server-5.1.54-rel12.5/mysql-test/var/log/main.percona_log_connection_error/'
to '/Users/jyr/Downloads/MEPP/src/Percona-Server-5.1.54-rel12.5/mysql-test/var/log/main.percona_log_connection_error/'
Only 1057 of 1607 completed.
mysql-test-run: *** ERROR: Not all tests completed
--
--
You received this message because you are subscribed to the Google Groups "Percona Discussion" group.
To post to this group, send email to percona-d...@googlegroups.com.
To unsubscribe from this group, send email to percona-discuss...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/percona-discussion?hl=en.
If you retrieve bazaar branch, then it must be run, If you take source from http://www.percona.com/downloads/Percona-Server-5.1/Percona-Server-5.1.54-12.5/source/ it is not necessary
Its works, thanks a lot.
Best Greatings
--
You received this message because you are subscribed to the Google Groups "Percona Discussion" group.
To post to this group, send email to percona-d...@googlegroups.com.
To unsubscribe from this group, send email to percona-discuss...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/percona-discussion?hl=en.
Your Welcome.
I write a desktop app for mac with nginx, php and of course percona,
this moment I compile all. When I have a beta I'll show. Now have
https://github.com/jyr/MEMP