LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Trying to install GParted on 13.37 (https://www.linuxquestions.org/questions/slackware-14/trying-to-install-gparted-on-13-37-a-914436/)

HapticThreek 11-19-2011 04:54 PM

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 :-)

ButterflyMelissa 11-19-2011 05:17 PM

are all de development packages installed? Just a quick thought...

HapticThreek 11-19-2011 05:23 PM

Quote:

Originally Posted by Thor_2.0 (Post 4528557)
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

slackass 11-19-2011 05:40 PM

Have you tried the SlackBuild ?
http://slackbuilds.org/repository/13.37/system/gparted/

ButterflyMelissa 11-19-2011 05:46 PM

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

NoStressHQ 11-19-2011 05:49 PM

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.

HapticThreek 11-19-2011 05:54 PM

Quote:

Originally Posted by slackass (Post 4528567)

I hadn't tried the SlackBuild, but now I have and it reports the same error unfortunately.

T3slider 11-19-2011 05:57 PM

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.

HapticThreek 11-19-2011 06:02 PM

Quote:

Originally Posted by Thor_2.0 (Post 4528568)
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


HapticThreek 11-19-2011 06:16 PM

Quote:

Originally Posted by T3slider (Post 4528579)
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 !

slackass 11-19-2011 07:06 PM

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

dive 11-19-2011 08:01 PM

The problem for OP might be that glibbmm was installed from source manually instead of using the sbopkg version.

HapticThreek 11-20-2011 06:53 AM

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!

slackass 11-20-2011 09:45 AM

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".

mrclisdue 11-20-2011 12:53 PM

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,


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