From owner-freebsd-questions Sun Mar 2 05:55:48 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA11736 for questions-outgoing; Sun, 2 Mar 1997 05:55:48 -0800 (PST) Received: from dementia.net (pitlord@onet.ziplink.net [199.232.254.23]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA11730 for ; Sun, 2 Mar 1997 05:55:42 -0800 (PST) Received: from localhost (pitlord@localhost) by dementia.net (8.8.4/8.8.4) with SMTP id IAA14737 for ; Sun, 2 Mar 1997 08:55:12 -0500 (EST) Date: Sun, 2 Mar 1997 08:55:08 -0500 (EST) From: Eric Ogren To: questions@freebsd.org Subject: Perl 5.003 and sendmail 8.8.5 not compiling Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I just posted this message yesterday, sorry for the repost, but I realized that it would probably be helpful to show some errors. My system is currently running 3.0-970124-SNAP. While trying to install majordomo on my system, it couldn't find /usr/local/bin/perl, and I noticed that the version of perl that came with FreeBSD was 4.0 or something. Of course, I went to go install perl 5.003. However, the compile died immediately with the error In file included from perl.h:611, from miniperlmain.c:10: sv.h:250: parse error before `DIR' sv.h:250: warning: no semicolon at end of struct or union sv.h:264: parse error before `}' *** Error code 1 Now, I thought this was some problem with the include files, so I sup'ed FreeBSD-Current's include files, but that didn't fix it. Then I sup'd FreeBSD-Stable's include files, which also didn't fix it. Also, I wanted to compile sendmail 8.8.5. This "DIR" bug bites me again: mci.c: In function `mci_traverse_persistent': mci.c:909: `DIR' undeclared (first use this function) mci.c:909: (Each undeclared identifier is reported only once mci.c:909: for each function it appears in.) mci.c:909: `d' undeclared (first use this function) mci.c:910: parse error before `int' mci.c:920: `ret' undeclared (first use this function) mci.c:953: warning: assignment makes pointer from integer without a cast *** Error code 1 Both of these compiles were not using the ports collection. I tried compiling perl through the ports with the same results, and sendmail from the Current sources (I sup'd the whole tree on the offchance that it MIGHT fix it, which it didn't) with also the same results. I'm stuck -- does anyone else at all have these problems?? HELP!!! -Eric