domingo, 29 de janeiro de 2012

MySQL Workbench Slackware 13.37 64 [english version]

Well, first, sorry my english. =]
But, in order of an e-mail from gdtwine, I tried to translate my last post.

I hope you enjoy!

Good evening everyone!
Well, first forgive me for none posting for a long time, but, I’m back!
This time, I take a few words about my difficult to install MySQL Workbench on Slackware 13.37 64.
Just to know, the entire process is by hand, in other words, don’t start reading if you afraid “configure”, “make” or “make install”. Just a warning…
Well, let’s GO!
The difficult is not downloading or compiling, but is the order of stuff. Slackware doesn’t have the apt-get that make the things easy of dependencies, leaving the “bomb” in your hands... But, it’s just the reason of internet, right?
Dependencies:
Every package was downloaded of the site http://slackbuilds.org/ so, no misteries.

01 - libsigc++
02 - glibmm
03 - cairomm 
04 - pangomm
05 - atkmm
06 - gtkmm
07 - lua

The process was the same for all packages:
- Donwload the source file and SlackBuild file.
- Uncompact the SlackBuild file and move the source file in to the same folder.
- Run [package].SlackBuild
- And finally, run "installpkg /tmp/[pacote]"

Every command as root.

After this long walk, we can donwload the MySQL Workbench at this site: http://dev.mysql.com/downloads/workbench/
Select Source Code and download the file.
After, uncompact the downloaded file.
Get in the new folder with the uncompated files and do the following commands:
- ./configure
- make
- make install
- make clean

If you have any problem, like me, at ./configure time, run the command Bellow, in place of ./configure:
./autogen.sh --prefix=/place/where/you/uncompact/the/MySQLWorkbench

Just for ilustration, my case:
./autogen.sh --prefix=/home/eduardo/Downloads/mysql-workbench-gpl-5.2.35-src

Just for know, the entire process of compiling the package take a looooooooong time. Was a god time until I had the prompt again, so, if happens with you, don’t worry: a coffe, brad and a god tv show will help you spending the time…

Well, in the end of journey:

/path/where/you/intalled/bin/mysql-workbench

3 comentários:

  1. i've got "configure: error: Library ctemplate not found in system. Install package libctemplate-devel, ctemplate-devel or libctemplate-dev" when i run ./configure command even with ./autogen --prefix... i'm getting same error message, i've tried searching those packages with no luck, please some help is appreciated

    ResponderExcluir
  2. Hi there!

    Did you install every c++ package?
    Seems like the system miss some c++ package...

    Which command brings the error message? libsigc++?

    ResponderExcluir
    Respostas
    1. i have installed all dependencies listed on Slackbuilds.org:
      "This requires libsigc++, glibmm, cairomm, pangomm, gtkmm, libglademm,
      ORBit2, GConf, libbonobo, gnome-mime-data, gnome-vfs, libgnome, wxGTK
      or wxPython, lua." then it failed to install the workbench using their sources and scripts, then i decided to google a little more and found your tutorial, i have followed all the steps you described and when i run the command "./configure" or the command "./autogen --pre..." it stops with an error telling me that i need one of these packages: libctemplate-devel, ctemplate-devel or libctemplate-dev, i'm not an expert on slackware, i am just a beginner but i really want to learn linux, i really liked slackware so bad, i researched on google and found some said these libraries are for 32 bits systems... what do you think about this???
      thanks in a advance

      Excluir