Hi there,

I have been struggling to get fink working for a while so am finally writing in for some help.  Thanks in advance!

I have pasted the entire output from my command below.  I am guessing that noone will want to read it all - I just pasted in case it could be helpful.  The END of the message is as follows:

localcharset.c:234: warning: assignment makes pointer from integer without a cast
make[2]: *** [localcharset.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
### execution of make failed, exit code 2
Failed: compiling libiconv-1.7-6 failed

I have not been able to find anything that looks like it would address this in the FAQs.

Thanks for your help,
Claire



AND NOW A BIT MORE OF THE WHOLE MESSAGE:
 fink selfupdate-cvs
sudo /sw/bin/fink  selfupdate-cvs

I will now run the cvs command to retrieve the latest package descriptions.
The 'su' command will be used to run the cvs command as the user 'mcdevine'.
After that, the core packages will be updated right away; you should then
update the other packages using commands like 'fink update-all'.

su mcdevine -c 'cvs -z3 update -d -P'
? stamp-rel-0.5.2
? 10.2/stable/crypto/finkinfo/bundle-kde-ssl-3.1-16.info
? 10.2/stable/crypto/finkinfo/egd-0.8-3.info
? 10.2/stable/crypto/finkinfo/egd-0.8-3.patch
? 10.2/stable/crypto/finkinfo/gnupg-1.2.1-2.info
? 10.2/stable/crypto/finkinfo/gnupg-1.2.1-2.patch
? 10.2/stable/crypto/finkinfo/irssi-ssl-0.8.6-3.info
? 10.2/stable/crypto/finkinfo/kdebase3-ssl-3.1-18.info
? 10.2/stable/crypto/finkinfo/kdebase3-ssl-3.1-18.patch
? 10.2/stable/crypto/finkinfo/kdelibs3-ssl-3.1-17.info
? 10.2/stable/crypto/finkinfo/kdelibs3-ssl-3.1-17.patch
 ...



cvs server: Updating 10.2/unstable/main/finkinfo/x11-wm
cvs server: Updating 10.3
Reading package info...
WARNING: Field "sourcedirectory" occurs more than once in "/sw/fink/dists/stable/main/finkinfo/sci/r-base-1.6.2-2.info".
WARNING: Field "sourcedirectory" occurs more than once in "/sw/fink/dists/stable/main/finkinfo/sci/r-base-atlas-1.6.1-3.info".
WARNING: Field "depends" occurs more than once in "/sw/fink/dists/stable/main/finkinfo/languages/ruby-1.6.7-3.info".
WARNING: Field "source-md5" occurs more than once in "/sw/fink/dists/stable/main/finkinfo/base/base-files-1.6-1.info".
WARNING: Field "source-md5" occurs more than once in "/sw/fink/dists/stable/main/finkinfo/base/gettext-0.10.40-3.info".
Updating package index... done.
Information about 1280 packages read in 27 seconds.

The following package will be installed or updated:
 fink
curl -f -L -s -S -O http://us.dl.sourceforge.net/sourceforge/fink/fink-0.13.2.tar.gz
mkdir -p /sw/src/fink-0.13.2-1
/sw/bin/tar -xzf /sw/src/fink-0.13.2.tar.gz
./setup.sh /sw
Creating fink...
Creating pathsetup.command...
Creating FinkVersion.pm...
Creating man page...
Creating shlibs default file...
Creating postinstall script...
rm -rf /sw/src/root-fink-0.13.2-1
mkdir -p /sw/src/root-fink-0.13.2-1/sw
mkdir -p /sw/src/root-fink-0.13.2-1/DEBIAN
./install.sh /sw/src/root-fink-0.13.2-1/sw
Creating directories...
Copying files...
Done.
rm -f /sw/src/root-fink-0.13.2-1/sw/info/dir /sw/src/root-fink-0.13.2-1/sw/info/dir.old /sw/src/root-fink-0.13.2-1/sw/share/info/dir /sw/src/root-fink-0.13.2-1/sw/share/info/dir.old
rm -rf fink-0.13.2-1
Writing control file...
Writing package script postinst...
dpkg-deb -b root-fink-0.13.2-1 /sw/fink/dists/stable/main/binary-darwin-powerpc/base
dpkg-deb: building package `fink' in `/sw/fink/dists/stable/main/binary-darwin-powerpc/base/fink_0.13.2-1_darwin-powerpc.deb'.
ln -sf /sw/fink/dists/stable/main/binary-darwin-powerpc/base/fink_0.13.2-1_darwin-powerpc.deb /sw/fink/debs/
rm -rf /sw/src/root-fink-0.13.2-1
dpkg -i /sw/fink/dists/stable/main/binary-darwin-powerpc/base/fink_0.13.2-1_darwin-powerpc.deb
(Reading database ... 3767 files and directories currently installed.)
Preparing to replace fink 0.13.0-1 (using .../fink_0.13.2-1_darwin-powerpc.deb) ...
Unpacking replacement fink ...
Setting up fink (0.13.2-1) ...
Checking system... powerpc-apple-darwin6.5
This system is supported and tested.
ln -s 10.2 /sw/fink/dists
Reading package info...
WARNING: Field "sourcedirectory" occurs more than once in "/sw/fink/dists/stable/main/finkinfo/sci/r-base-1.6.2-2.info".
WARNING: Field "sourcedirectory" occurs more than once in "/sw/fink/dists/stable/main/finkinfo/sci/r-base-atlas-1.6.1-3.info".
WARNING: Field "depends" occurs more than once in "/sw/fink/dists/stable/main/finkinfo/languages/ruby-1.6.7-3.info".
WARNING: Field "source-md5" occurs more than once in "/sw/fink/dists/stable/main/finkinfo/base/base-files-1.6-1.info".
WARNING: Field "source-md5" occurs more than once in "/sw/fink/dists/stable/main/finkinfo/base/gettext-0.10.40-3.info".
Updating package index... done.

Re-executing fink to use the new version...
Reading package info...
WARNING: Field "sourcedirectory" occurs more than once in "/sw/fink/dists/stable/main/finkinfo/sci/r-base-1.6.2-2.info".
WARNING: Field "sourcedirectory" occurs more than once in "/sw/fink/dists/stable/main/finkinfo/sci/r-base-atlas-1.6.1-3.info".
WARNING: Field "depends" occurs more than once in "/sw/fink/dists/stable/main/finkinfo/languages/ruby-1.6.7-3.info".
WARNING: Field "source-md5" occurs more than once in "/sw/fink/dists/stable/main/finkinfo/base/base-files-1.6-1.info".
WARNING: Field "source-md5" occurs more than once in "/sw/fink/dists/stable/main/finkinfo/base/gettext-0.10.40-3.info".
Updating package index... done.
Information about 1280 packages read in 19 seconds.
....


rm -rf libiconv-1.7-6
mkdir -p /sw/src/libiconv-1.7-6
/sw/bin/tar -xzf /sw/src/libiconv-1.7.tar.gz
patch -p1 </sw/fink/dists/stable/main/finkinfo/base/libiconv-1.7-6.patch
patching file autoconf/ltmain.sh
patching file configure
patching file libcharset/autoconf/ltmain.sh
patching file libcharset/configure
./configure --prefix=/sw --mandir=/sw/share/man
creating cache ./config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler (gcc  -L/sw/lib) works... yes
checking whether the C compiler (gcc  -L/sw/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... gcc -O -E -traditional-cpp
checking whether -traditional is needed for gcc -O -traditional-cpp on this system... conftest.c:2:23: sys/types.h: No such file or directory
conftest.c:3:20: signal.h: No such file or directory
conftest.c:2:8: warning: undefining "__STDC__"
conftest.c:3:23: sys/types.h: No such file or directory
conftest.c:4:20: signal.h: No such file or directory
no
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking how to copy files... cp -p
checking how to make hard links... ln
checking whether ln -s works... yes
checking host system type... powerpc-apple-darwin6.5
checking for AIX... no
checking for minix/config.h... no
checking for POSIXized ISC... no
checking for object suffix... o
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking build system type... powerpc-apple-darwin6.5
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking how to recognise dependant libraries... file_magic Mach-O dynamically linked shared library
checking command to parse /usr/bin/nm -p output... ok
checking for dlfcn.h... no
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo...
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin6.5 dyld
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for locale.h... no
checking for stdlib.h... no
checking for mbstate_t... no
checking for iconv... no
checking for mbrtowc... no
checking for wcrtomb... no
checking for setlocale... yes
checking byte ordering... big endian
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating src/Makefile
creating man/Makefile
creating tests/Makefile
creating include/iconv.h
creating lib/config.h
configuring in libcharset
running /bin/sh ./configure  --prefix=/sw --mandir=/sw/share/man --cache-file=../config.cache --srcdir=.
loading cache ../config.cache
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... (cached) gcc -O -traditional-cpp
checking whether the C compiler (gcc -O -traditional-cpp  -L/sw/lib) works... yes
checking whether the C compiler (gcc -O -traditional-cpp  -L/sw/lib) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc -O -traditional-cpp accepts -g... yes
checking how to run the C preprocessor... (cached) gcc -O -E -traditional-cpp
checking whether gcc -O -traditional-cpp needs -traditional... (cached) no
checking for a BSD compatible install... /usr/bin/install -c
checking host system type... powerpc-apple-darwin6.5
checking for AIX... no
checking for minix/config.h... (cached) no
checking for POSIXized ISC... no
checking for object suffix... (cached) o
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking build system type... powerpc-apple-darwin6.5
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependant libraries... (cached) file_magic Mach-O dynamically linked shared library
checking command to parse /usr/bin/nm -p output... (cached) ok
checking for dlfcn.h... (cached) no
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached)  -fno-common
checking if gcc PIC flag  -fno-common works... (cached) yes
checking if gcc static flag  works... (cached) no
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached)
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin6.5 dyld
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... (cached) yes
creating libtool
checking for langinfo.h... no
checking for nl_langinfo... no
checking for nl_langinfo and CODESET... no
checking whether we are using the GNU C Library 2.1 or newer... no
checking for stddef.h... no
checking for stdlib.h... (cached) no
checking for string.h... no
checking for setlocale... (cached) yes
updating cache ../config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating config.h
make
builddir="`pwd`"; cd libcharset && make all && make install-lib libdir="$builddir/lib" includedir="$builddir/lib"
if [ ! -d include ] ; then mkdir include ; fi
cp ./include/libcharset.h.in include/libcharset.h
cd lib && make all
/bin/sh ../libtool --mode=compile gcc -O -traditional-cpp -I. -I. -I.. -I./.. -g -O2 -I/sw/include -DHAVE_CONFIG_H -DLIBDIR=\"/sw/lib\" -c ./localcharset.c
mkdir .libs
gcc -O -traditional-cpp -I. -I. -I.. -I./.. -g -O2 -I/sw/include -DHAVE_CONFIG_H -DLIBDIR=\"/sw/lib\" -c ./localcharset.c   -fno-common -DPIC -o .libs/localcharset.lo
localcharset.c:30:19: stdio.h: No such file or directory
localcharset.c:34:22: strings.h: No such file or directory
localcharset.c:50:23: locale.h: No such file or directory
localcharset.c: In function `get_charset_aliases':
localcharset.c:87: `NULL' undeclared (first use in this function)
localcharset.c:87: (Each undeclared identifier is reported only once
localcharset.c:87: for each function it appears in.)
localcharset.c:90: `FILE' undeclared (first use in this function)
localcharset.c:90: `fp' undeclared (first use in this function)
localcharset.c:97: `size_t' undeclared (first use in this function)
localcharset.c:97: parse error before "dir_len"
localcharset.c:99: `dir_len' undeclared (first use in this function)
localcharset.c:100: `base_len' undeclared (first use in this function)
localcharset.c:120: parse error before "res_size"
localcharset.c:126: `EOF' undeclared (first use in this function)
localcharset.c:143: `l1' undeclared (first use in this function)
localcharset.c:144: `l2' undeclared (first use in this function)
localcharset.c:145: `res_size' undeclared (first use in this function)
localcharset.c:148: warning: assignment makes pointer from integer without a cast
localcharset.c:153: warning: assignment makes pointer from integer without a cast
localcharset.c: In function `locale_charset':
localcharset.c:218: `NULL' undeclared (first use in this function)
localcharset.c:229: warning: assignment makes pointer from integer without a cast
localcharset.c:232: warning: assignment makes pointer from integer without a cast
localcharset.c:234: warning: assignment makes pointer from integer without a cast
make[2]: *** [localcharset.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
### execution of make failed, exit code 2
Failed: compiling libiconv-1.7-6 failed

--

**********************************

Claire Horner-Devine

Department of Biological Sciences
371 Serra Mall
Stanford University
Stanford, CA  94305-5020

(650) 724-3298
(650) 723-0589 Fax

[EMAIL PROTECTED]

-- 

**********************************

Claire Horner-Devine

Department of Biological Sciences
371 Serra Mall
Stanford University
Stanford, CA  94305-5020

(650) 724-3298
(650) 723-0589 Fax

[EMAIL PROTECTED]



Reply via email to