On Sep 27, 2009, at 8:42 AM, Aivo Jürgenson wrote:

> Hello.
>
> I'm trying to install libdbi-drivers-mysql 0.8.3-1 package on MacOSX  
> 10.6.1 with 64 bit fink source distribution. The compilation of the  
> package fails with the following error message.
>
> It seems that there's a confusion between /usr/bin/autoconf and /sw/ 
> bin/autoconf and the package fails to generate its configure script.  
> It also fails when I download the original 
> http://sourceforge.net/projects/libdbi/files/libdbi/libdbi-0.8.3/libdbi-0.8.3.tar.gz
>  
>  package and try to do "LIBTOOLIZE=glibtoolize ./autogen.sh" as  
> instructed in the README.osx file.
>
> Should I just remove the Apple provided /usr/bin/autoconf (and other  
> auto* tools) or is there a cleaner way to force using newer version  
> of the /sw/bin/autoconf tools? Exporting the AUTOCONF=/sw/bin/ 
> autoconf environment variable doesn't seem to do the trick.
>

It works as-is for me on 10.6 x86_64, so I'm not too sure my attempted  
fix will work. I added an autoreconf in the the compile script. Please  
try again when the mirror you use can find libdvi-drivers-mysql-0.8.3-2


> The installation itself fails with the following log:
>
[snip selfupdate output]

> $ fink install libdbi-drivers-mysql
> Information about 8147 packages read in 0 seconds.
> The following package will be installed or updated:
> libdbi-drivers-mysql
> Setting runtime build-lock...
> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-libdbi-drivers- 
> mysql-0.8.3-1 /sw/src/fink.build
> dpkg-deb: building package `fink-buildlock-libdbi-drivers- 
> mysql-0.8.3-1' in `/sw/src/fink.build/fink-buildlock-libdbi-drivers- 
> mysql-0.8.3-1_2009.09.27-15.15.21_darwin-x86_64.deb'.
> Installing build-lock package...
> /sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-libdbi- 
> drivers-mysql-0.8.3-1_2009.09.27-15.15.21_darwin-x86_64.deb
> Selecting previously deselected package fink-buildlock-libdbi- 
> drivers-mysql-0.8.3-1.
> (Reading database ... 31134 files and directories currently  
> installed.)
> Unpacking fink-buildlock-libdbi-drivers-mysql-0.8.3-1 (from .../fink- 
> buildlock-libdbi-drivers-mysql-0.8.3-1_2009.09.27-15.15.21_darwin- 
> x86_64.deb) ...
> Setting up fink-buildlock-libdbi-drivers-mysql-0.8.3-1  
> (2009.09.27-15.15.21) ...
> gzip -dc /sw/src/libdbi-drivers-0.8.3-1.tar.gz | /sw/bin/tar -xf -   
> --no-same-owner --no-same-permissions
> perl -pi -e 's,../dbd_mysql.sgml,/sw/share/sgml/dtd/docbook/4.1/ 
> docbook.dcl ../dbd_mysql.sgml,g' drivers/mysql/Makefile.am
> ./autogen.sh
> libtoolize: putting auxiliary files in `.'.
> libtoolize: copying file `./ltmain.sh'
> libtoolize: You should add the contents of the following files to  
> `aclocal.m4':
> libtoolize:   `/sw/share/aclocal/libtool.m4'
> libtoolize:   `/sw/share/aclocal/ltoptions.m4'
> libtoolize:   `/sw/share/aclocal/ltversion.m4'
> libtoolize:   `/sw/share/aclocal/ltsugar.m4'
> libtoolize:   `/sw/share/aclocal/lt~obsolete.m4'
> libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to  
> configure.in and
> libtoolize: rerunning libtoolize, to keep the correct libtool macros  
> in-tree.
> libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

the last 3 libtoolize output lines still appear

> aclocal.m4:14: error: this file was generated for autoconf 2.61.
> You have another version of autoconf.  If you want to use that,
> you should regenerate the build system entirely.

the autoreconf should fix this one.

> aclocal.m4:14: the top level
> autom4te-2.63: /sw/bin/m4 failed with exit status: 63
> autoheader: '/sw/bin/autom4te-2.63' failed with exit status: 63
>
[snip bunch of htmldir already defined complaints] I get them, doesn't  
seem to affect function of the lib. It's probably a problem in the docs.

> Using autoconf (GNU Autoconf) 2.63
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv2+: GNU GPL version 2 or later
> <http://gnu.org/licenses/old-licenses/gpl-2.0.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by David J. MacKenzie and Akim Demaille., if you have problems
> while building then set the environemnt variable AUTOCONF
> to a different autoconf version and rerun ./autogen.sh
>
> aclocal.m4:14: error: this file was generated for autoconf 2.61.
> You have another version of autoconf.  If you want to use that,
> you should regenerate the build system entirely.
> aclocal.m4:14: the top level
> autom4te-2.63: /sw/bin/m4 failed with exit status: 63
> ### execution of ./autogen.sh failed, exit code 63
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-libdbi-drivers-mysql-0.8.3-1
> (Reading database ... 31135 files and directories currently  
> installed.)
> Removing fink-buildlock-libdbi-drivers-mysql-0.8.3-1 ...
> Failed: phase compiling: libdbi-drivers-mysql-0.8.3-1 failed
>
> Before reporting any errors, please run "fink selfupdate" and
> try again.  If you continue to have issues, please check to see if the
> FAQ on fink's website solves the problem.  If not, ask on the fink- 
> users
> or fink-beginners mailing lists, with a carbon copy to the maintainer:
>
>       Dave Reiser <dbrei...@users.sourceforge.net>
>
> Note that this is preferable to emailing the maintainer directly,  
> since
> most fink package maintainers do not have access to all possible
> hardware and software configurations.
>

Dave
--
David Reiser
dbrei...@earthlink.net





------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to