Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a autoconf/automake/autoeverything project that I'm installing with checkinstall. When I go to install it, I'm shown this

This package will be built according to these values: 

0 -  Maintainer: [ ]
1 -  Summary: [ Package created with checkinstall 1.6.2 ]
2 -  Name:    [ mypkg ]
3 -  Version: [  ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ amd64 ]
8 -  Source location: [ mypkg ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ mypkg ]
12 - Conflicts: [  ]
13 - Replaces: [  ]

... which generally looks good, but has a missing "version". Check install won't proceed until I manually give it a value. My question is, in what file can I put that version so that I don't need to manually enter it ever time?

share|improve this question
up vote 2 down vote accepted

Ok, so I think I figured this out. It will try the following:

  • Use anything after '-' in the name of the current directory. That is, naming the directory 'project-1.0' will give it a value of '1.0'. My directory was simply named 'project'.
  • Second it will look for a line '#define VERSION "something"' in config.log, and give it a value of 'something'. I still don't know why my config.log doesn't have that line in it.
  • If the config.log file doesn't exist, it will use the current date.

In my case, because config.log does exist, but was missing the '#define VERSION' line, it was simply getting no value at all.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.