Skip to content

build with autotools failed on ubuntu16.04 #3161

@leleliu008

Description

@leleliu008

Host OS:

ubuntu16.04

Installed softwares:

automake (GNU automake) 1.15
autoconf (GNU Autoconf) 2.69
libtool (GNU libtool) 2.4.6
GNU Make 4.1

reproduce steps:

git clone https://github.com/sass/libsass
cd libsass
autoreconf -ivf

report logs:

autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:30: installing 'script/ar-lib'
configure.ac:19: installing 'script/compile'
configure.ac:15: installing 'script/install-sh'
configure.ac:15: installing 'script/missing'
GNUmakefile.am:37: warning: source file '$(SASS_SASSC_PATH)/sassc.c' is in a subdirectory,
GNUmakefile.am:37: 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.
GNUmakefile.am: installing 'script/depcomp'
parallel-tests: installing 'script/test-driver'
src/GNUmakefile.am:27: error: Libtool library used but 'LIBTOOL' is undefined
src/GNUmakefile.am:27:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
src/GNUmakefile.am:27:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
src/GNUmakefile.am:27:   If 'LT_INIT' is in 'configure.ac', make sure
src/GNUmakefile.am:27:   its definition is in aclocal's search path.
Makefile.conf:92: warning: source file 'memory/allocator.cpp' is in a subdirectory,
Makefile.conf:92: but option 'subdir-objects' is disabled
src/GNUmakefile.am:29:   'Makefile.conf' included from here
Makefile.conf:92: warning: source file 'memory/shared_ptr.cpp' is in a subdirectory,
Makefile.conf:92: but option 'subdir-objects' is disabled
src/GNUmakefile.am:29:   'Makefile.conf' included from here
autoreconf: automake failed with exit status: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions