On Sep 27, 2009, at 11:50 PM, David Reiser wrote:

>
> 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

Thanks, that was really quick :)

I did fink self-update, fink update-all and then tried to install the  
new package. Still got the error, that means something is wrong with  
my installation?

 >fink install dbi-drivers-mysql
Information about 8149 packages read in 0 seconds.
Failed: no package found for specification 'dbi-drivers-mysql'!
[a...@mind.tln.et.ee 14:33:26 pts/ttys001 ~]$
 >fink install libdbi-drivers-mysql
Information about 8149 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-2 /sw/src/fink.build
dpkg-deb: building package `fink-buildlock-libdbi-drivers- 
mysql-0.8.3-2' in `/sw/src/fink.build/fink-buildlock-libdbi-drivers- 
mysql-0.8.3-2_2009.09.28-14.33.40_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-2_2009.09.28-14.33.40_darwin-x86_64.deb
Selecting previously deselected package fink-buildlock-libdbi-drivers- 
mysql-0.8.3-2.
(Reading database ... 31134 files and directories currently installed.)
Unpacking fink-buildlock-libdbi-drivers-mysql-0.8.3-2 (from .../fink- 
buildlock-libdbi-drivers-mysql-0.8.3-2_2009.09.28-14.33.40_darwin- 
x86_64.deb) ...
Setting up fink-buildlock-libdbi-drivers-mysql-0.8.3-2  
(2009.09.28-14.33.40) ...
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
autoreconf -fvi
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.in: tracing
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
autoreconf: configure.in: not using Libtool
autoreconf: running: /sw/bin/autoconf-2.63 --force
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
autoreconf: /sw/bin/autoconf-2.63 failed with exit status: 63
### execution of autoreconf 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-2
(Reading database ... 31135 files and directories currently installed.)
Removing fink-buildlock-libdbi-drivers-mysql-0.8.3-2 ...
Failed: phase compiling: libdbi-drivers-mysql-0.8.3-2 failed

My $PATH variable is /sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/ 
usr/local/bin:/usr/X11/bin, but I read from some thread that fink  
installer uses its own internal $PATH, so this shouldn't really matter?



------------------------------------------------------------------------------
Come build with us! The BlackBerry® 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-12, 2009. Register now!
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