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:
bzr branch lp:simple-scan
./autogen.sh --prefix=$PWD/install
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.
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