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

Not OK: perl 5.00558 on i386-freebsd 4.0-current (UNINSTALLED) #256

Closed
p5pRT opened this issue Jul 27, 1999 · 1 comment

Comments

@p5pRT
Copy link
Collaborator

@p5pRT p5pRT commented Jul 27, 1999

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

Searchable as RT1073$

@p5pRT

This comment has been minimized.

Copy link
Collaborator Author

@p5pRT p5pRT commented Jul 27, 1999

From @tobez

On recent versions of FreeBSD 4.0-CURRENT (it's a moving target!)
standard C library is stripped by default. This makes the current
default of usenm=true inappropriate. The easiest workaround is
presented in the patch below (and the build information at the end of
this message corresponds to the build after applying this patch; the
usual test 190 in pragma/warning still fails, as expected)​:

Inline Patch
--- /home/tobez/src/perl/hints/freebsd.sh	Tue Jul 20 19:17:58 1999
+++ /home/tobez/src/freebsd.sh	Tue Jul 27 19:54:13 1999
@@ -121,6 +121,13 @@
 	;;
 esac
 
+case "$osvers" in
+4.0*)
+	if /usr/bin/file /usr/lib/libc.so.3 | /usr/bin/grep -vq "not stripped" ; then
+	    usenm=false
+	fi
+esac
+
 cat <<'EOM' >&4
 
 Some users have reported that Configure halts when testing for
Perl Info


Site configuration information for perl 5.00558:

Configured by tobez at Tue Jul 27 18:00:03 CEST 1999.

Summary of my perl5 (revision 5.0 version 5 subversion 58) configuration:
  Platform:
    osname=freebsd, osvers=4.0-current, archname=i386-freebsd
    uname='freebsd lion.plab.ku.dk 4.0-current freebsd 4.0-current #64: wed jul 21 12:00:01 cest 1999 root@lion.plab.ku.dk:usrsrcsyscompilelion i386 '
    config_args='-des'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    use64bits=undef usemultiplicity=undef
  Compiler:
    cc='cc', optimize='-O', gccversion=egcs-2.91.66 19990314 (egcs-1.1.2 release)
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='char', d_stdstdio=undef, usevfork=true
    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 ='-Wl,-E  -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib
    libs=-ldb -lm -lc -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-DPIC -fpic', lddlflags='-shared  -L/usr/local/lib'

Locally applied patches:
    


@INC for perl 5.00558:
    lib
    /home/tobez/src/Prima
    /home/tobez/src/Prima/scripts/modules
    /usr/local/lib/perl5/5.00558/i386-freebsd
    /usr/local/lib/perl5/5.00558
    /usr/local/lib/site_perl/5.00558/i386-freebsd
    /usr/local/lib/site_perl
    .


Environment for perl 5.00558:
    HOME=/home/tobez
    LANG=ru_RU.KOI8-R
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/usr/local/site/bin:/home/tobez/bin:/home/tobez/bin/kuim:/plab/usr/home/tobez/bin:/plab/usr/local/site/bin
    PERL5LIB=/home/tobez/src/Prima:/home/tobez/src/Prima/scripts/modules
    PERL_BADLANG (unset)
    SHELL=/usr/local/bin/zsh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.