From owner-freebsd-questions Mon Aug 10 21:19:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA01733 for freebsd-questions-outgoing; Mon, 10 Aug 1998 21:19:30 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from inet.chipweb.ml.org (c1003518-a.plstn1.sfba.home.com [24.1.82.47]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id VAA01725 for ; Mon, 10 Aug 1998 21:19:22 -0700 (PDT) (envelope-from ludwigp@bigfoot.com) Message-Id: <199808110419.VAA01725@hub.freebsd.org> Received: (qmail 8843 invoked from network); 11 Aug 1998 04:19:00 -0000 Received: from speedy.chipweb.ml.org (172.16.1.1) by inet.chipweb.ml.org with SMTP; 11 Aug 1998 04:19:00 -0000 X-Sender: ludwigp2@mail-r X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0.2 Date: Mon, 10 Aug 1998 21:18:51 -0700 To: Greg Lehey , Matthew Hunt , junkmale@xtra.co.nz From: Ludwig Pummer Subject: Re: receiving mail directly Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <19980811123100.P20188@freebie.lemis.com> References: <19980810224137.A13045@astro.psu.edu> <199808100710.TAA24348@cyclops.xtra.co.nz> <199808100610.SAA10671@cyclops.xtra.co.nz> <19980810161319.L11095@freebie.lemis.com> <199808100710.TAA24348@cyclops.xtra.co.nz> <19980810171644.M11095@freebie.lemis.com> <199808110009.RAA25851@hub.freebsd.org> <19980810224137.A13045@astro.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12:31 PM 8/11/98 +0930, Greg Lehey wrote: >I haven't seen any problem. The other two haven't documented the >version of the port which they tried; I used the most recent one. If >there was a problem, I suspect it's gone away. I'm running 2.2.5-RELEASE, btw. I just cvsupped again (from cvsup2.freebsd.org, which i always use). # $Id: Makefile,v 1.65 1998/07/20 03:39:29 steve Exp $ make completes without a problem, but then... # make install >> Checksum OK for fetchmail-4.5.2.tar.gz. ===> Installing for fetchmail-4.5.2 Creating installation directories... /bin/sh ./mkinstalldirs /usr/local/bin /usr/local/man/man1 Installing fetchmail binary... install -c -s -o bin -g bin -m 555 ./fetchmail /usr/local/bin/fetchmail Installing fetchmail configurator... ./fetchmailconf /usr/local/bin/fetchmailconf env: python: No such file or directory *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. # So then i edit work/fetchmail-4.5.2/Makefile BTW, Line 72 seems to have the order mixed up a bit. Shouldn't INSTALL= come before INSTALL_DATA, which depends on INSTALL ? It fails because line 140 starts with ${INSTALL_SCRIPT}, which is blank (line 70). So it tries executing ./fetchmailconf (current dir is work/fetchmail-4.5.2), which starts off with "#!/usr/bin/env python", which causes the Error Code 1. So I edit the makefile, comment out line 140, and move line 72 up to line 68 (and shift current line 68 down one). Then cd back to /usr/ports/mail/fetchmail and make install again. # make install ... Installing fetchmail configurator... Installing manual page... /usr/bin/install -c -o bin -g bin -m 644 ./fetchmail.man /usr/local/man/man1/fe1 install -d -m 555 -o bin -g bin /usr/local/share/doc/fetchmail -sf fetchmail.1.gz /usr/local/man/man1/fetchmailconf.1.gz -sf: not found *** Error code 1 Stop. This appears to be happening in /usr/ports/mail/fetchmail/Makefile, line 38 ("${LN} -sf fetchmail.1.gz ${PREFIX}/man/man1/fetchmailconf.1.gz"). So I replace ${LN} with /bin/ln. # make install ... mv: rename /usr/local/bin/fetchmailconf to /usr/local/libexec/fetchmailconf.biny *** Error code 1 Stop. Ok. Fails on line 43. Probably because I commented out line 140 above, preventing there from being a /usr/local/bin/fetchmailconf. So I comment out line 43. # make install >> Checksum OK for fetchmail-4.5.2.tar.gz. ===> Installing for fetchmail-4.5.2 Creating installation directories... /bin/sh ./mkinstalldirs /usr/local/bin /usr/local/man/man1 Installing fetchmail binary... install -c -s -o bin -g bin -m 555 ./fetchmail /usr/local/bin/fetchmail Installing fetchmail configurator... Installing manual page... /usr/bin/install -c -o bin -g bin -m 644 ./fetchmail.man /usr/local/man/man1/fe1 install -d -m 555 -o bin -g bin /usr/local/share/doc/fetchmail /bin/ln -sf fetchmail.1.gz /usr/local/man/man1/fetchmailconf.1.gz cd /usr/ports/mail/fetchmail/work/fetchmail-4.5.2 && install -c -o bin -g bin -l install -c -o bin -g bin -m 555 /usr/ports/mail/fetchmail/work/fetchmailconf /un ===> Compressing manual pages for fetchmail-4.5.2 ===> Registering installation for fetchmail-4.5.2 And it works... >That's assuming that you still have problems with the latest >versions. If it's already fixed, we don't need to fix it again. I guess it hasn't been, unless cvsup2 is behind on the ports. --Ludwig Pummer ludwigp@bigfoot.com ludwigp@chipweb.ml.org ICQ UIN: 692441 http://chipweb.home.ml.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message