Project

General

Profile

Actions

Bug #13966

closed

configure.in still needed ?!

Added by duerst (Martin Dürst) about 7 years ago. Updated about 5 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-09-28 trunk 60054) [x86_64-cygwin]
[ruby-core:83086]

Description

When compiling trunk on cygwin, I get the following error:

make[2]: Entering directory '/cygdrive/c/Data/ruby/ext/rbconfig/sizeof'
make[2]: *** No rule to make target '../../.././configure.in', needed by 'sizes.c'.  Stop.
make[2]: Leaving directory '/cygdrive/c/Data/ruby/ext/rbconfig/sizeof'
make[1]: *** [exts.mk:256: ext/rbconfig/sizeof/all] Error 2
make[1]: Leaving directory '/cygdrive/c/Data/ruby'
make: *** [uncommon.mk:236: build-ext] Error 2

(Only showing the last few lines, up to that point, everything seems to run smoothly.)

It looks like something somewhere still wants configure.in, although we now use configure.ac.


Related issues 1 (0 open1 closed)

Related to Ruby master - Feature #13946: Rename configure.in to configure.acClosedActions
Actions #1

Updated by duerst (Martin Dürst) about 7 years ago

  • Related to Feature #13946: Rename configure.in to configure.ac added

Updated by nobu (Nobuyoshi Nakada) about 7 years ago

By running ./config.status, Makefile should be updated.

Updated by duerst (Martin Dürst) about 7 years ago

nobu (Nobuyoshi Nakada) wrote:

By running ./config.status, Makefile should be updated.

I get the following ouput when I run ./config.status (in the main directory):
config.status: creating GNUmakefile
config.status: creating Makefile
config.status: creating ruby-2.5.pc

Still, when running make, I get exactly the same output.

Still, when using ag (https://geoff.greer.fm/ag/), I cannot find the string "config.in" anywhere but in old changelog and contributors files.

Updated by kernigh (George Koehler) about 7 years ago

The file ext/rbconfig/sizeof/depend should contain the string "configure.ac", not "configure.in". This was changed by git commit 3133a5c (svn r60062). I wonder if your copy of that file is too old?

Updated by duerst (Martin Dürst) about 7 years ago

kernigh (George Koehler) wrote:

The file ext/rbconfig/sizeof/depend should contain the string configure.ac, not configure.in. This was changed by git commit 3133a5c (svn r60062). I wonder if your copy of that file is too old?

Thanks for this hint. I checked ext/rbconfig/sizeof/depend, but it had configure.ac. I'm already on r60132 now, and that file seems up to date. However, this led me to check the other files in that directory. I found that ext/rbconfig/sizeof/Makefile still contains two instances of configure.in. I must have overlooked these instances in my initial search. In context, the code was as follows:

sizes.c: $(top_srcdir)/tool/generic_erb.rb \
		   $(top_srcdir)/template/sizes.c.tmpl \
		   $(top_srcdir)/configure.in \
		   $(top_srcdir)/ext/rbconfig/sizeof/extconf.rb
	$(Q) $(RUBY) $(top_srcdir)/tool/generic_erb.rb --output=$@ \
		$(top_srcdir)/template/sizes.c.tmpl \
		$(top_srcdir)/configure.in \
		$(top_srcdir)/ext/rbconfig/sizeof/extconf.rb

I changed these two instances manually. That seems to have solved my problem. I'm leaving this issue open so that Nobu can check whether there's some missing piece that let that Makefile stay unupdated.

Actions #6

Updated by jeremyevans0 (Jeremy Evans) about 5 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0