List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:August 25 2005 4:20pm
Subject:Re: unable to build from source
View as plain text  
Steve Povilaitis wrote:
> conftest.c:34: error: invalid conversion from `int' to
> `mysql_enum_shutdown_level'

That's bizarre.

Please apply the following patch, then say "./bootstrap".  It should 
detect the shutdown parameter now.

--- config/mysql_shutdown.m4    (revision 1059)
+++ config/mysql_shutdown.m4    (working copy)
@@ -11,7 +11,7 @@
         [
                 AC_TRY_LINK(
                         [ #include <mysql.h> ],
-                       [ mysql_shutdown(0, 0); ],
+                       [ mysql_shutdown(0, SHUTDOWN_DEFAULT); ],
                         ac_cv_mysql_shutdown_arg=yes,
                         ac_cv_mysql_shutdown_arg=no)
         ])

Let me know whether it works or not.  If it does, I'll push the change 
into the next release.
Thread
unable to build from sourceStephen Povilaitis24 Aug
  • Re: unable to build from sourceWarren Young25 Aug
    • RE: unable to build from sourceSteve Povilaitis25 Aug
      • Re: unable to build from sourceWarren Young25 Aug
        • RE: unable to build from sourceSteve Povilaitis25 Aug