automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying to bootstrap my project, distcheck doesn't configure


From: Mathieu Lirzin
Subject: Re: Trying to bootstrap my project, distcheck doesn't configure
Date: Mon, 14 Sep 2020 20:33:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello Bruce,

Bruce Korb <bkorb@gnu.org> writes:

> In 9/9/20 11:37 AM, Bruce Korb wrote:
>> So in the years since I last rebuilt my project, it seems the world
>> has changed..... What should I be looking for?
> OK. I've made some progress without any hints.

It would help if you could provide the instructions allowing others to
reproduce the problem you are facing.

> Now I'm hitting this
> that I've never seen before:
>> $ grep do_not_make_me au*bld/autoopts/Makefile.am
>> do_not_make_me_la_LIBADD += @LTALLOCA@
>> do_not_make_me_la_DEPENDENCIES += @LTALLOCA@
>> EXTRA_do_not_make_me_la_SOURCES += alloca.c
>> EXTRA_do_not_make_me_la_SOURCES += dup2.c
>> do_not_make_me_la_SOURCES += fd-hook.c
>> do_not_make_me_la_SOURCES += gettext.h
>> EXTRA_do_not_make_me_la_SOURCES += msvc-inval.c
>> EXTRA_do_not_make_me_la_SOURCES += msvc-nothrow.c
>> EXTRA_do_not_make_me_la_SOURCES += nanosleep.c
>> do_not_make_me_la_SOURCES += parse-duration.c
>> EXTRA_do_not_make_me_la_SOURCES += raise.c
>> EXTRA_do_not_make_me_la_SOURCES += select.c
>> do_not_make_me_la_SOURCES += sig-handler.c
>> EXTRA_do_not_make_me_la_SOURCES += sigaction.c
>> EXTRA_do_not_make_me_la_SOURCES += sigprocmask.c
>> do_not_make_me_la_SOURCES += sockets.h sockets.c
>> do_not_make_me_la_SOURCES += stat-time.c
>> do_not_make_me_la_SOURCES += sys_socket.c
>> do_not_make_me_la_SOURCES += timespec.c
>> do_not_make_me_la_SOURCES += unistd.c
> which trigger error messages that I can get around by hacking in dummy
> initial assignments, but I'm guessing that's not the intended
> method. I need a clue, please? Thank you.

Dummy initial assignments is a valid fix if you want/need to dispatch
your source definitions in multiple files without having to care about
the inclusion order.  Alternatively you can define all your sources in
one go in one file like this:

do_not_make_me_la_SOURCES = \
  sockets.h \
  sockets.c \
  stat-time.c \
  sys_socket.c \
  timespec.c \
  unistd.c

>> autoopts/Makefile.am:97: error: do_not_make_me_la_LIBADD must be set
>> with '=' before using '+='
>> autoopts/Makefile.am:98: error: do_not_make_me_la_DEPENDENCIES must
>> be set with '=' before using '+='
>> autoopts/Makefile.am:100: error: EXTRA_do_not_make_me_la_SOURCES
>> must be set with '=' before using '+='
>> autoopts/Makefile.am:146: error: do_not_make_me_la_SOURCES must be
>> set with '=' before using '+='
>> autoopts/Makefile.am:390: error: MOSTLYCLEANDIRS must be set with
>> '=' before using '+='
>> autoopts/Makefile.am:100: warning: variable
>> 'EXTRA_do_not_make_me_la_SOURCES' is defined but no program or
>> autoopts/Makefile.am:100: library has 'do_not_make_me_la' as
>> canonical name (possible typo)
>> autoopts/Makefile.am:146: warning: variable
>> 'do_not_make_me_la_SOURCES' is defined but no program or
>> autoopts/Makefile.am:146: library has 'do_not_make_me_la' as
>> canonical name (possible typo)
>> autoopts/Makefile.am:97: warning: variable
>> 'do_not_make_me_la_LIBADD' is defined but no program or
>> autoopts/Makefile.am:97: library has 'do_not_make_me_la' as
>> canonical name (possible typo)
>> autoopts/Makefile.am:98: warning: variable
>> 'do_not_make_me_la_DEPENDENCIES' is defined but no program or
>> autoopts/Makefile.am:98: library has 'do_not_make_me_la' as
>> canonical name (possible typo)

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37



reply via email to

[Prev in Thread] Current Thread [Next in Thread]