From owner-freebsd-ports Fri Apr 7 08:34:33 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id IAA09673 for ports-outgoing; Fri, 7 Apr 1995 08:34:33 -0700 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id IAA09636 for ; Fri, 7 Apr 1995 08:30:56 -0700 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.12/jtpda-5.0) with ESMTP id RAA09176 ; Fri, 7 Apr 1995 17:30:19 +0200 Received: from (roberto@localhost) by blaise.ibp.fr (8.6.12/jtpda-5.0) id RAA08228 ; Fri, 7 Apr 1995 17:30:05 +0200 From: roberto@blaise.ibp.fr (Ollivier Robert) Message-Id: <199504071530.RAA08228@blaise.ibp.fr> Subject: Re: SATAN ported?? To: taob@gate.sinica.edu.tw (Brian Tao) Date: Fri, 7 Apr 1995 17:30:05 +0200 (MET DST) Cc: ports@FreeBSD.org In-Reply-To: from "Brian Tao" at Apr 6, 95 08:27:22 pm X-Operating-System: FreeBSD 2.1.0-Development ctm#480 X-Mailer: ELM [version 2.4 PL23beta2] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 2304 Sender: ports-owner@FreeBSD.org Precedence: bulk > 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 # Date: Thu, 28 Jul 1994 19:17:05 -0500 (CDT) # # Additional 1.1.5 defines from # Ollivier Robert # 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