Alexey Zakhlestin wrote: > iconv_* functions should be used as libiconv_* in 10.5
This should be automatic when /sw/lib/iconv.h is #included. And this is exactly the problem with the scite package: It uses /usr/include/iconv.h, but links to /sw/lib/libiconv.dylib. This is not good. I committed version 1.71-1002 that solves this problem by adding -I/sw/include explicitly when compiling the module in question. Please try. -- Martin > > On 11/27/07, William Scott <[EMAIL PROTECTED]> wrote: >> scite fails to build on 10.5 (ppc G5) with the following: >> >> gcc -I ../../scintilla/include -I ../src -I../lua/include -DNDEBUG - >> Dunix -Os -W -Wall -pedantic -Os -DGTK -DSCI_LEXER -DPIXMAP_PATH=\"/sw/ >> share/pixmaps\" -DSYSCONF_PATH=\"/sw/share/scite\" -I ../../scintilla/ >> include -I ../src -I../lua/include -c ../lua/src/lib/*.c >> g++ `` -DGTK SciTEGTK.o FilePath.o SciTEBase.o SciTEBuffers.o >> SciTEIO.o Exporters.o MultiplexExtension.o DirectorExtension.o >> SciTEProps.o Utf8_16.o ../../scintilla/bin/scintilla.a LuaExtension.o >> IFaceTable.o lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o >> llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o >> ltable.o ltests.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o >> ldblib.o liolib.o lmathlib.o ltablib.o lstrlib.o loadlib.o -o ../bin/ >> SciTE `pkg-config --libs gtk+-2.0 gthread-2.0` >> Undefined symbols: >> "_iconv_open", referenced from: >> SciTEGTK::ReadLocalisation() in SciTEGTK.o >> "_iconv_close", referenced from: >> SciTEGTK::ReadLocalisation() in SciTEGTK.o >> "_iconv", referenced from: >> SciTEGTK::ReadLocalisation() in SciTEGTK.o >> ld: symbol(s) not found >> collect2: ld returned 1 exit status >> make: *** [../bin/SciTE] Error 1 >> >> despite all of the libiconv packages installed. >> >> >> >> William G. Scott >> >> contact info: http://chemistry.ucsc.edu/~wgscott >> >> >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Fink-devel mailing list >> [email protected] >> http://news.gmane.org/gmane.os.apple.fink.devel >> > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-devel mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.devel
