oleid/gnome-shell-teatime

Cannot build: "src/schemas/: Is a directory"

Closed this issue · 3 comments

I can't get this extension to build and install. The complete output follows; I suspect the following lines:

  • ./configure: line 4326: GLIB_GSETTINGS: command not found
  • /bin/bash: src/schemas/: Is a directory

I'm running UbuntuGNOME 13.10. I already installed Ubuntu package gnome-common and did apt-get build-dep gnome-shell-extensions.

lstorset@lstorset:~/Downloads/gnome-shell-teatime-master$ ./autogen.sh 
/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
  testing autoconf2.50... not found.
  testing autoconf... found 2.69
checking for automake >= 1.9...
  testing automake-1.13... found 1.13.3
Checking for forbidden M4 macros...
Processing ./configure.ac
Running aclocal-1.13...
Running autoconf...
Running automake-1.13...
configure.ac:5: installing './install-sh'
configure.ac:5: installing './missing'
Skipping configure process.
lstorset@lstorset:~/Downloads/gnome-shell-teatime-master$ ./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 UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
configure: checking if we want internationalization (i18n) support
checking for ./po/Makefile.in.in... yes
configure: WARNING: 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 dependency style of gcc... none
checking for intltool >= 0.26... 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
configure: checking what to do with schemas
configure: will configure schemas
configure: will compile schemas
./configure: line 4326: GLIB_GSETTINGS: command not found
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating po/Makefile.in
config.status: creating src/schemas/org.gnome.shell.extensions.teatime.gschema.xml.in
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing po/fake-it commands
config.status: executing po/stamp-it commands
config.status: executing po/clean-it commands
lstorset@lstorset:~/Downloads/gnome-shell-teatime-master$ make
Making all in po
make[1]: Entering directory `/home/lstorset/Downloads/gnome-shell-teatime-master/po'
file=`echo de | sed 's,.*/,,'`.gmo \
      && rm -f $file && /usr/bin/msgfmt -o $file de.po
make[1]: Leaving directory `/home/lstorset/Downloads/gnome-shell-teatime-master/po'
make[1]: Entering directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
LC_ALL=C /usr/bin/intltool-merge  -x -u --no-translations src/schemas/org.gnome.shell.extensions.teatime.gschema.xml.in src/schemas/org.gnome.shell.extensions.teatime.gschema.xml
Merging translations into src/schemas/org.gnome.shell.extensions.teatime.gschema.xml.
CREATED src/schemas/org.gnome.shell.extensions.teatime.gschema.xml
src/schemas/
/bin/bash: src/schemas/: Is a directory
make[1]: *** [src/schemas/gschemas.compiled] Error 126
make[1]: Leaving directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
make: *** [all-recursive] Error 1
lstorset@lstorset:~/Downloads/gnome-shell-teatime-master$ make local-install
make local-helper DESTDIR=/home/lstorset/.local/share/gnome-shell/extensions
make[1]: Entering directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
Making all in po
make[2]: Entering directory `/home/lstorset/Downloads/gnome-shell-teatime-master/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/lstorset/Downloads/gnome-shell-teatime-master/po'
make[2]: Entering directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
src/schemas/
/bin/bash: src/schemas/: Is a directory
make[2]: *** [src/schemas/gschemas.compiled] Error 126
make[2]: Leaving directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
make: *** [local-install] Error 2
lstorset@lstorset:~/Downloads/gnome-shell-teatime-master$ make zip
make local-helper DESTDIR=/home/lstorset/Downloads/gnome-shell-teatime-master/_build
make[1]: Entering directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
Making all in po
make[2]: Entering directory `/home/lstorset/Downloads/gnome-shell-teatime-master/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/lstorset/Downloads/gnome-shell-teatime-master/po'
make[2]: Entering directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
src/schemas/
/bin/bash: src/schemas/: Is a directory
make[2]: *** [src/schemas/gschemas.compiled] Error 126
make[2]: Leaving directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lstorset/Downloads/gnome-shell-teatime-master'
make: *** [zip] Error 2

Hello!

I can't get this extension to build and install. The complete output follows; I suspect the following lines:

  • ./configure: line 4326: GLIB_GSETTINGS: command not found
  • /bin/bash: src/schemas/: Is a directory

Did you run autogen again after installing the build-deps for
gnome-shell-extensions?

Make sure there is gsettings.m4 in /usr/share/aclocal . This file
contains the definitions for GLIB_GSETTINGS.

To find out what package provides this file, run something like

apt-file search gsettings.m4

You may need to install apt-file and run "apt-file update" first.

On my Arch Linux, the file is contained in the glib2 package. So it
should be in the same package. As glib2 should be installed by default,
it must be located in the corresponding development package.

On my system, intltool.m4 is also needed. Please check, if you've
intltool installed, too.

Rerun autogen after that.

Hope that helps,

Regards,

Olaf

Re-running autogen helped! I also just realized I overlooked the "Premise" section, which would explain a lot… Thanks for your help!

Haha, no, you didn't overlook it. I added the "Premise" section, after I replied you here. Closing the issue now.