I reported this to Sam. I think there is a problem
in the automake stuff that causes configure to
generate a Makefile that uses binary install rather
than script install for these files. Binary installs
run the strip command, which fails for scripts on BSD
at least, maybe Linux strip just ignores this.

The ugly ugly kludge I used was to edit
work/courier-0.45.3/courier/Makefile and remove
references to -s on install commands (leave cmp -s
alone).

After that it installs and runs fine. The commands I
used to get it installed were...

1) edit Makefile and change PORTVERSION
2) make makesum
3) make
4) edit the above mentioned file to remove -s
5) /usr/local/etc/rc.d/courier.sh stop
6) make deinstall (remove old version)
7) make install
8) /usr/local/etc/rc.d/courier.sh start

Yes some of my binaries are probably bigger than
they need to be, but eventually it will be fixed
and I will re-install.

__________________________________________________
John Saunders  --  ResMed Limited (OSA Group)
97 Waterloo Road, North Ryde NSW 2113, Australia.
Phone: +61-2-9886-5433� Email: [EMAIL PROTECTED]


> -----Original Message-----
> From: Oliver Cope [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 02, 2004 12:01 AM
> To: '[EMAIL PROTECTED]'
> Subject: Re: [courier-users] FreeBSD-port Courier forbidden
> 
> 
> On 04/01/04 03:32, John Saunders wrote:
> > Hmm, I must have fetched just before they disabled
> > it. I changed PORTVERSION to 0.45.2 in the Makefile,
> > ran "make sum" then the usual "make install" with
> > appropriate options. This works for most ports
> > provided that no additional files are installed, or
> > code changes made that doesn't compile on FreeBSD.
> > 
> I just tried this, and although it seems build OK, it fails during 
> installation with the following error message:
> 
>   STRIPPROG='strip' /bin/sh ./libtool --mode=install /bin/sh 
> /usr/ports/mail/courier-ich/work/courier-0.45.3/install-sh -c -s 
> sharedindexsplit /usr/local/sbin/sharedindexsplit
> /bin/sh 
> /usr/ports/mail/courier-ich/work/courier-0.45.3/install-sh -c -s 
> sharedindexsplit /usr/local/sbin/sharedindexsplit
> strip: /usr/local/sbin/_inst.67914_: File format not recognized
> gmake[5]: *** [install-sbinPROGRAMS] Error 1
> gmake[5]: Leaving directory 
> `/usr/ports/mail/courier-ich/work/courier-0.45.3/courier'
> gmake[4]: *** [install-am] Error 2
> gmake[4]: Leaving directory 
> `/usr/ports/mail/courier-ich/work/courier-0.45.3/courier'
> gmake[3]: *** [install-recursive] Error 1
> gmake[3]: Leaving directory 
> `/usr/ports/mail/courier-ich/work/courier-0.45.3/courier'
> gmake[2]: *** [install] Error 2
> gmake[2]: Leaving directory 
> `/usr/ports/mail/courier-ich/work/courier-0.45.3/courier'
> gmake[1]: *** [install-recursive] Error 1
> gmake[1]: Leaving directory 
> `/usr/ports/mail/courier-ich/work/courier-0.45.3'
> gmake: *** [install-strip] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/mail/courier-ich.
> *** Error code 1
> 
> I've tried this with 0.45.2 and 0.45.3.  Does anyone have any 
> ideas how 
> I can get around this?
> 
> Thanks,
> 
> Olly.
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: 
https://lists.sourceforge.net/lists/listinfo/courier-users


Warning:  Copyright ResMed.  Where the contents of this email and/or attachment 
includes materials prepared by ResMed, the use of those
materials is subject exclusively to the conditions of engagement between ResMed and 
the intended recipient.
 
This communication is confidential and may contain legally privileged information.
By the use of email over the Internet or other communication systems, ResMed is not 
waiving either confidentiality of, or legal
privilege in,the content of the email and of any attachments.
If the recipient of this message is not the intended addressee, please call ResMed 
immediately on  +61 2 9886 5000 Sydney, Australia.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to