Date: Fri, 7 Apr 1995 17:30:05 +0200 (MET DST) From: roberto@blaise.ibp.fr (Ollivier Robert) To: taob@gate.sinica.edu.tw (Brian Tao) Cc: ports@FreeBSD.org Subject: Re: SATAN ported?? Message-ID: <199504071530.RAA08228@blaise.ibp.fr> In-Reply-To: <Pine.BSI.3.91.950406200859.14589K-100000@aries.ibms.sinica.edu.tw> from "Brian Tao" at Apr 6, 95 08:27:22 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> result of something missing in FreeBSD's/gcc's libraries, or just > something perl's Configure script hasn't been taught to handle? It is expected. FreeBSD has dlopen and friends but they're not found in libc.so. I should update the freebsd.sh (in hints/) and send it to the perl5-porters list. > *** WHOA THERE!!! *** > The recommended value for $d_dlopen on this machine was "define"! > Keep the recommended value? [y] n > > Do you wish to use dynamic loading? [n] n You should use the dynamic linking. It worked for 2.1-current a few months ago. > [...] > setregid() found. > > *** WHOA THERE!!! *** > The recommended value for $d_setregid on this machine was "undef"! > Keep the recommended value? [y] n Bad bad move. set[r][e][ug]id is brokenin 2.x as it was in 1.1.x. suidperl will not function properly. That's why I put the defaults in hints/freebsd.sh I don't know for i_unistd in 2.* as in 1.1.5 there was a conflict with the definition of vfork. I'll have to check. The modified freebsd.sh should be that : ---------------------------------------------------- # Oringal based on info from # Carl M. Fongheiser <cmf@ins.infonet.net> # Date: Thu, 28 Jul 1994 19:17:05 -0500 (CDT) # # Additional 1.1.5 defines from # Ollivier Robert <Ollivier.Robert@keltia.frmug.fr.net> # Date: Wed, 28 Sep 1994 00:37:46 +0100 (MET) # # the * case is for 1.1.* # case "$osvers" in 0.*|1.0*) usedl="$undef" ;; 2.*) d_dlopen="$define" cccdlflags='-DPIC -fpic' lddlflags='-Bshareable' d_setregid='undef' d_setreuid='undef' d_setrgid='undef' d_setruid='undef' i_unistd='undef' ;; *) d_dlopen="$define" cccdlflags='-DPIC -fpic' lddlflags='-Bshareable' malloctype='void *' groupstype='int' d_setregid='undef' d_setreuid='undef' d_setrgid='undef' d_setruid='undef' i_unistd='undef' ;; esac # Avoid telldir prototype conflict in pp_sys.c (FreeBSD uses const DIR *) pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"' ---------------------------------------------------- -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #7: Thu Mar 23 00:28:31 MET 1995
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504071530.RAA08228>