Re: 1.1.6pre3 RH7 compile problem
Wai-Sun Chia wrote: Hello, Just downloaded the latest lyx-1.1.6pre3 and tried to compile it on my RH7 system. This is updated frequently from Rawhide. Specifically this system is running: gcc-2.96-69 glibc-2.2-9 binutils-2.10.1.0.2-1 libsigc++-1.0.1-1 gcc-2.96 is a development version of gcc and should not be used for real work. It is very strange that RH has decided to install this version of gcc. I think it is better to uninstall gcc-2.96 and install 2.95 instead, which is the latest stable version of gcc. It also may solve your problem. We had exactly similar problems with RH. In fact, we could not compile anything, even the simplest programs. After installing an earlier version of gcc, all our problems disappeared. My configure is: ./configure --prefix=/usr --with-pspell As I thought my system's libsigc has some problems, therefore I tried: ./configure --prefix=/usr --with-pspell --without-included-libsigc But I'm getting the same problem as before... make[3]: Entering directory `/data/redhat/BUILD/lyx-1.1.6pre3/src/mathed' /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. -I../../boost -isystem /usr/X11R6/include -g -O -fno-exceptions -W -Wall -c formula.C g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. -I../../boost -isystem /usr/X11R6/include -g -O -fno-exceptions -W -Wall -c formula.C -o formula.o In file included from ../../src/Lsstream.h:17, from formula.C:19: /usr/include/g++-3/sstream: In method `int stringbuf::sync ()': /usr/include/g++-3/sstream:171: warning: comparison between signed and unsigned integer expressions In file included from formula.C:30: ../../src/minibuffer.h: At top level: ../../src/minibuffer.h:17: using directive `Object' introduced ambiguous type `_ObjectRec *' make[3]: *** [formula.lo] Error 1 make[3]: Leaving directory `/data/redhat/BUILD/lyx-1.1.6pre3/src/mathed' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/data/redhat/BUILD/lyx-1.1.6pre3/src' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/data/redhat/BUILD/lyx-1.1.6pre3/src' make: *** [all-recursive] Error 1 Any clues? -- Andre H. Juffer | Phone: +358-8-553 1683 The Biocenter and| Fax: +358-8-553-1141 the Dep. of Biochemistry | Email: [EMAIL PROTECTED] University of Oulu, Finland | WWW: http://www.biochem.oulu.fi/research.html
Re: 1.1.6pre3 RH7 compile problem
Andre Juffer [EMAIL PROTECTED] writes: | Wai-Sun Chia wrote: | | Hello, | Just downloaded the latest lyx-1.1.6pre3 and tried to compile it on my | RH7 system. This is updated frequently from Rawhide. Specifically this | system is running: | gcc-2.96-69 | glibc-2.2-9 | binutils-2.10.1.0.2-1 | libsigc++-1.0.1-1 | | | | gcc-2.96 is a development version of gcc and should not be used for | real work. FUD, gcc-2.96 works just perfect. | It is very strange that RH has decided to install this | version of gcc. I think it is better to uninstall gcc-2.96 and install | 2.95 instead, which is the latest stable version of gcc. It also may | solve your problem. We had exactly similar problems with RH. In fact, | we could not compile anything, even the simplest programs. So _your_ installation was faulty. I have had no problems with gcc-2.96 and RH7.0 | My configure is: | ./configure --prefix=/usr --with-pspell drop the --with-pspell there seems to be some issues with it. | In file included from formula.C:30: | ../../src/minibuffer.h: At top level: | ../../src/minibuffer.h:17: using directive `Object' introduced | ambiguous type `_ObjectRec *' Your XForms dist is too old. Get a newer one. (but still 0.88 or try 0.89 if you want to) Lgb
lyxdiff
Hi I've been looking for a tool that compares two .lyx-files and marks the places where they differ. Searching the net, I found a small script called "texdiff". There was no manual or anything, but I got it working. It is used as follows:texdiff new_version old_version and produces a new file: new_version.diff.tex that you can compile and look at. The differences have been marked according to different styles (bold text, with margin arrows, or withing thick brackets). This works, but first you have to convert both versions of you .lyx-files to .tex-files. This might be possible to do directly with a .lyx-file. Unfortunately, 'texdiff' uses a program called 'sed', and I don't know enough about it or the .lyx-format to make it work with a .lyx-file. If there is anybody out there that has the time and sed-skill to convert "texdiff" into "lyxdiff", I've attached the "texdiff"-files (that I found at: http://www.dis.uniroma1.it/PUB/italiano/texdiff/ ) Christian Ridderström PS. I saw something in the announcement about the Lyx file-format being changed, so maybe this should wait. Maybe it is just bad practice to let other programs/scripts mess with the .lyx-file? DS blockdiff.ed delim.ed linediff.sed margin.ed paint.ed texdiff
SIGSEGV signal caught (LyX 1.1.6pre3)
Hi, nearly at the end of the compiling process of LyX 1.1.6pre3 on a SuSE 6.2 an error message appeared: [...] make[2]: Entering directory `/opt/lyx-1.1.6pre3/lib´ ./build-listerrors . lyx: SIGSEGV signal caught Sorry, you have found a bug in LyX [...] ./buld-listerrors: line 24: 18158 Aborted $lyx --export literate $dir/examples/Literate.lyx [...] Nevertheless I started LyX from the "src"-directory and everything seems to work very well. So I don´t know if this is a considerable bug ... cu and a happy new year! Stephan -- Stephan E. Schlierf M.A. - speed2web GmbH Germany - FON: ++49 921 99 00 86 12 FAX: ++49 921 99 00 86 70 http://www.speed2web.de
Re: Last prerelease of LyX 1.1.6
On 01-Jan-2001 Herbert Voss wrote: open a new lyx-file, change in layout-document-paper for example the topmargin, save the lyx-file and have a look at it with any other editor, the new values for the margins are not saved. I tried this and it works correctly (at least here with todays cvs)! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Hacker's Quicky #313: Sour Cream -n- Onion Potato Chips Microwave Egg Roll Chocolate Milk
Re: 1.1.6pre3 RH7 compile problem
Why not try the new update to RH7.0 gcc-2.96-69?
Re: 1.1.6pre3 RH7 compile problem
"Lars Gullik Bjønnes" wrote: FUD, gcc-2.96 works just perfect. Lars, you're absolutely right. gcc-2.96 are so much better in compiling C++ stuff (although the one shipped with RH7 is pretty crappy, which I believed was 2.96-54). Your XForms dist is too old. Get a newer one. (but still 0.88 or try 0.89 if you want to) Whoa! Again, you're right on the dot! ;-) I've installed 0.89 and everything is perfect! Thanks from a loyal user!! (can't wait for the GTK beta!!) -- Wai-Sun "Squidster" Chia Unix/Web Developer Professional Services
Is there a masterthesis style for Lyx ?
Hi all there, I am quite new to LyX (using LyX 1.1.5 under SuSE Linux). I am just writing my master thesis using the "article" document style. But is it the right style for my purpose ? I found the files thesis.cls and thesis.sty somewhere in the Internet, but I couldnt get them to work. I did a copy of report.layout, renamed it to thesis.layout and replaced all "report" occurrencies with "thesis". But nothing happend. Anybody knows which style to use preferable for master thesis and how to activate it ? Please mail to [EMAIL PROTECTED], because I am not on the mailing list at the moment. Thanks a lot for your help, ROLF -- * Rolf-Armin Puin * * [EMAIL PROTECTED], [EMAIL PROTECTED] * * http://www.puin.de http://www.el-clan.de * Die kürzeste Formel um etwas zu erreichen: Tu es!
Re: 1.1.6pre3 RH7 compile problem
On Tue, 2 Jan 2001, Svante Signell wrote: Sorry, my replies should also go to the users list. Damned mailer. The xforms version in rawhide/powertools directory is still 0.88-15, where the following change has to be made to forms.h: Comment out X11/Intrinsic.h. Even though LyX now compiles, I have problems with LyX dumping core at start up. Lars, has this been solved recently? Almost anytime LyX dumps core at startup the problem has turned out to be that you have mismatched glibc and xforms libraries. RH do a good job of getting the xforms library versions wrong on their powertools cd. I'd recommend you go to ftp://ftp.sylvan.com/pub/lyx/ and see what Kyvan has there or better yet go for the xforms ftp site at: ftp://einstein.phys.uwm.edu/pub/xforms/ which appears to be down at the moment or goto ftp://ftp.cs.ruu.nl/pub/XFORMS/ and get the xforms-glibc2.1 tarball for linux. RH always seems to keep the xforms-glibc tarball instead which is incorrect. One way to help ensure xforms has a bad name isn't it: bundling the wrong library with your distro. Of course this could be some other problem but without a backtrace I can't do more than guess. BTW: Are the lyx lists archived somewhere? A lot of problems can be solved by referring to older postings. Ther was a lot of disussion about the X11 header file defining Object. http://www.mail-archive.com/lyx-users@lists.lyx.org/ http://www.mail-archive.com/lyx-devel@lists.lyx.org/ Allan. (ARRae)
xforms 0.89 (was: Re: 1.1.6pre3 RH7 compile problem)
Allan is correct. Stay the hell away from the xform RPM in RH's powertools directory. Compiling Lyx against that (xform-0.88-15) will bomb! Refer to my previous email. What I did was to build my own RPM for 0.89. Here is the .spec file for your enjoyment... For the RH newbies: 1. Copy xforms.spec to /usr/src/redhat/SPECS 2. Download ftp://ncmir.ucsd.edu/pub/xforms/linux-i386/elf/bxform-089-glibc2.1.tgz and copy it to /usr/src/redhat/SOURCES 3. cd /usr/src/redhat/SPECS; rpm -ba xforms.spec Off you go! You should get 3 RPMS in the end. Runtime, Demo, and Devel. Allan Rae wrote: and get the xforms-glibc2.1 tarball for linux. RH always seems to keep the xforms-glibc tarball instead which is incorrect. One way to help ensure xforms has a bad name isn't it: bundling the wrong library with your distro. -- Wai-Sun "Squidster" Chia Unix/Web Developer Professional Services Summary: A GUI toolkit based on Xlib for the X Window System. Name: xforms Version: 0.89 Release: 1 Group: Development/Libraries Copyright: non-commercial distributable (see Copyright) Source0: bxform-089-glibc2.1.tgz Source1: forms_sngl.ps.gz NoSource: 0 URL: http://world.std.com/~xforms/ Prefix: /usr BuildRoot: %{_tmppath}/%{name}-root Requires: /sbin/ldconfig %description XForms features a rich set of objects (like buttons, sliders, and menus) integrated into an easy and efficient object/event callback execution model, allowing for fast and easy construction of X applications. The library is extensible--new objects can easily be created and added. If you're installing xforms, you may want to also install xforms-devel, which is a near-WYSIWYG GUI builder which works with XForms. %package demos Group: Development/Libraries Summary: XForms demonstration programs. %description demos Xforms-demos includes the full source code to 50+ demonstration programs. If you plan on using XForms and you aren't an expert, you should download xforms-demos and take a look at them. %package devel Group: Development/Libraries Summary: An XForms GUI builder. %description devel Xforms-devel is a near-WYSIWYG GUI builder that can be used to design your UI and write the corresponding C code for you. If you're installing xforms, you may want to also install xforms-devel. If you want to install xforms-devel, you must also install xforms. %prep %setup -q -n xforms cp $RPM_SOURCE_DIR/forms_sngl.ps.gz . %build #make BIN_DIR=/usr/X11R6/bin \ # LIB_TOPDIR=/usr/X11R6 \ # all shlib demo make CCFLAG="-W -Wall -ansi -pedantic -pipe -O2 -fPIC -mcpu=i686 -march=i686" %install rm -rf $RPM_BUILD_ROOT install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/man/man5 install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/man/man1 install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/lib install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/bin install -m 755 -d $RPM_BUILD_ROOT/usr/include install -m 755 -d $RPM_BUILD_ROOT/usr/lib/xforms make \ BIN_DIR=$RPM_BUILD_ROOT/usr/X11R6/bin \ LIB_DIR=$RPM_BUILD_ROOT/usr/X11R6/lib \ MAN1_DIR=$RPM_BUILD_ROOT/usr/X11R6/man/man1 \ MAN5_DIR=$RPM_BUILD_ROOT/usr/X11R6/man/man5 \ HEADER_DIR=$RPM_BUILD_ROOT/usr/include \ install # fix broken symlink for man page rm $RPM_BUILD_ROOT/usr/X11R6/man/man5/forms.5 ln -s xforms.5 $RPM_BUILD_ROOT/usr/X11R6/man/man5/forms.5 install -c -m 0755 fd2ps/fd2ps $RPM_BUILD_ROOT/usr/X11R6/bin/fd2ps install -c -m 0644 fd2ps/fd2ps.1 $RPM_BUILD_ROOT/usr/X11R6/man/man1/fd2ps.1 install -c -m 755 FORMS/libforms.so.0.89 $RPM_BUILD_ROOT/usr/X11R6/lib/libforms.so.0.89 ln -sf libforms.so.0.89 $RPM_BUILD_ROOT/usr/X11R6/lib/libforms.so cp -a contrib $RPM_BUILD_ROOT/usr/lib/xforms cp -a mkconfig.h $RPM_BUILD_ROOT/usr/lib/xforms cp -a DEMOS $RPM_BUILD_ROOT/usr/lib/xforms cp -a FORMS/Readme $RPM_BUILD_ROOT/usr/lib/xforms cp -a FORMS/*.c $RPM_BUILD_ROOT/usr/lib/xforms cd $RPM_BUILD_ROOT/usr/lib/xforms rm -f *.o */*.o */*/*.o %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) /usr/X11R6/lib/libforms.so.0.89 %doc Bugs Changes Copyright Readme /usr/X11R6/man/man5/forms.5* /usr/X11R6/man/man5/xforms.5* %files demos %defattr(-,root,root) %doc /usr/lib/xforms/contrib/Readme /usr/lib/xforms/mkconfig.h /usr/lib/xforms/DEMOS %files devel %defattr(-,root,root) /usr/X11R6/lib/libforms.so /usr/X11R6/lib/libforms.a /usr/X11R6/bin/fdesign /usr/X11R6/bin/fd2ps /usr/include/forms.h /usr/lib/xforms/glcanvas.c /usr/lib/xforms/image_jpeg.c /usr/lib/xforms/image_oquant.c /usr/X11R6/man/man1/fdesign.1* /usr/X11R6/man/man1/fd2ps.1* %doc /usr/lib/xforms/Readme %doc forms_sngl.ps.gz %changelog * Wed Jan 3 2001 Wai-Sun "Squidster" Chia [EMAIL PROTECTED] - updated to version 0.89 - added in new demo C files from FORMS to devel * Thu Aug 3 2000 Than Ngo [EMAIL PROTECTED] - fix to use libXpm in XFree-4.01 (Bug #15147) - move header files, fdesign, fd2ps in devel * Wed Aug 02 2000 Than Ngo [EMAIL PROTECTED] - added ldconfig stuff to %postun (Bug #15073) - added
Re: 1.1.6pre3 RH7 compile problem
Wai-Sun Chia wrote: Hello, Just downloaded the latest lyx-1.1.6pre3 and tried to compile it on my RH7 system. This is updated frequently from Rawhide. Specifically this system is running: gcc-2.96-69 glibc-2.2-9 binutils-2.10.1.0.2-1 libsigc++-1.0.1-1 gcc-2.96 is a development version of gcc and should not be used for real work. It is very strange that RH has decided to install this version of gcc. I think it is better to uninstall gcc-2.96 and install 2.95 instead, which is the latest stable version of gcc. It also may solve your problem. We had exactly similar problems with RH. In fact, we could not compile anything, even the simplest programs. After installing an earlier version of gcc, all our problems disappeared. My configure is: ./configure --prefix=/usr --with-pspell As I thought my system's libsigc has some problems, therefore I tried: ./configure --prefix=/usr --with-pspell --without-included-libsigc But I'm getting the same problem as before... make[3]: Entering directory `/data/redhat/BUILD/lyx-1.1.6pre3/src/mathed' /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. -I../../boost -isystem /usr/X11R6/include -g -O -fno-exceptions -W -Wall -c formula.C g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. -I../.. -I../../boost -isystem /usr/X11R6/include -g -O -fno-exceptions -W -Wall -c formula.C -o formula.o In file included from ../../src/Lsstream.h:17, from formula.C:19: /usr/include/g++-3/sstream: In method `int stringbuf::sync ()': /usr/include/g++-3/sstream:171: warning: comparison between signed and unsigned integer expressions In file included from formula.C:30: ../../src/minibuffer.h: At top level: ../../src/minibuffer.h:17: using directive `Object' introduced ambiguous type `_ObjectRec *' make[3]: *** [formula.lo] Error 1 make[3]: Leaving directory `/data/redhat/BUILD/lyx-1.1.6pre3/src/mathed' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/data/redhat/BUILD/lyx-1.1.6pre3/src' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/data/redhat/BUILD/lyx-1.1.6pre3/src' make: *** [all-recursive] Error 1 Any clues? -- Andre H. Juffer | Phone: +358-8-553 1683 The Biocenter and| Fax: +358-8-553-1141 the Dep. of Biochemistry | Email: [EMAIL PROTECTED] University of Oulu, Finland | WWW: http://www.biochem.oulu.fi/research.html
Re: 1.1.6pre3 RH7 compile problem
Andre Juffer [EMAIL PROTECTED] writes: | Wai-Sun Chia wrote: | | Hello, | Just downloaded the latest lyx-1.1.6pre3 and tried to compile it on my | RH7 system. This is updated frequently from Rawhide. Specifically this | system is running: | gcc-2.96-69 | glibc-2.2-9 | binutils-2.10.1.0.2-1 | libsigc++-1.0.1-1 | | | | gcc-2.96 is a development version of gcc and should not be used for | real work. FUD, gcc-2.96 works just perfect. | It is very strange that RH has decided to install this | version of gcc. I think it is better to uninstall gcc-2.96 and install | 2.95 instead, which is the latest stable version of gcc. It also may | solve your problem. We had exactly similar problems with RH. In fact, | we could not compile anything, even the simplest programs. So _your_ installation was faulty. I have had no problems with gcc-2.96 and RH7.0 | My configure is: | ./configure --prefix=/usr --with-pspell drop the --with-pspell there seems to be some issues with it. | In file included from formula.C:30: | ../../src/minibuffer.h: At top level: | ../../src/minibuffer.h:17: using directive `Object' introduced | ambiguous type `_ObjectRec *' Your XForms dist is too old. Get a newer one. (but still 0.88 or try 0.89 if you want to) Lgb
lyxdiff
Hi I've been looking for a tool that compares two .lyx-files and marks the places where they differ. Searching the net, I found a small script called "texdiff". There was no manual or anything, but I got it working. It is used as follows:texdiff new_version old_version and produces a new file: new_version.diff.tex that you can compile and look at. The differences have been marked according to different styles (bold text, with margin arrows, or withing thick brackets). This works, but first you have to convert both versions of you .lyx-files to .tex-files. This might be possible to do directly with a .lyx-file. Unfortunately, 'texdiff' uses a program called 'sed', and I don't know enough about it or the .lyx-format to make it work with a .lyx-file. If there is anybody out there that has the time and sed-skill to convert "texdiff" into "lyxdiff", I've attached the "texdiff"-files (that I found at: http://www.dis.uniroma1.it/PUB/italiano/texdiff/ ) Christian Ridderström PS. I saw something in the announcement about the Lyx file-format being changed, so maybe this should wait. Maybe it is just bad practice to let other programs/scripts mess with the .lyx-file? DS blockdiff.ed delim.ed linediff.sed margin.ed paint.ed texdiff
SIGSEGV signal caught (LyX 1.1.6pre3)
Hi, nearly at the end of the compiling process of LyX 1.1.6pre3 on a SuSE 6.2 an error message appeared: [...] make[2]: Entering directory `/opt/lyx-1.1.6pre3/lib´ ./build-listerrors . lyx: SIGSEGV signal caught Sorry, you have found a bug in LyX [...] ./buld-listerrors: line 24: 18158 Aborted $lyx --export literate $dir/examples/Literate.lyx [...] Nevertheless I started LyX from the "src"-directory and everything seems to work very well. So I don´t know if this is a considerable bug ... cu and a happy new year! Stephan -- Stephan E. Schlierf M.A. - speed2web GmbH Germany - FON: ++49 921 99 00 86 12 FAX: ++49 921 99 00 86 70 http://www.speed2web.de
Re: Last prerelease of LyX 1.1.6
On 01-Jan-2001 Herbert Voss wrote: open a new lyx-file, change in layout-document-paper for example the topmargin, save the lyx-file and have a look at it with any other editor, the new values for the margins are not saved. I tried this and it works correctly (at least here with todays cvs)! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Hacker's Quicky #313: Sour Cream -n- Onion Potato Chips Microwave Egg Roll Chocolate Milk
Re: 1.1.6pre3 RH7 compile problem
Why not try the new update to RH7.0 gcc-2.96-69?
Re: 1.1.6pre3 RH7 compile problem
"Lars Gullik Bjønnes" wrote: FUD, gcc-2.96 works just perfect. Lars, you're absolutely right. gcc-2.96 are so much better in compiling C++ stuff (although the one shipped with RH7 is pretty crappy, which I believed was 2.96-54). Your XForms dist is too old. Get a newer one. (but still 0.88 or try 0.89 if you want to) Whoa! Again, you're right on the dot! ;-) I've installed 0.89 and everything is perfect! Thanks from a loyal user!! (can't wait for the GTK beta!!) -- Wai-Sun "Squidster" Chia Unix/Web Developer Professional Services
Is there a masterthesis style for Lyx ?
Hi all there, I am quite new to LyX (using LyX 1.1.5 under SuSE Linux). I am just writing my master thesis using the "article" document style. But is it the right style for my purpose ? I found the files thesis.cls and thesis.sty somewhere in the Internet, but I couldnt get them to work. I did a copy of report.layout, renamed it to thesis.layout and replaced all "report" occurrencies with "thesis". But nothing happend. Anybody knows which style to use preferable for master thesis and how to activate it ? Please mail to [EMAIL PROTECTED], because I am not on the mailing list at the moment. Thanks a lot for your help, ROLF -- * Rolf-Armin Puin * * [EMAIL PROTECTED], [EMAIL PROTECTED] * * http://www.puin.de http://www.el-clan.de * Die kürzeste Formel um etwas zu erreichen: Tu es!
Re: 1.1.6pre3 RH7 compile problem
On Tue, 2 Jan 2001, Svante Signell wrote: Sorry, my replies should also go to the users list. Damned mailer. The xforms version in rawhide/powertools directory is still 0.88-15, where the following change has to be made to forms.h: Comment out X11/Intrinsic.h. Even though LyX now compiles, I have problems with LyX dumping core at start up. Lars, has this been solved recently? Almost anytime LyX dumps core at startup the problem has turned out to be that you have mismatched glibc and xforms libraries. RH do a good job of getting the xforms library versions wrong on their powertools cd. I'd recommend you go to ftp://ftp.sylvan.com/pub/lyx/ and see what Kyvan has there or better yet go for the xforms ftp site at: ftp://einstein.phys.uwm.edu/pub/xforms/ which appears to be down at the moment or goto ftp://ftp.cs.ruu.nl/pub/XFORMS/ and get the xforms-glibc2.1 tarball for linux. RH always seems to keep the xforms-glibc tarball instead which is incorrect. One way to help ensure xforms has a bad name isn't it: bundling the wrong library with your distro. Of course this could be some other problem but without a backtrace I can't do more than guess. BTW: Are the lyx lists archived somewhere? A lot of problems can be solved by referring to older postings. Ther was a lot of disussion about the X11 header file defining Object. http://www.mail-archive.com/lyx-users@lists.lyx.org/ http://www.mail-archive.com/lyx-devel@lists.lyx.org/ Allan. (ARRae)
xforms 0.89 (was: Re: 1.1.6pre3 RH7 compile problem)
Allan is correct. Stay the hell away from the xform RPM in RH's powertools directory. Compiling Lyx against that (xform-0.88-15) will bomb! Refer to my previous email. What I did was to build my own RPM for 0.89. Here is the .spec file for your enjoyment... For the RH newbies: 1. Copy xforms.spec to /usr/src/redhat/SPECS 2. Download ftp://ncmir.ucsd.edu/pub/xforms/linux-i386/elf/bxform-089-glibc2.1.tgz and copy it to /usr/src/redhat/SOURCES 3. cd /usr/src/redhat/SPECS; rpm -ba xforms.spec Off you go! You should get 3 RPMS in the end. Runtime, Demo, and Devel. Allan Rae wrote: and get the xforms-glibc2.1 tarball for linux. RH always seems to keep the xforms-glibc tarball instead which is incorrect. One way to help ensure xforms has a bad name isn't it: bundling the wrong library with your distro. -- Wai-Sun "Squidster" Chia Unix/Web Developer Professional Services Summary: A GUI toolkit based on Xlib for the X Window System. Name: xforms Version: 0.89 Release: 1 Group: Development/Libraries Copyright: non-commercial distributable (see Copyright) Source0: bxform-089-glibc2.1.tgz Source1: forms_sngl.ps.gz NoSource: 0 URL: http://world.std.com/~xforms/ Prefix: /usr BuildRoot: %{_tmppath}/%{name}-root Requires: /sbin/ldconfig %description XForms features a rich set of objects (like buttons, sliders, and menus) integrated into an easy and efficient object/event callback execution model, allowing for fast and easy construction of X applications. The library is extensible--new objects can easily be created and added. If you're installing xforms, you may want to also install xforms-devel, which is a near-WYSIWYG GUI builder which works with XForms. %package demos Group: Development/Libraries Summary: XForms demonstration programs. %description demos Xforms-demos includes the full source code to 50+ demonstration programs. If you plan on using XForms and you aren't an expert, you should download xforms-demos and take a look at them. %package devel Group: Development/Libraries Summary: An XForms GUI builder. %description devel Xforms-devel is a near-WYSIWYG GUI builder that can be used to design your UI and write the corresponding C code for you. If you're installing xforms, you may want to also install xforms-devel. If you want to install xforms-devel, you must also install xforms. %prep %setup -q -n xforms cp $RPM_SOURCE_DIR/forms_sngl.ps.gz . %build #make BIN_DIR=/usr/X11R6/bin \ # LIB_TOPDIR=/usr/X11R6 \ # all shlib demo make CCFLAG="-W -Wall -ansi -pedantic -pipe -O2 -fPIC -mcpu=i686 -march=i686" %install rm -rf $RPM_BUILD_ROOT install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/man/man5 install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/man/man1 install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/lib install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/bin install -m 755 -d $RPM_BUILD_ROOT/usr/include install -m 755 -d $RPM_BUILD_ROOT/usr/lib/xforms make \ BIN_DIR=$RPM_BUILD_ROOT/usr/X11R6/bin \ LIB_DIR=$RPM_BUILD_ROOT/usr/X11R6/lib \ MAN1_DIR=$RPM_BUILD_ROOT/usr/X11R6/man/man1 \ MAN5_DIR=$RPM_BUILD_ROOT/usr/X11R6/man/man5 \ HEADER_DIR=$RPM_BUILD_ROOT/usr/include \ install # fix broken symlink for man page rm $RPM_BUILD_ROOT/usr/X11R6/man/man5/forms.5 ln -s xforms.5 $RPM_BUILD_ROOT/usr/X11R6/man/man5/forms.5 install -c -m 0755 fd2ps/fd2ps $RPM_BUILD_ROOT/usr/X11R6/bin/fd2ps install -c -m 0644 fd2ps/fd2ps.1 $RPM_BUILD_ROOT/usr/X11R6/man/man1/fd2ps.1 install -c -m 755 FORMS/libforms.so.0.89 $RPM_BUILD_ROOT/usr/X11R6/lib/libforms.so.0.89 ln -sf libforms.so.0.89 $RPM_BUILD_ROOT/usr/X11R6/lib/libforms.so cp -a contrib $RPM_BUILD_ROOT/usr/lib/xforms cp -a mkconfig.h $RPM_BUILD_ROOT/usr/lib/xforms cp -a DEMOS $RPM_BUILD_ROOT/usr/lib/xforms cp -a FORMS/Readme $RPM_BUILD_ROOT/usr/lib/xforms cp -a FORMS/*.c $RPM_BUILD_ROOT/usr/lib/xforms cd $RPM_BUILD_ROOT/usr/lib/xforms rm -f *.o */*.o */*/*.o %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) /usr/X11R6/lib/libforms.so.0.89 %doc Bugs Changes Copyright Readme /usr/X11R6/man/man5/forms.5* /usr/X11R6/man/man5/xforms.5* %files demos %defattr(-,root,root) %doc /usr/lib/xforms/contrib/Readme /usr/lib/xforms/mkconfig.h /usr/lib/xforms/DEMOS %files devel %defattr(-,root,root) /usr/X11R6/lib/libforms.so /usr/X11R6/lib/libforms.a /usr/X11R6/bin/fdesign /usr/X11R6/bin/fd2ps /usr/include/forms.h /usr/lib/xforms/glcanvas.c /usr/lib/xforms/image_jpeg.c /usr/lib/xforms/image_oquant.c /usr/X11R6/man/man1/fdesign.1* /usr/X11R6/man/man1/fd2ps.1* %doc /usr/lib/xforms/Readme %doc forms_sngl.ps.gz %changelog * Wed Jan 3 2001 Wai-Sun "Squidster" Chia [EMAIL PROTECTED] - updated to version 0.89 - added in new demo C files from FORMS to devel * Thu Aug 3 2000 Than Ngo [EMAIL PROTECTED] - fix to use libXpm in XFree-4.01 (Bug #15147) - move header files, fdesign, fd2ps in devel * Wed Aug 02 2000 Than Ngo [EMAIL PROTECTED] - added ldconfig stuff to %postun (Bug #15073) - added
Re: 1.1.6pre3 & RH7 compile problem
Wai-Sun Chia wrote: > Hello, > Just downloaded the latest lyx-1.1.6pre3 and tried to compile it on my > RH7 system. This is updated frequently from Rawhide. Specifically this > system is running: > > gcc-2.96-69 > glibc-2.2-9 > binutils-2.10.1.0.2-1 > libsigc++-1.0.1-1 gcc-2.96 is a development version of gcc and should not be used for real work. It is very strange that RH has decided to install this version of gcc. I think it is better to uninstall gcc-2.96 and install 2.95 instead, which is the latest stable version of gcc. It also may solve your problem. We had exactly similar problems with RH. In fact, we could not compile anything, even the simplest programs. After installing an earlier version of gcc, all our problems disappeared. > > My configure is: > ./configure --prefix=/usr --with-pspell > > As I thought my system's libsigc has some problems, therefore I tried: > ./configure --prefix=/usr --with-pspell --without-included-libsigc > > But I'm getting the same problem as before... > > > make[3]: Entering directory > `/data/redhat/BUILD/lyx-1.1.6pre3/src/mathed' > /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. > -I../../src -I../../images -I./../ -I../.. -I../.. -I../../boost > -isystem /usr/X11R6/include -g -O -fno-exceptions -W -Wall -c formula.C > g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I../.. > -I../.. -I../../boost -isystem /usr/X11R6/include -g -O -fno-exceptions > -W -Wall -c formula.C -o formula.o > In file included from ../../src/Lsstream.h:17, > from formula.C:19: > /usr/include/g++-3/sstream: In method `int stringbuf::sync ()': > /usr/include/g++-3/sstream:171: warning: comparison between signed and > unsigned integer expressions > In file included from formula.C:30: > ../../src/minibuffer.h: At top level: > ../../src/minibuffer.h:17: using directive `Object' introduced > ambiguous type `_ObjectRec *' > make[3]: *** [formula.lo] Error 1 > make[3]: Leaving directory `/data/redhat/BUILD/lyx-1.1.6pre3/src/mathed' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/data/redhat/BUILD/lyx-1.1.6pre3/src' > make[1]: *** [all-recursive-am] Error 2 > make[1]: Leaving directory `/data/redhat/BUILD/lyx-1.1.6pre3/src' > make: *** [all-recursive] Error 1 > > Any clues? -- Andre H. Juffer | Phone: +358-8-553 1683 The Biocenter and| Fax: +358-8-553-1141 the Dep. of Biochemistry | Email: [EMAIL PROTECTED] University of Oulu, Finland | WWW: http://www.biochem.oulu.fi/research.html
Re: 1.1.6pre3 & RH7 compile problem
Andre Juffer <[EMAIL PROTECTED]> writes: | Wai-Sun Chia wrote: | | > Hello, | > Just downloaded the latest lyx-1.1.6pre3 and tried to compile it on my | > RH7 system. This is updated frequently from Rawhide. Specifically this | > system is running: | > gcc-2.96-69 | > glibc-2.2-9 | > binutils-2.10.1.0.2-1 | > libsigc++-1.0.1-1 | | | | gcc-2.96 is a development version of gcc and should not be used for | real work. FUD, gcc-2.96 works just perfect. | It is very strange that RH has decided to install this | version of gcc. I think it is better to uninstall gcc-2.96 and install | 2.95 instead, which is the latest stable version of gcc. It also may | solve your problem. We had exactly similar problems with RH. In fact, | we could not compile anything, even the simplest programs. So _your_ installation was faulty. I have had no problems with gcc-2.96 and RH7.0 | > My configure is: | > ./configure --prefix=/usr --with-pspell drop the --with-pspell there seems to be some issues with it. | > In file included from formula.C:30: | > ../../src/minibuffer.h: At top level: | > ../../src/minibuffer.h:17: using directive `Object' introduced | > ambiguous type `_ObjectRec *' Your XForms dist is too old. Get a newer one. (but still 0.88 or try 0.89 if you want to) Lgb
"lyxdiff"
Hi I've been looking for a tool that compares two .lyx-files and marks the places where they differ. Searching the net, I found a small script called "texdiff". There was no manual or anything, but I got it working. It is used as follows:>texdiff new_version old_version and produces a new file: new_version.diff.tex that you can compile and look at. The differences have been marked according to different styles (bold text, with margin arrows, or withing thick brackets). This works, but first you have to convert both versions of you .lyx-files to .tex-files. This might be possible to do directly with a .lyx-file. Unfortunately, 'texdiff' uses a program called 'sed', and I don't know enough about it or the .lyx-format to make it work with a .lyx-file. If there is anybody out there that has the time and sed-skill to convert "texdiff" into "lyxdiff", I've attached the "texdiff"-files (that I found at: http://www.dis.uniroma1.it/PUB/italiano/texdiff/ ) Christian Ridderström PS. I saw something in the announcement about the Lyx file-format being changed, so maybe this should wait. Maybe it is just bad practice to let other programs/scripts mess with the .lyx-file? DS blockdiff.ed delim.ed linediff.sed margin.ed paint.ed texdiff
SIGSEGV signal caught (LyX 1.1.6pre3)
Hi, nearly at the end of the compiling process of LyX 1.1.6pre3 on a SuSE 6.2 an error message appeared: [...] make[2]: Entering directory `/opt/lyx-1.1.6pre3/lib´ ./build-listerrors . lyx: SIGSEGV signal caught Sorry, you have found a bug in LyX [...] ./buld-listerrors: line 24: 18158 Aborted $lyx --export literate $dir/examples/Literate.lyx [...] Nevertheless I started LyX from the "src"-directory and everything seems to work very well. So I don´t know if this is a considerable bug ... cu and a happy new year! Stephan -- Stephan E. Schlierf M.A. - speed2web GmbH Germany - FON: ++49 921 99 00 86 12 FAX: ++49 921 99 00 86 70 http://www.speed2web.de
Re: Last prerelease of LyX 1.1.6
On 01-Jan-2001 Herbert Voss wrote: > > open a new lyx-file, change in layout-document-paper for example > the topmargin, save the lyx-file and have a look at it with any > other editor, the new values for the margins are not saved. > I tried this and it works correctly (at least here with todays cvs)! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Hacker's Quicky #313: Sour Cream -n- Onion Potato Chips Microwave Egg Roll Chocolate Milk
Re: 1.1.6pre3 & RH7 compile problem
Why not try the new update to RH7.0 gcc-2.96-69?
Re: 1.1.6pre3 & RH7 compile problem
"Lars Gullik Bjønnes" wrote: > > FUD, gcc-2.96 works just perfect. > Lars, you're absolutely right. gcc-2.96 are so much better in compiling C++ stuff (although the one shipped with RH7 is pretty crappy, which I believed was 2.96-54). > > Your XForms dist is too old. Get a newer one. > (but still 0.88 or try 0.89 if you want to) > Whoa! Again, you're right on the dot! ;-) I've installed 0.89 and everything is perfect! Thanks from a loyal user!! (can't wait for the GTK beta!!) -- Wai-Sun "Squidster" Chia Unix/Web Developer Professional Services
Is there a masterthesis style for Lyx ?
Hi all there, I am quite new to LyX (using LyX 1.1.5 under SuSE Linux). I am just writing my master thesis using the "article" document style. But is it the right style for my purpose ? I found the files thesis.cls and thesis.sty somewhere in the Internet, but I couldnt get them to work. I did a copy of report.layout, renamed it to thesis.layout and replaced all "report" occurrencies with "thesis". But nothing happend. Anybody knows which style to use preferable for master thesis and how to activate it ? Please mail to [EMAIL PROTECTED], because I am not on the mailing list at the moment. Thanks a lot for your help, ROLF -- * Rolf-Armin Puin * * [EMAIL PROTECTED], [EMAIL PROTECTED] * * http://www.puin.de http://www.el-clan.de * Die kürzeste Formel um etwas zu erreichen: Tu es!
Re: 1.1.6pre3 & RH7 compile problem
On Tue, 2 Jan 2001, Svante Signell wrote: > > Sorry, my replies should also go to the users list. Damned mailer. > > The xforms version in rawhide/powertools directory is still 0.88-15, where > the following change has to be made to forms.h: Comment out > . > > Even though LyX now compiles, I have problems with LyX dumping core at > start up. Lars, has this been solved recently? Almost anytime LyX dumps core at startup the problem has turned out to be that you have mismatched glibc and xforms libraries. RH do a good job of getting the xforms library versions wrong on their powertools cd. I'd recommend you go to ftp://ftp.sylvan.com/pub/lyx/ and see what Kyvan has there or better yet go for the xforms ftp site at: ftp://einstein.phys.uwm.edu/pub/xforms/ which appears to be down at the moment or goto ftp://ftp.cs.ruu.nl/pub/XFORMS/ and get the xforms-glibc2.1 tarball for linux. RH always seems to keep the xforms-glibc tarball instead which is incorrect. One way to help ensure xforms has a bad name isn't it: bundling the wrong library with your distro. Of course this could be some other problem but without a backtrace I can't do more than guess. > BTW: Are the lyx lists archived somewhere? A lot of problems > can be solved by referring to older postings. Ther was a lot of > disussion about the X11 header file defining Object. http://www.mail-archive.com/lyx-users@lists.lyx.org/ http://www.mail-archive.com/lyx-devel@lists.lyx.org/ Allan. (ARRae)
xforms 0.89 (was: Re: 1.1.6pre3 & RH7 compile problem)
Allan is correct. Stay the hell away from the xform RPM in RH's powertools directory. Compiling Lyx against that (xform-0.88-15) will bomb! Refer to my previous email. What I did was to build my own RPM for 0.89. Here is the .spec file for your enjoyment... For the RH newbies: 1. Copy xforms.spec to /usr/src/redhat/SPECS 2. Download ftp://ncmir.ucsd.edu/pub/xforms/linux-i386/elf/bxform-089-glibc2.1.tgz and copy it to /usr/src/redhat/SOURCES 3. cd /usr/src/redhat/SPECS; rpm -ba xforms.spec Off you go! You should get 3 RPMS in the end. Runtime, Demo, and Devel. Allan Rae wrote: > > > and get the xforms-glibc2.1 tarball for linux. RH always seems to keep > the xforms-glibc tarball instead which is incorrect. One way to help > ensure xforms has a bad name isn't it: bundling the wrong library with > your distro. > -- Wai-Sun "Squidster" Chia Unix/Web Developer Professional Services Summary: A GUI toolkit based on Xlib for the X Window System. Name: xforms Version: 0.89 Release: 1 Group: Development/Libraries Copyright: non-commercial distributable (see Copyright) Source0: bxform-089-glibc2.1.tgz Source1: forms_sngl.ps.gz NoSource: 0 URL: http://world.std.com/~xforms/ Prefix: /usr BuildRoot: %{_tmppath}/%{name}-root Requires: /sbin/ldconfig %description XForms features a rich set of objects (like buttons, sliders, and menus) integrated into an easy and efficient object/event callback execution model, allowing for fast and easy construction of X applications. The library is extensible--new objects can easily be created and added. If you're installing xforms, you may want to also install xforms-devel, which is a near-WYSIWYG GUI builder which works with XForms. %package demos Group: Development/Libraries Summary: XForms demonstration programs. %description demos Xforms-demos includes the full source code to 50+ demonstration programs. If you plan on using XForms and you aren't an expert, you should download xforms-demos and take a look at them. %package devel Group: Development/Libraries Summary: An XForms GUI builder. %description devel Xforms-devel is a near-WYSIWYG GUI builder that can be used to design your UI and write the corresponding C code for you. If you're installing xforms, you may want to also install xforms-devel. If you want to install xforms-devel, you must also install xforms. %prep %setup -q -n xforms cp $RPM_SOURCE_DIR/forms_sngl.ps.gz . %build #make BIN_DIR=/usr/X11R6/bin \ # LIB_TOPDIR=/usr/X11R6 \ # all shlib demo make CCFLAG="-W -Wall -ansi -pedantic -pipe -O2 -fPIC -mcpu=i686 -march=i686" %install rm -rf $RPM_BUILD_ROOT install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/man/man5 install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/man/man1 install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/lib install -m 755 -d $RPM_BUILD_ROOT/usr/X11R6/bin install -m 755 -d $RPM_BUILD_ROOT/usr/include install -m 755 -d $RPM_BUILD_ROOT/usr/lib/xforms make \ BIN_DIR=$RPM_BUILD_ROOT/usr/X11R6/bin \ LIB_DIR=$RPM_BUILD_ROOT/usr/X11R6/lib \ MAN1_DIR=$RPM_BUILD_ROOT/usr/X11R6/man/man1 \ MAN5_DIR=$RPM_BUILD_ROOT/usr/X11R6/man/man5 \ HEADER_DIR=$RPM_BUILD_ROOT/usr/include \ install # fix broken symlink for man page rm $RPM_BUILD_ROOT/usr/X11R6/man/man5/forms.5 ln -s xforms.5 $RPM_BUILD_ROOT/usr/X11R6/man/man5/forms.5 install -c -m 0755 fd2ps/fd2ps $RPM_BUILD_ROOT/usr/X11R6/bin/fd2ps install -c -m 0644 fd2ps/fd2ps.1 $RPM_BUILD_ROOT/usr/X11R6/man/man1/fd2ps.1 install -c -m 755 FORMS/libforms.so.0.89 $RPM_BUILD_ROOT/usr/X11R6/lib/libforms.so.0.89 ln -sf libforms.so.0.89 $RPM_BUILD_ROOT/usr/X11R6/lib/libforms.so cp -a contrib $RPM_BUILD_ROOT/usr/lib/xforms cp -a mkconfig.h $RPM_BUILD_ROOT/usr/lib/xforms cp -a DEMOS $RPM_BUILD_ROOT/usr/lib/xforms cp -a FORMS/Readme $RPM_BUILD_ROOT/usr/lib/xforms cp -a FORMS/*.c $RPM_BUILD_ROOT/usr/lib/xforms cd $RPM_BUILD_ROOT/usr/lib/xforms && rm -f *.o */*.o */*/*.o %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) /usr/X11R6/lib/libforms.so.0.89 %doc Bugs Changes Copyright Readme /usr/X11R6/man/man5/forms.5* /usr/X11R6/man/man5/xforms.5* %files demos %defattr(-,root,root) %doc /usr/lib/xforms/contrib/Readme /usr/lib/xforms/mkconfig.h /usr/lib/xforms/DEMOS %files devel %defattr(-,root,root) /usr/X11R6/lib/libforms.so /usr/X11R6/lib/libforms.a /usr/X11R6/bin/fdesign /usr/X11R6/bin/fd2ps /usr/include/forms.h /usr/lib/xforms/glcanvas.c /usr/lib/xforms/image_jpeg.c /usr/lib/xforms/image_oquant.c /usr/X11R6/man/man1/fdesign.1* /usr/X11R6/man/man1/fd2ps.1* %doc /usr/lib/xforms/Readme %doc forms_sngl.ps.gz %changelog * Wed Jan 3 2001 Wai-Sun "Squidster" Chia <[EMAIL PROTECTED]> - updated to version 0.89 - added in new demo C files from FORMS to devel * Thu Aug 3 2000 Than Ngo <[EMAIL PROTECTED]> - fix to use libXpm in XFree-4.01 (Bug #15147) - move header files, fdesign, fd2ps in devel * Wed Aug 02 2000 Than Ngo <[EMAIL PROTECTED]> - added ldconfig stuff to %postun (Bug #15073)