1 (edited by linian 2006-08-21 02:28:43)

Topic: Error while installing gparted

Hi,

I am getting following message when I want to compile the package by running the command (being in the directory gparted-0.2.5)

trip:~/gparted-0.2.5# make
make: *** No targets specified and no makefile found.  Stop.

I tried make check and make install.
Nothing works.

I used: tar -xjf gparted-0.2.5.tar.bz2
to untar.
I also tried gparted-0.2.5.tar.gz
Same thing occurs. I do not know why.  I am using Sarge distribution.

Following files are present in my current directory:
____________________________________________________________
powertrip:~/gparted-0.2.5# ls
aclocal.m4    config.sub          include              ltmain.sh      po
AUTHORS       configure           INSTALL              Makefile.am    README
ChangeLog     configure.in        install-sh           Makefile.in    src
compose       COPYING             intltool-extract.in  missing
config.guess  depcomp             intltool-merge.in    mkinstalldirs
config.h.in   gparted.desktop     intltool-update.in   NEWS
config.log    gparted.desktop.in  libtool              pixmaps
___________________________________________________________

Please help.


Thanks

2

Re: Error while installing gparted

./configure
make
make install

Try that.

3

Re: Error while installing gparted

Yes. I did type: ./configure

It took some time. After that I typed : make.

I also tried :trip:~/gparted-0.2.5# make -f Makefile.am
Makefile.am:3: *** missing separator.  Stop.
trip:~/gparted-0.2.5# make -f Makefile.in
Makefile.in:15: *** missing separator.  Stop.


By the way thanks for your prompt reply.

4

Re: Error while installing gparted

Do you have libsigc++, gtkmm, and glibmm installed? It seems configure isn't completed. Thats why there is no make file. Can you give us the last 10-20 lines after  ./configure is ran. There should be errors.

5 (edited by linian 2006-08-21 13:42:26)

Re: Error while installing gparted

Here are all the lines:
___________________________________________________________________________________________
-----------------------------------------------------------------------------------------------------------------------------------------
powertrip:~# cd gparted-0.2.5
powertrip:~/gparted-0.2.5# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... no
checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
powertrip:~/gparted-0.2.5# make
make: *** No targets specified and no makefile found.  Stop.
___________________________________________________________________________________________
-----------------------------------------------------------------------------------------------------------------------------------------
After your advice I tried to intstall the packages.
But I got the following resuts:

----------------------------------------------------------------
powertrip:~# apt-get install gtkmm
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package gtkmm
powertrip:~# apt-get install libsigc++
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package libsigc
powertrip:~# apt-get install glibmm
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package glibmm
-----------------------------------------------------------------

Folllowing are the files I have:
I do not know whether these are the required files or not.

*************************************************************
powertrip:~/gparted-0.2.5# ls
aclocal.m4    config.sub          include              ltmain.sh      po
AUTHORS       configure           INSTALL              Makefile.am    README
ChangeLog     configure.in        install-sh           Makefile.in    src
compose       COPYING             intltool-extract.in  missing
config.guess  depcomp             intltool-merge.in    mkinstalldirs
config.h.in   gparted.desktop     intltool-update.in   NEWS
config.log    gparted.desktop.in  libtool              pixmaps
*************************************************************

Thank you for your continued cooperation.

6

Re: Error while installing gparted

>checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

i think that should tell you everything you need to know.

btw, if you have trouble compiling from source you should consider using a binary package or (even better) download the livecd (http://gparted.sourceforge.net/livecd.php)

have fun smile

7 (edited by linian 2006-08-21 16:13:49)

Re: Error while installing gparted

Thank you for your reply.

Can you please let me know why I am getting this error and how to get rid of this error.

checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

Thanks

8

Re: Error while installing gparted

i have no idea, sorry.

Why do you want to compile from source? i am quite sure there must be a .deb from gparted somewhere.

9

Re: Error while installing gparted

Yes : you need perl-XML-parser
after this i bet you will need libuuid smile

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

10

Re: Error while installing gparted

I installed parsel perl and then I got message that libuuid not found.
I install libuuid.

Now I get message that : libparted not found.

I installed libparted by using: apt-get install libparted
And my system did install it.
Still I get message that libparted not found, which is kinda weired.
I am about to giveup!

Please let me know if there is .deb from gparted??

Thanks

11

Re: Error while installing gparted

pffft, i think you should give up and get a binary somewhere or download the livecd.
After this i see loads of other problems with plugins etc etc....

and no, i don't know if there is a .deb or where it is. It's a bit hard to keep track of all the distro's and their packages wink

12

Re: Error while installing gparted

now you need parted-devel smile

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

13 (edited by linian 2006-08-22 01:53:26)

Re: Error while installing gparted

Simply, I learned  how to use cfdisk. big_smile

14 (edited by zekkerj 2006-11-30 01:52:57)

Re: Error while installing gparted

Hi,

I'm trying to compile gparted from sources and I'm getting a weird error in "./configure". I downloaded parted-1.8.0 from sources, configured and installed id with no errors:

tar xvjf parted-1.8.0.tar.bz2
cd parted-1.8.0
./configure --prefix=/usr
make clean
make
sudo make install
sudo ldconfig

But when I try to configure GParted...

tar xvjf gparted-0.3.1.tar.bz2
cd gparted-0.3.1
./configure --prefix=/usr
(...)
checking for libparted >= 1.7.1... Found libparted 1.8.0        configure: error: *** Requires libparted >= 1.7.1

How can I solve this?

15

Re: Error while installing gparted

This come from last libparted release.
Well, the best you can do is to remove 1.8, and install 1.7.1 , till Plors solves this.

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

16

Re: Error while installing gparted

Well, just trying parted and parted-devel 1.8 on FC6, and config works great !
Maybe you miss parted-devel ? :-/

'got no problem to run fresh compilled gparted .

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

17

Re: Error while installing gparted

i think the check for the correct version of libparted is a bit flakey in gparted-0.3.1. This is fixed in CVS and will be in 0.3.2 (which will be released today).

18

Re: Error while installing gparted

plors, as i wrote above, it worked very well with 0.3.1.
His problem might come frome somewhere else.

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

19

Re: Error while installing gparted

it seems you are right. 

@zekerj: could you show us the contents of the file 'configure.in'? It's in the gparted source directory.

thnx