RPM Community Forums

Mailing List Message of <rpm-users>

Re: RPM v5.4 - config.status: Missing 'Makefile.in'

From: Jeffrey Johnson <n3npq@me.com>
Date: Tue 29 Nov 2011 - 16:42:59 CET
Message-id: <1099B876-151B-44F7-9FC9-7B34481E57C6@me.com>

On Nov 29, 2011, at 10:22 AM, Maurice Bouchard wrote:

> ugh!  Sorry about all the exposed HTML.  Not sure why it happened, but I am switching to plain text.
> 

;-) np, happens to me all the time, sigh.

> Looking a little more closely at the output from autogen.sh, it look like the Lua library is missing (and required, apparently).  autogen.sh may not be finishing and therefore not creating the Makefile.in
> 

Let's back up a bit:
 	How are you trying to build rpm-5.4?

Building RPM is rather different in order to support
	Have it your own way!
needs.

If building from a CVS checkout, one builds like this
	./devtool checkout	# this will populate lua/neon/beecrypt/peecrypt/etc subdirs
	./devtool system
where "system" is chosen as needed and references a complex set of build
options instantiated in devtool.conf.

If building from a tar ball (inside the distributed *.src.rpm), then you
will need to choose what options to pass to ./configure carefully.

Building rpm-5.4 is not just
	./configure --prefix=/some/where
and running make like many other projects.

So how are you trying to build rpm-5.4? If I know what you are attempting
on Mac OS X, then I can suggest what is needed precisely.

hth

73 de Jeff
> Maury
> ________________________________
> From: Maurice Bouchard <mbouchard58@yahoo.com>
> To: "rpm-users@rpm5.org" <rpm-users@rpm5.org> 
> Sent: Monday, November 28, 2011 2:41 PM
> Subject: RPM v5.4 - config.status: Missing 'Makefile.in' 
> 
> Greetings,
> I am trying to build rpm v5.4 for Mac OS X 10.6.8 but am stalling at config.status.  The last three messages in config.log are:
> config.status:1751: creating po/Makefile.in
> config.status:1751: creating Doxyfile
> config.status:1737: error: cannot find input file: Makefile.in'
> 
> and, in fact, there is no Makefile.in in the rpm source directory (where I checked out the code) but there is a Makefile.am. I built "configure" with autogen.sh and used all the correct GNU tools (autoconf, automake, libtoolize, and gettextize). Autogen.sh runs without errors as far as I can tell. I run configure as follows:
> sudo ./configure CC="gcc -arch i386" CXX="g++ -arch i386" &nbsp; (I need the CC and CXX flags otherwise configure coughs up on libbeecrypt)
> It goes through all the checking just fine and starts to create some output. It successfully creates po/Makefile.in and Doxyfile but then gives the error message above.
> 
> Has anyone seen this? Any advice will be most appreciated.
> 
> Regards,
> Maury Bouchard
> Simmons College
> 
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> User Communication List                             rpm-users@rpm5.org
Received on Tue Nov 29 19:11:22 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.