Kevin Horton wrote: > An attempt to install qt4-x11-core-shlibs-4.3.2-1021 fails on 10.5 > Intel. The install phase fails with: > > mv: rename /sw/src/fink.build/root-qt4-x11-4.3.2-1021/sw/lib/qt4-x11/ > plugins/codecs to /sw/src/fink.build/root-qt4-x11-core- > shlibs-4.3.2-1021/sw/lib/qt4-x11/plugins/codecs: No such file or > directory > > I've searched earlier in the build log, but I can't find the source of > the missing directory. The whole build log is available at: > > http://www.kilohotel.com/fink/fink-build-log_qt4-x11_4.3.2-1021_2008.01.21-21.14.41
The part of your build log that shows the problem is the following > POSIX iconv auto-detection... () > c++ -c -pipe -Os -Wall -W -D__USE_WS_X11__ -I../../../mkspecs/darwin-g++ -I. > -I. -o iconv.o iconv.cpp > c++ -headerpad_max_install_names > -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib > -prebind -o iconv iconv.o > Undefined symbols: > "_libiconv_open", referenced from: > _main in iconv.o > "_libiconv_close", referenced from: > _main in iconv.o > "_libiconv", referenced from: > _main in iconv.o > ld: symbol(s) not found > collect2: ld returned 1 exit status > make: *** [iconv] Error 1 > POSIX iconv disabled. > GNU libiconv auto-detection... () > c++ -c -pipe -Os -Wall -W -D__USE_WS_X11__ -I../../../mkspecs/darwin-g++ -I. > -I. -o gnu-libiconv.o gnu-libiconv.cpp > gnu-libiconv.cpp: In function 'int main(int, char**)': > gnu-libiconv.cpp:13: error: invalid conversion from 'const char**' to 'char**' > gnu-libiconv.cpp:13: error: initializing argument 2 of 'size_t > libiconv(void*, char**, size_t*, char**, size_t*)' > make: *** [gnu-libiconv.o] Error 1 > GNU libiconv disabled. This has been observed many times, and at one time I thought I understood the mechanism, but I forgot it now. Maybe RR understands? It is clear that it comes from a mixup between Fink's and Apple's iconv stuff, but why it gives this error sometimes and not always and how to get rid of it is unclear. When it works, it gives an error for the POSIX part, but no error for the GNU part. In a successful build log I see > GNU libiconv auto-detection... () > c++ -c -pipe -Os -Wall -W -D__USE_WS_X11__ -I../../../mkspecs/darwin-g++ -I. > -I. -o gnu-libiconv.o gnu-libiconv.cpp > c++ -headerpad_max_install_names > -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib > -prebind -o gnu-libiconv gnu-libiconv.o -liconv > GNU libiconv enabled. -- Martin ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
