LinuxQuestions.org
Help answer threads with 0 replies.
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 11-19-2011, 04:54 PM   #1
HapticThreek
LQ Newbie
 
Registered: Nov 2011
Location: Cambridge, UK
Distribution: Slackware
Posts: 15

Rep: Reputation: Disabled
Trying to install GParted on 13.37


Hello fellow slackers!
Having a bit of trouble installing GParted (0.9.1) on Slackware 13.37 with kernel 2.6.37.6 (huge.s).
To start off I got errors when I ran ./configure to do with the libraries I didn't have installed, so I have installed glibmm-2.28.2, scrollkeeper-0.3.14 and libsigc++-2.2.8.
Now when I run ./configure it goes through it all OK (at least I think it does...) and prints this at the end:
Code:
===================== Final configuration ========================
                      Installing into prefix  :  /usr/local

                        Build documentation?  :  yes

        Use native libparted dmraid support?  :  no

    --- Features Based On Libparted Version ---
   Need partition table re-read work around?  :  no
          Supports sector sizes > 512 bytes?  :  yes
    Have libparted file system resizing API?  :  yes

 If all settings are OK, type make and make install 
==================================================================
Seeing as I think that's OK I type 'make' and it runs through a load of stuff, then stops and exits with this error:

Code:
make[2]: Entering directory `/root/gparted-0.9.1/src'
g++ -DHAVE_CONFIG_H -I. -I..  -DGPARTED_DATADIR=\""/usr/local/share"\" -DGNOMELOCALEDIR=\""/usr/local/share/locale"\"   -Wall    -g -O2 -MT Device.o -MD -MP -MF .deps/Device.Tpo -c -o Device.o Device.cc
In file included from ../include/../include/../include/Utils.h:28:0,
                 from ../include/../include/Partition.h:27,
                 from ../include/Device.h:22,
                 from Device.cc:19:
../include/../include/../include/../include/i18n.h:9:27: fatal error: glibmm/i18n.h: No such file or directory
compilation terminated.
make[2]: *** [Device.o] Error 1
make[2]: Leaving directory `/root/gparted-0.9.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gparted-0.9.1'
make: *** [all] Error 2
What I can gather here is that make cannot find the header file il8n.h in glibmm (even though I installed glibmm?), so I ran slocate il8n* and it found nothing. Tried installing glibmm again to no avail. Can anybody help please?
Thanks :-)
 
Old 11-19-2011, 05:17 PM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
are all de development packages installed? Just a quick thought...
 
Old 11-19-2011, 05:23 PM   #3
HapticThreek
LQ Newbie
 
Registered: Nov 2011
Location: Cambridge, UK
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thor_2.0 View Post
are all de development packages installed? Just a quick thought...
Umm, not entirely sure as I don't know what they are :-P how would I check?
Thanks
 
Old 11-19-2011, 05:40 PM   #4
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Have you tried the SlackBuild ?
http://slackbuilds.org/repository/13.37/system/gparted/
 
1 members found this post helpful.
Old 11-19-2011, 05:46 PM   #5
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Well, it seems that the development packages are already installed by default on Slackware, but, since "glibmm/i18n.h" cannot be founud, either it's somewhere else, but since you tried that and found nothing, my humble guess is that the development packages for this one are not there...

The development packages, basically, are all the files needed to compile stuff yourself. A quick browse, revealed that it can be downloaded...maybe that'll help...

I hope.

Thor
 
Old 11-19-2011, 05:49 PM   #6
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
As mentioned by slackass, why don't you use sbopkg ? I have successfully installed gparted with sbopkg on 13.37... Easy, and the readme mention all needed dependencies...

Have a taste and you'll get hooked

Cheers

Garry.
 
1 members found this post helpful.
Old 11-19-2011, 05:54 PM   #7
HapticThreek
LQ Newbie
 
Registered: Nov 2011
Location: Cambridge, UK
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by slackass View Post
I hadn't tried the SlackBuild, but now I have and it reports the same error unfortunately.
 
Old 11-19-2011, 05:57 PM   #8
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Try using the SlackBuild for glibmm as well if you haven't...at least on my system there exists /usr/include/glibmm-2.4/glibmm/i18n.h having built glibmm using the SlackBuild. My guess is that your glibmm was installed to some place in /usr/local (just a guess since you're trying to install gparted to /usr/local) and it isn't picking it up. It may be possible to point out this location to the compiler but I don't have any guesses for you off-hand.
 
1 members found this post helpful.
Old 11-19-2011, 06:02 PM   #9
HapticThreek
LQ Newbie
 
Registered: Nov 2011
Location: Cambridge, UK
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thor_2.0 View Post
Well, it seems that the development packages are already installed by default on Slackware, but, since "glibmm/i18n.h" cannot be founud, either it's somewhere else, but since you tried that and found nothing, my humble guess is that the development packages for this one are not there...

The development packages, basically, are all the files needed to compile stuff yourself. A quick browse, revealed that it can be downloaded...maybe that'll help...

I hope.

Thor
Just installed the package you linked to there Thor, glibmm. I had installed it previously but I thought it was worth another shot. Anyway unfortunately with that glibmm reinstalled and using the SlackBuild that slackass posted I still get the error
Code:
make[2]: Entering directory `/tmp/SBo/gparted-0.10.0/src'
g++ -DHAVE_CONFIG_H -I. -I..  -DGPARTED_DATADIR=\""/usr/share"\" -DGNOMELOCALEDIR=\""/usr/share/locale"\"   -Wall        -O2 -march=i486 -mtune=i686 -MT Device.o -MD -MP -MF .deps/Device.Tpo -c -o Device.o Device.cc
In file included from ../include/../include/../include/Utils.h:28:0,
                 from ../include/../include/Partition.h:27,
                 from ../include/Device.h:22,
                 from Device.cc:19:
../include/../include/../include/../include/i18n.h:9:27: fatal error: glibmm/i18n.h: No such file or directory
compilation terminated.
make[2]: *** [Device.o] Error 1
make[2]: Leaving directory `/tmp/SBo/gparted-0.10.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/gparted-0.10.0'
make: *** [all] Error 2
 
Old 11-19-2011, 06:16 PM   #10
HapticThreek
LQ Newbie
 
Registered: Nov 2011
Location: Cambridge, UK
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by T3slider View Post
Try using the SlackBuild for glibmm as well if you haven't...at least on my system there exists /usr/include/glibmm-2.4/glibmm/i18n.h having built glibmm using the SlackBuild. My guess is that your glibmm was installed to some place in /usr/local (just a guess since you're trying to install gparted to /usr/local) and it isn't picking it up. It may be possible to point out this location to the compiler but I don't have any guesses for you off-hand.
Right, just installed the slackbuild for glibmm no problem, went to install the slackbuild for gparted again with the same resulting error relating to that file. BUT realized I have been being an idiot. When trying to find that file I was typing slocate il8n.h
Turns out I should have been typing i18n.h! Anyway I have now done slocate /include/i18n.h which has returned the result /root/gparted-0.9.1/include/i18n.h

problem is the the install is looking for glibmm/i18n.h

This seems a sticky situation !
 
Old 11-19-2011, 07:06 PM   #11
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Ok I just ran GParted off with sbopkg and it works perfect.
system
Slack64-C ML


gparted.sqf

##deps
graphviz
libsigc++
glibmm
cairomm
pangomm
mm-common
atkmm
gtkmm
gparted
 
1 members found this post helpful.
Old 11-19-2011, 08:01 PM   #12
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
The problem for OP might be that glibbmm was installed from source manually instead of using the sbopkg version.
 
1 members found this post helpful.
Old 11-20-2011, 06:53 AM   #13
HapticThreek
LQ Newbie
 
Registered: Nov 2011
Location: Cambridge, UK
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thanks to everyone for all your help. I think the problem I was having was not having each and every one of Gparted's dependencies installed. I have now used the sbopkg tool to install graphviz, libsigc++, glibmm, cairomm, pangomm, glibmm, mm-common, atkmm, gtkmm and atkmm as listed by slackass (thank you!) and then proceeded to install gparted successfully using sbopkg too. Thanks for introducing me to sbopkg, its a handy wee tool! Thanks again for all of your guidance and suggestions!
 
Old 11-20-2011, 09:45 AM   #14
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Glad everything worked out for you.
sbopkg is a great tool but I get the feeling that you may be new to Slack so learning to use SlackBuilds would be a good next step in your over-all Slack experience.

http://slackbuilds.org/howto/

Also:
check out
http://www.src2pkg.net/
and
Look into useing sbopkg's "queues".

Last edited by slackass; 11-20-2011 at 09:53 AM.
 
Old 11-20-2011, 12:53 PM   #15
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
You may also want to check out the queues for sbopkg; for instance, you could have loaded the queuefile for gparted, and sbopkg would have resolved the dependencies automagically....

cheers,
 
  


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
[SOLVED] Can't Access Partition After GParted Install jay_pablo_69 Ubuntu 10 01-25-2012 03:49 AM
how to install Gparted on HP mini? Wizard01 Linux - Newbie 1 05-06-2011 09:57 PM
Centos 5.5. problem to install GPartED stmas Linux - General 7 10-03-2010 02:36 PM
tring to install gparted Killesk Linux - Newbie 1 08-08-2009 03:26 AM
Install Gparted without internet jmite Linux - Software 6 06-12-2008 12:35 AM

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

All times are GMT -5. The time now is 03:03 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