Build from source (No configure file in downloaded source)

Asked by mm05

I am running puppyLinux on Raspi. The package provides the xpad 5.3 version. But this version does not has scrollBar which I needed as the text is much more than screen. I read that the scrollbar is available in the latest release. Being raspi, I have to build from source.

I have downloaded latest source 5.8.0. In README steps are given to build, which are simple as any other build from source.
As a first step the ./configure file needs to be run in order to execue the next, make & make install. But the configure file is not there. Configure.ac file is there which doesn't run.
As a workaround I tried autogen.sh but it gives the below error

Can't exec "autopoint": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 345.

I checked and the file FileUtils.pm is there at the given path.

Please help

Question information

Language:
English Edit question
Status:
Solved
For:
Xpad Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :
#1

A message like

Can't exec "autopoint": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 345.

does not indicate that FileUtils.pm is missing, but is tells that the "autopoint" program cannot be found.
I suggest that you try installing autopoint and then try again.

Revision history for this message
mm05 (mm05) said :
#2

Thanks for helping out.
I installed the autopoint and the autogen.sh ran.

Currently giving the error of older version of gettext (0.19) on my system so building the gettext from source (to get the latest 0.21) right now. Will update with the results.

Revision history for this message
mm05 (mm05) said :
#3

I have installed the 0.21 version of gettext
I built the new version (didn't uninstalled the old one, just in case). The new built one is installed in /usr/local/bin. I symlinked the /usr/bin/gettext to /usr/local/bin/gettext
Later I removed the older versions gettext & gettext-base.
The gettext --version is showing the new version

$ gettext --version
gettext (GNU gettext-runtime) 0.21
Copyright (C) 1995-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Ulrich Drepper.

Still I am getting the error, of old version.

$ ./autogen.sh
+ autoreconf --force --install
autopoint: *** The AM_GNU_GETTEXT_VERSION declaration in your configure.ac
               file requires the infrastructure from gettext-0.21 but this version
               is older. Please upgrade to gettext-0.21 or newer.
autopoint: *** Stop.
autoreconf: autopoint failed with exit status: 1

Revision history for this message
mm05 (mm05) said :
#4

Thought to comment out the version line in the configure.ac and run the autogen.sh
Got the errors

$ ./autogen.sh

+ autoreconf --force --install
autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION
configure.ac:9: installing './compile'
configure.ac:56: installing './config.guess'
configure.ac:56: error: required file './config.rpath' not found
configure.ac:56: installing './config.sub'
configure.ac:11: installing './install-sh'
configure.ac:15: installing './missing'
configure.ac:56: error: required file './ABOUT-NLS' not found
src/Makefile.am: installing './depcomp'
autoreconf: automake failed with exit status: 1

Revision history for this message
mm05 (mm05) said :
#5

autogen now created the configure.

Running it.

Revision history for this message
mm05 (mm05) said :
#6

Thanks Manfred Hampl, that solved my question.