Re: databases/mysql-workbench52

2012-02-01 Thread Scot Hetzel
On Sat, Jan 28, 2012 at 6:27 PM, t...@diogunix.com t...@diogunix.com wrote:



 On Monday 23 January 2012 17:08:44 you wrote:
 On 23 Jan 2012 15:31, t...@diogunix.com t...@diogunix.com wrote:
   Hm, well the page at [1] claims that 5+ should be supported, and it's
   from the 5.5 docs.
  
   I would try asking the mailing list at
   http://lists.mysql.com/internals .
 
  Did so, awaiting reply there.

 Ok, disappoingly, I did not get any reply on
 http://lists.mysql.com/internals

 As a solution (regarding practical terms) I just deinstalled the MySQL
 ports coming with KDE and instead installed MySQL 5.1.

 Then, the Workbench 5.2 port compiled without any issues.
 So far, the Makefile of the Workbench52 port was correct.

 Of course, some parts of KDE will not work now :-(

 As doesn't appear to be too easy to make the Workbench Port work with mySQL
 5.5 I'll propose the KDE folks to ask for a decision on whether to build the
 KDE parts in question with MySQL 5.5 OR with MySQL 5.1.

Currently, /usr/ports/Mk/bsd.database.mk shows that the default MySQL
version is set to 5.5.

Try rebuilding your KDE ports that require MySQL by adding:

WITH_MYSQL_VER=51

to your /etc/make.conf.

Scot
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: databases/mysql-workbench52

2012-01-28 Thread t...@diogunix.com



On Monday 23 January 2012 17:08:44 you wrote:
 On 23 Jan 2012 15:31, t...@diogunix.com t...@diogunix.com wrote:
   Hm, well the page at [1] claims that 5+ should be supported, and it's
   from the 5.5 docs.
   
   I would try asking the mailing list at
   http://lists.mysql.com/internals .
  
  Did so, awaiting reply there.

Ok, disappoingly, I did not get any reply on 
http://lists.mysql.com/internals

As a solution (regarding practical terms) I just deinstalled the MySQL 
ports coming with KDE and instead installed MySQL 5.1. 

Then, the Workbench 5.2 port compiled without any issues.
So far, the Makefile of the Workbench52 port was correct.

Of course, some parts of KDE will not work now :-(

As doesn't appear to be too easy to make the Workbench Port work with mySQL 
5.5 I'll propose the KDE folks to ask for a decision on whether to build the 
KDE parts in question with MySQL 5.5 OR with MySQL 5.1. 

This at least should give us the option to work with KDE (including Akonadi 
/ KDE PIM) AND with Workbench as long as Workbench won't work with 5.5  - 
better than nothing ...

Tom
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: databases/mysql-workbench52

2012-01-23 Thread Chris Rees
On 23 January 2012 05:20, t...@diogunix.com t...@diogunix.com wrote:

I've stumbled across a weird issue with building the
databases/mysql-workbench52 port on a brandnew / fresh FreeBSD 9
RELEASE machine:
   its in the makefile for mysql-workbench51
   DEFAULT_MYSQL_VER=      51
   IGNORE_WITH_MYSQL=      41 55
  
   you can delete that line and see what happens.
 
  Thanks for the hint, Michael.
 
  Unfortunately, I get an error then:
 
  In file included from ./my_global.h:383,
 
                  from mysys_priv.h:17,
 
                  from charset-def.cpp:17:
  /usr/include/sys/timeb.h:42:2: warning: #warning this file includes
  sys/timeb.h which is deprecated
  In file included from mysys_priv.h:17,
 
                  from charset-def.cpp:17:
  ./my_global.h:1017: error: redeclaration of C++ built-in type 'bool'
  *** Error code 1
 
  Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
  oss-5.2.1/library/sql-parser/source.
  *** Error code 1
 
  Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
  oss-5.2.1/library/sql-parser.
  *** Error code 1
 
  Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
  oss-5.2.1/library.
  *** Error code 1
 
  Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
  oss-5.2.1.
  *** Error code 1
 
  Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
  oss-5.2.1.
  *** Error code 1
 
  Stop in /usr/ports/databases/mysql-workbench52.
  *** Error code 1
 
  Stop in /usr/ports/databases/mysql-workbench52.
 
  I could not figure out what's actually up there.
 
 Looks like some incompatibility; perhaps it reimplements something now
 included by mysql.

 Let's assume that was the reason

  @all
  Is there any chance to somehow get the build working with MySQL 55 ?

 Have you contacted upstream?

 I'm terribly sorry but I'm not familiar with the term upstream.

 Do you mean the MySQL team at Sun/Oracle ?
 Then the answer is no. The list here is my only contact so far.


Hm, well the page at [1] claims that 5+ should be supported, and it's
from the 5.5 docs.

I would try asking the mailing list at
http://lists.mysql.com/internals .  I would love to help you, but I'm
a little snowed under with pgsql at the moment ;)

Chris

[1] http://dev.mysql.com/doc/refman/5.5/en/workbench.html
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: databases/mysql-workbench52

2012-01-23 Thread t...@diogunix.com

 Hm, well the page at [1] claims that 5+ should be supported, and it's
 from the 5.5 docs.
 
 I would try asking the mailing list at
 http://lists.mysql.com/internals . 

Did so, awaiting reply there.

I also mentioned we did not have a port maintainer this time.
May be we'll be lucky ...

Tom

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: databases/mysql-workbench52

2012-01-23 Thread Chris Rees
On 23 Jan 2012 15:31, t...@diogunix.com t...@diogunix.com wrote:


  Hm, well the page at [1] claims that 5+ should be supported, and it's
  from the 5.5 docs.
 
  I would try asking the mailing list at
  http://lists.mysql.com/internals .

 Did so, awaiting reply there.

 I also mentioned we did not have a port maintainer this time.
 May be we'll be lucky ...


Maintaining ports isn't hard, with all the help available here.

Just saying ;)

Chris

PS You know you want to
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: databases/mysql-workbench52

2012-01-22 Thread t...@diogunix.com
  I've stumbled across a weird issue with building the databases/mysql-
 
  workbench52 port on a brandnew / fresh FreeBSD 9 RELEASE machine:
 its in the makefile for mysql-workbench51
 DEFAULT_MYSQL_VER=  51
 IGNORE_WITH_MYSQL=  41 55
 
 the maintainer thinks it won't work with mysql55
 
 you can delete that line and see what happens.  

Thanks for the hint, Michael.

Unfortunately, I get an error then:

In file included from ./my_global.h:383,
 from mysys_priv.h:17,
 from charset-def.cpp:17:
/usr/include/sys/timeb.h:42:2: warning: #warning this file includes 
sys/timeb.h which is deprecated
In file included from mysys_priv.h:17,
 from charset-def.cpp:17:
./my_global.h:1017: error: redeclaration of C++ built-in type 'bool'
*** Error code 1

Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
oss-5.2.1/library/sql-parser/source.
*** Error code 1

Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
oss-5.2.1/library/sql-parser.
*** Error code 1

Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
oss-5.2.1/library.
*** Error code 1

Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
oss-5.2.1.
*** Error code 1

Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
oss-5.2.1.
*** Error code 1

Stop in /usr/ports/databases/mysql-workbench52.
*** Error code 1

Stop in /usr/ports/databases/mysql-workbench52.

 if it works, open a pr
 with a patch.  if you can get it to work, open a pr with a patch.

I could not figure out what's actually up there.

@Maxim:
Is that the reason why you excluded MySQL 55 from that Makefile ?

@all
Is there any chance to somehow get the build working with MySQL 55 ?

kind regards
Tom
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: databases/mysql-workbench52

2012-01-22 Thread Chris Rees
On 22 Jan 2012 15:25, t...@diogunix.com t...@diogunix.com wrote:

   I've stumbled across a weird issue with building the databases/mysql-
 
   workbench52 port on a brandnew / fresh FreeBSD 9 RELEASE machine:
  its in the makefile for mysql-workbench51
  DEFAULT_MYSQL_VER=  51
  IGNORE_WITH_MYSQL=  41 55
 
  the maintainer thinks it won't work with mysql55
 
  you can delete that line and see what happens.

 Thanks for the hint, Michael.

 Unfortunately, I get an error then:

 In file included from ./my_global.h:383,
 from mysys_priv.h:17,
 from charset-def.cpp:17:
 /usr/include/sys/timeb.h:42:2: warning: #warning this file includes
 sys/timeb.h which is deprecated
 In file included from mysys_priv.h:17,
 from charset-def.cpp:17:
 ./my_global.h:1017: error: redeclaration of C++ built-in type 'bool'
 *** Error code 1

 Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
 oss-5.2.1/library/sql-parser/source.
 *** Error code 1

 Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
 oss-5.2.1/library/sql-parser.
 *** Error code 1

 Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
 oss-5.2.1/library.
 *** Error code 1

 Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
 oss-5.2.1.
 *** Error code 1

 Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
 oss-5.2.1.
 *** Error code 1

 Stop in /usr/ports/databases/mysql-workbench52.
 *** Error code 1

 Stop in /usr/ports/databases/mysql-workbench52.

  if it works, open a pr
  with a patch.  if you can get it to work, open a pr with a patch.

 I could not figure out what's actually up there.

 @Maxim:
 Is that the reason why you excluded MySQL 55 from that Makefile ?

Looks like some incompatibility; perhaps it reimplements something now
included by mysql.

Let's assume that was the reason, and let's not ask Maxim any more
questions on it directly-- he's resigned as maintainer and can chose to
answer questions on ports@ if he chooses :)

 @all
 Is there any chance to somehow get the build working with MySQL 55 ?

Have you contacted upstream?

 kind regards
 Tom
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: databases/mysql-workbench52

2012-01-22 Thread t...@diogunix.com

I've stumbled across a weird issue with building the
databases/mysql-workbench52 port on a brandnew / fresh FreeBSD 9 
RELEASE machine:
   its in the makefile for mysql-workbench51
   DEFAULT_MYSQL_VER=  51
   IGNORE_WITH_MYSQL=  41 55
   
   you can delete that line and see what happens.
  
  Thanks for the hint, Michael.
  
  Unfortunately, I get an error then:
  
  In file included from ./my_global.h:383,
  
  from mysys_priv.h:17,
  
  from charset-def.cpp:17:
  /usr/include/sys/timeb.h:42:2: warning: #warning this file includes
  sys/timeb.h which is deprecated
  In file included from mysys_priv.h:17,
  
  from charset-def.cpp:17:
  ./my_global.h:1017: error: redeclaration of C++ built-in type 'bool'
  *** Error code 1
  
  Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
  oss-5.2.1/library/sql-parser/source.
  *** Error code 1
  
  Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
  oss-5.2.1/library/sql-parser.
  *** Error code 1
  
  Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
  oss-5.2.1/library.
  *** Error code 1
  
  Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
  oss-5.2.1.
  *** Error code 1
  
  Stop in /usr/ports/databases/mysql-workbench52/work/mysql-workbench-
  oss-5.2.1.
  *** Error code 1
  
  Stop in /usr/ports/databases/mysql-workbench52.
  *** Error code 1
  
  Stop in /usr/ports/databases/mysql-workbench52.
  
  I could not figure out what's actually up there.
  
 Looks like some incompatibility; perhaps it reimplements something now
 included by mysql.
 
 Let's assume that was the reason

  @all
  Is there any chance to somehow get the build working with MySQL 55 ?
 
 Have you contacted upstream?

I'm terribly sorry but I'm not familiar with the term upstream.

Do you mean the MySQL team at Sun/Oracle ?
Then the answer is no. The list here is my only contact so far.

Tom
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: databases/mysql-workbench52

2012-01-21 Thread Michael Scheidell



On 1/21/12 3:00 PM, t...@diogunix.com wrote:

Dear all,

I've stumbled across a weird issue with building the databases/mysql-
workbench52 port on a brandnew / fresh FreeBSD 9 RELEASE machine:


its in the makefile for mysql-workbench51
DEFAULT_MYSQL_VER=  51
IGNORE_WITH_MYSQL=  41 55

the maintainer thinks it won't work with mysql55

you can delete that line and see what happens.  if it works, open a pr 
with a patch.  if you can get it to work, open a pr with a patch.


if you want to create another slave port ../mysql-workbench55, open a 
pr, request a repocopy of mysql-workbench52, and submit patches against 
that.



--
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
*| *SECNAP Network Security Corporation

   * Best Mobile Solutions Product of 2011
   * Best Intrusion Prevention Product
   * Hot Company Finalist 2011
   * Best Email Security Product
   * Certified SNORT Integrator

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: databases/mysql-workbench52

2012-01-21 Thread Maxim Ignatenko
On сб, 21 січ 2012 22:22:50 Michael Scheidell wrote:
 On 1/21/12 3:00 PM, t...@diogunix.com wrote:
  Dear all,
  
  I've stumbled across a weird issue with building the databases/mysql-
 
  workbench52 port on a brandnew / fresh FreeBSD 9 RELEASE machine:
 its in the makefile for mysql-workbench51
 DEFAULT_MYSQL_VER=  51
 IGNORE_WITH_MYSQL=  41 55
 
 the maintainer thinks it won't work with mysql55
 
 you can delete that line and see what happens.  if it works, open a pr
 with a patch.  if you can get it to work, open a pr with a patch.
 
 if you want to create another slave port ../mysql-workbench55, open a
 pr, request a repocopy of mysql-workbench52, and submit patches against
 that.
 

Actually, I don't mind if someone will take maintainership of mysql-workbench 
ports, since I'm not using it for a long time.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org