Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Sep 1998 11:57:01 -0700 (PDT)
From:      "Eugene M. Kim" <gene@nttlabs.com>
To:        Tom Jackson <toj@gorilla.net>
Cc:        cvs-all@FreeBSD.ORG, FreeBSD Ports Mailing List <freebsd-ports@FreeBSD.ORG>
Subject:   Re: cvs commit: ports/mail/fetchmail Makefile ports/mail/fetchmail/pkg PLIST
Message-ID:  <Pine.BSF.4.02.9809191141440.10942-100000@seera.nttlabs.com>
In-Reply-To: <19980919012904.A22488@TOJ.org>

next in thread | previous in thread | raw e-mail | index | archive | help
The reason is that -lopie needs -lmd to resolve all symbols but -lmd is
not included in "configure" script. (See config.log)

The following patch (replacing patches/patch-ad) will solve the problem
(on 3.0-current platforms).  Could anybody with the commit privilege
please commit this?

------------------------------ snip snip ------------------------------
*** configure.orig	Mon Aug  3 08:45:11 1998
--- configure	Sat Sep 19 11:49:22 1998
***************
*** 2880,2886 ****
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_save_LIBS="$LIBS"
! LIBS="-lopie  $LIBS"
  cat > conftest.$ac_ext <<EOF
  #line 2886 "configure"
  #include "confdefs.h"
--- 2880,2886 ----
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    ac_save_LIBS="$LIBS"
! LIBS="-lopie -lmd $LIBS"
  cat > conftest.$ac_ext <<EOF
  #line 2886 "configure"
  #include "confdefs.h"
***************
*** 2914,2920 ****
  #define $ac_tr_lib 1
  EOF
  
!   LIBS="-lopie $LIBS"
  
  else
    echo "$ac_t""no" 1>&6
--- 2914,2920 ----
  #define $ac_tr_lib 1
  EOF
  
!   LIBS="-lopie -lmd $LIBS"
  
  else
    echo "$ac_t""no" 1>&6
***************
*** 3531,3536 ****
--- 3531,3537 ----
  s%@host_os@%$host_os%g
  s%@CC@%$CC%g
  s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
+ s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
  s%@INSTALL_DATA@%$INSTALL_DATA%g
  s%@CPP@%$CPP%g
  s%@LEX@%$LEX%g
------------------------------ snip snip ------------------------------

On Sat, 19 Sep 1998, Tom Jackson wrote:

| Date: Sat, 19 Sep 1998 01:29:04 -0500
| From: Tom Jackson <toj@gorilla.net>
| To: cvs-all@FreeBSD.ORG
| Subject: Re: cvs commit: ports/mail/fetchmail Makefile
    ports/mail/fetchmail/pkg PLIST
| 
| Since E-day I have been trying to rebuild fetchmail on my current box with
| the result:
| 
| 
| ===>  Extracting for fetchmail-4.5.5
| ...
| checking size of int... 4
| checking size of long... 4
| checking for opie.h... yes
| checking for opiegenerator in -lopie... no
| configure: cannot find libopie, which is required for OPIE support.
| *** Error code 1
| 
| Stop.
| *** Error code 1
| 
| Stop.
| *** Error code 1
| 
| Stop.
| *** Error code 1
| 
| Stop.
| 
| The library's there and ldconfig -r shows it in the hint file. By nuking
| the opie include in the makefile I get a working fetchmail.
| 
| Anyone else  ...? Ideas why?
| On Fri, Sep 18, 1998 at 05:25:08PM -0700, Tim Vanderhoek wrote:
| > hoek        1998/09/18 17:25:08 PDT
| > 
| >   Modified files:
| >     mail/fetchmail       Makefile 
| >     mail/fetchmail/pkg   PLIST 
| >   Log:
| >   Use MLINKS.
| >   
| >   Revision  Changes    Path
| >   1.68      +2 -2      ports/mail/fetchmail/Makefile
| >   1.9       +0 -1      ports/mail/fetchmail/pkg/PLIST
| 
| -- 
| Tom
| 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02.9809191141440.10942-100000>