LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-25-2013, 12:54 PM   #1
unkn(0)wn
Member
 
Registered: Aug 2011
Distribution: Slackware 14, Debian 7.0.0 Wheezy, Windows 7, Windows 8
Posts: 116

Rep: Reputation: Disabled
Installation of mysql-workbench asking some weird packages.


Hi,

I was trying to install mysql-workbench on slackware. Somehow i found pre-built package of mysql-workbench and installed it. But it wont start.

Then i decided to compile it from source, i seek slackbuild.org for it and tried an installation.

It asked me for gtkmm-2.4

Code:
.
.
.
configure: error: Package requirements (gtkmm-2.4 >= 2.12) were not met:

No package 'gtkmm-2.4' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GNOME_CFLAGS
and GNOME_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Then when i tried installing gtkmm3 it is asking me for

Code:
.
.
.
configure: error: Package requirements (giomm-2.4 >= 2.32.0 pangomm-1.4 >= 2.27.1 gtk+-3.0 >= 3.4.0 cairomm-1.0 >= 1.9.2 gdk-pixbuf-2.0 >= 2.22.1) were not met:

No package 'giomm-2.4' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GDKMM_CFLAGS
and GDKMM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
but i cant find giomm anywhere!
 
Old 01-25-2013, 01:02 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,108

Rep: Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639
Quote:
No package 'giomm-2.4' found
'giomm-2.4' : That's /usr/lib(64)/pkgconfig/giomm-2.4.pc,
a package config file, provided by glibmm ..
http://slackbuilds.org/repository/14...raries/glibmm/
 
1 members found this post helpful.
Old 01-25-2013, 01:30 PM   #3
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,518

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Why install gtkmm-3 when gtkmm-2.4 is required?

Just read carefully the "This requires" notes on slackbuilds.org for each application or library. Make and install the dependencies first, using only what is provided on Slackbuilds.org.

So begin with the dependencies of dependencies.
 
Old 01-25-2013, 01:56 PM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,473

Rep: Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901
you can also use sbopkg (some docs) and its queuefiles to ease things, but you are still supposed to read the README for every package you build from slackbuilds.org's scripts.

Also if stuff like the queuefiles repository can help, remember that you have to resolve dependencies (mandatories and optionals) on your installation (you decide and are responsible on what is in and what is out).

Last edited by ponce; 01-25-2013 at 01:59 PM.
 
1 members found this post helpful.
Old 01-25-2013, 02:09 PM   #5
unkn(0)wn
Member
 
Registered: Aug 2011
Distribution: Slackware 14, Debian 7.0.0 Wheezy, Windows 7, Windows 8
Posts: 116

Original Poster
Rep: Reputation: Disabled
Thanks, i already got hint on installing packages from slackbuild.org and i am following it already.

Anyway, after installing Dependencies of dependencies and again few more dependencies, i ended up with following error

Code:
/bin/sh ../../../libtool --tag=CXX   --mode=link g++  -Wextra -Wall -Wno-unused -Wno-deprecated    -DTIXML_USE_STL=1   -o libgrt.la -rpath /usr/lib64/mysql-workbench grtpp_grt.lo grtpp_helper.lo grtpp_metaclass.lo grtpp_util.lo grtpp_value.lo grtpp_shell.lo grtpp_shell_lua.lo grtpp_shell_lua_help.lo grtpp_module.lo grtpp_module_cpp.lo grtpp_module_lua.lo grtpp_notifications.lo lua_context.lo serializer.lo unserializer.lo grtpp_undo_manager.lo changefactory.lo changelistobjects.lo diffchange.lo grtdiff.lo grtlistdiff.lo grtpp_module_python.lo grtpp_shell_python.lo grtpp_shell_python_help.lo python_context.lo python_grtdict.lo python_grtlist.lo python_grtobject.lo python_module.lo -L/usr/lib -llua -lm   -luuid -pthread -Wl,--export-dynamic -lgthread-2.0 -lgmodule-2.0 -lrt -lglib-2.0 -lxml2 -lsigc-2.0 -L/usr/lib -llua -lm   -luuid -L/usr/lib64 -lpython2.7 ../../../library/base/libwbbase.la 
/bin/grep: /usr/lib/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/libstdc++.la' is not a valid libtool archive
make[4]: *** [libgrt.la] Error 1
make[4]: Leaving directory `/tmp/build/mysql-workbench-gpl-5.2.45-src/library/grt/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/build/mysql-workbench-gpl-5.2.45-src/library/grt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/build/mysql-workbench-gpl-5.2.45-src/library'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/build/mysql-workbench-gpl-5.2.45-src'
make: *** [all] Error 2
ponce : thanks for referring sbopkg.

Last edited by unkn(0)wn; 01-25-2013 at 02:15 PM. Reason: sbopkg
 
Old 01-25-2013, 02:24 PM   #6
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,518

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Quote:
Originally Posted by unkn(0)wn View Post
Thanks, i already got hint on installing packages from slackbuild.org and i am following it already.

Anyway, after installing Dependencies of dependencies and again few more dependencies, i ended up with following error

Code:
/bin/grep: /usr/lib/libstdc++.la: No such file or directory
Looks a bit strange as this file is provided by gcc-g++-4.7.1
Make sure that this package be installed (it should, if you made a full installation of Slackware-14.0)
 
Old 01-25-2013, 02:56 PM   #7
unkn(0)wn
Member
 
Registered: Aug 2011
Distribution: Slackware 14, Debian 7.0.0 Wheezy, Windows 7, Windows 8
Posts: 116

Original Poster
Rep: Reputation: Disabled
Well, i was surfing and found http://www.linuxquestions.org/questi...ckages-850734/
this person is having same error as mine, but i couldn't understand how he fixed it!
Pls do tell, i am tired of installing workbench!
 
Old 01-25-2013, 03:05 PM   #8
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,518

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Did you install a 32 bit or a 64 bit Slackware 14?
 
Old 01-25-2013, 03:09 PM   #9
unkn(0)wn
Member
 
Registered: Aug 2011
Distribution: Slackware 14, Debian 7.0.0 Wheezy, Windows 7, Windows 8
Posts: 116

Original Poster
Rep: Reputation: Disabled
64!
 
Old 01-25-2013, 03:23 PM   #10
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,518

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
That's why it doesn't find that file. It is in /usr/lib64, not in /usr/lib, in your installation (you can check that).

You had that error running mysql-workbench-gpl.SlackBuild, right? Then it should have set LIBDIRSUFFIX to 64, so that's look a bit strange. And the source code is architecture independant so you should not need compat libraries. In any case this is not the same problem as in the thread you linked to.

Just to make sure, please provide output of:
Code:
uname -m

Last edited by Didier Spaier; 01-25-2013 at 03:24 PM.
 
Old 01-25-2013, 03:24 PM   #11
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,473

Rep: Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901
Quote:
Originally Posted by unkn(0)wn View Post
64!
and multilib too, I suppose: refeer to slackbuilds.org' faq.
 
Old 01-25-2013, 03:32 PM   #12
unkn(0)wn
Member
 
Registered: Aug 2011
Distribution: Slackware 14, Debian 7.0.0 Wheezy, Windows 7, Windows 8
Posts: 116

Original Poster
Rep: Reputation: Disabled
bash-4.2$ uname -a
Linux unkn0wn-XPS 3.7.1 #2 SMP Thu Dec 20 21:20:41 CST 2012 x86_64 Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz GenuineIntel GNU/Linux
 
Old 01-25-2013, 04:11 PM   #13
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,518

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
I assume you have multilib gcc-g++ installed.

If that is the case, edit mysql-workbench-gpl.SlackBuild this way (line added in red):
Code:
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
./autogen.sh
and run the SlackBuild again.

Last edited by Didier Spaier; 01-25-2013 at 04:12 PM.
 
Old 01-25-2013, 04:21 PM   #14
unkn(0)wn
Member
 
Registered: Aug 2011
Distribution: Slackware 14, Debian 7.0.0 Wheezy, Windows 7, Windows 8
Posts: 116

Original Poster
Rep: Reputation: Disabled
Sorry for being such a burden, but in absence of all you gentlemen i messed with package gcc-g++ and now my holy system is serving me with error.

Code:
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
Please dont kill me!
 
Old 01-25-2013, 04:32 PM   #15
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,518

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Quote:
Originally Posted by unkn(0)wn View Post
Please dont kill me!
We can't, unless you kindly give us your address :^)

Would you be kind enough to tell us:
(1) Which command did you issue which gave you this error message?
(2) What did you do exactly with gcc-g++?

This could help us to help you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling MySql-workbench, MultiLib packages. Maris-S Slackware 2 12-16-2010 04:51 PM
MySQL Workbench Installation / RPM / Build on RHEL5 madriscoll Linux - Newbie 5 03-08-2010 04:19 PM
LXer: Visual MySQL Database Design in MySQL Workbench LXer Syndicated Linux News 0 06-12-2008 08:00 PM
MySQL Workbench grahamtysall Linux - General 1 07-27-2007 04:30 PM
mysql installation weird... Red Squirrel Linux - Software 14 03-08-2004 09:19 AM


All times are GMT -5. The time now is 05:44 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration