From owner-freebsd-questions Tue Jul 8 11:14:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA29654 for questions-outgoing; Tue, 8 Jul 1997 11:14:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA29649 for ; Tue, 8 Jul 1997 11:14:14 -0700 (PDT) Received: from beowulf.utmb.edu (beowulf.utmb.edu [129.109.59.83]) by freefall.freebsd.org (8.8.6/8.8.5) with ESMTP id LAA06670 for ; Tue, 8 Jul 1997 11:13:37 -0700 (PDT) Received: (from bdodson@localhost) by beowulf.utmb.edu (8.8.5/8.8.5) id NAA02326; Tue, 8 Jul 1997 13:11:41 -0500 (CDT) Date: Tue, 8 Jul 1997 13:11:41 -0500 (CDT) From: "M. L. Dodson" Message-Id: <199707081811.NAA02326@beowulf.utmb.edu> To: freebsd-questions@freebsd.com, mgrommet@insolwwb.net Subject: Re: Help please with PERL X-Sun-Charset: US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk You will probably need to reinstall perl. When the port is made it goes through a configuration step where it probes various places in your file system to determine the capabilities of the OS. It likely did not find SysV IPC when it did that step, so now thinks the OS cannot do SysV IPC. Have a look at config.sh (if I remember correctly). It should indicate the state of perl's understanding of your machines' capabilities. Bud Dodson By the way, it is not necessary to use the port. Perl5.004 compiles just fine using its native configuration script. I find I have more flexibility using that, although the same flexibility may be available by doing a make config from within a port make, then editing config.sh by hand. > > I just compiled perl5.004 using the > port makefile. > > I am attempting to set up perl to use IPC > so I can take advantage of semaphores. > > Perl compiled wonderfully > but when I attempt to use a semaphore, I get back from perl: > System V IPC is not implemented on this machine at ./semexample line > 7. > > Ok... I figured i needed to enable sys V ipc type > stuff in the kernel (as mentioned by the FAQ and handbook) > so I re config'ed the kernel and still no dice... I have placed > the kernel options to make this work and reinstalled the new kernel > but I still get the same error mesg. > I am simply not sure if I have a perl misconfiguration > or a freebsd problem. > > I am sort of leaning towards a perl problem > but I need to make sure that freebsd is configured right first. > > If anyone has experience with this (on the freebsd side or on the > perl side, either way) please let me know. > I have been pouring through the faqs for both perl and freebsd > not to mention search engines and dejanews trying > to find an answer to this. > > If it is a perl problem, how can I make sure IPC gets recognized and > installed with perl? > > Thanks for your help. > > > Mike Grommet > System Admin > Internet Solutions, Inc. > -- M. L. Dodson bdodson@scms.utmb.edu 409-772-2178 FAX: 409-772-1790