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 - 20:14:31 CET
Message-id: <0307EE4E-AB53-46AE-9874-0E10E5DAB8A3@me.com>

On Nov 29, 2011, at 1:30 PM, Maurice Bouchard wrote:

> Jeff,
> 
> I am building from a CVS checkout and haven't begun properly.  Let me begin again using your very helpful instructions and see how far I get.  
> 

Good: I can likely help with build issues efficiently because its easy for me to
check in a patch and to add reasonable build options on Mac OS X.

You might want to read through the developer "cheat sheet" for how to build
from CVS in INSTALL.developer.

Note that the rpm-5.4 branch is expecting Berkeley DB 5.2.x with
includes in
	${prefix}/include/db52
and libraries in
	${prefix}/lib/libdb52*

So you can save yourself some pain by installing db-5.2.x until
you get a complete build. Any version of Berkeley DB back to
db-4.5.x will suffice and its not impossibly hard to patch in
what is needed.

But the rpm-5_4 branch in CVS is most definitely expecting
db-5.2.x to be installed.

hth

73 de Jeff

> Thanks for the advice. (Thanks also to devzero for his help!)
> 
> Regards,
> Maury Bouchard
> Simmons College
> 
> 
> ________________________________
> From: Jeffrey Johnson <n3npq@me.com>
> To: rpm-users@rpm5.org 
> Sent: Tuesday, November 29, 2011 10:42 AM
> Subject: Re: RPM v5.4 - config.status: Missing 'Makefile.in'
> 
> 
> 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
> 
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> User Communication List                            rpm-users@rpm5.org
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> User Communication List                             rpm-users@rpm5.org
Received on Tue Nov 29 20:15:20 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.