Subject: courier-authlib with MySQL pkgsrc build failure
To: None <netbsd-users@netbsd.org, netbsd-help@netbsd.org>
From: None <Philip_Pereira@e-s-p.com>
List: netbsd-users
Date: 06/30/2005 12:20:23
This is a multipart message in MIME format.
--=_alternative 003E064580257030_=
Content-Type: text/plain; charset="US-ASCII"

Hi all,

Am trying to build courier-authlib with MySQL - but it seems to be failing 
when linking.

I have MySQL installed and working:
mysql-client-4.1.10a MySQL 4, a free SQL database (client)
mysql-server-4.1.10a MySQL 4, a free SQL database (server)

my /etc/mk.conf has the following entries:
PKG_OPTIONS.courier-authlib=mysql
PKG_OPTIONS.postfix=mysql

The error is as follows:

gmake[3]: Entering directory 
`/usr/pkgsrc/security/courier-authlib/work/courier-authlib-0.54/liblog'
gmake[3]: Leaving directory 
`/usr/pkgsrc/security/courier-authlib/work/courier-authlib-0.54/liblog'
gmake[2]: Leaving directory 
`/usr/pkgsrc/security/courier-authlib/work/courier-authlib-0.54/liblog'
gmake[2]: Entering directory 
`/usr/pkgsrc/security/courier-authlib/work/courier-authlib-0.54'
Linking libauthmysql.la
ld: unrecognized option '-Wl'
ld: use the --help option for usage information
gmake[2]: *** [libauthmysql.la] Error 1
gmake[2]: Leaving directory 
`/usr/pkgsrc/security/courier-authlib/work/courier-authlib-0.54'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/pkgsrc/security/courier-authlib/work/courier-authlib-0.54'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/security/courier-authlib
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/security/courier-authlib/work/.work.log
===> 
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/courier-authlib



Many thanks

Phil.

*********************************************************************
Disclaimer: The information contained in this message is for the intended addressee only and may contain confidential and/or privileged information.
Euro Systems Projects Limited 
1 Kimpton Link Busines Park
Kimpton Road
Sutton
Surrey
Telephone +44 (0)2082515100
www.e-s-p.com
--=_alternative 003E064580257030_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi all,</font>
<br>
<br><font size=2 face="sans-serif">Am trying to build courier-authlib with
MySQL - but it seems to be failing when linking.</font>
<p>
<br><font size=2 face="sans-serif">I have MySQL installed and working:</font>
<br><font size=2 face="sans-serif">mysql-client-4.1.10a MySQL 4, a free
SQL database (client)</font>
<br><font size=2 face="sans-serif">mysql-server-4.1.10a MySQL 4, a free
SQL database (server)</font>
<br>
<br><font size=2 face="sans-serif">my /etc/mk.conf has the following entries:</font>
<br><font size=2 face="sans-serif">PKG_OPTIONS.courier-authlib=mysql</font>
<br><font size=2 face="sans-serif">PKG_OPTIONS.postfix=mysql</font>
<br>
<br><font size=2 face="sans-serif">The error is as follows:</font>
<br>
<br><font size=2 face="sans-serif">gmake[3]: Entering directory `/usr/pkgsrc/security/courier-authlib/work/courier-authlib-0.54/liblog'</font>
<br><font size=2 face="sans-serif">gmake[3]: Leaving directory `/usr/pkgsrc/security/courier-authlib/work/courier-authlib-0.54/liblog'</font>
<br><font size=2 face="sans-serif">gmake[2]: Leaving directory `/usr/pkgsrc/security/courier-authlib/work/courier-authlib-0.54/liblog'</font>
<br><font size=2 face="sans-serif">gmake[2]: Entering directory `/usr/pkgsrc/security/courier-authlib/work/courier-authlib-0.54'</font>
<br><font size=2 face="sans-serif">Linking libauthmysql.la</font>
<br><font size=2 face="sans-serif">ld: unrecognized option '-Wl'</font>
<br><font size=2 face="sans-serif">ld: use the --help option for usage
information</font>
<br><font size=2 face="sans-serif">gmake[2]: *** [libauthmysql.la] Error
1</font>
<br><font size=2 face="sans-serif">gmake[2]: Leaving directory `/usr/pkgsrc/security/courier-authlib/work/courier-authlib-0.54'</font>
<br><font size=2 face="sans-serif">gmake[1]: *** [all-recursive] Error
1</font>
<br><font size=2 face="sans-serif">gmake[1]: Leaving directory `/usr/pkgsrc/security/courier-authlib/work/courier-authlib-0.54'</font>
<br><font size=2 face="sans-serif">gmake: *** [all] Error 2</font>
<br><font size=2 face="sans-serif">*** Error code 2</font>
<br>
<br><font size=2 face="sans-serif">Stop.</font>
<br><font size=2 face="sans-serif">make: stopped in /usr/pkgsrc/security/courier-authlib</font>
<br><font size=2 face="sans-serif">===&gt; </font>
<br><font size=2 face="sans-serif">===&gt; There was an error during the
``build'' phase.</font>
<br><font size=2 face="sans-serif">===&gt; Please investigate the following
for more information:</font>
<br><font size=2 face="sans-serif">===&gt; &nbsp; &nbsp; &nbsp;* log of
the build</font>
<br><font size=2 face="sans-serif">===&gt; &nbsp; &nbsp; &nbsp;* /usr/pkgsrc/security/courier-authlib/work/.work.log</font>
<br><font size=2 face="sans-serif">===&gt; </font>
<br><font size=2 face="sans-serif">*** Error code 1</font>
<br>
<br><font size=2 face="sans-serif">Stop.</font>
<br><font size=2 face="sans-serif">make: stopped in /usr/pkgsrc/security/courier-authlib</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">Many thanks</font>
<br>
<br><font size=2 face="sans-serif">Phil.</font>
--=_alternative 003E064580257030_=--<br><br>*********************************************************************<br>Disclaimer: The information contained in this message is for the intended addressee only and may contain confidential and/or privileged information.<br>Euro Systems Projects Limited <br>1 Kimpton Link Busines Park<br>Kimpton Road<br>Sutton<br>Surrey<br>Telephone +44 (0)2082515100<br>www.e-s-p.com

--=_alternative 003E064580257030_=--