Olivier Ripoll escribió:
Putting the discussion back to the mailing-list...
--- icebna <[EMAIL PROTECTED]> a écrit :
 > olive escribió:
 > >> Someone idea ?
 > >
 > > I had the same problem. It seems that the uic and moc from the
 > qt3-devel
 > > package are used in priority. Here is how I managed to solve the
 > > problem. First delete the whole directory and recreate it from the
 > > archive. Running 'make clean' is not enough. Before running
 > configure,
 > > type the two following lines in the console:
 > >
 > > export UIC4="/usr/lib/qt4/bin/uic"
 > > export MOC4="/usr/lib/qt4/bin/moc"
 > >
 > > then you can run ./configure , it will know where to find the
 > correct
 > > moc and uic. You maight have to uninstall the qt3-devel package,
 > > although I think it should be fine with it.
 > >
 > > You will need to delete (better : move or rename) you .lyx
 > directory or
 > > you will miss the toolbars in 1.5
 > > Also, be prepare for a big jump in the past: Qt4 without theme
 > looks
 > > like motif, urghhhh ;-/

By the way, this is solved by running qt4config

 > >
 > > I hope this helps.
 > >
 > > Best regards,
 > >
 > > Olivier
 >
 > Hi Olivier :
 >
 > I make your indications, and in the configure process, give me the
 > error :
 > checking size of wchar_t... configure: error: cannot compute sizeof
 > (wchar_t), 77
 > and exit
 >
 > Someone idea

It seems that this is due to wchar.h missing on your hard drive. When i look for it ("locate wchar.h") on mine, it seems to be:
/usr/include/wchar.h
and
/usr/include/bits/wchar.h

Asking rpm for which files have provided them:
"rpm -q --whatprovides /usr/include/wchar.h"
the returned file is:
glibc-devel-2.4-8mdv2007.1
(OK, I reckon I have a mix of 2007.1 and 2007.0 on this computer).

Have you installed glibc-devel package ? It is the most basic devel package to install if you want to compile a program. If not, then I wonder if you will not have plenty of other errors later. You need to install devel packages for every library that LyX will use in order to compile it. A decent install should always have devel packages for glibc, gtk, X, qt, glib, stdc++ and a few other installed.

Best regards,

Olivier

PS: actually, wchar_t may be defined in stddef.h, provided also by glibc-devel


Yes, I have checked the packages and files wchar, and I have it, in /usr/include and /usr/include/bits, and also glibc-devel. The compilation process, detect the wchar_t file, but cannot define your sizeof.


Thanks advanced

Miguel

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to