Menu

#152 libmp3splt trunk: ./autogen.sh does not create file test/Makefile.in

v1.0_(example)
closed
nobody
None
1
2015-02-13
2013-05-01
No

The use of $(top_srcdir) in test/Makefile.am seems to be a problem:

# svn checkout svn://svn.code.sf.net/p/mp3splt/code/mp3splt-project/trunk/libmp3splt mp3splt-svn-trunk
A    mp3splt-svn-trunk/test
A    mp3splt-svn-trunk/test/test_splt_array.c
A    mp3splt-svn-trunk/test/test_socket_manager.c
[..]

# cd mp3splt-svn-trunk

# ./autogen.sh 
1/6 Running autopoint... Creating directory libltdl
Creating directory libltdl/config
Copying file libltdl/config/config.rpath
[..]
6/6 Running automake... src/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
test/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
test/Makefile.am:35: error: using '$(top_srcdir)' in TESTS is currently broken: '$(top_srcdir)/test/run-tests.sh'
parallel-tests: installing 'libltdl/config/test-driver'
Formatting language files with msgfmt... done

# automake --version | head -n 1
automake (GNU automake) 1.13.1

# ./configure && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
[..]
config.status: creating po/Makefile.in
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating plugins/Makefile
config.status: error: cannot find input file: `test/Makefile.in'

Discussion

  • Sebastian Pipping

    Just so you know, the same issue hit me down at Gentoo now:

    https://bugs.gentoo.org/show_bug.cgi?id=468242

    The reason is that we run automake ourselves after patching an .am file.

     
  • Munteanu Alexandru

    Hmm... strange enough; it works with automake 1.11.6.

     
  • Sebastian Pipping

    Works like a charm, applied at Gentoo, too. Many thanks!

     
  • Munteanu Alexandru

    Cool.
    I am closing the ticket.
    Please post here if still necessary.

     
  • Munteanu Alexandru

    • status: open --> closed