LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 03:41 PM   #16
unkn(0)wn
Member
 
Registered: Aug 2011
Distribution: Slackware 14, Debian 7.0.0 Wheezy, Windows 7, Windows 8
Posts: 117

Original Poster
Rep: Reputation: Disabled

Hmmm.

I read online and found that above error is caused by package gcc-c++ , which i couldn't find for Slackware. Then i moved to gcc-g++ and reinstalled v4.7.2 . Now i realized something's wrong, so removed both versions and did a clean installation of v4.7.2. On running slackpkg upgrade-all i found that the mirror i had selected had only version 4.7.1. So i uninstalled v4.7.2 and did a clean installation of version 4.7.1.

In the middle of this mayhem installation of mysql-workbench started giving /lib/cpp error.

But now its gone, and in farewell, gifted me a new kind of error which is described below!

Code:
In file included from /usr/include/boost/signals2/detail/foreign_ptr.hpp:18:0,
                 from /usr/include/boost/signals2/slot_base.hpp:18,
                 from /usr/include/boost/signals2/detail/tracked_objects_visitor.hpp:18,
                 from /usr/include/boost/signals2/slot.hpp:22,
                 from /usr/include/boost/signals2/connection.hpp:23,
                 from base/trackable.h:24,
                 from base/ui_form.h:29,
                 from ui_form.cpp:23:
/usr/include/boost/smart_ptr/bad_weak_ptr.hpp:39:7: error: redefinition of 'class boost::bad_weak_ptr'
In file included from /usr/include/boost/detail/shared_count.hpp:28:0,
                 from /usr/include/boost/shared_ptr.hpp:32,
                 from base/trackable.h:23,
                 from base/ui_form.h:29,
                 from ui_form.cpp:23:
/usr/include/boost/detail/bad_weak_ptr.hpp:39:7: error: previous definition of 'class boost::bad_weak_ptr'
make[3]: *** [ui_form.lo] Error 1
make[3]: Leaving directory `/tmp/build/mysql-workbench-gpl-5.2.45-src/library/base'
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
 
Old 01-25-2013, 03:58 PM   #17
unkn(0)wn
Member
 
Registered: Aug 2011
Distribution: Slackware 14, Debian 7.0.0 Wheezy, Windows 7, Windows 8
Posts: 117

Original Poster
Rep: Reputation: Disabled
That's it. What done is done. Going for a clean reinstall NOW!

Thank you for having me!
 
Old 01-25-2013, 04:00 PM   #18
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
I really don't know why you did all that.
<rant>Don't follow (blindly) any advise on line especially if they are not intended for your version of your distribution: stay with us or leave for good.</rant>
Of course the error can't be caused by a package which is not part of Slackware (and don't be fooled by packages's names anyway: content of packages bearing the same name are not the same across distributions, and the same library can be found in packages named differently across distributions).
Besides, why install gcc-g++ v-4.7.2 as Slackware includes version v-4.7-1, why???

Now my best advise would be to clean your system before doing anything else:
Code:
slackpkg update
slackpkg upgrade-all
slackpkg clean-system # Keep only the packages you are sure you should keep.
EDIT I didn't see your last post before posting. Anyway, don't worry: making mistakes (and understanding why they are mistakes) is still the best way to learn. Take care.

Last edited by Didier Spaier; 01-25-2013 at 04:08 PM. Reason: EDIT added
 
1 members found this post helpful.
Old 01-26-2013, 10:59 AM   #19
unkn(0)wn
Member
 
Registered: Aug 2011
Distribution: Slackware 14, Debian 7.0.0 Wheezy, Windows 7, Windows 8
Posts: 117

Original Poster
Rep: Reputation: Disabled
Thanks Didier,

Actually i had upgraded my slack to slack current. And then maybe messing with deb packages using deb2tgx causes the problem. After reinstalling slack, i found that most people find slack current as much stable as slack stable. So i decided to upgrade to current.

Is there any difference between installing mysql-workbench in slack 14 and slack current? Should i upgrade to current? Would i able to install mysql-workbench in slack current?

Sorry for bugging again on dead thread.
 
Old 01-26-2013, 11:26 AM   #20
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Slackware-current public exposure's purpose is to get a chance to be tested as thoroughly as possible before it becomes the next stable release.

But for a regular user there is really no advantage running -current - there are inconveniences instead:
(1) it may become instable at some point of time and is harder to keep up to date. It may happen that you even have to reinstall from scratch.
(2) it makes harder to install third party packages. For instance http://slackbuilds.org does not provide SlackBuilds for -current.

You won't get any advantage, nor see any difference, in running mysql-workbench in -current. Its installation will only be more difficult.

So my advise is: stay with Slackware-14.0.

Also consider that people running -current are supposed to be able to solve themselves the problems which can occur using it. So if you want to try, at least wait till you be a little more experienced.

Oh, and as already said, do not try to install packages not intended for Slackware-14 - in particular do not try to install .deb packages.

PS You will find on slackbuilds.org a few SlackBuilds which re-package .deb packages. You may safely use these SlackBuilds as they are carefully reviewed, but do not use the .debs in any other way.

HTH,

Last edited by Didier Spaier; 01-26-2013 at 02:48 PM. Reason: s/-testing/-current/
 
1 members found this post helpful.
Old 01-26-2013, 02:10 PM   #21
unkn(0)wn
Member
 
Registered: Aug 2011
Distribution: Slackware 14, Debian 7.0.0 Wheezy, Windows 7, Windows 8
Posts: 117

Original Poster
Rep: Reputation: Disabled
Thanks Didier for such a great explanation.
 
Old 01-26-2013, 08:35 PM   #22
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
There's no problem building mysql-workbench on -current
in fact, i tested both on -Current and -Stable on my machine for my mysql-workbench in my SlackHacks repository
 
Old 01-27-2013, 01:18 AM   #23
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
@Willy: that's good, but out of curiosity why the need of keeping the (almost) same stuff on two different repositories? in other words, why not simply push the changes you made on SlackHacks to slackbuilds.org?

@unkn(o)wn: that doesn't mean you should go for -current. In fact what Willy said merely confirm that in this case at least, you wouldn't see any difference in using -14 or -current
 
Old 01-27-2013, 02:10 AM   #24
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
it's because i'm not the current maintainer of mysql-workbench in SBo, so it's not my privileges to submit changes to SBo, except when two things happened:
1. The current maintainer stepped down and i took maintainership
2. New Slackware version is coming and the admins stopped submission to test all the scripts to make sure it works in next slackware release

The only reason why i'm testing in two environments is because SBo requires that a package is built on stable releases, while my slackhacks is intended for my own private testing on packages for current and hopefully when new slackware version comes out, i don't have to test again and just submitted my packages to SBo
 
2 members found this post helpful.
Old 01-27-2013, 03:38 AM   #25
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
I see, thanks for your explanation, Willy.
 
  


Reply



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 03:51 PM
MySQL Workbench Installation / RPM / Build on RHEL5 madriscoll Linux - Newbie 5 03-08-2010 03:19 PM
LXer: Visual MySQL Database Design in MySQL Workbench LXer Syndicated Linux News 0 06-12-2008 07:00 PM
MySQL Workbench grahamtysall Linux - General 1 07-27-2007 03:30 PM
mysql installation weird... Red Squirrel Linux - Software 14 03-08-2004 08:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:46 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration