Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Aug 1998 21:18:51 -0700
From:      Ludwig Pummer <ludwigp@bigfoot.com>
To:        Greg Lehey <grog@lemis.com>, Matthew Hunt <mph@pobox.com>, junkmale@xtra.co.nz
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: receiving mail directly
Message-ID:  <199808110419.VAA01725@hub.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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808110419.VAA01725>