1

Topic: Problem when installing gparted from git

Hi,

For translation, I need the up-to-date gparted.

I downloaded the git repository.

On first ./autogen.sh, I had to install gnome-common (with Yast, under OpenSuse-11.3).
Now, when running ./autogen.sh, I get this error:

/usr/bin/gnome-autogen.sh
./autogen.sh line 21: locate:unknown command
Cannot find file gnome-doc-utils.make

gnome-doc-utils is installed.

That's an unusual behaviour for ./autogen.sh.

What must I do?

Greetings

2

Re: Problem when installing gparted from git

That is strange.  Normally the file gnome-doc-utils.make will be created for you when you run ./autogen.sh

Perhaps you might try the following commands:

rm gnome-doc-utils.make
gnome-doc-prepare --force

These commands come from the following mailing list post:
Re: difficulties with gnome-doc-utils.make

3

Re: Problem when installing gparted from git

julien@linux-mbpu:~> cd git-gparted/gparted
julien@linux-mbpu:~/git-gparted/gparted> rm gnome-doc-utils.make
rm: ne peut enlever `gnome-doc-utils.make': Unknown file

julien@linux-mbpu:~/git-gparted/gparted> gnome-doc-prepare --force
Remember to add 'GNOME_DOC_INIT' to configure.in.
You should add the contents of '/usr/share/aclocal/gnome-doc-utils.m4' t 'aclocal.m4'.
Putting files in AC_CONFIG_MACRO_DIR, 'm4'.

julien@linux-mbpu:~/git-gparted/gparted> ./autogen.sh
/usr/bin/gnome-autogen.sh
./autogen.sh: line 21: locate : Unknown command
Cannot find file: gnome-doc-utils.make
You need to install gnome-doc-utils from the GNOME SVN

Then I installed locate.
I uninstalled gnome-doc-utils and gnome-common with yast and I reinstalled them from the git repositories:

linux-mbpu:/home/julien # find / -name gnome-doc-utils.make
/home/julien/git-gparted/gparted/gnome-doc-utils.make
/home/julien/gnome-doc-utils/tools/gnome-doc-utils.make
/usr/local/share/gnome-doc-utils/gnome-doc-utils.make

julien@linux-mbpu:~> echo $PATH
/usr/lib64/mpi/gcc/openmpi/bin:/home/julien/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:
/usr/X11R6/bin:/usr/games:/opt/bin:/opt/kde3/bin:/usr/local/share:/usr/local/share/gnome-doc-utils

julien@linux-mbpu:~/git-gparted/gparted> ./autogen.sh
/usr/local/bin/gnome-autogen.sh
Cannot find file: gnome-doc-utils.make
You need to install gnome-doc-utils from the GNOME SVN

I don't understand why ./autogen.sh can't find gnome-doc-utils.make

4 (edited by gedakc 2011-02-26 20:48:21)

Re: Problem when installing gparted from git

It appears that openSUSE does not install the locate command by default.

This command can be installed with the following:

sudo zypper install findutils-locate

You might also need to run the following command in the gparted folder to create gnome-doc-utils.make:

gnome-doc-prepare --force --copy

And if you have not installed the prerequisites, you might need the following command too:

sudo zypper install gcc-g++ automake autoconf make gnome-common \
                          libuuid-devel parted-devel gtkmm2-devel \
                          gnome-doc-utils-devel

EDIT:  I am also investigating to see if the autogen.sh file is correct.
If you do not need the latest git version, you might also try the most recently released source code which is built with "./configure; make; sudo make install".

EDIT2:  It appears that the locate command in openSUSE needs to be told to update it's database.  As such you might also need the following command before autogen.sh will work:

sudo updatedb

5

Re: Problem when installing gparted from git

That's good :-)

gnome-doc-prepare told me "Remember to add GNOME_DOC_INIT to configure.in". Done
#updatedb done
I had to install gtkmm2-devel.

I must be root to start /usr/local/sbin/gparted.

Thank you for your help.

6

Re: Problem when installing gparted from git

'Glad to hear that you are up and running.  smile

7

Re: Problem when installing gparted from git

Great information eventually i got it thanks

8

Re: Problem when installing gparted from git

I appreciate it because i find it every where but at least i got it from here