Am Samstag, 16. Dezember 2006 20:59 schrieb Bo Peng:
> > Yes, that would be good. BTW the compile worked, but in the final link
> > command it did still use the debug version.
> 
> I will explicitly test for debug version before I try to use and test
> them. Hole on.

I still have to comment line 348 in development/scons/qt4.py. If I do that 
the linking step succeeds. Next problem:

~/lyx-1.5/build-tree-scons$ ./lyx -dbg init
Checking whether LyX is run in place... no
Unable to determine the system directory having searched
        /home/georg/lyx-1.5/share/lyx/./
Use the '-sysdir' command line parameter or set the environment variable 
LYX_DIR_14x to the LyX system directory containing the file 
`chkconfig.ltx'.

Of course I could install, but I don't want to. I usually configure for 
installation on a server where I don't have direct write permissions, 
therefore I have to install into a temp DESTDIR. Of course I can't run 
from the DESTDIR, that means that I would need to configure for different 
builds with scons, depending on whether I want to do a final install or 
just run it. That means that scons is not usable for me currently.

> That is the problem. scons tries to locate 1.33.1. I guess you can
> ignore the warning.

I see that is also tries 1.34 now, very nice. But anyway, if I install the 
1.33.1 devel packages, I get:

Checking for boost library signals, regex, filesystem, iostreams... 
Warning: Can not find an appropriate boost library in /usr/lib.
Allowed versions are  1_33_1, 1_34
Use library /usr/lib/libboost_signals-gcc-mt-1_33_1.a
Warning: Can not find an appropriate boost library in /usr/lib.
Allowed versions are  1_33_1, 1_34
Use library /usr/lib/libboost_regex-gcc-1_33_1.a
Warning: Can not find an appropriate boost library in /usr/lib.
Allowed versions are  1_33_1, 1_34
Use library /usr/lib/libboost_filesystem-gcc-1_33_1.a
Warning: Can not find an appropriate boost library in /usr/lib.
Allowed versions are  1_33_1, 1_34
Use library /usr/lib/libboost_signals-gcc-mt-1_33_1.a
Warning: Can not find an appropriate boost library in /usr/lib.
Allowed versions are  1_33_1, 1_34
Use library /usr/lib/libboost_regex-gcc-1_33_1.a
Warning: Can not find an appropriate boost library in /usr/lib.
Allowed versions are  1_33_1, 1_34
Use library /usr/lib/libboost_filesystem-gcc-1_33_1.a

This output is confusing: Does it use the found libraries, or not? (later I 
see that it does not). And IMHO the shared libraries should be preferred 
over the static ones (I have installed both).


Georg

Reply via email to