Please, find attached a small bug fix for lyxclient.

So socket_libs should be separated from system_libs anyway? You know,
for lyxclient, system_libs has more stuff than socket_libs...

Please, if you think socket_libs should be separated, provide an
updated patch that

1. lyxclient only uses sockets
2. lyx uses sockets and systems

On cygwin:

scons: done reading SConscript files.
scons: Building targets ...
scons: *** [Errno 2] No such file or directory: 
'/usr/local/src/lyx/lyx-1.5.0svn/release/qt3/lyx'
scons: building terminated because of errors.

I think this is due to the fact that on Windows executables have
a .exe extension.

Please try to use env.install instead of env.fileCopy for wherever
this happens. env.install(desti, fileobject) hides .exe etc.
fileobject should be the object that returned by StaticLibrary,
Program etc.

On solaris scons uses gcc for linking, so there are tons of undefined
references:

gcc -o release/qt3/lyx -Lrelease/libs -L/opt/qt/lib -L/opt/qt/lib -L/opt/lib 
-L/usr/X11/lib -L. -llyxbase_pre -lmathed -linsets -lfrontends -lqt3 
-lcontrollers -lgraphics -lsupports -llyxbase_post -lboost_signals 
-lboost_regex -lboost_filesystem -lboost_iostreams -lAiksaurus -laspell -lqt-mt 
-lsocket -lnsl -lz
/usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/../../../libstdc++.so.6)
[...]
ld: fatal: Symbol referencing errors. No output written to release/qt3/lyx
collect2: ld returned 1 exit status
scons: *** [release/qt3/lyx] Error 1
scons: building terminated because of errors.
This is probably due to the fact that no sources are now present on the
command line but only libraries.

If Solaris will be happier with a file, give it one. I think
re-compile main.C (link main.o) should not cost anything.

There should not be many such big changes any more. I would appreciate
it if you can fix these problems.

Bo

Reply via email to