Does anyone have any suggestions for this Redhat 7.1 user?
He is trying to build lyx from the SRPM and having problems.

He is using xforms-0.88-3 (I think!) with the following g++ version:

[root@elon Linux]# g++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)
[root@elon Linux]#

                        ---Kayvan

----- Forwarded message from Dr Russel Winder <[EMAIL PROTECTED]> -----

Delivered-To: [EMAIL PROTECTED]
Date: Sun, 10 Jun 2001 09:41:13 +0100
From: Dr Russel Winder <[EMAIL PROTECTED]>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.2-2 i686)
X-Accept-Language: en
To: "Kayvan A. Sylvan" <[EMAIL PROTECTED]>
Subject: Re: LyX source RPM

Kayvan,

> You need to have the xforms library and headers installed.
>
> You can take the one off my site.

My apologies for be an idiot, the README is very clear I just failed to act
accordingly.  Thanks for putting me straight very promptly.  Unfortunately, ....
I pulled the xforms source and rebuilt in and installed it.  I then tried to
rebuild lyx and got the following, seemingly more serious problem:


gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../..
-I../../boost -isystem /usr/X11R6/include -O2 -march=i386 -mcpu=i686 -c formula.C
-o formula.o
In file included from ../../src/Lsstream.h:20,
                 from formula.C:18:
/usr/include/g++-3/sstream: In method `int stringbuf::overflow (int)':
/usr/include/g++-3/sstream:194: no matching function for call to
`lyxstring::replace (size_t &, const size_t &, int &)'
../../src/support/lyxstring.h:427: candidates are: lyxstring
&lyxstring::replace (unsigned int, unsigned int, const lyxstring &)
../../src/support/lyxstring.h:431:                 lyxstring
&lyxstring::replace (unsigned int, unsigned int, const lyxstring &,
unsigned int, unsigned int)
../../src/support/lyxstring.h:435:                 lyxstring
&lyxstring::replace (unsigned int, unsigned int, const char *, unsigned
int)
../../src/support/lyxstring.h:438:                 lyxstring
&lyxstring::replace (unsigned int, unsigned int, const char *)
../../src/support/lyxstring.h:442:                 lyxstring
&lyxstring::replace (unsigned int, unsigned int, unsigned int, char)
../../src/support/lyxstring.h:445:                 lyxstring
&lyxstring::replace (char *, char *, const lyxstring &)
../../src/support/lyxstring.h:449:                 lyxstring
&lyxstring::replace (char *, char *, const char *, unsigned int)
../../src/support/lyxstring.h:452:                 lyxstring
&lyxstring::replace (char *, char *, const char *)
../../src/support/lyxstring.h:456:                 lyxstring
&lyxstring::replace (char *, char *, unsigned int, char)
../../src/support/lyxstring.h:459:                 lyxstring
&lyxstring::replace (char *, char *, char *, char *)
make[3]: *** [formula.lo] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.1.6fix2/src/mathed'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.1.6fix2/src'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.1.6fix2/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.4167 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.4167 (%build)
[root@elon Linux]#

Russel.

PS  I note that XForms is not only a toolkit library, the W3C are using the term
as well for something seemingly very different.

====================================================================
Dr Russel Winder                    Chief Technology Officer
OneEighty Software Ltd              Tel: +44 20 8680 8712
Cygnet House                        Fax: +44 20 8680 8453
12-14 Sydenham Road                 [EMAIL PROTECTED]
Croydon, Surrey CR9 2ET, UK         http://www.180sw.com
====================================================================
Under the Regulation of Investigatory Powers (RIP) Act 2000 together
with any and all Regulations in force pursuant to the Act One Eighty
Software Ltd reserves the right to monitor any or all incoming or
outgoing communications as provided for under the Act



----- End forwarded message -----

-- 
Kayvan A. Sylvan          | Proud husband of       | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)

Reply via email to