Hello,

In a tcsh shell, with

setenv QT4DIR /usr/local/qt-4.1.4
./configure --with-frontend=qt4 --with-version-suffix=1.5.0alpha1
 
I get the message

checking size of wchar_t... configure: error: cannot compute sizeof (wchar_t),
77
See `config.log' for more details.

The log says:
configure:6941: checking size of wchar_t
configure:7260: g++ -o conftest -g -O2 -W -Wall   conftest.cc -lc -lm  >&5
configure:7263: $? = 0
configure:7265: ./conftest
ld.so.1: conftest: fatal: libstdc++.so.5: open failed: No such file or directory

libstdc++.so.5 is not found (it is all right in /usr/local/lib) so I ran
./configure LDFLAGS=-R/usr/local/lib --with-frontend=qt4
--with-version-suffix=1.5.0alpha1
to ask for inclusion of /usr/local/lib path in the executables.


Configure runs OK, but now lyx fails at the very end of compilation with:
ld: warning: file /usr/local/lib/libiconv.so: attempted multiple
inclusion of file
ld: warning: file /usr/local/lib/libstdc++.so: linked to
/usr/local/lib/./libstdc++.so: attempted multiple inclusion of file

I've compiled every release of lyx on Solaris, I've never had to 
ask explicitly for a PATH to libraries (but -lnsl and -lsocket 
when these were missing), and I get it all right, e.g. for 1.4.3:
-> dump -Lv /usr/local/bin/lyx-1.4.3-qt 

/usr/local/bin/lyx-1.4.3-qt:

  **** DYNAMIC SECTION INFORMATION ****
.dynamic:
[INDEX] Tag         Value
[1]     NEEDED          libintl.so.3
[...]
[22]    RUNPATH        
/usr/local/qt-3.3.4/lib:/usr/local/lib/.:/usr/local/lib:/usr/local/lib:
/usr/openwin/lib
[23]    RPATH          
/usr/local/qt-3.3.4/lib:/usr/local/lib/.:/usr/local/lib:/usr/local/lib:
/usr/openwin/lib


Any clue ?

-- 
Jean-Pierre


Reply via email to