Add build instructions to README
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Simple Scan |
Won't Fix
|
High
|
Robert Ancell |
Bug Description
I was trying to compile the latest version of Simple Scan and failed. I am not that experienced, but the docu is not too great. There is a generic INSTALL file, but that's all.
currently I did the following:
bzr branch lp:simple-scan
./autogen.sh
sudo apt-get install gnome-common
sudo apt-get install ubuntu-dev-tools
get-build-deps simple-scan
./autogen.sh
At that step I fail with natty "No package 'gtk+-3.0' found".
I also get the warning "configure: WARNING: no Vala compiler found. You will not be able to compile .vala source files."
I think these commands should be completed with
make
and possibly: make install
Is that correct? Does that work with oneric (or some other distribution) out of the box? Is it still possible to compile the latest Simple Scan on older Ubuntu releases? Could this information (possibly corrected/expanded) be put in the README/INSTALL file?
Thanks!
Changed in simple-scan: | |
importance: | Undecided → High |
assignee: | nobody → Robert Ancell (robert-ancell) |
status: | New → Triaged |
Hi Michael,
What is the 'get-build-deps' command? Is that the same as 'apt-get build-deps simple-scan'?
The way I'd recommend compiling it is: $PWD/install
bzr branch lp:simple-scan
./autogen.sh --prefix=
sudo apt-get build-deps simple-scan (brings in the dependencies of the available version of simple-scan - these may differ from the development version)
make
make install
./src/simple-scan
I just checked [1] and you can't compile it on Natty as the version of Vala is too old. You might be able to find a PPA with a newer version but I can't vouch for their quality. There may also be compatibility issues with the version of GTK.
We can't really add this into the Makefile as there's not a standard way of bringing in dependencies across distributions.
It's a bit of a cop-out answer but there's not really a good way of giving reliable information on how to build. Simple Scan follows the autotools conventions, but autotools is a big part of a wider issue about development tools friendliness. The way to check for dependencies is to look at PKG_CHECK_MODULES in configure.ac and then work out what packages provide these.
[1] https:/ /launchpad. net/ubuntu/ +source/ vala-0. 14