LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   problem trying to build mysql-workbench-gpl on -current (14) (http://www.linuxquestions.org/questions/slackware-14/problem-trying-to-build-mysql-workbench-gpl-on-current-14-a-4175414441/)

gtludwig 07-02-2012 07:46 AM

problem trying to build mysql-workbench-gpl on -current (14)
 
Hello all,

Last Thursday I updated my box to the latest -current (14!! sweet!).

But, as I finished the upgrade, the application mysql-workbench-gpl I use quite often broke up.

I've tried to re-build the package using the latest sources (5.2.40) and it took a VERY long time building. Last attempt was started Friday at 6PM and as of Monday morning 9AM it hasn't finished.

I'm quite dismayed about it. The stack trace doesn't show any errors, but I terminated it.

Can anyone help me setting this up again?

Thanks,
gtludwig

willysr 07-02-2012 07:57 AM

I have MySQL Workbench SlackBuild script on my SlackHack if you would like to try it.

It does take some time to finish building, but 12 hours is way too long :)

gtludwig 07-02-2012 11:04 AM

willysr,

Nice one, thanks!

I've used GIT a few times, but whenever I try to download your files I get this:
Code:

gtl@cpc-5564:~/tmp/workbench$ git clone https://github.com/willysr/SlackHacks/tree/master/SlackBuilds/mysql-workbench-gpl
Cloning into 'mysql-workbench-gpl'...
fatal: https://github.com/willysr/SlackHacks/tree/master/SlackBuilds/mysql-workbench-gpl/info/refs not found: did you run git update-server-info on the server?

I'm sure it's a newbie error, but I still haven't figured it out... (sorry the lame question! :D)

willysr 07-02-2012 11:55 AM

Code:

git clone git://github.com/willysr/SlackHacks.git

gtludwig 07-05-2012 07:17 AM

Hey, willysr,

Terribly sorry to bother, but still I've no luck in building it. I know there's a lot of dependencies, so I wonder if one might have broken up when I updated to -current. Any thoughts?

Thanks again!

willysr 07-05-2012 09:10 AM

have you read the README?
it lists all the dependencies you need and all of them are already available on my SlackHacks repository, except those who are already Slackware packages.

Those packages are built against latest -Current and i always tested whenever there's a new -Current package arrives

gtludwig 07-05-2012 09:15 AM

Yes, I've read the README. I'll try uninstalling the packages installed now and try to rebuild everything from scratch.
I'll keep you posted either way.

willysr 07-05-2012 11:44 AM

Please start with the requirement first. They might need to be rebuild due to changes in Python package

gtludwig 07-05-2012 12:04 PM

The requirement list on your README reads:
- lua (available on Slackware)
- wxGTK-2.8.12/wxPython-2.8.12 (available on SBo)
- sqlite3 (available on Slackware)
- ORBit2-2.14.19 (available on Slackware)
- GConf-2.32.1 (available on Slackware)
- libsigc++-2.2.10
- glibmm-2.32.0
- atkmm-2.22.6
- cairomm-1.10.0
- pangomm-2.28.4
- gtkmm-2.24.2
- ctemplate-2.2
- paramiko-1.7.7.1
- pycrypto-2.6
- pexpect-2.3

The packages I have installed are:
lua-5.1.5-x86_64-1_SBo
wxPython-2.8.12.0-x86_64-1_SBo
sqlite-3.7.10-x86_64-1
ORBit2-2.14.19-x86_64-1
GConf-2.32.1-x86_64-1
libsigc++-2.2.10-x86_64-1_SBo (freshly installed)
glibmm-2.28.2-x86_64-1_SBo

I decided to build the latest version (2.29.13) and I got the error:
Code:

In file included from varianttype.cc:26:0:
/usr/include/glib-2.0/glib/gvarianttype.h:24:2: error: #error "Only <glib.h> can be included directly."
make[2]: *** [varianttype.lo] Error 1
make[2]: Leaving directory `/tmp/SBo/glibmm-2.29.13/glib/glibmm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/glibmm-2.29.13'
make: *** [all] Error 2


gtludwig 07-05-2012 12:50 PM

Nevermind the last post, I found the sources for glibmm-2.32.0.
I managed to rebuild all requirements and started building mysql-workbench all over again!


All times are GMT -5. The time now is 07:12 AM.