-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6/15/10 5:41 PM, Sheila Zuñiga wrote:
> Hi there,
> I'm having some problems installing Fink in Snow Leopard 10.6.2.

32-bit or 64-bit?

> Here is part of the log:
> ---------------------------------------------------------------------------------------------
> ...
> info.c:178: warning: format not a string literal and no format arguments
> info.c:208: warning: format not a string literal and no format arguments
> info.c: In function 'do_showinfo':
> info.c:219: warning: format not a string literal and no format arguments
> info.c: In function 'do_contents':
> info.c:255: warning: format not a string literal and no format arguments
> gcc -I/sw/include -I/sw/include  -Wall  -Wwrite-strings -Wpointer-arith
> -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align
> -Winline -Wmissing-noreturn -Wsign-compare -DHAVE_CONFIG_H -D_GNU_SOURCE
> -DLOCALEDIR=\"/sw/share/locale\"
> -I/sw/src/fink.build/dpkg-1.10.21-1228/dpkg-1.10.21/intl -I../intl
> -I/sw/src/fink.build/dpkg-1.10.21-1228/dpkg-1.10.21/include
> -I/sw/src/fink.build/dpkg-1.10.21-1228/dpkg-1.10.21
> -I/sw/src/fink.build/dpkg-1.10.21-1228/dpkg-1.10.21/dpkg-deb
> -I../include -I.. -I.
> -I/sw/src/fink.build/dpkg-1.10.21-1228/dpkg-1.10.21/optlib
> -F/System/Library/Frameworks/CoreFoundation.framework -DUSE_ZLIB -c main.c
> main.c: In function 'main':
> main.c:169: warning: format not a string literal and no format arguments
> main.c:173: warning: implicit declaration of function 'nffreeall'
> main.c:173: warning: nested extern declaration of 'nffreeall'
> gcc -L/sw/lib -L../lib -L../optlib -framework CoreFoundation  -o
> dpkg-deb  build.o  extract.o  info.o main.o -ldpkg -lopt -lz -lintl
> -liconv -lc 
> Undefined symbols:
>  "_egzerror", referenced from:
>      _internalGzip in build.o
>      _extracthalf in extract.o
>  "_egzclose", referenced from:
>      _internalGzip in build.o
>  "_egzwrite", referenced from:
>      _internalGzip in build.o
>  "_egzread", referenced from:
>      _extracthalf in extract.o
>  "_egzdopen", referenced from:
>      _internalGzip in build.o
>      _extracthalf in extract.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[2]: *** [dpkg-deb] Error 1
> make[1]: *** [all-dpkg-deb] Error 2
> make: *** [all-recursive] Error 2
> ### execution of /usr/bin/make failed, exit code 2
> phase compiling: dpkg-1.10.21-1228 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:
> 
>        Fink Core Group <fink-c...@lists.sourceforge.net
> <mailto:fink-c...@lists.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.
> 
>
> 
> ERROR: Bootstrap phase 2 failed!
> 
> ---------------------------------------------------------------------------------------------
> 
> If I do:
> $ fink -V | head -n 2
> Package manager version: 0.29.10
> Distribution version: selfupdate-point (bootstrap), 10.6, i386
> 
> I've tried to compile the package manually going to
> /sw/src/fink.build/dpkg-1.10.21-1228/dpkg-1.10.21 and then ./configure
> && make && make install but it fails with make and gives the following
> message:
> 


> ---------------------------------------------------------------------------------------------
> make  all-include all-optlib all-lib all-dpkg-deb all-split all-scripts
> all-utils all-main all-dselect all-po all-methods all-man all-doc
> make  -C "include" "all"
> make[2]: Nothing to be done for `all'.
> make  -C "optlib" "all"
> make[2]: Nothing to be done for `all'.
> make  -C "lib" "all"
> make[2]: Nothing to be done for `all'.
> make  -C "dpkg-deb" "all"
> gcc -m32 -L../lib -L../optlib -framework CoreFoundation  -o dpkg-deb
>  build.o  extract.o  info.o main.o -ldpkg -lopt -lz 
> Undefined symbols:
>  "_libintl_textdomain", referenced from:
>      _main in main.o

Not unexpected.  We have to play some tricks to get dpkg to work.

> 
> Any help? I'm completely lost.
> 
> Thanks very much for your tips.
> 
> Regards,
> 
> S.
> 
> 
> 

I don't recall having seen that error before. By any chance do you have
any third-party libraries in /usr/local/lib ?

- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwYH8YACgkQB8UpO3rKjQ8rVQCeLHNSqplQlV/7Ck5oUiNN5DkT
UPEAoI7wcse+CXdmFVuv+t1tocClSu7+
=/Hod
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to