Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.85k stars 527 forks source link

make install & STDERR. #86

Closed p5pRT closed 20 years ago

p5pRT commented 24 years ago

Migrated from rt.perl.org#890 (status was 'resolved')

Searchable as RT890$

p5pRT commented 24 years ago

From @abigail

When doing a 'make install'\, I noticed a few errors from pod2man flying by. Wanting to capture those errors\, I did a

  $ make install > output 2> errors   $ more errors

I was kind of surprised to see​:

  unlink /opt/devperl/bin/perl5.00557   cp perl /opt/devperl/bin/perl5.00557   chmod 755 /opt/devperl/bin/perl5.00557   unlink /opt/devperl/bin/perl   ln /opt/devperl/bin/perl5.00557 /opt/devperl/bin/perl   unlink /opt/devperl/bin/a2p   cp x2p/a2p /opt/devperl/bin/a2p   chmod 755 /opt/devperl/bin/a2p   cp utils/c2ph /opt/devperl/bin/c2ph   chmod 755 /opt/devperl/bin/c2ph

followed by another 1100 of such lines. What are these messages doing on STDERR? This makes it a lot harder to find the real errors.

Perl Info ``` Site configuration information for perl 5.00557: Configured by abigail at Sat Jun 19 14:09:30 EDT 1999. Summary of my perl5 (revision 5.0 version 5 subversion 57) configuration: Platform: osname=linux, osvers=2.0.36, archname=i686-linux uname='linux alexandra 2.0.36 #1 mon apr 19 01:58:00 edt 1999 i686 unknown ' config_args='-Dprefix=/opt/devperl -Uinstallusrbinperl -Doptimize=-g -d' hint=recommended, useposix=true, d_sigaction=define usethreads=undef useperlio=undef d_sfio=undef use64bits=undef usemultiplicity=undef Compiler: cc='cc', optimize='-g', gccversion=2.7.2.3 cppflags='-Dbool=char -DHAS_BOOL -DDEBUGGING -I/usr/local/include' ccflags ='-Dbool=char -DHAS_BOOL -DDEBUGGING -I/usr/local/include' stdchar='char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lndbm -lgdbm -ldbm -ldb -ldl -lm -lc -lposix -lcrypt libc=/lib/libc-2.0.7.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Locally applied patches: @INC for perl 5.00557: /home/abigail/Perl /home/abigail/Sybase /opt/devperl/lib/5.00557/i686-linux /opt/devperl/lib/5.00557 /opt/devperl/lib/site_perl/5.00557/i686-linux /opt/devperl/lib/site_perl/5.00557 . Environment for perl 5.00557: HOME=/home/abigail LANG (unset) LANGUAGE (unset) LD_LIBRARY_PATH=/home/abigail/Lib:/usr/local/lib:/usr/lib:/lib LOGDIR (unset) PATH=/home/abigail/Bin:/opt/perl/bin:/usr/local/bin:/usr/local/X11/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/games PERL5LIB=/home/abigail/Perl:/home/abigail/Sybase PERLDIR=/opt/perl PERL_BADLANG (unset) SHELL=/bin/bash ```