Re: Building 1.1.5 on Solaris 2.6 w/ gcc 2.95.2 - Problem and Fix

2000-06-09 Thread Albert Chin-A-Young
On Fri, Jun 09, 2000 at 10:30:28AM -0700, Alex Jacques wrote: > When I tried to build LyX 1.1.5 on Solaris 2.6 w/ gcc > 2.95.2 I encountered many errors such as > > /usr/openwin/include/X11/Xlib.h:3068: ANSI C++ forbids > declaration `XGrabButton' with no type > > The fix is to add the -fpermiss

Building 1.1.5 on Solaris 2.6 w/ gcc 2.95.2 - Problem and Fix

2000-06-09 Thread Alex Jacques
When I tried to build LyX 1.1.5 on Solaris 2.6 w/ gcc 2.95.2 I encountered many errors such as /usr/openwin/include/X11/Xlib.h:3068: ANSI C++ forbids declaration `XGrabButton' with no type The fix is to add the -fpermissive switch to the CXXFLAGS variable. This converts the errors to warnings. U

Compile error in LyXView.C

2000-06-09 Thread Angus Leeming
Compilation of latest CVS falls over with DEC cxx in LyXView.C cxx -ptr /tmp/lyx_cxx_repository -std strict_ansi -nocleanup -O2 -DHAVE_CONFIG_H -I. -I. -I. -I../images -I../src/cheaders -I/usr/local/include -g -MD -c LyXView.C cxx: Error: LyXView.C, line 297: no instance of overloaded function

Re: make install-strip again

2000-06-09 Thread Angus Leeming
Garst> > Here's what I would do (as in the RPM spec file): Garst> > CXXFLAGS="-O2" CFLAGS="-O2" ./configure --prefix=/usr Garst> > And then the make happens without the debug flag. Garst> I used to do that, but then it got more complicated with the Garst> no-exceptions, no-rtii flags (or