List Info

Thread: Compile/install from source: Configure does not create a Makefile




Compile/install from source: Configure does not create a Makefile
user name
2007-10-19 10:29:20
# New Ticket Created by  Peter Hill 
# Please include the string:  [perl #46549]
# in the subject line of all future correspondence about
this issue. 
# <URL: h
ttp://rt.perl.org/rt3/Ticket/Display.html?id=46549 >


Hi,

I am trying to compile perl 5.8.8 from source.
sh Configure -de
appears to work, ending with

Doing variable substitutions on .SH files...
Extracting cflags (with variable substitutions)
Extracting config.h (with variable substitutions)
Extracting makeaperl (with variable substitutions)
Extracting makedepend (with variable substitutions)
Extracting makedir (with variable substitutions)
Extracting Makefile (with variable substitutions)
Extracting myconfig (with variable substitutions)
Extracting pod/Makefile (with variable substitutions)
Extracting Policy.sh (with variable substitutions)
Extracting writemain (with variable substitutions)
Extracting x2p/cflags (with variable substitutions)
Extracting x2p/Makefile (with variable substitutions)
Configure done.


but Makefile, and x2p/Makefile are missing. (other file are
created)

./myconfig returns:

Summary of my perl5 (revision 5 version 8 subversion 8)
configuration:
   Platform:
     osname=linux, osvers=2.6.20-1.2320.fc5,
archname=i686-linux
     uname='linux fc5phlap.office.local 2.6.20-1.2320.fc5 #1
tue jun  
12 18:50:38 edt 2007 i686 i686 i386 gnulinux '
     config_args='-de'
     hint=previous, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef
 
usemultiplicity=undef
     useperlio=define d_sfio=undef uselargefiles=define
usesocks=undef
     use64bitint=undef use64bitall=undef
uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='gcc', ccflags ='-fno-strict-aliasing -pipe
-Wdeclaration- 
after-statement -I/usr/local/include -D_LARGEFILE_SOURCE - 
D_FILE_OFFSET_BITS=64',
     optimize='-O2',
     cppflags='-fno-strict-aliasing -pipe
-Wdeclaration-after- 
statement -I/usr/local/include -fno-strict-aliasing -pipe -

Wdeclaration-after-statement -I/usr/local/include
-D_LARGEFILE_SOURCE  
-D_FILE_OFFSET_BITS=64'
     ccversion='', gccversion='4.1.1 20070105 (Red Hat
4.1.1-51)',  
gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8,
byteorder=1234
     d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=12
     ivtype='long', ivsize=4, nvtype='double', nvsize=8,  
Off_t='off_t', lseeksize=8
     alignbytes=4, prototype=define
   Linker and Libraries:
     ld='gcc', ldflags =' -L/usr/local/lib'
     libpth=/usr/local/lib /lib /usr/lib
     libs=-lnsl -ldl -lm -lcrypt -lutil -lc
     perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
     libc=/lib/libc-2.4.so, so=so, useshrplib=false,
libperl=libperl.a
     gnulibc_version='2.4'
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags='-Wl,-E'
     cccdlflags='-fpic', lddlflags='-shared
-L/usr/local/lib'

any help gratefully received.


Re: Compile/install from source: Configure does not create a Makefile
user name
2007-10-19 15:59:20
On Fri, 19 Oct 2007, Peter Hill wrote:

> # New Ticket Created by  Peter Hill 
> # Please include the string:  [perl #46549]
> # in the subject line of all future correspondence
about this issue. 
> # <URL: h
ttp://rt.perl.org/rt3/Ticket/Display.html?id=46549 >
> 
> 
> Hi,
> 
> I am trying to compile perl 5.8.8 from source.
> sh Configure -de
> appears to work, ending with
> 
> Doing variable substitutions on .SH files...
> Extracting cflags (with variable substitutions)
> Extracting config.h (with variable substitutions)
> Extracting makeaperl (with variable substitutions)
> Extracting makedepend (with variable substitutions)
> Extracting makedir (with variable substitutions)
> Extracting Makefile (with variable substitutions)
> Extracting myconfig (with variable substitutions)
> Extracting pod/Makefile (with variable substitutions)
> Extracting Policy.sh (with variable substitutions)
> Extracting writemain (with variable substitutions)
> Extracting x2p/cflags (with variable substitutions)
> Extracting x2p/Makefile (with variable substitutions)
> Configure done.

> 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

and see what happens?  That should create Makefile.
Is there anything unusual about the particular filesystem
you are using?

The only other thing I notice is that you have previously
run Configure
in this same directory, so there was an existing config.sh
file.

>      hint=previous, useposix=true, d_sigaction=define

Was that config.sh created on this exact same system?
Configure tries to check and use such a config.sh file only
if it
seems likely to work, but I suppose it could have been
fooled somehow.

Puzzled,

-- 
    Andy Dougherty		dougheralafayette.edu

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )