LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-11-2016, 07:38 AM   #1
Johnny_Metal
Member
 
Registered: Feb 2016
Posts: 72

Rep: Reputation: 1
autpoint: autom4te: not found


Hello everyone,

I have recently tried to install Redshift, a colour temperature adjustment tool, by downloading and compiling the source code. The instructions for installation are in a file named HACKING. The first lines go like this:

Build from repository
---------------------

``` shell
$ ./bootstrap
$ ./configure
```
So i open the terminal, change to the directory where i have the bootstrap executable and run it by using the command ./bootstrap. I get the following error message:

/usr/bin/autopoint: 156: /usr/bin/autopoint: autom4te: not found
autopoint: *** Missing version: please specify in configure.ac through a line 'AM_GNU_GETTEXT_VERSION(x.yy.zz)' the gettext version the package is using
autopoint: *** Stop.

I opened the configure.ac file and did indeed make the modifications i was suggested. I checked the version of gettext in Synaptic and changed the file line accordingly. In the end, it looked like this:

AM_GNU_GETTEXT_VERSION[(0.18.3.1-ubuntu3)]

After this, i keep getting the same error message.

I am very new to Linux, and i must confess that i am doing lots of things without having any real knowledge of what i am doing many times. I am running Lubuntu 14.04.1. Any help would be welcome.
 
Old 02-11-2016, 07:43 AM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,156

Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
sounds like you have a development version, if there is a file called somthing like 'autogen.sh' run that, if not try
Code:
aclocal
autoheader
touch NEWS README AUTHORS ChangeLog
automake --add-missing --copy
autoreconf --force --install
the AM_GNU_GETTEXT_VERSION(x.yy.zz) bit is a automake macro and belongs in configure.ac not configure.

How did you download the code? What is the link/address?
 
1 members found this post helpful.
Old 02-11-2016, 04:53 PM   #3
Johnny_Metal
Member
 
Registered: Feb 2016
Posts: 72

Original Poster
Rep: Reputation: 1
By typing aclocal, i was told i had to download one of certain packages. I downloaded automake1.11. After that, i typed aclocal again, and got this message:

Quote:
main::scan_file() called too early to check prototype at /usr/bin/aclocal line 643.
I don't know what that means, so i just went on. I typed autoheader and it seemed to go fine. It created one or two files i believe.

Then, i created those items with the touch command.

On typing automake --add-missing --copy, i got

Quote:
configure.ac:9: option `0.18.3.1-ubuntu3' not recognized
I guess this is from the change i made to configure.ac. I'm not really sure what i should type there though. Maybe i should exclude "-ubuntu3"?

After autoreconf --force --install, i got

Quote:
autopoint: *** Missing version: please specify in configure.ac through a line 'AM_GNU_GETTEXT_VERSION(x.yy.zz)' the gettext version the package is using
autopoint: *** Stop.
Here are the links to the software website and code download:

http://jonls.dk/redshift/

https://github.com/jonls/redshift/releases
 
Old 02-11-2016, 05:49 PM   #4
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,156

Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
not atmy machine at the mo but just built on pi, to start you have probably fubared some of the files so start fresh by extracting the archive an cd'ing into the freshly created folder.
I assume you have installed the build essential and automake packages, you also needto install intltool and libtool like so
Code:
sudo apt-get install libtool intltool
Then run ./bootstrap and ./configure.
 
Old 02-11-2016, 06:39 PM   #5
Johnny_Metal
Member
 
Registered: Feb 2016
Posts: 72

Original Poster
Rep: Reputation: 1
Seems that those packages were all that were missing. Worked wonderfully. I can now run the redshift executable.

Thank you very much!
 
Old 02-11-2016, 06:49 PM   #6
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,156

Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
you're welcome.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Directory not found; -xzvf not found; Makefile not found RealGomer Linux - Software 4 09-20-2010 10:02 AM
can't locate object method "path" via package "Autom4te::Request" at/usr/bin/autom4te wjh513 Linux - Software 1 08-13-2010 02:31 PM
BEGIN failed--compilation aborted at /usr/bin/autom4te cramerdy Linux - Software 0 05-30-2008 12:40 AM
Trying to install Licq: autom4te gives an error -Pb- Linux - Software 4 10-19-2007 05:25 AM
Fedora Core 6 boot No medium found No volume groups found awadhut Linux - Hardware 1 02-22-2007 01:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration