Do

"Missing libdo/Makefile.in" when compiling from trunk

Asked by Alexey Nedilko

When running ./autogen.sh on a fresh checkout from trunk, I'm getting this error:

config.status: creating Do.Universe/Makefile
config.status: creating Do.Universe/src/AssemblyInfo.cs
config.status: error: cannot find input file: libdo/Makefile.in

Any ideas how I should handle this? There's Makefile.am in libdo/, but no Makefile.in indeed...

Maybe I'm doing something wrong? What are the correct steps for building Do from trunk?

-- Alexey

Question information

Language:
English Edit question
Status:
Solved
For:
Do Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Launi
Solved:
Last query:
Last reply:
Revision history for this message
Alex Launi (alexlauni) said :
#1

Can you post the rest of autogen's output?

--
--Alex Launi

Revision history for this message
Alexey Nedilko (alexey.nedilko) said :
#2

Here it is:

$ ./autogen.sh
I am going to run ./configure with no arguments - if you wish
to pass any to it, please specify them on the ./autogen.sh command line.
Running libtoolize ...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./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'
Running aclocal -I . -I m4/shamrock ...
configure.ac:44: warning: macro `AM_GCONF_SOURCE_2' not found in library
Running automake --gnu ...
data/Makefile.am:20: GCONF_SCHEMAS_INSTALL does not appear in AM_CONDITIONAL
Running autoconf ...
Running intltoolize --force --copy --automake ...
Running ./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... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 for intltool >= 0.35.0... 0.40.6 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.10.0
checking for XML::Parser... ok
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 locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed... ar ast bg br ca cs da de el en_AU en_CA en_GB es et fa fi fr ga hu id is it ja lt lv mk nb nl nn pl pt_BR pt ru sk sl sr sv ta te th tr uk vi zh_CN zh_HK zh_TW
bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 10: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 716, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 911, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 547, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cmd_version_info.py", line 100, in run
    wt = workingtree.WorkingTree.open_containing(location)[0]
  File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree.py", line 337, in open_containing
    control, relpath = bzrdir.BzrDir.open_containing(path)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 851, in open_containing
    transport = get_transport(url, possible_transports)
  File "/usr/lib/python2.6/dist-packages/bzrlib/lazy_import.py", line 125, in __call__
    return obj(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py", line 1635, in get_transport
    base = convert_path_to_url(base, 'Unsupported protocol: %s')
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py", line 1601, in convert_path_to_url
    new_base = urlutils.local_path_to_url(base)
  File "/usr/lib/python2.6/dist-packages/bzrlib/urlutils.py", line 236, in _posix_local_path_to_url
    osutils._posix_abspath(path)))
  File "/usr/lib/python2.6/dist-packages/bzrlib/osutils.py", line 242, in _posix_abspath
    path = posixpath.join(getcwd(), path)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 10: ordinal not in range(128)

bzr 1.13.1 on python 2.6.2 (linux2)
arguments: ['/usr/bin/bzr', 'version-info', '--custom', '--template=bzr {branch_nick} r{revno}']
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: 'ru_RU.UTF-8'
plugins:
  bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [1.13]
  launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [unknown]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [unknown]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.
checking for pkg-config... /usr/bin/pkg-config
checking for a BSD-compatible install... /usr/bin/install -c
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 dependency style of gcc... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking for mono... /usr/bin/mono
checking for gmcs... /usr/bin/gmcs
checking for gconftool-2... /usr/bin/gconftool-2
./configure: line 8160: AM_GCONF_SOURCE_2: command not found
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /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 whether ln -s works... yes
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 for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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 pkg-config is at least version 0.9.0... yes
checking for LIBDO... yes
checking for GCONF_SHARP_20... yes
checking for GLADE_SHARP_20... yes
checking for GLIB_SHARP_20... yes
checking for GNOME_DESKTOP_SHARP_20... yes
checking for GNOME_KEYRING_SHARP... yes
checking for GNOME_SHARP_20... yes
checking for GNOME_VFS_SHARP_20... yes
checking for GTK_SHARP_20... yes
checking for LIBRSVG_SHARP... yes
checking for MONO_ADDINS... yes
checking for MONO_ADDINS_GUI... yes
checking for MONO_ADDINS_SETUP... yes
checking for NDESK_DBUS_10... yes
checking for NDESK_DBUS_GLIB_10... yes
checking for NOTIFY_SHARP... yes
checking for WNCK_SHARP_10... yes
checking for NUNIT... yes
configure: creating ./config.status
config.status: creating BundledLibraries/Makefile
config.status: creating Do/Do.exe.config
config.status: creating Do/Makefile
config.status: creating Do/gnome-do
config.status: creating Do/src/AssemblyInfo.cs
config.status: creating Do.Interface.Linux/Makefile
config.status: creating Do.Interface.Linux/src/AssemblyInfo.cs
config.status: creating Do.Interface.Linux.AnimationBase/Makefile
config.status: creating Do.Interface.Linux.Classic/Makefile
config.status: creating Do.Interface.Linux.Docky/Makefile
config.status: creating Do.Interface.Linux.Docky/AssemblyInfo.cs
config.status: creating Do.Interface.Linux.GlassFrame/Makefile
config.status: creating Do.Interface.Linux.HUD/Makefile
config.status: creating Do.Interface.Linux.Mini/Makefile
config.status: creating Do.Interface.Wink/Makefile
config.status: creating Do.Interface.Wink/src/AssemblyInfo.cs
config.status: creating Do.Platform/Makefile
config.status: creating Do.Platform/src/AssemblyInfo.cs
config.status: creating Do.Platform.Linux/Makefile
config.status: creating Do.Platform.Linux/src/AssemblyInfo.cs
config.status: creating Do.Platform.OSX/AssemblyInfo.cs
config.status: creating Do.Platform.Windows/AssemblyInfo.cs
config.status: creating Do.Universe/Makefile
config.status: creating Do.Universe/src/AssemblyInfo.cs
config.status: error: cannot find input file: libdo/Makefile.in

Just noticed there's a bzr exception in the middle of the output. Seems that it's has something to do with l10n/encodings. Not sure whether it's connected with the absence of Makefile.in though...

Revision history for this message
Alexey Nedilko (alexey.nedilko) said :
#3

No, the bzr error is unrelated. I've fixed it (bzr is unable to deal with non-ASCII paths, BTW :)), but the problem with missing Makefile.in persists.

Revision history for this message
Best Alex Launi (alexlauni) said :
#4

You need to install libgconf2-dev

--
-- Alex Launi

Revision history for this message
Alexey Nedilko (alexey.nedilko) said :
#5

Thanks Alex Launi, that solved my question.