Hi,

On 05.07.2007, at 10:21, Jean-Marc Lasgouttes wrote:

Oliver> Dear Andreas, Yes, that solved the problem. Thank you for the
Oliver> tip.

Oliver> My LDFLAGS now reads: LDFLAGS=-framework Carbon -framework
Oliver> OpenGL -framework AGL -framework QuickTime -lz -framework
Oliver> Cocoa -liconv

Oliver> I wonder if the file INSTALL.MacOSX in the source distribution
Oliver> should sometime be changed to include the -liconv addition?

No, the test for iconv _is_ done. There has to be some error that
makes the -liconv needed. Could I get to see your config.log file
(maybe in the case without -liconv)?

JMarc

I'm really sorry but I'm not able to reproduce the bug now, but I found an old mail of mine where I described the bug:

On 20.05.2007, at 20:21, Andreas Neustifter wrote:

I found that (as mentioned in a mail called "slow when editing paragraphs with math" on 18.05.2007 on this list) that the configure step strangely enough doesn't find the libiconv when trying to configure Qt and thus the problems (if its the same problem I had.) config.log says:
configure:24304: checking for QT4_CORE
configure:24381: checking for QT4_FRONTEND
configure:24483: checking for Qt 4 library name
configure:24532: g++ -o conftest -g -Os -I/Users/astifter/qt-4.2.3// include -I/Users/astifter/qt-4.2.3//include/Qt -I/Users/astifter/ qt-4.2.3//include/QtCore -I/Users/astifter/qt-4.2.3//include/QtGui - L/Users/astifter/qt-4.2.3//lib -Wextra -Wall -framework Carbon - framework OpenGL -framework AGL -framework QuickTime -lz -framework Cocoa conftest.cpp -lc -lm -lQtCore >&5
/usr/bin/ld: Undefined symbols:
_libiconv
_libiconv_close
_libiconv_open
collect2: ld returned 1 exit status
configure:24538: $? = 1

I added -liconv to the LDPATH and it worked prefectly well, so command reads then: $> export LDFLAGS="-framework Carbon -framework OpenGL -framework AGL -framework QuickTime -lz -framework Cocoa -liconv"

Greetings, Andi

Reply via email to