Install Help - Building the Github Source - Ubuntu 20

Having issue with an install on Ubuntu 20.

It appears that the installation of the supporting applications succeeded:

sudo apt install libtool intltool autoconf automake libcurl4-openssl-dev
sudo apt install pkg-config libglib2.0-dev libgtk-3-dev libgoocanvas-2.0-dev

However, there is no file named “configure”. There is a file named “configure.ac” to which I added the execution bit. It fails to run, see screenshot.


Any recommendations on how to get this install completed? Can I use apt-get to install, without having to attempt the build process?

Thanks much,

Marc

Update: The PPA repo was added and the install succeeded, using apt-get. The application appears to function correctly.

However, it would be good to get some clarification regarding the source installation process… if someone would like to help.

For installing from source, some instructions are provided in the readme:

./configure
make
make install

Note that the path variable defining were commands could be located in your Ubuntu 20.04 does not include the current directory. For that reason, you have to use ./configure to call that script.

Thank you for your response. It appears that the configure file does not exist in the git repo.

There is a configure.ac file.

See screen cap of directory contents, after the git was cloned to my machine:

Screenshot from 2020-08-20 13-11-18

A bit below reads

If you are building directly from the git repository, you have to run
./autogen.sh instead of of configure. You can pass the same options to the
autogen.sh script as you would to the configure script.

I will give that a try.

Should updates be made to the install section of the github README?

Also, thank you. Appreciate your taking the time to make a thoughtful response. :slight_smile:

The instructions also state:

change to the gpredict-x.y.z folder

prior to executing ./configure

When you clone the Git repo, there is no gpredict-x-y-z folder.

Again, there is a configure.ac file. But there doesn’t appear to be a “configure” (no file extension) in the entire git repo.

The configure script is generated when creating a release package and therefore it is not present in the git repository, which is used for development. As @pleira mentioned above, you have to run autogen.sh instead of configure when building from the git repository and it will generate the configure script along with other files not included in git.

2 Likes