On Fri, May 12, 2006 at 12:02:44AM -0500, Bo Peng wrote: > > > >I introduced an exe_suffix. > > This is the last thing you want to do with a scons system. The copy > business is surprisingly tricky, and I get the code from the user's > guide. Please have a look at the attached patch. > > >> >On solaris scons uses gcc for linking, so there are tons of undefined > >> >references: > > > >I don't think this can be done without multiple defined references. > > So, if you add $BUILDDIR/...blah/main.C to the source of lyx, what > will happen? On my system, scons complains about duplicate targets, > but get a working lyx executable. > > Please try the attached patch for the first two problems.
Same result, both on cygwin: scons: *** Multiple ways to build the same target were specified for: release (from ['release/common/client/lyxclient.exe'] and from ['release/common/tex2lyx/tex2lyx.exe']) File "development/scons/SConscript", line 966, in ? and solaris: scons: *** Multiple ways to build the same target were specified for: release (from ['release/common/client/lyxclient'] and from ['release/common/tex2lyx/tex2lyx']) File "SConscript", line 966, in ? Using my previous patch I was able to install lyx. Everything went ok, only the man pages were not installed. -- Enrico