You are not logged in.
I have been trying to build gnome-documents from source using jhbuild or git but when i run the autorun.sh i get the following error:
jhbuild buildone gnome-documents
*** Checking out gnome-documents *** [1/1]
git remote set-url origin https://git.gnome.org/browse/gnome-documents
git remote update origin
Fetching origin
remote: Counting objects: 11, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 8 (delta 6), reused 6 (delta 4)
Unpacking objects: 100% (8/8), done.
From https://git.gnome.org/browse/gnome-documents
* [new branch] wip/split-view -> origin/wip/split-view
git rebase origin/master
Current branch master is up to date.
git submodule init
git submodule update
*** Configuring gnome-documents *** [1/1]
./autogen.sh --prefix /home/ishaan/jhbuild/install --libdir '/home/ishaan/jhbuild/install/lib64' --disable-static --disable-gtk-doc
/home/ishaan/jhbuild/install/bin/gnome-autogen.sh
checking for automake >= 1.9...
testing automake... found 1.14.1
checking for autoreconf >= 2.53...
testing autoreconf... found 2.69
checking for intltool >= 0.40.0...
testing intltoolize... found 0.50.2
checking for pkg-config >= 0.22...
testing pkg-config... found 0.28
Checking for required M4 macros...
Checking for forbidden M4 macros...
Processing ./configure.ac
Running intltoolize...
Running autoreconf...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force --warnings=no-portability -I m4 -I libgd ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability
autoreconf: running: /usr/bin/autoheader --force --warnings=no-portability
autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability
libgd/Makefile.am:29: warning: source file 'libgd/gd-types-catalog.c' is in a subdirectory,
libgd/Makefile.am:29: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
libgd/Makefile.am:38: warning: source file 'libgd/gd-entry-focus-hack.c' is in a subdirectory,
libgd/Makefile.am:38: but option 'subdir-objects' is disabled
libgd/Makefile.am:38: warning: source file 'libgd/gd-icon-utils.c' is in a subdirectory,
libgd/Makefile.am:38: but option 'subdir-objects' is disabled
libgd/Makefile.am:50: warning: source file 'libgd/gd-main-view-generic.c' is in a subdirectory,
libgd/Makefile.am:50: but option 'subdir-objects' is disabled
libgd/Makefile.am:50: warning: source file 'libgd/gd-styled-text-renderer.c' is in a subdirectory,
libgd/Makefile.am:50: but option 'subdir-objects' is disabled
libgd/Makefile.am:50: warning: source file 'libgd/gd-two-lines-renderer.c' is in a subdirectory,
libgd/Makefile.am:50: but option 'subdir-objects' is disabled
libgd/Makefile.am:64: warning: source file 'libgd/gd-main-icon-view.c' is in a subdirectory,
libgd/Makefile.am:64: but option 'subdir-objects' is disabled
libgd/Makefile.am:64: warning: source file 'libgd/gd-toggle-pixbuf-renderer.c' is in a subdirectory,
libgd/Makefile.am:64: but option 'subdir-objects' is disabled
libgd/Makefile.am:76: warning: source file 'libgd/gd-main-list-view.c' is in a subdirectory,
libgd/Makefile.am:76: but option 'subdir-objects' is disabled
libgd/Makefile.am:86: warning: source file 'libgd/gd-main-view.c' is in a subdirectory,
libgd/Makefile.am:86: but option 'subdir-objects' is disabled
libgd/Makefile.am:96: warning: source file 'libgd/gd-main-toolbar.c' is in a subdirectory,
libgd/Makefile.am:96: but option 'subdir-objects' is disabled
libgd/Makefile.am:106: warning: source file 'libgd/gd-header-bar.c' is in a subdirectory,
libgd/Makefile.am:106: but option 'subdir-objects' is disabled
libgd/Makefile.am:125: warning: source file 'libgd/gd-header-button.c' is in a subdirectory,
libgd/Makefile.am:125: but option 'subdir-objects' is disabled
libgd/Makefile.am:135: warning: source file 'libgd/gd-margin-container.c' is in a subdirectory,
libgd/Makefile.am:135: but option 'subdir-objects' is disabled
libgd/Makefile.am:145: warning: source file 'libgd/gd-notification.c' is in a subdirectory,
libgd/Makefile.am:145: but option 'subdir-objects' is disabled
libgd/Makefile.am:155: warning: source file 'libgd/gd-revealer.c' is in a subdirectory,
libgd/Makefile.am:155: but option 'subdir-objects' is disabled
libgd/Makefile.am:174: warning: source file 'libgd/gd-stack.c' is in a subdirectory,
libgd/Makefile.am:174: but option 'subdir-objects' is disabled
libgd/Makefile.am:174: warning: source file 'libgd/gd-stack-switcher.c' is in a subdirectory,
libgd/Makefile.am:174: but option 'subdir-objects' is disabled
libgd/Makefile.am:195: warning: source file 'libgd/gd-tagged-entry.c' is in a subdirectory,
libgd/Makefile.am:195: but option 'subdir-objects' is disabled
src/Makefile-lib.am:22: warning: source file 'lib/gd-utils.c' is in a subdirectory,
src/Makefile-lib.am:22: but option 'subdir-objects' is disabled
src/Makefile.am:41: 'src/Makefile-lib.am' included from here
src/Makefile-lib.am:22: warning: source file 'lib/gd-metadata.c' is in a subdirectory,
src/Makefile-lib.am:22: but option 'subdir-objects' is disabled
src/Makefile.am:41: 'src/Makefile-lib.am' included from here
src/Makefile-lib.am:22: warning: source file 'lib/gd-pdf-loader.c' is in a subdirectory,
src/Makefile-lib.am:22: but option 'subdir-objects' is disabled
src/Makefile.am:41: 'src/Makefile-lib.am' included from here
src/Makefile-lib.am:22: warning: source file 'lib/gd-nav-bar.c' is in a subdirectory,
src/Makefile-lib.am:22: but option 'subdir-objects' is disabled
src/Makefile.am:41: 'src/Makefile-lib.am' included from here
src/Makefile-lib.am:22: warning: source file 'lib/gd-bookmark.c' is in a subdirectory,
src/Makefile-lib.am:22: but option 'subdir-objects' is disabled
src/Makefile.am:41: 'src/Makefile-lib.am' included from here
src/Makefile-lib.am:22: warning: source file 'lib/gd-bookmarks.c' is in a subdirectory,
src/Makefile-lib.am:22: but option 'subdir-objects' is disabled
src/Makefile.am:41: 'src/Makefile-lib.am' included from here
src/Makefile-lib.am:22: warning: source file 'lib/gd-places-page.c' is in a subdirectory,
src/Makefile-lib.am:22: but option 'subdir-objects' is disabled
src/Makefile.am:41: 'src/Makefile-lib.am' included from here
src/Makefile-lib.am:22: warning: source file 'lib/gd-places-bookmarks.c' is in a subdirectory,
src/Makefile-lib.am:22: but option 'subdir-objects' is disabled
src/Makefile.am:41: 'src/Makefile-lib.am' included from here
src/Makefile-lib.am:22: warning: source file 'lib/gd-places-links.c' is in a subdirectory,
src/Makefile-lib.am:22: but option 'subdir-objects' is disabled
src/Makefile.am:41: 'src/Makefile-lib.am' included from here
autoreconf: Leaving directory `.'
Running ./configure --enable-maintainer-mode --prefix /home/ishaan/jhbuild/install --libdir /home/ishaan/jhbuild/install/lib64 --disable-static --disable-gtk-doc ...
configure: WARNING: unrecognized options: --disable-gtk-doc
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install-check
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '100' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether NLS is requested... yes
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for intltool >= 0.50.1... 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.18.2
checking for XML::Parser... ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.22... yes
checking whether ln -s works... yes
checking for itstool... itstool
checking for xmllint... xmllint
checking for gobject-introspection... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for itstool... (cached) itstool
checking whether to build getting-started PDFs... no
checking for cos in -lm... yes
checking for xsltproc... /usr/bin/xsltproc
checking for DOCUMENTS... no
configure: error: Package requirements (evince-document-3.0 >= 3.7.4
evince-view-3.0 >= 3.7.4
webkitgtk-3.0 >= 1.10.0
gjs-1.0
glib-2.0 >= 2.37.0
gobject-introspection-1.0 >= 1.31.6
gtk+-3.0 >= 3.11.5
libsoup-2.4 >= 2.41.3
gnome-desktop-3.0
tracker-control-1.0 >= 0.17.3
tracker-sparql-1.0 >= 0.17.3
goa-1.0 >= 3.2.0
libgdata >= 0.13.3
zapojit-0.0 >= 0.0.2) were not met:
No package 'tracker-control-1.0' found
No package 'tracker-sparql-1.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables DOCUMENTS_CFLAGS
and DOCUMENTS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
*** Error during phase configure of gnome-documents: ########## Error running ./autogen.sh --prefix /home/ishaan/jhbuild/install --libdir '/home/ishaan/jhbuild/install/lib64' --disable-static --disable-gtk-doc *** [1/1]
[1] Rerun phase configure
[2] Ignore error and continue to build
[3] Give up on module
[4] Start shell
[5] Reload configuration
[6] Go to phase "wipe directory and start over"
[7] Go to phase "clean"
[8] Go to phase "distclean"
choice:I do not understand what to do.. i have libtracker-sparl-0.17 and libtracker-control installed but pkgconfig does not seem to find it. Can someone help?? I am not sure if this is an arch specific problem but on ubuntu it seems to be working fine and gnome-documents does build there.
Last edited by ishaanbahal (2014-03-18 06:15:42)
Offline
There is a PKGBUILD for gnome-documents-git in the AUR, any reason you aren't using that?
Offline
gnome-documents are in the repos.
Offline
I am trying to fix a bug for gnome-documents so that is why i wanted to build it.. I do have the stable one installed but was just trying to build from source the current version. Any chance I can fix the error i am getting??
Offline
Looking at the PKGBUILD [1] for the current version in the repos there's no need to use use the autorun script, all that's needed is a simple ./configure, make, make install.
Offline
https://aur.archlinux.org/packages/gn/g … t/PKGBUILD does use the autogen.sh.
Offline
Well ./configure also has the same output. I do not think it is related to the autorun script or the configure script but it has something to do with pkg-config. Anyone knows how to change the $DOCUMENTS_CFLAGS and $DOCUMENTS_LIBS variables to hold the values of locations of the libraries??
the error is this:
No package 'tracker-control-1.0' found
No package 'tracker-sparql-1.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.I don't think it is related to any autorun or configure scripts. Any advice??
Offline
You say you have "libtracker-sparl-0.17" installed, where did that come from and where is it installed to?
Offline
Solved. My mistake. I libtracker-sparql-0.16 installed and DOCUMENTS needed 0.17. Built from jhubild the package tracker.
Offline