On 5/1/13 11:03 AM, s breeser wrote:
> Trying to install fink and octave on OSX 10.6.8  with XCode 4.2.
>
> Not sure whether I have the XCode Command Line Tools installed properly,
> but fink seems to work ok.
>
> "sudo fink install octave" eventually failed as below.
>
> "fink selfupdate" reports that fink is up-to-date.
>
> Any ideas?
>
> Thanks,
> -Steve
>
>
>
> =======
> Error msg:
>
> /usr/bin/make -f Makefile.doxygen    PERL=/usr/bin/perl all
> c++ -c -pipe -D__FreeBSD__=6 -DYY_TYPEDEF_YY_SIZE_T -Dyy_size_t=int
> -Wall -W -Wno-deprecated-declarations -O2 -I../qtools -I../libmd5 -I.
> -I/sw/include -o ../objects/main.o main.cpp
> c++ -Wl,-search_paths_first -o ../bin/doxygen ../objects/main.o
>   -L../lib -L/sw/lib -ldoxygen -ldoxycfg -lqtools ../lib/libmd5.a
> -lpthread -liconv -framework CoreServices
> Undefined symbols for architecture i386:
>    "_iconv_open", referenced from:
>        _portable_iconv_open in libdoxycfg.a(portable_c.o)
>       (maybe you meant: _portable_iconv_open)
>    "_iconv", referenced from:
>    _portable_iconv in libdoxycfg.a(portable_c.o)
>       (maybe you meant: _portable_iconv_open, _portable_iconv_close ,
> _portable_iconv )
>    "_iconv_close", referenced from:
>        _portable_iconv_close in libdoxycfg.a(portable_c.o)
>       (maybe you meant: _portable_iconv_close)
> ld: symbol(s) not found for architecture i386
> collect2: ld returned 1 exit status
> make[2]: *** [../bin/doxygen] Error 1
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
> ### execution of make failed, exit code 2
> ### execution of /tmp/fink.pr59k failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-doxygen-1.8.3.1-1
> (Reading database ... 4762 files and directories currently installed.)
> Removing fink-buildlock-doxygen-1.8.3.1-1 ...
> Failed: phase compiling: doxygen-1.8.3.1-1 failed
>

<snip>

>
> Also include the following system information:
> Package manager version: 0.34.7
> Distribution version: selfupdate-rsync Wed May  1 10:21:11 2013, 10.6, i386
> Trees: local/main stable/main
> Xcode.app: 4.2
> Xcode command-line tools: 4.2
> Max. Fink build jobs:  1
>
>
>

I hesitate to suggest it, but perhaps try renaming /usr/include/iconv.h 
temporarily to something else?

sudo mv /usr/include/iconv.h /usr/include/iconv.h.moved

My 10.6 machine is offline and about a 5 hour drive (one-way) away, so I 
can't test fixes myself.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to