Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help - initial make failing, but don't know why #9356

Open
p5pRT opened this issue May 28, 2008 · 12 comments
Open

help - initial make failing, but don't know why #9356

p5pRT opened this issue May 28, 2008 · 12 comments

Comments

@p5pRT
Copy link

p5pRT commented May 28, 2008

Migrated from rt.perl.org#55008 (status was 'open')

Searchable as RT55008$

@p5pRT
Copy link
Author

p5pRT commented May 28, 2008

From tdsmichl@ugs.com

Hi,

Any help would be appreciated. I'm not sure what would be causing the
failure.

Thanks,
Steve

src​: ActiveState 5.8.8.820
uname​: Darwin cimac005 9.1.0 Darwin Kernel Version 9.1.0​: Wed Oct 31
17​:46​:22 PDT 2007; root​:xnu-1228.0.2~1/RELEASE_I386 i386

+ sh /plm/cinas/chucktestshare2/perl.d/tgz/AP820_source/Configure
-Dmksymlinks -Uloclibpth -Duselargefiles -Uinstallusrbinperl
-Ud_sigsetjmp -Dusethreads -Duseithreads -Ulocincpth -Uversion
-Dprefix=/plm/cinas/chucktestshare2/perl.d/pub/macos
-Dbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dscriptbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitebin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitescriptbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitelib=/plm/cinas/chucktestshare2/perl.d/pub/macos/site/lib
-Dsitearch=/plm/cinas/chucktestshare2/perl.d/pub/macos/site/lib
-Darchlib=/plm/cinas/chucktestshare2/perl.d/pub/macos/lib
-Dprivlib=/plm/cinas/chucktestshare2/perl.d/pub/macos/lib
-Darchname=macos -DINST_VER -DUSE_SITECUST -DMULTI -DUSE_ITHREADS
-DIMP_SYS -DUSE_PERLIO -DUSE_LARGE_FILES -DCRYPT_SRC -DNO_HASH_SEED
-DPERL_DARWIN -Dusemultiplicity -Duseperlio -Dcc=/usr/bin/cc


[ . . . snip . . . ]
echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist
Updating GNUmakefile...
Now you must run 'make'.

If you compile perl5 on a different machine or from a different object
directory, copy the Policy.sh file from this object directory to the
new one before you run Configure -- this will help you with most of
the policy defaults.


1;;cimac005;tdsmichl;;;;;
/plm/cinas/chucktestshare2/perl.d/build_perl/macos> make
make
+ make
[ . . . snip . . . ]
touch uni.data
sh writemain DynaLoader.o > perlmain.c
`sh cflags "optimize='-O3'" perlmain.o` perlmain.c
  CCCMD = /usr/bin/cc -DPERL_CORE -c -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-O3 -Wall

  Making DynaLoader (static)
&Config​::AUTOLOAD failed on Config​::launcher at ../../lib/Config.pm line 72.
Compilation failed in require at ../../lib/ExtUtils/MakeMaker.pm line 7.
BEGIN failed--compilation aborted at ../../lib/ExtUtils/MakeMaker.pm line 7.
Compilation failed in require at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
Warning​: No Makefile!
make[1]​: *** No rule to make target `config'. Stop.
make config failed, continuing anyway...
make[1]​: *** No rule to make target `all'. Stop.
make​: *** [DynaLoader.o] Error 2

@p5pRT
Copy link
Author

p5pRT commented May 29, 2008

From @smpeters

On Wed May 28 14​:14​:56 2008, tdsmichl@​ugs.com wrote​:

Hi,

Any help would be appreciated. I'm not sure what would be causing the
failure.

Thanks,
Steve

src​: ActiveState 5.8.8.820
uname​: Darwin cimac005 9.1.0 Darwin Kernel Version 9.1.0​: Wed Oct 31
17​:46​:22 PDT 2007; root​:xnu-1228.0.2~1/RELEASE_I386 i386

+ sh /plm/cinas/chucktestshare2/perl.d/tgz/AP820_source/Configure
-Dmksymlinks -Uloclibpth -Duselargefiles -Uinstallusrbinperl
-Ud_sigsetjmp -Dusethreads -Duseithreads -Ulocincpth -Uversion
-Dprefix=/plm/cinas/chucktestshare2/perl.d/pub/macos
-Dbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dscriptbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitebin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitescriptbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitelib=/plm/cinas/chucktestshare2/perl.d/pub/macos/site/lib
-Dsitearch=/plm/cinas/chucktestshare2/perl.d/pub/macos/site/lib
-Darchlib=/plm/cinas/chucktestshare2/perl.d/pub/macos/lib
-Dprivlib=/plm/cinas/chucktestshare2/perl.d/pub/macos/lib
-Darchname=macos -DINST_VER -DUSE_SITECUST -DMULTI -DUSE_ITHREADS
-DIMP_SYS -DUSE_PERLIO -DUSE_LARGE_FILES -DCRYPT_SRC -DNO_HASH_SEED
-DPERL_DARWIN -Dusemultiplicity -Duseperlio -Dcc=/usr/bin/cc

---------------

[ . . . snip . . . ]
echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist
Updating GNUmakefile...
Now you must run 'make'.

If you compile perl5 on a different machine or from a different object
directory, copy the Policy.sh file from this object directory to the
new one before you run Configure -- this will help you with most of
the policy defaults.

---------------

1;;cimac005;tdsmichl;;;;;
/plm/cinas/chucktestshare2/perl.d/build_perl/macos> make
make
+ make
[ . . . snip . . . ]
touch uni.data
sh writemain DynaLoader.o > perlmain.c
`sh cflags "optimize='-O3'" perlmain.o` perlmain.c
CCCMD = /usr/bin/cc -DPERL_CORE -c -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-O3 -Wall

    Making DynaLoader \(static\)

&Config​::AUTOLOAD failed on Config​::launcher at ../../lib/Config.pm line 72.
Compilation failed in require at ../../lib/ExtUtils/MakeMaker.pm line 7.
BEGIN failed--compilation aborted at ../../lib/ExtUtils/MakeMaker.pm line 7.
Compilation failed in require at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
Warning​: No Makefile!
make[1]​: *** No rule to make target `config'. Stop.
make config failed, continuing anyway...
make[1]​: *** No rule to make target `all'. Stop.
make​: *** [DynaLoader.o] Error 2

Can you please give us the output from the myconfig shell script that is in your build
directory? This will give us a little more complete picture of your environment.

Thanks!

@p5pRT
Copy link
Author

p5pRT commented May 29, 2008

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented May 29, 2008

From tdsmichl@ugs.com

Hi,

Here's the myconfig contents.

Thanks,
Steve

myconfig​:


#!/bin/sh

# This script is designed to provide a handy summary of the configuration
# information being used to build perl. This is especially useful if you
# are requesting help from comp.lang.perl.misc on usenet or via mail.

# Note that the text lines /^Summary of/ .. /^\s*$/ are copied into
Config.pm.
cat <<'!NO!SUBS!'
Summary of my perl5 (revision 5 version 8 subversion 8) configuration​:
  Platform​:
  osname=darwin, osvers=9.1.0, archname=darwin-thread-multi-2level
  uname='darwin cimac005 9.1.0 darwin kernel version 9.1.0​: wed oct 31
17​:46​:22 pdt 2007; root​:xnu-1228.0.2~1release_i386 i386 '
  config_args='-Dmksymlinks -Uloclibpth -Duselargefiles
-Uinstallusrbinperl -Ud_sigsetjmp -Dusethreads -Duseithreads -Ulocincpth
-Uversion -Dprefix=/plm/cinas/chucktestshare2/perl.d/pub/macos
-Dbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dscriptbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitebin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitescriptbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitelib=/plm/cinas/chucktestshare2/perl.d/pub/macos/site/lib
-Dsitearch=/plm/cinas/chucktestshare2/perl.d/pub/macos/site/lib
-Darchlib=/plm/cinas/chucktestshare2/perl.d/pub/macos/lib
-Dprivlib=/plm/cinas/chucktestshare2/perl.d/pub/macos/lib
-Darchname=macos -DINST_VER -DUSE_SITECUST -DMULTI -DUSE_ITHREADS
-DIMP_SYS -DUSE_PERLIO -DUSE_LARGE_FILES -DCRYPT_SRC -DNO_HASH_SEED
-DPERL_DARWIN -Dusemultiplicity -Duseperlio -Dcc=/usr/bin/cc'
  hint=recommended, useposix=true, d_sigaction=define
  usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
  useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
  use64bitint=undef use64bitall=undef uselongdouble=undef
  usemymalloc=n, bincompat5005=undef
  Compiler​:
  cc='/usr/bin/cc', ccflags ='-fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -pipe -Wdeclaration-after-statement',
  optimize='-O3',
  cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -pipe -Wdeclaration-after-statement'
  ccversion='', gccversion='4.0.1 (Apple Inc. build 5465)',
gccosandvers=''
  intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=ffff
  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
  ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
  alignbytes=8, prototype=define
  Linker and Libraries​:
  ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =''
  libpth=/usr/lib
  libs=-ldbm -ldl -lm -lutil -lc
  perllibs=-ldl -lm -lutil -lc
  libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
  gnulibc_version=''
  Dynamic Linking​:
  dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
  cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup'

!NO!SUBS!

Steve Peters via RT wrote​:

On Wed May 28 14​:14​:56 2008, tdsmichl@​ugs.com wrote​:

Hi,

Any help would be appreciated. I'm not sure what would be causing the
failure.

Thanks,
Steve

src​: ActiveState 5.8.8.820
uname​: Darwin cimac005 9.1.0 Darwin Kernel Version 9.1.0​: Wed Oct 31
17​:46​:22 PDT 2007; root​:xnu-1228.0.2~1/RELEASE_I386 i386

+ sh /plm/cinas/chucktestshare2/perl.d/tgz/AP820_source/Configure
-Dmksymlinks -Uloclibpth -Duselargefiles -Uinstallusrbinperl
-Ud_sigsetjmp -Dusethreads -Duseithreads -Ulocincpth -Uversion
-Dprefix=/plm/cinas/chucktestshare2/perl.d/pub/macos
-Dbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dscriptbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitebin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitescriptbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitelib=/plm/cinas/chucktestshare2/perl.d/pub/macos/site/lib
-Dsitearch=/plm/cinas/chucktestshare2/perl.d/pub/macos/site/lib
-Darchlib=/plm/cinas/chucktestshare2/perl.d/pub/macos/lib
-Dprivlib=/plm/cinas/chucktestshare2/perl.d/pub/macos/lib
-Darchname=macos -DINST_VER -DUSE_SITECUST -DMULTI -DUSE_ITHREADS
-DIMP_SYS -DUSE_PERLIO -DUSE_LARGE_FILES -DCRYPT_SRC -DNO_HASH_SEED
-DPERL_DARWIN -Dusemultiplicity -Duseperlio -Dcc=/usr/bin/cc

---------------

[ . . . snip . . . ]
echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist
Updating GNUmakefile...
Now you must run 'make'.

If you compile perl5 on a different machine or from a different object
directory, copy the Policy.sh file from this object directory to the
new one before you run Configure -- this will help you with most of
the policy defaults.

---------------

1;;cimac005;tdsmichl;;;;;
/plm/cinas/chucktestshare2/perl.d/build_perl/macos> make
make
+ make
[ . . . snip . . . ]
touch uni.data
sh writemain DynaLoader.o > perlmain.c
`sh cflags "optimize='-O3'" perlmain.o` perlmain.c
CCCMD = /usr/bin/cc -DPERL_CORE -c -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-O3 -Wall

    Making DynaLoader \(static\)

&Config​::AUTOLOAD failed on Config​::launcher at ../../lib/Config.pm line 72.
Compilation failed in require at ../../lib/ExtUtils/MakeMaker.pm line 7.
BEGIN failed--compilation aborted at ../../lib/ExtUtils/MakeMaker.pm line 7.
Compilation failed in require at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
Warning​: No Makefile!
make[1]​: *** No rule to make target `config'. Stop.
make config failed, continuing anyway...
make[1]​: *** No rule to make target `all'. Stop.
make​: *** [DynaLoader.o] Error 2

Can you please give us the output from the myconfig shell script that is in your build
directory? This will give us a little more complete picture of your environment.

Thanks!

@p5pRT
Copy link
Author

p5pRT commented May 29, 2008

From @doughera88

On Thu, 29 May 2008, Steve Michel wrote​:

src​: ActiveState 5.8.8.820
uname​: Darwin cimac005 9.1.0 Darwin Kernel Version 9.1.0​: Wed Oct 31
17​:46​:22 PDT 2007; root​:xnu-1228.0.2~1/RELEASE_I386 i386

    Making DynaLoader \(static\)

&Config​::AUTOLOAD failed on Config​::launcher at ../../lib/Config.pm line
72.
Compilation failed in require at ../../lib/ExtUtils/MakeMaker.pm line 7.
BEGIN failed--compilation aborted at ../../lib/ExtUtils/MakeMaker.pm line
7.
Compilation failed in require at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.

Usually, this sort of thing happens when there's been a problem building
lib/Config_heavy.pl.

If you look earlier in the build logs (if you have them), you should see
the following commands​:

  ./miniperl -w -Ilib -MExporter -e '<?>' || make minitest
  ./miniperl -Ilib configpm
  written lib/Config.pod
  updated lib/Config.pm
  updated lib/Config_heavy.pl

Were there any errors reported during that process?

Was the file lib/Config_heavy.pl created? The tail end of that file is
something like

  # Called by the real AUTOLOAD
  sub launcher {
  undef &AUTOLOAD;
  goto \&$Config​::AUTOLOAD;
  }

Sometimes, it appears that the file lib/Config_heavy.pl gets truncated
(perhaps because the disk is full or perhaps for some other odd reason
we've never figured out).

You are using an ActiveState source distribution. Last time I looked,
that had some changes related to Config_heavy.pl included, though I
don't recall any details. I wouldn't think they would be a problem, but
if this doesn't turn out to be something simple, you might want to try
with an unpatched version. (See pod/perlhack.pod for how to get the
current source.)

--
  Andy Dougherty doughera@​lafayette.edu

@p5pRT
Copy link
Author

p5pRT commented May 29, 2008

From @doughera88

On Thu, 29 May 2008, Steve Michel wrote​:

sh /plm/cinas/chucktestshare2/perl.d/tgz/AP820_source/Configure
-Dmksymlinks -Uloclibpth -Duselargefiles -Uinstallusrbinperl -Ud_sigsetjmp
-Dusethreads -Duseithreads -Ulocincpth -Uversion
-Dprefix=/plm/cinas/chucktestshare2/perl.d/pub/macos
-Dbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dscriptbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitebin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitescriptbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitelib=/plm/cinas/chucktestshare2/perl.d/pub/macos/site/lib
-Dsitearch=/plm/cinas/chucktestshare2/perl.d/pub/macos/site/lib
-Darchlib=/plm/cinas/chucktestshare2/perl.d/pub/macos/lib
-Dprivlib=/plm/cinas/chucktestshare2/perl.d/pub/macos/lib -Darchname=macos
-DINST_VER -DUSE_SITECUST -DMULTI -DUSE_ITHREADS -DIMP_SYS -DUSE_PERLIO
-DUSE_LARGE_FILES -DCRYPT_SRC -DNO_HASH_SEED -DPERL_DARWIN
-Dusemultiplicity -Duseperlio -Dcc=/usr/bin/cc

I don't think this relates to the particular problem you're having, but
I feel I ought to point out that some of those Configure arguments
are probably not doing what you want them to do.

                                   \-Uversion

This doesn't do anything. version is the perl version number, probably
5.8.8 in your case. Configure doesn't allow you to undefine it.

-DINST_VER -DUSE_SITECUST -DMULTI -DUSE_ITHREADS -DIMP_SYS -DUSE_PERLIO
-DUSE_LARGE_FILES -DCRYPT_SRC -DNO_HASH_SEED -DPERL_DARWIN

None of these do anything useful. More specifically, they are defining
Configure shell variables named 'INST_VER', 'USE_SITECUST', 'MULTI',
etc. If you actually wanted to set flags for the C compiler, see the section

  =head2 Altering Configure variables for C compiler switches etc.

in the INSTALL file.

Instead of USE_SITECUST, you should use the Configure variable instead.
See the section

  =item usesitecustomize

in the INSTALL file.

I don't know what -DMULTI is intending to do. There is no MULTI
C preprocessor symbol.

It's not necessary to add -DUSE_ITHERADS, -DUSE_PERLIO, or
-DUSE_LARGE_FILES to the ccflags; calling the correct Configure
variables (namely -Duseithreads, -Duseperlio, and -Duselargefiles) already
handles that automatically through config.h.

I don't know what -DIMP_SYS was intended to do. There is no IMP_SYS
C preprocessor symbol.

I don't know what -DCRYPT_SRC was intended to do. There is no CRYPT_SRC
C preprocessor symbol.

NO_HASH_SEED is indeed a valid preprocessor symbol; I don't know why you
want it, but you'll have to use the -Accflags trick to actually
have it do anything.

The addition of -DPERL_DARWIN to the ccflags is already handled
automatically by the hints/darwin.sh file, so you actually don't need
that either.

Anyway, there are just a few minor details to help you get Configure to
do what you actually want.

--
  Andy Dougherty doughera@​lafayette.edu

@p5pRT
Copy link
Author

p5pRT commented May 29, 2008

From @doughera88

On Thu, 29 May 2008, Steve Michel wrote​:

Hmmm.....one last tidbit & question, before I pursue alternate source...

There were no errors or warnings during the configure step.

Config_heavy doesn't get built during the 'configure' step, but instead
during the build process. The commands (and the resulting output) should
look like this​:

\./miniperl \-Ilib configpm
written lib/Config\.pod       
updated lib/Config\.pm        
updated lib/Config\_heavy\.pl

You can always try rerunning 'configpm' manually just to be sure​:

  ./miniperl -Ilib configpm

There are no disk space issues
nafiler6​:/chucktestshare2_x 125829120 48594936 77234184 39%
/plm/cinas/chucktestshare2
Filesystem 1K blocks quota limit grace files
quota limit grace
/u/tdsmichl 562772 614400 614400 14207
40960 40960 Disk quotas for group nasdev (gid 667)​: none
Disk quotas for group spider (gid 153)​: none
Disk quotas for group techdev4 (gid 666)​: none
Disk quotas for group noexport3 (gid 147)​: none

Makefile, Config.pm and Config_heavy.pl are all built completely.

-rw-r--r-- 1 tdsmichl pd 33852 May 29 12​:46 Makefile
-rw-r--r-- 1 tdsmichl pd 2874 May 29 13​:06 lib/Config.pm
-rw-r--r-- 1 tdsmichl pd 33750 May 29 13​:06 lib/Config_heavy.pl

/plm/cinas/chucktestshare2/perl.d/build_perl/macos> tail
lib/Config_heavy.pl
}
}

# Called by the real AUTOLOAD
sub launcher {
undef &AUTOLOAD;
goto \&$Config​::AUTOLOAD;
}

1;

But the end of the make step log complains about a missing Makefile ?

touch uni.data
sh writemain DynaLoader.o > perlmain.c
`sh cflags "optimize='-O3'" perlmain.o` perlmain.c

   Making DynaLoader \(static\)

*Warning​: No Makefile!*
make config failed, continuing anyway...

This is the same problem. The missing 'Makefile' is
ext/DynaLoader/Makefile. It is supposed to be built by
lib/ExtUtils/MakeMaker.pm, but MakeMaker failed at this point​:

&Config​::AUTOLOAD failed on Config​::launcher at ../../lib/Config.pm
line 72.

The Config​::launcher bit is the problem, and that's in Config_heavy.pl,
where it's supposed to be. I don't know what's going wrong here.

One other vague possibility that comes to mind is that there is some other
problem with your perl build (for example, perhaps Configure guessed wrong
about some of the functions that interact with the filesystem). One other
thing you can do is

  make minitest

This will try to test out 'miniperl'. Some of the errors you see will be
irrelevant (they will come from being unable to open various as-yet
unbuilt modules). However, if you see anything suspicious, that might
point to the problem.

Sorry I don't have any better ideas at the moment,

--
  Andy Dougherty doughera@​lafayette.edu

@p5pRT
Copy link
Author

p5pRT commented May 30, 2008

From tdsmichl@ugs.com

Thanks, I'll revisit these flags using the info you provided.

I really hadn't looked at them that closely....
I am attempting to build a macos perl 5.8.8 using guts & flags
from an old script previously used to build perl 5.0 for other platforms.

Trying to avoid any dependencies on the vendor provided perl, (ie.
/System/Library/Perl/*)
and add lots of extra modules we need, so we have a consistent perl
across all platforms.
I've already done this for several other platforms,
(wnti32, lnx64, i686, sol, aix), but they all had pre-built core perl
downloads to start with.
darwin, hpp, hpi, sgi, etc. do not, and all seem to have had various
problems building the core perl from source.
(well, darwin had one in a .dmg file, but without root, I'm unable to
extract and install it - even after converting itto .iso to get at the
pax.gz file)

Thanks again,
Steve

Andy Dougherty wrote​:

On Thu, 29 May 2008, Steve Michel wrote​:

sh /plm/cinas/chucktestshare2/perl.d/tgz/AP820_source/Configure
-Dmksymlinks -Uloclibpth -Duselargefiles -Uinstallusrbinperl -Ud_sigsetjmp
-Dusethreads -Duseithreads -Ulocincpth -Uversion
-Dprefix=/plm/cinas/chucktestshare2/perl.d/pub/macos
-Dbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dscriptbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitebin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitescriptbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitelib=/plm/cinas/chucktestshare2/perl.d/pub/macos/site/lib
-Dsitearch=/plm/cinas/chucktestshare2/perl.d/pub/macos/site/lib
-Darchlib=/plm/cinas/chucktestshare2/perl.d/pub/macos/lib
-Dprivlib=/plm/cinas/chucktestshare2/perl.d/pub/macos/lib -Darchname=macos
-DINST_VER -DUSE_SITECUST -DMULTI -DUSE_ITHREADS -DIMP_SYS -DUSE_PERLIO
-DUSE_LARGE_FILES -DCRYPT_SRC -DNO_HASH_SEED -DPERL_DARWIN
-Dusemultiplicity -Duseperlio -Dcc=/usr/bin/cc

I don't think this relates to the particular problem you're having, but
I feel I ought to point out that some of those Configure arguments
are probably not doing what you want them to do.

                                   \-Uversion

This doesn't do anything. version is the perl version number, probably
5.8.8 in your case. Configure doesn't allow you to undefine it.

-DINST_VER -DUSE_SITECUST -DMULTI -DUSE_ITHREADS -DIMP_SYS -DUSE_PERLIO
-DUSE_LARGE_FILES -DCRYPT_SRC -DNO_HASH_SEED -DPERL_DARWIN

None of these do anything useful. More specifically, they are defining
Configure shell variables named 'INST_VER', 'USE_SITECUST', 'MULTI',
etc. If you actually wanted to set flags for the C compiler, see the section

=head2 Altering Configure variables for C compiler switches etc\.

in the INSTALL file.

Instead of USE_SITECUST, you should use the Configure variable instead.
See the section

=item usesitecustomize

in the INSTALL file.

I don't know what -DMULTI is intending to do. There is no MULTI
C preprocessor symbol.

It's not necessary to add -DUSE_ITHERADS, -DUSE_PERLIO, or
-DUSE_LARGE_FILES to the ccflags; calling the correct Configure
variables (namely -Duseithreads, -Duseperlio, and -Duselargefiles) already
handles that automatically through config.h.

I don't know what -DIMP_SYS was intended to do. There is no IMP_SYS
C preprocessor symbol.

I don't know what -DCRYPT_SRC was intended to do. There is no CRYPT_SRC
C preprocessor symbol.

NO_HASH_SEED is indeed a valid preprocessor symbol; I don't know why you
want it, but you'll have to use the -Accflags trick to actually
have it do anything.

The addition of -DPERL_DARWIN to the ccflags is already handled
automatically by the hints/darwin.sh file, so you actually don't need
that either.

Anyway, there are just a few minor details to help you get Configure to
do what you actually want.

@p5pRT
Copy link
Author

p5pRT commented May 30, 2008

From tdsmichl@ugs.com

Hmmm.....one last tidbit & question, before I pursue alternate source...

There were no errors or warnings during the configure step.
There are no disk space issues
  nafiler6​:/chucktestshare2_x 125829120 48594936 77234184 39%
/plm/cinas/chucktestshare2
  Filesystem 1K blocks quota limit grace
files quota limit grace
  /u/tdsmichl 562772 614400 614400
14207 40960 40960
  Disk quotas for group nasdev (gid 667)​: none
  Disk quotas for group spider (gid 153)​: none
  Disk quotas for group techdev4 (gid 666)​: none
  Disk quotas for group noexport3 (gid 147)​: none

Makefile, Config.pm and Config_heavy.pl are all built completely.

  -rw-r--r-- 1 tdsmichl pd 33852 May 29 12​:46 Makefile
  -rw-r--r-- 1 tdsmichl pd 2874 May 29 13​:06 lib/Config.pm
  -rw-r--r-- 1 tdsmichl pd 33750 May 29 13​:06 lib/Config_heavy.pl

  /plm/cinas/chucktestshare2/perl.d/build_perl/macos> tail
  lib/Config_heavy.pl
  }
  }

  # Called by the real AUTOLOAD
  sub launcher {
  undef &AUTOLOAD;
  goto \&$Config​::AUTOLOAD;
  }

  1;

But the end of the make step log complains about a missing Makefile ?

  touch uni.data
  sh writemain DynaLoader.o > perlmain.c
  `sh cflags "optimize='-O3'" perlmain.o` perlmain.c

  Making DynaLoader (static)
  *Warning​: No Makefile!*
  make config failed, continuing anyway...

The primary Makefile above *_does _*exist -- -rw-r--r-- 1 tdsmichl pd
33852 May 29 12​:46 Makefile
but does not contain a 'config​:' rule, (it does have,
perl.valgrind.config​:, perl.third.config​:, perl.pixie.config​:,
perl.gprof.config​:)
and these are generated
  -rw-r--r-- 1 tdsmichl pd 136502 May 29 12​:46 config.h
  -rw-r--r-- 1 tdsmichl pd 27345 May 29 12​:46 config.sh
  -rwxr-xr-x 1 tdsmichl pd 2859 May 29 12​:46 myconfig*

Any ideas on this ? What Makefile is it looking for ?

Thanks,
Steve

Andy Dougherty wrote​:

On Thu, 29 May 2008, Steve Michel wrote​:

src​: ActiveState 5.8.8.820
uname​: Darwin cimac005 9.1.0 Darwin Kernel Version 9.1.0​: Wed Oct 31
17​:46​:22 PDT 2007; root​:xnu-1228.0.2~1/RELEASE_I386 i386

    Making DynaLoader \(static\)

&Config​::AUTOLOAD failed on Config​::launcher at ../../lib/Config.pm line
72.
Compilation failed in require at ../../lib/ExtUtils/MakeMaker.pm line 7.
BEGIN failed--compilation aborted at ../../lib/ExtUtils/MakeMaker.pm line
7.
Compilation failed in require at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.

Usually, this sort of thing happens when there's been a problem building
lib/Config_heavy.pl.

If you look earlier in the build logs (if you have them), you should see
the following commands​:

\./miniperl \-w \-Ilib \-MExporter \-e '\<?>' || make minitest
\./miniperl \-Ilib configpm
written lib/Config\.pod   
updated lib/Config\.pm    
updated lib/Config\_heavy\.pl

Were there any errors reported during that process?

Was the file lib/Config_heavy.pl created? The tail end of that file is
something like

\# Called by the real AUTOLOAD
sub launcher \{
undef &AUTOLOAD;
goto \\&$Config&#8203;::AUTOLOAD;
\}

Sometimes, it appears that the file lib/Config_heavy.pl gets truncated
(perhaps because the disk is full or perhaps for some other odd reason
we've never figured out).

You are using an ActiveState source distribution. Last time I looked,
that had some changes related to Config_heavy.pl included, though I
don't recall any details. I wouldn't think they would be a problem, but
if this doesn't turn out to be something simple, you might want to try
with an unpatched version. (See pod/perlhack.pod for how to get the
current source.)

@p5pRT
Copy link
Author

p5pRT commented May 30, 2008

From tdsmichl@ugs.com

Sources for perl5 found in "/plm/cinas/chucktestshare2/perl.d/tgz/AP820_source".
First let's make sure your kit is complete. Checking...
Would you like to see the instructions? [n]
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.
Creating the symbolic links...
(First creating the subdirectories...)
(Then creating the symlinks...)
Good, your tr supports [​:lower​:] and [​:upper​:] to convert case.
Using [​:upper​:] and [​:lower​:] to convert case.
3b1 cxux freebsd irix_6_0 ncr_tower posix-bc sunos_4_0 utekv
aix cygwin genix irix_6_1 netbsd powerux sunos_4_1 uts
aix_3 darwin gnu isc newsos4 qnx super-ux uwin
aix_4 dcosx gnukfreebsd isc_2 next_3 rhapsody svr4 vmesa
altos486 dec_osf gnuknetbsd linux next_3_0 sco svr5 vos
amigaos dgux greenhills lynxos next_4 sco_2_3_0 ti1500
apollo dos_djgpp hpux machten nonstopux sco_2_3_1 titanos
atheos dynix i386 machten_2 openbsd sco_2_3_2 ultrix_4
aux_3 dynixptx interix mint opus sco_2_3_3 umips
beos epix irix_4 mips os2 sco_2_3_4 unicos
bsdos esix4 irix_5 mpc os390 solaris_2 unicosmk
convexos fps irix_6 mpeix os400 stellar unisysdynix
Which of these apply, if any? [darwin]
Operating system name? [darwin]
Operating system version? [9.1.0]
Build Perl for SOCKS? [n]
Use the PerlIO abstraction layer? [y]
Build a threading Perl? [y]
Use the newer interpreter-based ithreads? [y]
Use which C compiler? [/usr/bin/cc]
Checking for GNU cc in disguise and/or its version number...
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches? [/usr/lib]
What is the file extension used for shared libraries? [dylib]
Try to use long doubles if available? [n]
Checking for optional libraries...
What libraries to use? [-ldbm -ldl -lm -lutil -lc]
What optimizer/debugger flag should be used? [-O3]
Any additional cc flags? [-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -Wdeclaration-after-statement]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)? [none]
Checking your choice of C compiler and flags for coherency...
Computing filename position in cpp output for #include directives...
<stdlib.h> found.
Checking to see how big your integers are...
Checking to see if you have long long...
Checking to see how big your long longs are...
<inttypes.h> found.
Checking to see if you have int64_t...
Checking which 64-bit integer type we could use...
We could use 'long long' for 64-bit integers.
Try to use 64-bit integers, if available? [n]
Try to use maximal 64-bit support, if available? [n]
Checking to see how big your double precision numbers are...
Checking to see if you have long double...
Checking to see how big your long doubles are...
What is your architecture name [darwin]
Threads selected.
...setting architecture name to darwin-thread.
Multiplicity selected.
...setting architecture name to darwin-thread-multi.
Perlio selected.
Installation prefix to use? (~name ok) [/plm/cinas/chucktestshare2/perl.d/pub/macos]
AFS does not seem to be running...
What installation prefix should I use for installing files? (~name ok) [/plm/cinas/chucktestshare2/perl.d/pub/macos]
Getting the current patchlevel...
Pathname where the private library files will reside? (~name ok) [/plm/cinas/chucktestshare2/perl.d/pub/macos/lib]
Where do you want to put the public architecture-dependent libraries? (~name ok)
[/plm/cinas/chucktestshare2/perl.d/pub/macos/lib]
Other username to test security of setuid scripts with? [none]
I'll assume setuid scripts are *not* secure.
Does your kernel have *secure* setuid scripts? [n]
Do you want to do setuid/setgid emulation? [n]
<malloc.h> NOT found.
Checking to see how well your C compiler groks the void type...
Good. It appears to support void to the level perl5 wants.
Checking to see how big your pointers are...
Do you wish to wrap malloc calls to protect against potential overflows? [y]
Do you wish to attempt to use the malloc that comes with perl5? [n]
Your system wants malloc to return 'void *', it would seem.
Your system uses void free(), it would seem.
Installation prefix to use for add-on modules and utilities? (~name ok) [/plm/cinas/chucktestshare2/perl.d/pub/macos]
Pathname for the site-specific library files? (~name ok) [/plm/cinas/chucktestshare2/perl.d/pub/macos/site/lib]
Pathname for the site-specific architecture-dependent library files? (~name ok)
[/plm/cinas/chucktestshare2/perl.d/pub/macos/site/lib]
Do you want to configure vendor-specific add-on directories? [n]
Colon-separated list of additional directories for perl to search? [none]
Checking out function prototypes...
Pathname where the public executables will reside? (~name ok) [/plm/cinas/chucktestshare2/perl.d/pub/macos/bin]
Install any extra modules (y or n)? [n]
Directory for the main Perl5 html pages? (~name ok) [none]
Directory for the Perl5 module html pages? (~name ok) [none]
List of earlier versions to include in @​INC? [none]
Do you want to install perl as /usr/bin/perl? [n]
Checking for GNU C Library...
Shall I use /usr/bin/nm to extract C symbols from the libraries? [y]
Where is your C library? [/usr/lib/libc.dylib]
Extracting names from the following files for later perusal​:
  /usr/lib/libc.dylib
  /usr/lib/libdbm.dylib
  /usr/lib/libdl.dylib
  /usr/lib/libm.dylib
  /usr/lib/libutil.dylib
This may take a while..................done.
<dld.h> NOT found.
dlopen() found.
Do you wish to use dynamic loading? [y]
Source file to use for dynamic loading [ext/DynaLoader/dl_dlopen.xs]
Any special flags to pass to /usr/bin/cc -c to compile shared library modules? [none]
What command should be used to create dynamic libraries? [env MACOSX_DEPLOYMENT_TARGET=10.3 cc]
Any special flags to pass to env MACOSX_DEPLOYMENT_TARGET=10.3 cc to create a dynamically loaded library?
[ -bundle -undefined dynamic_lookup]
Any special flags to pass to /usr/bin/cc to use dynamic linking? [none]
Build a shared libperl.dylib (y/n) [n]
System manual is in /usr/share/man/man1.
Where do the main Perl5 manual pages (source) go? (~name ok) [/plm/cinas/chucktestshare2/perl.d/pub/macos/man/man1]
What suffix should be used for the main Perl5 man pages? [1]
You can have filenames longer than 14 characters.
Where do the perl5 library man pages (source) go? (~name ok) [/plm/cinas/chucktestshare2/perl.d/pub/macos/man/man3]
What suffix should be used for the perl5 library man pages? [3]
Figuring out host name...
Your host name appears to be "cimac005". Right? [y]
What is your domain name? [.net.plm.eds.com]
What is your e-mail address? [tdsmichl@​cimac005.net.plm.eds.com]
Perl administrator e-mail address [tdsmichl@​cimac005.net.plm.eds.com]
Do you want to install only the version-specific parts of perl? [n]
What shall I put after the #! to start up perl ("none" to not use #!)? [/plm/cinas/chucktestshare2/perl.d/pub/macos/bin/perl]

WARNING​: Some systems limit the #! command to 32 characters.
If you experience difficulty running Perl scripts with #!, try
installing Perl in a directory with a shorter pathname.

Where do you keep publicly executable scripts? (~name ok) [/plm/cinas/chucktestshare2/perl.d/pub/macos/bin]
Pathname where the add-on public executables should be installed? (~name ok) [/plm/cinas/chucktestshare2/perl.d/pub/macos/bin]
Pathname where the site-specific html pages should be installed? (~name ok) [none]
Pathname where the site-specific library html pages should be installed? (~name ok) [none]
Pathname where the site-specific manual pages should be installed? (~name ok)
[/plm/cinas/chucktestshare2/perl.d/pub/macos/man/man1]
Pathname where the site-specific library manual pages should be installed? (~name ok)
[/plm/cinas/chucktestshare2/perl.d/pub/macos/man/man3]
Pathname where add-on public executable scripts should be installed? (~name ok)
[/plm/cinas/chucktestshare2/perl.d/pub/macos/bin]
Use the "fast stdio" if available? [y]
off_t found.
Checking to see how big your file offsets are...
fpos_t found.
Checking the size of fpos_t...
qgcvt() NOT found.
Checking how to print long doubles...
gconvert NOT found.
gcvt() found.
sprintf() found.
I'll use sprintf to convert floats into a string.
fwalk() found.
access() found.
<sys/file.h> defines the *_OK access constants.
accessx() NOT found.
aintl() NOT found.
alarm() found.
<pthread.h> found.
<sys/types.h> found.
<sys/select.h> found.
Testing to see if we should include <time.h>, <sys/time.h> or both.
We'll include <sys/time.h>.
Checking to see if your struct tm has tm_zone field...
Checking to see if your struct tm has tm_gmtoff field...
asctime_r() found.
atolf() NOT found.
atoll() found.
Checking whether your compiler can handle __attribute__((format)) ...
Checking whether your compiler can handle __attribute__((malloc)) ...
Checking whether your compiler can handle __attribute__((nonnull(1))) ...
Checking whether your compiler can handle __attribute__((noreturn)) ...
Checking whether your compiler can handle __attribute__((pure)) ...
Checking whether your compiler can handle __attribute__((unused)) ...
Checking whether your compiler can handle __attribute__((warn_unused_result)) ...
bcmp() found.
bcopy() found.
<unistd.h> found.
getpgrp() found.
You have to use getpgrp() instead of getpgrp(pid).
setpgrp() found.
You have to use setpgrp() instead of setpgrp(pid,pgrp).
bzero() found.
You have void (*signal())().
Checking whether your C compiler can cast large floats to int32.
Checking whether your C compiler can cast negative float to unsigned.
vprintf() found.
Your vsprintf() returns (char*).
chown() found.
chroot() found.
chsize() NOT found.
class() NOT found.
clearenv() NOT found.
Hmm... Looks like you have Berkeley networking support.
socketpair() found.
Checking the availability of certain socket constants...
<sys/uio.h> found.
Checking to see if your system supports struct cmsghdr...
Checking to see if your C compiler knows about "const"...
copysignl() found.
crypt() found.
<crypt.h> NOT found.
crypt_r() NOT found.
ctermid_r() found.
ctime_r() found.
cuserid() NOT found.
<limits.h> found.
<float.h> found.
DBL_DIG found.
dbmclose() NOT found.
difftime() found.
<dirent.h> found.
Your directory entries are struct dirent.
Good, your directory entry keeps length information in d_namlen.
<sys/dir.h> found.
<sys/ndir.h> NOT found.
dirfd() found.
dlerror() found.
<dlfcn.h> found.
What is the extension of dynamically loaded modules [bundle]
Checking whether your dlsym() needs a leading underscore ...
dlsym doesn't need a leading underscore.
drand48_r() NOT found.
dup2() found.
eaccess() NOT found.
endgrent() found.
<grp.h> found.
endgrent_r() NOT found.
endhostent() found.
<netdb.h> found.
endhostent_r() NOT found.
endnetent() found.
endnetent_r() NOT found.
endprotoent() found.
endprotoent_r() NOT found.
endpwent() found.
<pwd.h> found.
endpwent_r() NOT found.
endservent() found.
endservent_r() NOT found.
<sys/file.h> defines the O_* constants...
and you have the 3 argument form of open().
Using <string.h> instead of <strings.h>.
<sys/file.h> found.
We'll be including <sys/file.h>.
<fcntl.h> found.
We don't need to include <fcntl.h> if we include <sys/file.h>.
Figuring out the flag used by open() for non-blocking I/O...
Let's see what value errno gets from read() on a O_NONBLOCK file...
Checking how std your stdio is...
Checking to see what happens if we set the stdio ptr...
Increasing ptr in your stdio leaves cnt unchanged. Good.
You seem to have 'fast stdio' to directly manipulate the stdio buffers.
fchdir() found.
fchmod() found.
fchown() found.
fcntl() found.
Well, your system knows about the normal fd_set typedef...
and you have the normal fd_set macros (just as I'd expect).
fgetpos() found.
finite() found.
finitel() NOT found.
flock() found.
fork() found.
fp_class() NOT found.
pathconf() found.
fpathconf() found.
fpclass() NOT found.
fpclassify() found.
fpclassl() NOT found.
Checking to see if you have fpos64_t...
frexpl() found.
<sys/param.h> found.
<sys/mount.h> found.
Checking to see if your system supports struct fs_data...
fseeko() found.
fsetpos() found.
fstatfs() found.
statvfs() found.
fstatvfs() found.
fsync() found.
ftello() found.
Checking for a working futimes()
Yes, it does
getcwd() found.
getespwnam() NOT found.
getfsstat() found.
getgrent() found.
getgrent_r() NOT found.
getgrgid_r() found.
getgrnam_r() found.
gethostbyaddr() found.
gethostbyname() found.
gethostent() found.
gethostname() found.
uname() found.
Shall I ignore gethostname() from now on? [n]
gethostbyaddr_r() NOT found.
gethostbyname_r() NOT found.
gethostent_r() NOT found.
getitimer() found.
getlogin() found.
getlogin_r() found.
getmnt() NOT found.
getmntent() NOT found.
getnetbyaddr() found.
getnetbyname() found.
getnetent() found.
getnetbyaddr_r() NOT found.
getnetbyname_r() NOT found.
getnetent_r() NOT found.
getpagesize() found.
getprotobyname() found.
getprotobynumber() found.
getprotoent() found.
getpgid() found.
getpgrp2() NOT found.
getppid() found.
getpriority() found.
getprotobyname_r() NOT found.
getprotobynumber_r() NOT found.
getprotoent_r() NOT found.
getprpwnam() NOT found.
getpwent() found.
getpwent_r() NOT found.
getpwnam_r() found.
getpwuid_r() found.
getservbyname() found.
getservbyport() found.
getservent() found.
getservbyname_r() NOT found.
getservbyport_r() NOT found.
getservent_r() NOT found.
getspnam() NOT found.
<shadow.h> NOT found.
getspnam_r() NOT found.
gettimeofday() found.
gmtime_r() found.
hasmntopt() NOT found.
<netinet/in.h> found.
<arpa/inet.h> found.
htonl() found.
ilogbl() found.
strchr() found.
inet_aton() found.
isascii() found.
isfinite() found.
isinf() found.
isnan() found.
isnanl() NOT found.
killpg() found.
lchown() found.
LDBL_DIG found.
<math.h> found.
Checking to see if your libm supports _LIB_VERSION...
No, it does not (probably harmless)

link() found.
localtime_r() found.
localeconv() found.
lockf() found.
lstat() found.
madvise() found.
malloc_size() found.
malloc_good_size() found.
mblen() found.
mbstowcs() found.
mbtowc() found.
memchr() found.
memcmp() found.
memcpy() found.
memmove() found.
memset() found.
mkdir() found.
mkdtemp() found.
mkfifo() found.
mkstemp() found.
mkstemps() found.
mktime() found.
<sys/mman.h> found.
mmap() found.
and it returns (void *).
sqrtl() found.
scalbnl() found.
modfl() found.
Your modfl() seems okay for large values.
mprotect() found.
msgctl() found.
msgget() found.
msgsnd() found.
msgrcv() found.
You have the full msg*(2) library.
Checking to see if your system supports struct msghdr...
msync() found.
munmap() found.
nice() found.
<langinfo.h> found.
nl_langinfo() found.
Checking to see how big your characters are (hey, you never know)...
What is the size of a character (in bytes)? [1]
Checking to see if your C compiler knows about "volatile"...
Choosing the C types to be used for Perl's internal types...
Checking how many bits of your UVs your NVs can preserve...
Checking whether NV 0.0 is all bits zero in memory...
0.0 is represented as all bits zero in memory
Checking to see if you have off64_t...
Checking what constant to use for creating joinable pthreads...
You seem to use PTHREAD_CREATE_JOINABLE.
pause() found.
pipe() found.
poll() found.
*** WHOA THERE!!! ***
  The recommended value for $d_poll on this machine was "undef"!
  Keep the recommended value? [y]
readlink() found.
pthread_atfork found.
pthread_attr_setscope() found.
sched_yield() found.
pthread_yield() NOT found.
random_r() NOT found.
readdir() found.
seekdir() found.
telldir() found.
rewinddir() found.
readdir64_r() NOT found.
readdir_r() found.
readv() found.
recvmsg() found.
rename() found.
rmdir() found.
<memory.h> found.
Checking if your memcmp() can compare relative magnitude...
select() found.
semctl() found.
semget() found.
semop() found.
You have the full sem*(2) library.
You have union semun in <sys/sem.h>.
You can use union semun for semctl IPC_STAT.
You can also use struct semid_ds* for semctl IPC_STAT.
sendmsg() found.
setegid() found.
seteuid() found.
setgrent() found.
setgrent_r() NOT found.
sethostent() found.
sethostent_r() NOT found.
setitimer() found.
setlinebuf() found.
setlocale() found.
<locale.h> found.
setlocale_r() NOT found.
setnetent() found.
setnetent_r() NOT found.
setprotoent() found.
setpgid() found.
setpgrp2() NOT found.
setpriority() found.
setproctitle() NOT found.
setprotoent_r() NOT found.
setpwent() found.
setpwent_r() NOT found.
setregid() found.
*** WHOA THERE!!! ***
  The recommended value for $d_setregid on this machine was "undef"!
  Keep the recommended value? [y]
setresgid() NOT found.
setreuid() found.
*** WHOA THERE!!! ***
  The recommended value for $d_setreuid on this machine was "undef"!
  Keep the recommended value? [y]
setresuid() NOT found.
setrgid() found.
*** WHOA THERE!!! ***
  The recommended value for $d_setrgid on this machine was "undef"!
  Keep the recommended value? [y]
setruid() found.
*** WHOA THERE!!! ***
  The recommended value for $d_setruid on this machine was "undef"!
  Keep the recommended value? [y]
setservent() found.
setservent_r() NOT found.
setsid() found.
setvbuf() found.
<sfio.h> NOT found.
shmctl() found.
shmget() found.
shmat() found.
and it returns (void *).
shmdt() found.
You have the full shm*(2) library.
sigaction() found.
sigprocmask() found.
sigsetjmp not found.
sockatmark() found.
socks5_init() NOT found.
Checking whether sprintf returns the length of the string...
sprintf returns the length of the string (as ANSI says it should)
srand48_r() NOT found.
srandom_r() NOT found.
<sys/stat.h> found.
Checking to see if your struct stat has st_blocks field...
<sys/vfs.h> NOT found.
<sys/statfs.h> NOT found.
Checking to see if your system supports struct statfs...
Checking to see if your struct statfs has f_flags field...
Checking how to access stdio streams by file descriptor number...
I can't figure out how to access stdio streams by file descriptor number.
strcoll() found.
Checking to see if your C compiler can copy structs...
strerror() found.
strerror_r() found.
strftime() found.
strlcat() found.
strlcpy() found.
strtod() found.
strtol() found.
strtold() found.
strtoll() found.
strtoq() found.
strtoul() found.
strtoull() found.
strtouq() found.
strxfrm() found.
symlink() found.
syscall() found.
sysconf() found.
system() found.
tcgetpgrp() found.
tcsetpgrp() found.
time() found.
time_t found.
<sys/times.h> found.
times() found.
clock_t found.
tmpnam_r() NOT found.
truncate() found.
ttyname_r() found.
tzname[] found.
(Testing for character data alignment may crash the test. That's okay.)
It seems that you must access character data in an aligned manner.
ualarm() found.
umask() found.
unordered() NOT found.
unsetenv() found.
usleep() found.
ustat() NOT found.
vfork() found.
Do you still want to use vfork()? [y]
closedir() found.
Checking whether closedir() returns a status...
wait4() found.
waitpid() found.
wcstombs() found.
wctomb() found.
writev() found.
Checking to see how your cpp does stuff like concatenate tokens...
Oh! Smells like ANSI's been here.
<db.h> found.
Checking Berkeley DB version ...
Looks OK.
Checking return type needed for hash for Berkeley DB ...
Checking return type needed for prefix for Berkeley DB ...
Looking for a random number function...
Good, found drand48().
Use which function to generate random numbers? [drand48]
Determining whether or not we are on an EBCDIC system...
Nope, no EBCDIC, probably ASCII or some ISO Latin. Or UTF-8.
Checking how to flush all pending stdio output...
Your fflush(NULL) works okay for output streams.
Let's see if it clobbers input pipes...
fflush(NULL) seems to behave okay with input streams.
Checking the size of gid_t...
Checking the sign of gid_t...
Checking how to print 64-bit integers...
Checking the format strings to be used for Perl's internal types...
Checking the format string to be used for gids...
getgroups() found.
setgroups() found.
What type pointer is the second argument to getgroups() and setgroups()? [gid_t]
Checking if your /usr/bin/make program sets $(MAKE)...
mode_t found.
<stdarg.h> found.
<varargs.h> found.
We'll include <stdarg.h> to get va_dcl definition.
It seems that you don't need va_copy().
size_t found.
What is the type for the 1st argument to gethostbyaddr? [char *]
What is the type for the 2nd argument to gethostbyaddr? [size_t]
What pager is used on your system? [/usr/bin/less]
pid_t found.
Checking how to generate random libraries on your machine...
Your select() operates on 32 bits at a time.
Generating a list of signal names and numbers...
Checking the size of size_t...
Checking to see if you have socklen_t...
<socks.h> NOT found.
I'll be using ssize_t for functions returning a byte count.
Your stdio uses signed chars.
Checking the size of uid_t...
Checking the sign of uid_t...
Checking the format string to be used for uids...
Which compiler compiler (yacc or bison -y) shall I use? [yacc]
<fp.h> NOT found.
<fp_class.h> NOT found.
<ieeefp.h> NOT found.
<libutil.h> NOT found.
<mach/cthreads.h> NOT found.
<mntent.h> NOT found.
<ndbm.h> found.
dbm_open() found.
<net/errno.h> NOT found.
<netinet/tcp.h> found.
<poll.h> found.
*** WHOA THERE!!! ***
  The recommended value for $i_poll on this machine was "undef"!
  Keep the recommended value? [y]
<prot.h> NOT found.
Guessing which symbols your C compiler and preprocessor define...
tcsetattr() found.
You have POSIX termios.h... good!
<stddef.h> found.
<sunmath.h> NOT found.
<sys/access.h> NOT found.
<sys/filio.h> found.
<sys/ioctl.h> found.
You have socket ioctls defined in <sys/sockio.h>.
<syslog.h> found.
<sys/mode.h> NOT found.
<sys/resource.h> found.
<sys/security.h> NOT found.
<sys/statvfs.h> found.
<sys/un.h> found.
<sys/utsname.h> found.
<sys/wait.h> found.
<ustat.h> NOT found.
<utime.h> found.
<values.h> NOT found.
<vfork.h> NOT found.
<gdbm.h> NOT found.
Looking for extensions...
What extensions do you wish to load dynamically?
[B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared]
What extensions do you wish to load statically? [none]
Stripping down executable paths...
Creating config.sh...
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)
Run make depend now? [y]
sh ./makedepend MAKE=make
./makedepend​: Already running, exiting.
test -s perlmain.c && touch perlmain.c
cd x2p; make depend
sh ../makedepend MAKE=make
echo hash.c str.c util.c walk.c | tr ' ' '\n' >.clist
Finding dependencies for hash.o.
Finding dependencies for str.o.
Finding dependencies for util.o.
Finding dependencies for walk.o.
echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist
Updating GNUmakefile...
Now you must run 'make'.

If you compile perl5 on a different machine or from a different object
directory, copy the Policy.sh file from this object directory to the
new one before you run Configure -- this will help you with most of
the policy defaults.

@p5pRT
Copy link
Author

p5pRT commented May 30, 2008

From tdsmichl@ugs.com

make depend MAKEDEPEND=
sh ./makedepend MAKE=make
./makedepend​: Already running, exiting.
test -s perlmain.c && touch perlmain.c
cd x2p; make depend
sh ../makedepend MAKE=make
echo hash.c str.c util.c walk.c | tr ' ' '\n' >.clist
Finding dependencies for hash.o.
Finding dependencies for str.o.
Finding dependencies for util.o.
Finding dependencies for walk.o.
echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist
Updating GNUmakefile...
`sh cflags "optimize='-O3'" miniperlmain.o` miniperlmain.c
`sh cflags "optimize='-O3'" gv.o` gv.c
`sh cflags "optimize='-O3'" toke.o` toke.c
`sh cflags "optimize='-O3'" perly.o` perly.c
`sh cflags "optimize='-O3'" op.o` op.c
`sh cflags "optimize='-O3'" pad.o` pad.c
`sh cflags "optimize='-O3'" regcomp.o` regcomp.c
`sh cflags "optimize='-O3'" dump.o` dump.c
`sh cflags "optimize='-O3'" util.o` util.c
`sh cflags "optimize='-O3'" mg.o` mg.c
`sh cflags "optimize='-O3'" reentr.o` reentr.c
`sh cflags "optimize='-O3'" hv.o` hv.c
`sh cflags "optimize='-O3'" av.o` av.c
`sh cflags "optimize='-O3'" perl.o` perl.c
`sh cflags "optimize='-O3'" run.o` run.c
`sh cflags "optimize='-O3'" pp_hot.o` pp_hot.c
`sh cflags "optimize='-O3'" sv.o` sv.c
`sh cflags "optimize='-O3'" pp.o` pp.c
`sh cflags "optimize='-O3'" scope.o` scope.c
`sh cflags "optimize='-O3'" pp_ctl.o` pp_ctl.c
`sh cflags "optimize='-O3'" pp_sys.o` pp_sys.c
`sh cflags "optimize='-O3'" doop.o` doop.c
`sh cflags "optimize='-O3'" doio.o` doio.c
`sh cflags "optimize='-O3'" regexec.o` regexec.c
`sh cflags "optimize='-O3'" utf8.o` utf8.c
`sh cflags "optimize='-O3'" taint.o` taint.c
`sh cflags "optimize='-O3'" deb.o` deb.c
`sh cflags "optimize='-O3'" universal.o` universal.c
`sh cflags "optimize='-O3'" xsutils.o` xsutils.c
`sh cflags "optimize='-O3'" activeperl.o` activeperl.c
`sh cflags "optimize='-O3'" globals.o` globals.c
`sh cflags "optimize='-O3'" perlio.o` perlio.c
`sh cflags "optimize='-O3'" perlapi.o` perlapi.c
`sh cflags "optimize='-O3'" numeric.o` numeric.c
`sh cflags "optimize='-O3'" locale.o` locale.c
`sh cflags "optimize='-O3'" pp_pack.o` pp_pack.c
`sh cflags "optimize='-O3'" pp_sort.o` pp_sort.c
rm -f opmini.c
cp op.c opmini.c
`sh cflags "optimize='-O3'" opmini.o` -DPERL_EXTERNAL_GLOB opmini.c
/usr/bin/cc -force_flat_namespace -o miniperl \
  `echo gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o perl.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o activeperl.o globals.o perlio.o perlapi.o numeric.o locale.o pp_pack.o pp_sort.o | sed 's/ op.o / /'` \
  miniperlmain.o opmini.o -ldl -lm -lutil -lc
./miniperl -w -Ilib -MExporter -e '<?>' || make minitest
./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm
./miniperl -Ilib lib/lib_pm.PL
Extracting lib.pm (with variable substitutions)
  AutoSplitting perl library
./miniperl -Ilib -e 'use AutoSplit; \
  autosplit_lib_modules(@​ARGV)' lib/*.pm
./miniperl -Ilib -e 'use AutoSplit; \
  autosplit_lib_modules(@​ARGV)' lib/*/*.pm
make lib/re.pm
cp ext/re/re.pm lib/re.pm
./miniperl minimod.pl > lib/ExtUtils/Miniperl.pm
cd lib/unicore && ../../miniperl -I../../lib mktables -w
touch uni.data
sh writemain DynaLoader.o > perlmain.c
`sh cflags "optimize='-O3'" perlmain.o` perlmain.c

  Making DynaLoader (static)
Warning​: No Makefile!
make config failed, continuing anyway...

@p5pRT
Copy link
Author

p5pRT commented May 30, 2008

From @jimc

Andy Dougherty wrote​:

On Thu, 29 May 2008, Steve Michel wrote​:

sh /plm/cinas/chucktestshare2/perl.d/tgz/AP820_source/Configure
-Dmksymlinks -Uloclibpth -Duselargefiles -Uinstallusrbinperl -Ud_sigsetjmp
-Dusethreads -Duseithreads -Ulocincpth -Uversion
-Dprefix=/plm/cinas/chucktestshare2/perl.d/pub/macos
-Dbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dscriptbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitebin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitescriptbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
-Dsitelib=/plm/cinas/chucktestshare2/perl.d/pub/macos/site/lib
-Dsitearch=/plm/cinas/chucktestshare2/perl.d/pub/macos/site/lib
-Darchlib=/plm/cinas/chucktestshare2/perl.d/pub/macos/lib
-Dprivlib=/plm/cinas/chucktestshare2/perl.d/pub/macos/lib -Darchname=macos
-DINST_VER -DUSE_SITECUST -DMULTI -DUSE_ITHREADS -DIMP_SYS -DUSE_PERLIO
-DUSE_LARGE_FILES -DCRYPT_SRC -DNO_HASH_SEED -DPERL_DARWIN
-Dusemultiplicity -Duseperlio -Dcc=/usr/bin/cc

I don't think this relates to the particular problem you're having, but
I feel I ought to point out that some of those Configure arguments
are probably not doing what you want them to do.

This gives me an opportunity to plug an old patch from December,

http​://thread.gmane.org/gmane.comp.lang.perl.perl5.porters/54256/focus=54648

The patch illegalizes unknown Configure options, and suggests (or could
suggest)
that user wanted -Accflags=.... instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants