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-thread 4.0-current (UNINSTALLED) #258

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

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

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#1075 (status was 'resolved')

Searchable as RT1075$

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented Jul 27, 1999

From @tobez

There is one more things that changed in 4.0 recently - the version of
the threaded C library has changed from 3 to 4. On my machine the old
library was not removed during the upgrade, and the libc_r sniffer in
hints/freebsd.sh went Microsoft way and decided there is no threaded
library at all. :-) While this is not a normal situation by any
means, the libc_r sniffer can be made more clever -- and this is
entirely my fault it was not made such before. Here is the patch
(including the previous change, against the original _58)​:

Inline Patch
--- /home/tobez/src/perl/hints/freebsd.sh	Tue Jul 20 19:17:58 1999
+++ /home/tobez/src/freebsd.sh	Tue Jul 27 20:07:14 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
@@ -164,7 +171,7 @@
 cat > UU/usethreads.cbu <<'EOCBU'
 case "$usethreads" in
 $define|true|[yY]*)
-        lc_r=`/sbin/ldconfig -r|grep ':-lc_r'|awk '{print $NF}'`
+        lc_r=`/sbin/ldconfig -r|grep ':-lc_r'|awk '{print $NF}'|tail -1`
         case "$osvers" in  
 	2.2.8*|3.*|4.*)
 	      if [ ! -r "$lc_r" ]; then


Customary :-) failure of pragma/warning is there as well.
Perl Info


Site configuration information for perl 5.00558:

Configured by tobez at Tue Jul 27 20:07:23 CEST 1999.

Summary of my perl5 (revision 5.0 version 5 subversion 58) configuration:
  Platform:
    osname=freebsd, osvers=4.0-current, archname=i386-freebsd-thread
    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='-Dusethreads -des'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define 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 ='-pthread -Wl,-E  -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib
    libs=-ldb -lm -lc_r -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-thread
    /usr/local/lib/perl5/5.00558
    /usr/local/lib/site_perl/5.00558/i386-freebsd-thread
    /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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.