← Back to team overview

simple-scan-users team mailing list archive

Re: Compiling simple-scan

 

I've now updated the build instructions to refer to valac 0.22 and
updated the build configuration to abort if this version is not found.

On Mon, Jul 21, 2014 at 11:07 AM, Tammo Heeren <tammo.heeren@xxxxxxxxx> wrote:
> I was following the instruction in the readme file which state:
>
> sudo apt-get install valac-0.16 vala-0.16
> sudo update-alternatives --config valac # select vala-0.16
>
> Following is the output of ./configure. There is a warning which I missed.
>
> ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether make supports nested variables... (cached) yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for valac... /usr/bin/valac
> checking whether /usr/bin/valac is at least version 0.22.0... no
> configure: WARNING: no proper vala compiler found
> configure: WARNING: you will not be able to compile vala source files
> checking for style of include used by make... GNU
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking dependency style of gcc... gcc3
> checking whether gcc and cc understand -c and -o together... yes
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.16... yes
> checking for glib-compile-resources... /usr/bin/glib-compile-resources
> checking for SIMPLE_SCAN... yes
> checking for COLORD... yes
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking sane/sane.h usability... yes
> checking sane/sane.h presence... yes
> checking for sane/sane.h... yes
> checking sane/saneopts.h usability... yes
> checking sane/saneopts.h presence... yes
> checking for sane/saneopts.h... yes
> checking whether ln -s works... yes
> checking for itstool... itstool
> checking for xmllint... xmllint
> checking whether NLS is requested... yes
> checking for intltool >= 0.35.0... 0.50.2 found
> checking for intltool-update... /usr/bin/intltool-update
> checking for intltool-merge... /usr/bin/intltool-merge
> checking for intltool-extract... /usr/bin/intltool-extract
> checking for xgettext... /usr/bin/xgettext
> checking for msgmerge... /usr/bin/msgmerge
> checking for msgfmt... /usr/bin/msgfmt
> checking for gmsgfmt... /usr/bin/msgfmt
> checking for perl... /usr/bin/perl
> checking for perl >= 5.8.1... 5.14.2
> checking for XML::Parser... ok
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating data/Makefile
> config.status: creating data/icons/Makefile
> config.status: creating help/Makefile
> config.status: creating po/Makefile.in
> config.status: creating src/Makefile
> config.status: executing depfiles commands
> config.status: executing po/stamp-it commands
>
>
>
> On Sun, Jul 20, 2014 at 3:01 PM, Robert Ancell <robert.ancell@xxxxxxxxxxxxx>
> wrote:
>>
>> Also, when running ./configure it should have checked the version of
>> vala you had - did that not happen?
>>
>> On Mon, Jul 21, 2014 at 10:01 AM, Robert Ancell
>> <robert.ancell@xxxxxxxxxxxxx> wrote:
>> > Hi Tammo,
>> >
>> > It appears you have a version of vala < 0.22 (which is when the
>> > --gresources flag was added). Ubuntu 13.04 only has vala 0.20 so you
>> > will not be able to compile simple-scan without installing a new
>> > version of vala.
>> >
>> > Note that Ubuntu 13.04 is end-of-life; I'd recommending upgrading to a
>> > supported version (Ubuntu 14.04).
>> >
>> > --Robert
>> >
>> > On Mon, Jul 21, 2014 at 6:50 AM, Tammo Heeren <tammo.heeren@xxxxxxxxx>
>> > wrote:
>> >> I managed to follow the instructions to simple-scan-3.13.3. When i call
>> >> 'make' I get the following:
>> >>
>> >> theeren@dell:~/Desktop/simplescan/simple-scan$ make
>> >> Making all in src
>> >> make[1]: Entering directory
>> >> `/home/theeren/Desktop/simplescan/simple-scan/src'
>> >>   VALAC    simple_scan_vala.stamp
>> >> Unknown option --gresources=../data/simple-scan.gresource.xml
>> >> Run 'valac --help' to see a full list of available command line
>> >> options.
>> >> make[1]: *** [simple_scan_vala.stamp] Error 1
>> >> make[1]: Leaving directory
>> >> `/home/theeren/Desktop/simplescan/simple-scan/src'
>> >> make: *** [all-recursive] Error 1
>> >> theeren@dell:~/Desktop/simplescan/simple-scan$ simple-scan
>> >>
>> >> I am a bit at a loss now. Can somebody provide some guidance about what
>> >> do
>> >> to? I am on Ubuntu 13.04.
>> >>
>> >> Tammo
>> >>
>> >> --
>> >> Mailing list: https://launchpad.net/~simple-scan-users
>> >> Post to     : simple-scan-users@xxxxxxxxxxxxxxxxxxx
>> >> Unsubscribe : https://launchpad.net/~simple-scan-users
>> >> More help   : https://help.launchpad.net/ListHelp
>> >>
>
>


Follow ups

References