develooper Front page | perl.perl5.porters | Postings from May 2012

[perl #46549] Compile/install from source: Configure does not create a Makefile

Thread Next
From:
James E Keenan via RT
Date:
May 3, 2012 18:53
Subject:
[perl #46549] Compile/install from source: Configure does not create a Makefile
Message ID:
rt-3.6.HEAD-4610-1336096395-1558.46549-15-0@perl.org
On Mon Oct 22 10:21:49 2007, doughera wrote:
> On Mon, 22 Oct 2007, Peter Hill wrote:
> 
> > > > I am trying to compile perl 5.8.8 from source.
> > > > sh Configure -de
> > > > appears to work, ending with
> 
> > > > Extracting Makefile (with variable substitutions)
> 
> > > > but Makefile, and x2p/Makefile are missing. (other file are created)
> > > 
> > > This is very strange. I don't ever recall seeing this problem before.
> > > It claims to have extracted Makefile. Can you try manually running
> > > 
> > > sh Makefile.SH
> > Nothing happens - no stderr or stdout, no file.
> 
> > Ah!  Good question - I was compiling from a samba share.  Works fine 
> > when I copy everything local.  Some strange permissions issue?  I say 
> > strange because other files are created and I don't have problems 
> > compiling. Thanks for your help.
> 
> Ah.  I'll guess that the samba share is case-insensitive.  On Unix, the 
> perl build system uses both a 'Makefile' and a 'makefile'.  Part of the 
> extraction process of Makefile.SH removes the 'makefile'.  Unfortunately, 
> it looks like that's actually removing 'Makefile' in your case.
> 
> The workaround is simple:  Tell Configure to use a different name instead 
> of 'makefile'.  One that should work is the following:
> 
> 	sh Configure -Dfirstmakefile=GNUmakefile
> 
> (assuming you're using GNU make, which you probably are on Linux.)
> (If you already have a config.sh file, you can just edit it and change 
> the one entry for firstmakefile by hand, and then run
> 	sh Configure -S
> to re-extract everything.)
> 
> Configure probably ought to automatically detect this problem in advance, 
> but it doesn't.
> 
> Hope this helps,
> 


Andy D:

We never heard further from the original poster.  Do you think there are
Configure issues still needing addressing here?

Thank you very much.
Jim Keenan

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=46549

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About