Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Installation fails on OS X using Homebrew
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Gergo Erdosi  
View profile  
 More options May 9 2012, 2:17 pm
From: Gergo Erdosi <ge...@gergoerdosi.com>
Date: Wed, 9 May 2012 20:17:35 +0200
Local: Wed, May 9 2012 2:17 pm
Subject: Installation fails on OS X using Homebrew
Hi,

I'm trying to install Percona Server on OS X using Homebrew, however
unable to compile it. Please see this ticket for details:
https://github.com/mxcl/homebrew/issues/12075

I managed to fix some of the errors, however there is one that I
couldn't solve yet:

[ 97%] Building CXX object sql/CMakeFiles/mysqld.dir/main.cc.o
Linking CXX executable mysqld
Undefined symbols for architecture x86_64:
  "__increment_page_get_statistics", referenced from:
      _buf_page_get_gen in libinnobase.a(buf0buf.c.o)
      _buf_page_optimistic_get in libinnobase.a(buf0buf.c.o)
      _buf_page_get_known_nowait in libinnobase.a(buf0buf.c.o)
ld: symbol(s) not found for architecture x86_64

The formula uses these flags:

args = std_cmake_parameters.split + [
      ".",
      "-DMYSQL_DATADIR=#{var}/percona",
      "-DINSTALL_MANDIR=#{man}",
      "-DINSTALL_DOCDIR=#{doc}",
      "-DINSTALL_INFODIR=#{info}",
      # CMake prepends prefix, so use share.basename
      "-DINSTALL_MYSQLSHAREDIR=#{share.basename}",
      "-DWITH_SSL=yes",
      "-DDEFAULT_CHARSET=utf8",
      "-DDEFAULT_COLLATION=utf8_general_ci",
      "-DSYSCONFDIR=#{etc}",
      "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ]

Can anybody tell me what could be the source of this error? You can
reply on Github too in the ticket. Thanks in advance!

Gergo Erdosi


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.