Re: No preview - "Warning: xelatex had problems compiling lyxpreviews?????.tex"
On 11/12/2014 10:40 AM, Itai Shaked wrote: Hello, I'm having a problem with math previews in lyx 2.1.2 - in certain documents (possibly all documents set to be compiled with xelatex) there is no preview for math. When running from terminal I get the error in the subject: Warning: xelatex had problems compiling lyxpreviews?.tex repeating a few times for various files. Locating those files in "/tmp/lyx_tmpdir..." I can see there is a valid PDF for each, and running xelatex manually on them works without any error. Note also that on the same machine lyx 2.1.0 does not have the same problem, and the same documents have previews. What could be the problem, and how do I solve it? Hmm. Try posting this to lyx-devel. I don't think a PDF is what we want in this case, but I am not that familiar with this part of the code. Richard
No preview - "Warning: xelatex had problems compiling lyxpreviews?????.tex"
Hello, I'm having a problem with math previews in lyx 2.1.2 - in certain documents (possibly all documents set to be compiled with xelatex) there is no preview for math. When running from terminal I get the error in the subject: Warning: xelatex had problems compiling lyxpreviews?.tex repeating a few times for various files. Locating those files in "/tmp/lyx_tmpdir..." I can see there is a valid PDF for each, and running xelatex manually on them works without any error. Note also that on the same machine lyx 2.1.0 does not have the same problem, and the same documents have previews. What could be the problem, and how do I solve it? Thanks
Re: Problems compiling LyX 1.5.1 on Mac OS X PPC
Anders, That's great, thanks much. Gerard On Aug 6, 2007, at 1:12 PM, Anders Ekberg wrote: Gerard Ateshian Mon, 06 Aug 2007 07:21:44 -0700 BTW, I just tried the installation of 1.5.1 on a Mac Intel and I got the same problem. (I realize that there is a binary available for Mac Intel already, but I was curious to know if the problem I had was specific to my PPC laptop -- apparently not.) Gerard Gerard, Although it doesn't solve your problem, if you need a PPC-version urgently, you can download from http://www.charmec.chalmers.se/temp/ It (along with a universal binary) should also arrive on the LyX ftp-site soon. /Anders
Re: Problems compiling LyX 1.5.1 on Mac OS X PPC
Gerard Ateshian Mon, 06 Aug 2007 07:21:44 -0700 BTW, I just tried the installation of 1.5.1 on a Mac Intel and I got the same problem. (I realize that there is a binary available for Mac Intel already, but I was curious to know if the problem I had was specific to my PPC laptop -- apparently not.) Gerard Gerard, Although it doesn't solve your problem, if you need a PPC-version urgently, you can download from http://www.charmec.chalmers.se/temp/ It (along with a universal binary) should also arrive on the LyX ftp- site soon. /Anders
Re: Problems compiling LyX 1.5.1 on Mac OS X PPC
Gerard Ateshian <[EMAIL PROTECTED]> writes: > No, I don't know where these came from. In the config.log for > 1.5.0rc2, I only get Can you send privately to me your complete config.log? JMarc
Re: Problems compiling LyX 1.5.1 on Mac OS X PPC
BTW, I just tried the installation of 1.5.1 on a Mac Intel and I got the same problem. (I realize that there is a binary available for Mac Intel already, but I was curious to know if the problem I had was specific to my PPC laptop -- apparently not.) Gerard On Aug 6, 2007, at 9:21 AM, Jean-Marc Lasgouttes wrote: Gerard Ateshian <[EMAIL PROTECTED]> writes: Here is the part relating to stpcpy. It says: configure:29853: gcc -o conftest -Os -framework Carbon -framework OpenGL -framework AGL -framework QuickTime -lz -framework Cocoa conftest.c -lm -liconv -lz -framework ApplicationServices Carbon AppKit >&5 powerpc-apple-darwin8-gcc-4.0.1: Carbon: No such file or directory powerpc-apple-darwin8-gcc-4.0.1: AppKit: No such file or directory The problem are the stray Carbon and AppKit at the end of the command line. Do you know where they come from? JMarc
Re: Problems compiling LyX 1.5.1 on Mac OS X PPC
No, I don't know where these came from. In the config.log for 1.5.0rc2, I only get configure:29620: checking for stpcpy configure:29676: gcc -o conftest -g -Os -Wextra -Wall -framework Carbon -framework OpenGL -framework AGL -framework QuickTime -lz - framework Cocoa conftest.c -lc -lm >&5 Could there be some setting in 'configure' which adds the Carbon and AppKit in 1.5.1 but not in 1.5.0rc2? I don't know much about configuration files to tell. Gerard On Aug 6, 2007, at 9:21 AM, Jean-Marc Lasgouttes wrote: Gerard Ateshian <[EMAIL PROTECTED]> writes: Here is the part relating to stpcpy. It says: configure:29853: gcc -o conftest -Os -framework Carbon -framework OpenGL -framework AGL -framework QuickTime -lz -framework Cocoa conftest.c -lm -liconv -lz -framework ApplicationServices Carbon AppKit >&5 powerpc-apple-darwin8-gcc-4.0.1: Carbon: No such file or directory powerpc-apple-darwin8-gcc-4.0.1: AppKit: No such file or directory The problem are the stray Carbon and AppKit at the end of the command line. Do you know where they come from? JMarc
Re: Problems compiling LyX 1.5.1 on Mac OS X PPC
Gerard Ateshian <[EMAIL PROTECTED]> writes: > Here is the part relating to stpcpy. It says: configure:29853: gcc -o conftest -Os -framework Carbon -framework OpenGL -framework AGL -framework QuickTime -lz -framework Cocoa conftest.c -lm -liconv -lz -framework ApplicationServices Carbon AppKit >&5 powerpc-apple-darwin8-gcc-4.0.1: Carbon: No such file or directory powerpc-apple-darwin8-gcc-4.0.1: AppKit: No such file or directory The problem are the stray Carbon and AppKit at the end of the command line. Do you know where they come from? JMarc
Re: Problems compiling LyX 1.5.1 on Mac OS X PPC
Here is the part relating to stpcpy.Gerard stpcpy.log Description: Binary data On Aug 6, 2007, at 3:27 AM, Jean-Marc Lasgouttes wrote:Gerard Ateshian <[EMAIL PROTECTED]> writes: Hi,I tried to compile LyX 1.5.1 on Mac OS X PPC but after typing 'make'I got the following error:l10nflist.c:61: error: static declaration of 'stpcpy' follows non- static declaration Could you show us the part of config.log that deals with stpcpy? (orthe whole config.log if you do not know what I am talking about)JMarc
Re: Problems compiling LyX 1.5.1 on Mac OS X PPC
Gerard Ateshian <[EMAIL PROTECTED]> writes: > Hi, > > I tried to compile LyX 1.5.1 on Mac OS X PPC but after typing 'make' > I got the following error: > > l10nflist.c:61: error: static declaration of 'stpcpy' follows non- > static declaration Could you show us the part of config.log that deals with stpcpy? (or the whole config.log if you do not know what I am talking about) JMarc
Problems compiling LyX 1.5.1 on Mac OS X PPC
Hi, I tried to compile LyX 1.5.1 on Mac OS X PPC but after typing 'make' I got the following error: l10nflist.c:61: error: static declaration of 'stpcpy' follows non- static declaration I am compiling on a PowerBook G4 Mac OS X 10.4.10. I followed the instructions in the INSTALL.MacOSX file: setenv LDFLAGS "-framework Carbon -framework OpenGL -framework AGL - framework QuickTime -framework Cocoa" ./configure --prefix=/Applications/LyX.app --with-version-suffix=-1.5 --without-x --with-qt4-dir=/usr/local/Qt4.3 --with-included-gettext -- enable-optimization=-Os Looking back at the output from ./configure, I see that it said 'checking for stpcpy... no' Previously I was able to compile 1.5rc2, so I went back to check its output to ./configure and it says 'checking for stpcpy... yes'. So I am puzzled why ./configure gives two different outcomes regarding stpcpy (and several others). I suspect the problem lies there. Any suggestions? Gerard
Re: FW: Problems compiling lyx
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Tue, Jan 06, 2004 at 09:21:39AM -, Andre> [EMAIL PROTECTED] wrote: >> Hey Lyx Users, I'm trying to get Lyx compiled on Cygwin and >> noticing these link errors. Has it got to do anything with the g++ >> compiler itself. I did post the message to the cygwin mailing list, >> but have not got any favorable response. I'm forwarding the same >> mail. Any help on this will be extremely greatful as I'm craving to >> use lyx again. Andre> I thought there were pre-built binaries somewhere? Unfortunately no. Claus Hentschel switched to linux and thus stopped his xforms versions at 1.3.1. Ruurd provides native mingw based builds. Kayvan Sylvan however does compile LyX under cygwin. JMarc
RE: FW: Problems compiling lyx
I've been using gcc version 3.3.1 -Original Message- From: Andre Poenitz [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 3:10 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: FW: Problems compiling lyx On Tue, Jan 06, 2004 at 09:21:39AM -, [EMAIL PROTECTED] wrote: > Hey Lyx Users, > I'm trying to get Lyx compiled on Cygwin and noticing these link > errors. Has it got to do anything with the g++ compiler itself. I did post > the message to the cygwin mailing list, but have not got any favorable > response. I'm forwarding the same mail. Any help on this will be extremely > greatful as I'm craving to use lyx again. I thought there were pre-built binaries somewhere? What compiler version are you using? Andre'
Re: FW: Problems compiling lyx
On Tue, Jan 06, 2004 at 09:21:39AM -, [EMAIL PROTECTED] wrote: > Hey Lyx Users, > I'm trying to get Lyx compiled on Cygwin and noticing these link > errors. Has it got to do anything with the g++ compiler itself. I did post > the message to the cygwin mailing list, but have not got any favorable > response. I'm forwarding the same mail. Any help on this will be extremely > greatful as I'm craving to use lyx again. I thought there were pre-built binaries somewhere? What compiler version are you using? Andre'
FW: Problems compiling lyx
Hey Lyx Users, I'm trying to get Lyx compiled on Cygwin and noticing these link errors. Has it got to do anything with the g++ compiler itself. I did post the message to the cygwin mailing list, but have not got any favorable response. I'm forwarding the same mail. Any help on this will be extremely greatful as I'm craving to use lyx again. Please mark a copy of your responses to me directly as I've not still officially signed up for the lyx mailing list. Thanks, Koundinya -Original Message- From: koorapati, koundinya Sent: Monday, January 05, 2004 1:09 PM To: '[EMAIL PROTECTED]' Subject: Problems compiling lyx Hey Cygwin users, I'm having problems compiling lyx using g++ version 3.3.1 (more specifically during the linking of various objects). I've attached a clip of the final build log. Please have a look at this. Any help or pointers on this will be much appreciated at this time as I'm blank on this. Thanks, Koundinya lyx_err.log Description: Binary data
Re: problems compiling
Nathan Becker <[EMAIL PROTECTED]> writes: > I'm trying to compile lyx-1.3.1 on Mac OS 10.1.5. The configure script > works correctly. But then as soon as I run make I get the following: [...] > cpp-precomp: could not open '/usr/X11R6/include' > make[1]: *** [intl-compat.o] Error 1 > make: *** [all-recursive] Error 1 It looks like you don't have the Apple X11 SDK installed. You still won't be able to compile lyx-1.3.x after installing it: the headers on Apple's version of gcc-3.1 are too broken to compile LyX-1.3.x, and Apple is in no hurry to fix them. Write the Apple Developer connection and tell them you're desperate for a fix to "6G30 gcc 3.1 header problem Bug ID # 3162512". In the meantime you can install LyX-1.2.3. See http://www.18james.com/lyx_on_osx.html . -- Ronald Florence www.18james.com
problems compiling
Hi, I'm trying to compile lyx-1.3.1 on Mac OS 10.1.5. The configure script works correctly. But then as soon as I run make I get the following: Making all in config make[1]: Nothing to be done for `all'. Making all in development make[1]: Nothing to be done for `all'. Making all in intl cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I../src -I. -I../intl -I/sw/include -I/usr/X11R6/include/X11 -isystem /usr/X11R6/include -g -O2 intl-compat.c cpp-precomp: could not open '/usr/X11R6/include' make[1]: *** [intl-compat.o] Error 1 make: *** [all-recursive] Error 1 Any suggestions? thanks, Nathan
Subject: problems compiling lyx-1.2.0 (Unsatisfied symbols)
Hello, Olli Grewe reported on 13.6.2002 about problems compiling lyx 1.2.0. I've got the same problem on HPUX 10.20 using gcc 2.95.2. Compilation went smoothly, but the link-step failed with the same bunch of missing symbols. (But the output of the list of symbols differs somewhat in the order) My output from the link step is included below. I tried to track this one down. So I tried to find "ControlInset::inset(void) const(code)". I used the following command for this: /usr/bin/nm $i | /pd/gcc/bin/c++filt | grep -F (Meaning I used the HP nm (I didn't find a gnu one with gcc) and the unmangling-filter from gcc. [Sorry, I normally use the HP tools]) I came up with: = ./src/frontends/controllers: = -- ./src/frontends/controllers/ControlBibitem.o -- ControlInset::inset(void) const| |undef |code | -- ./src/frontends/controllers/ControlBibtex.o -- ControlInset::inset(void) const| |undef |code | -- ./src/frontends/controllers/ControlCommand.o -- ControlInset::inset(void) const| 0|static|entry |$CODE$ = ./src/frontends/.libs: = -- ./src/frontends/.libs/libfrontends.a -- ControlInset::inset(void) const| |undef |code | ControlInset::inset(void) const| |undef |code | ControlInset::inset(void) const| 0|static|entry |$CODE$ Ok, so this symbol is used in ControlBibitem.o and ControlBibtex.o. It is defined in ControlCommand.o. This all is included in libfrontends.a And surely enough, lyx get linked against this lib. I tried to change the '//libxy.a' to '-L -lxy', moved the offending -lfrontends to the end of the link line and finally added a second -lfrontend. This all didn't change anything. So now I'm at the end of my wits... Note that g++ uses HP ld as linker , as can be seen from the error message: "/usr/ccs/bin/ld: Unsatisfied symbols:" Please contact me, if you need further details. And please CC: a copy of answers to me - I'm not subscribed to the list. TIA Martin P.S.: link line and output: (From the original makefile) /bin/sh ../libtool --mode=link g++ -march=1.1 -L/pd/glibs/lib/ -o lyx BufferView.o BufferView2.o BufferView_pimpl.o Bullet.o Chktex.o ColorHandler.o CutAndPaste.o DepTable.o FloatList.o Floating.o FontInfo.o FontLoader.o FuncStatus.o LColor.o LaTeX.o LaTeXFeatures.o LyXAction.o LyXView.o MenuBackend.o Painter.o PainterBase.o ParagraphParameters.o Spacing.o TextCache.o Thesaurus.o ToolbarDefaults.o WorkArea.o XFormsView.o box.o buffer.o bufferlist.o bufferparams.o bufferview_funcs.o chset.o converter.o debug.o encoding.o exporter.o font.o gettext.o importer.o intl.o iterators.o kbmap.o kbsequence.o language.o lastfiles.o lengthcommon.o lyx_cb.o lyx_gui.o lyx_main.o lyx_sty.o lyxcursor.o lyxfont.o lyxfind.o lyxfunc.o lyxgluelength.o lyxlayout.o lyxlength.o lyxlex.o lyxlex_pimpl.o lyxlookup.o lyxrc.o lyxrow.o lyxserver.o lyxtextclass.o lyxtextclasslist.o lyxvc.o main.o minibuffer.o paragraph.o paragraph_pimpl.o screen.o sp_spell.o tabular.o tabular-old.o tabular_funcs.o tex-ac! ! cent.o tex-strings.o texrow.o text.o text2.o tracer.o trans.o trans_mgr.o undo.o undo_funcs.o undostack.o vc-backend.o version.o vspace.o mathed/libmathed.la insets/libinsets.la frontends/libfrontends.la graphics/libgraphics.la support/libsupport.la `../sigc++/sigc-config --libs-names | sed -e 's/-lsigc//'` ../sigc++/libsigc.la ../intl/libintl.a -lSM -lICE -liberty -lc -lm -L/usr/lib/X11R6 -lX11 g++ -march=1.1 -o lyx BufferView.o BufferView2.o BufferView_pimpl.o Bullet.o Chktex.o ColorHandler.o CutAndPaste.o DepTable.o FloatList.o Floating.o FontInfo.o FontLoader.o FuncStatus.o LColor.o LaTeX.o LaTeXFeatures.o LyXAction.o LyXView.o MenuBackend.o Painter.o PainterBase.o ParagraphParameters.o Spacing.o TextCache.o Thesaurus.o ToolbarDefaults.o WorkArea.o XFormsView.o box.o buffer.o bufferlist.o bufferparams.o bufferview_funcs.o chset.o converter.o debug.o encoding.o exporter.o font.o gettext.o importer.o intl.o iterators.o kbmap.o kbsequence.o language.o lastfiles.o lengthcommon.o lyx_cb.o lyx_gui.o lyx_main.o lyx_sty.o lyxcursor.o lyxfont.o lyxfind.o lyxfunc.o lyxgluelength.o lyxlayout.o lyxlength.o lyxlex.o lyxlex_pimpl.o lyxlookup.o lyxrc.o lyxrow.o lyxserver.o lyxtextclass.o lyxtextclasslist.o lyxvc.o main.o minibuffer.o paragraph.o paragraph_pimpl.o screen.o sp_spell.o tabular.o tabular-old.o tabular_funcs.o tex-accent.o tex-strings.o texrow.o text.o text2.o tracer! ! .o trans.o trans_mgr.o undo.o undo_funcs.o undostack.o vc-backend.o version.o vspace.o -L/pd/glibs/lib/ mathed/.libs/libmathed.a insets/.libs/libinsets.a frontends/.libs/libfrontends.a -lforms -lXpm graphics/.libs/libgraphics.a support/.libs/libsupport.a ../sigc++/.libs/libsigc.a ../intl/libintl.a -lSM -lICE -liberty -lc -lm -L/usr/lib/X11R6 -lX11 /usr/ccs/bin/ld: Unsatisfi
problems compiling lyx-1.2.0
Hi, just at the end of compiling i get this: /usr/ccs/bin/ld: Unsatisfied symbols: ControlInset::inset(void) const(code) ControlInset, __default_alloc_template > >::updateSlot(bool)(code) ControlInset::apply(void) (code) ControlInset::params(void) (code) ControlInset::params(void)(code) ControlInset::hide(void) (code) ControlInset::update(void) (code) ButtonController::ButtonController(basic_string, __default_alloc_template > const &, basic_string, __default_alloc_template > const &)(code) ControlInset::params(void) (code) ControlInset::updateSlot(bool) (code) ControlInset::hide(void) (code) ControlInset::updateSlot(bool) (code) ControlDialog::update(void)(code) ControlInset::hide(void) (code) ControlDialog::update(void)(code) ControlInset::params(void) (code) ControlInset::updateSlot(bool) (code) ControlInset::apply(void) (code) ControlDialog::hide(void)(code) ControlInset::showInset(InsetCommand *) (code) ControlInset::hide(void) (code) ControlDialog::show(void)(code) ControlDialog::hide(void)(code) ControlDialog::show(void)(code) ControlInset::hide(void) (code) ControlInset, __default_alloc_template > >::apply(void)(code) ControlInset::params(void) (code) ControlInset::params(void) (code) ControlInset::apply(void)(code) ControlInset::apply(void) (code) ControlInset::createInset(basic_string, __default_alloc_template > const &)(code) ControlInset::updateSlot(bool) (code) ControlInset::hide(void)(code) ControlInset::update(void) (code) ControlInset::update(void)(code) ControlInset::hide(void) (code) ControlInset, __default_alloc_template > >::update(void)(code) ControlInset, __default_alloc_template > >::params(void)(code) ControlInset::apply(void) (code) boost::detail::crc_table_t<32, 79764919, true>::table_ (data) ControlInset::update(void) (code) ControlInset::update(void) (code) ControlInset::apply(void) (code) ControlInset::updateSlot(bool)(code) ButtonController::ButtonController(basic_string, __default_alloc_template > const &, basic_string, __default_alloc_template > const &)(code) ControlInset::apply(void) (code) ControlInset::params(void) (code) ControlInset::updateSlot(bool) (code) ControlInset::update(void) (code) ControlInset, __default_alloc_template > >::hide(void)(code) ControlInset::updateSlot(bool) (code) ControlInset::update(void) (code) collect2: ld returned 1 exit status make: *** [lyx] Error 1 any idea's??? Thx Olli -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
Re: Problems compiling LyX 1.2
Jean-Marc Lasgouttes wrote: >>"robin" == robin <[EMAIL PROTECTED]> writes: >> > >robin> Every time I try to compile LyX 1.2, I get the following error >robin> message on running configure: > >robin> ** Cannot find libXpm. Please check that the Xpm library is >robin> correctly installed on your system. > >robin> ** Cannot find xpm.h. Please check that the Xpm library is >robin> correctly installed on your system. > >robin> I have libxpm and libxpm-devel installed (this is on Mandrake >robin> 8.2). Does anyone have an idea what is causing this? > >Please look into your config.log file and search for the string xpm. >Then post the relevant command lines and error messages. > I assume it's configure:9562: checking for XpmCreateBufferFromImage in -lXpm configure:9584: g++ -o conftest -O -fno-exceptions -isystem /usr/X11R6/include conftest.C -lXpm -lSM -lICE -lc -lm -L/usr/X11R6/lib -lX11 1>&5 /usr/bin/ld: cannot find -lXpm Robin
Re: Problems compiling LyX 1.2
> "robin" == robin <[EMAIL PROTECTED]> writes: robin> Every time I try to compile LyX 1.2, I get the following error robin> message on running configure: robin> ** Cannot find libXpm. Please check that the Xpm library is robin> correctly installed on your system. robin> ** Cannot find xpm.h. Please check that the Xpm library is robin> correctly installed on your system. robin> I have libxpm and libxpm-devel installed (this is on Mandrake robin> 8.2). Does anyone have an idea what is causing this? Please look into your config.log file and search for the string xpm. Then post the relevant command lines and error messages. JMarc
Problems compiling LyX 1.2
Every time I try to compile LyX 1.2, I get the following error message on running configure: ** Cannot find libXpm. Please check that the Xpm library is correctly installed on your system. ** Cannot find xpm.h. Please check that the Xpm library is correctly installed on your system. I have libxpm and libxpm-devel installed (this is on Mandrake 8.2). Does anyone have an idea what is causing this? Robin
Problems compiling Lyx1.2.0pre4
Hi I tray to compile. output ./configure --- Configuration Host type: i686-pc-linux-gnu Special build flags:warnings assertions included-libsigc xforms-image-loader C Compiler: gcc C Compiler flags: -g -O2 C++ Compiler: g++ (2.95.4) C++ Compiler flags: -g -O -fno-exceptions -W -Wall Linker flags: Frontend: xforms libXpm version: 4.11 libforms version: 0.89.5 LyX binary dir: /usr/local/bin LyX files dir: /usr/local/share/lyx Configuration of LyX was successful. Type 'make' to compile the program, and then 'make install' to install it. --- output make --- Making all in config make[1]: Entering directory `/home/juanra/tmp3/lyx-1.2.0pre4/config' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/juanra/tmp3/lyx-1.2.0pre4/config' Making all in intl make[1]: Entering directory `/home/juanra/tmp3/lyx-1.2.0pre4/intl' gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/ share/locale\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I../src -I. -I../int l -isystem /usr/X11R6/include -g -O2 intl-compat.c gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/ share/locale\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I../src -I. -I../int l -isystem /usr/X11R6/include -g -O2 bindtextdom.c In file included from /usr/include/string.h:360, from bindtextdom.c:25: /usr/include/bits/string2.h:391: warning: `strchr' redefined ../src/config.h:418: warning: this is the location of the previous definition In file included from bindtextdom.c:25: /usr/include/string.h:242: conflicting types for `bcopy' /usr/include/string.h:42: previous declaration of `bcopy' In file included from /usr/include/string.h:360, from bindtextdom.c:25: /usr/include/bits/string2.h: In function `__strsep_1c': /usr/include/bits/string2.h:1138: warning: pointer/integer type mismatch in cond itional expression make[1]: *** [bindtextdom.o] Error 1 make[1]: Leaving directory `/home/juanra/tmp3/lyx-1.2.0pre4/intl' make: *** [all-recursive] Error 1 -- What's going on? Thank's in advanced. Juan Ramón.
Problems compiling lyx1.2.0pre4
Hi I tray to compile. output ./configure --- Configuration Host type: i686-pc-linux-gnu Special build flags:warnings assertions included-libsigc xforms-image-loader C Compiler: gcc C Compiler flags: -g -O2 C++ Compiler: g++ (2.95.4) C++ Compiler flags: -g -O -fno-exceptions -W -Wall Linker flags: Frontend: xforms libXpm version: 4.11 libforms version: 0.89.5 LyX binary dir: /usr/local/bin LyX files dir: /usr/local/share/lyx Configuration of LyX was successful. Type 'make' to compile the program, and then 'make install' to install it. --- output make --- Making all in config make[1]: Entering directory `/home/juanra/tmp3/lyx-1.2.0pre4/config' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/juanra/tmp3/lyx-1.2.0pre4/config' Making all in intl make[1]: Entering directory `/home/juanra/tmp3/lyx-1.2.0pre4/intl' gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/ share/locale\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I../src -I. -I../int l -isystem /usr/X11R6/include -g -O2 intl-compat.c gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/ share/locale\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I../src -I. -I../int l -isystem /usr/X11R6/include -g -O2 bindtextdom.c In file included from /usr/include/string.h:360, from bindtextdom.c:25: /usr/include/bits/string2.h:391: warning: `strchr' redefined ../src/config.h:418: warning: this is the location of the previous definition In file included from bindtextdom.c:25: /usr/include/string.h:242: conflicting types for `bcopy' /usr/include/string.h:42: previous declaration of `bcopy' In file included from /usr/include/string.h:360, from bindtextdom.c:25: /usr/include/bits/string2.h: In function `__strsep_1c': /usr/include/bits/string2.h:1138: warning: pointer/integer type mismatch in cond itional expression make[1]: *** [bindtextdom.o] Error 1 make[1]: Leaving directory `/home/juanra/tmp3/lyx-1.2.0pre4/intl' make: *** [all-recursive] Error 1 -- What's going on? Thank's in advanced.
Problems Compiling 1.2.0cvs
Hi, i am running into problems compiling 1.2.0 and maybe somebody here can help. I am using FreeBSD 4.5-Stable with autoconf 2.13. autogen.sh told me it could not find autoconf/autoheader and so I linked autoconf213 to autoconf and autoheader213 to autoheader. autogen.sh works now so does configure but the make process stops with "Don't know how to make slot.h" Any ideas? Regards, JP
Problems compiling LyX-1.1.n on Tru64 v5.1
Hi, I'm a bit of a newbie to LyX, I have built and installed version 1.0.4, but I'm having some problems getting version 1.1.6 to compile under Compaq Tru64 UNIX v5.1 on an Alpha Server. I've tried using both Compaq C++ V6.3-002 and g++ 3.0, both fail at various points, particularly during the final link. Before I go into too much detail, I wondered if anyone else had got this working, and if so how? thanks, Simon -- Simon Greaves voice: (+679) 212114 Computer Centre fax: (+679) 304089 The University of the South Pacific email: [EMAIL PROTECTED] Suva, Fiji
Re: problems compiling LyX 1.1.6 on slackware 7.0
On Sun, Apr 22, 2001 at 10:38:26AM +0100, [EMAIL PROTECTED] wrote: > I have just run ./configure with the extra library options: > > ./configure > --with-extra-lib=/usr/lib:/usr/X11R6/lib:/usr/i386-slackware-linux-gnulibc1/lib > > It still does not recognise the libXpm and liforms libraries at > > /usr/i386-slackware-linux-gnulibc1/lib/libXpm.so.4 -> libXpm.so.4.11 > /usr/i386-slackware-linux-gnulibc1/lib/libXpm.so.4.11 > /usr/X11R6/lib/libXpm.so.4 > /usr/X11R6/lib/libXpm.so.4.11 > > and > > > /usr/lib/libform.a > /usr/lib/libform.so -> libform.so.5 > /usr/lib/libform.so.5 -> libform.so.5.0 > /usr/lib/libform.so.5.0 > /usr/lib/libform_g.a > /usr/lib/libform_p.a > /usr/X11R6/lib/libforms.so.0.88 Did you run ldconfig after installing those libraries? ldconfig -v should tell you what libraries the linker knows about. > Regards > > Kizito -- José
problems compiling LyX 1.1.6 on slackware 7.0
I have just run ./configure with the extra library options: ./configure --with-extra-lib=/usr/lib:/usr/X11R6/lib:/usr/i386-slackware-linux-gnulibc1/lib It still does not recognise the libXpm and liforms libraries at /usr/i386-slackware-linux-gnulibc1/lib/libXpm.so.4 -> libXpm.so.4.11 /usr/i386-slackware-linux-gnulibc1/lib/libXpm.so.4.11 /usr/X11R6/lib/libXpm.so.4 /usr/X11R6/lib/libXpm.so.4.11 and /usr/lib/libform.a /usr/lib/libform.so -> libform.so.5 /usr/lib/libform.so.5 -> libform.so.5.0 /usr/lib/libform.so.5.0 /usr/lib/libform_g.a /usr/lib/libform_p.a /usr/X11R6/lib/libforms.so.0.88 Regards Kizito
Re: problems compiling LyX 1.1.6 slackware 7.0
Thanks for your advice Jose. I installed xforms-devel-0.88-2 from an i386.rpm. This placed forms.h at /usr/X11R6/include/forms.h I had to create a link from this to /usr/X11R6/include/X11/forms.h ./configure has stopped complaining about forms.h. However the other messages, that libXpm and libforms or libxforms are not installed still occur, even though these are present at /usr/X11R6/include/X11/xpm.h /usr/i386-slackware-linux-gnulibc1/lib/libXpm.so.4 -> libXpm.so.4.11 /usr/i386-slackware-linux-gnulibc1/lib/libXpm.so.4.11 /usr/X11R6/lib/libXpm.so.4 /usr/X11R6/lib/libXpm.so.4.11 and /usr/lib/libform.a /usr/lib/libform.so -> libform.so.5 /usr/lib/libform.so.5 -> libform.so.5.0 /usr/lib/libform.so.5.0 /usr/lib/libform_g.a /usr/lib/libform_p.a /usr/X11R6/lib/libforms.so.0.88 Also I noted that ./configure does detect xpm.h. Looking through the configure script it is not apparent to me where it is checking for these libraries. Meanwhile I will try the extra libraries options. Thanks in advance for any further advice. Kizito
Re: problems compiling LyX 1.1.6 slackware 7.0
Am Sam, 21 Apr 2001 schrieb Jose Abilio Oliveira Matos: > On Sat, Apr 21, 2001 at 04:35:47PM +0100, [EMAIL PROTECTED] wrote: > > I have just installed Slackware 7.0, and am attempting to compile LyX > > 1.1.6. > > > > Iam not succeding. Could anyone please help? > > > > The LyX installation instructions say that: > > > > "As of LyX version 1.1.5, you will need to have Xforms library and > > header > > version 0.88 or 0.89." > > > > and > > > > "In addition, you must have libXpm version 4.7 (or newer; 4.8 rumoured > > to work)." > > > > These do not come with Slackware 7.0 so I have installed them, so my > > machine has this on it: > ... > >> /usr/lib/libform.a > > /usr/lib/libform.so -> libform.so.5 > > /usr/lib/libform.so.5 -> libform.so.5.0 > > /usr/lib/libform.so.5.0 > > /usr/lib/libform_g.a > > /usr/lib/libform_p.a > > /usr/X11R6/lib/libforms.so.0.88 > > You also need the header file that will probably go on: > /usr/include/forms.h > > Look for xforms-devel. > > -- > José Thanks a lot I stuck in the same problem Lothar -- Lothar J. Feltes Hasenstrasse 9 67346 Speyer E-Mail: [EMAIL PROTECTED] Homepage: http://private.freepage.de/lotharfeltes/ --
Problems compiling LyX 1.1.6fix1 on Darwin/OSX
I've been playing with the FreeBSD based underpinnings of MacOSX/Darwin, and trying to get Lyx to compile. So far, I've got: -xforms and xpm correctly installed. -Patched libtools to make sure that libraries compile under Darwin. -Replaced the config.guess and config.sub files with Darwin provided ones so that ./configure would run correctly. -Set the -traditional-cpp option in ./configure to get the precompilers to work correctly. -Xtools Xwindows environment as well as tetex is correctly installed. In a nutshell, I think I've dealt with most of the Darwin specific problems in compiling LyX, but make stops with the following error: /usr/bin/ld: Undefined symbols: _fl_display ... _fl_set_slider_size make[3]: *** [lyx] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive-am] Error 2 make: *** [all-recursive] Error 1 It's been at about 10 years since I last compiled anything, so any suggestions would be greatly appreciated. Best, Tn
Re: problems compiling LyX 1.1.6 slackware 7.0
On Sat, Apr 21, 2001 at 04:35:47PM +0100, [EMAIL PROTECTED] wrote: > I have just installed Slackware 7.0, and am attempting to compile LyX > 1.1.6. > > Iam not succeding. Could anyone please help? > > The LyX installation instructions say that: > > "As of LyX version 1.1.5, you will need to have Xforms library and > header > version 0.88 or 0.89." > > and > > "In addition, you must have libXpm version 4.7 (or newer; 4.8 rumoured > to work)." > > These do not come with Slackware 7.0 so I have installed them, so my > machine has this on it: ... > /usr/lib/libform.a > /usr/lib/libform.so -> libform.so.5 > /usr/lib/libform.so.5 -> libform.so.5.0 > /usr/lib/libform.so.5.0 > /usr/lib/libform_g.a > /usr/lib/libform_p.a > /usr/X11R6/lib/libforms.so.0.88 You also need the header file that will probably go on: /usr/include/forms.h Look for xforms-devel. -- José
problems compiling LyX 1.1.6 slackware 7.0
I have just installed Slackware 7.0, and am attempting to compile LyX 1.1.6. Iam not succeding. Could anyone please help? The LyX installation instructions say that: "As of LyX version 1.1.5, you will need to have Xforms library and header version 0.88 or 0.89." and "In addition, you must have libXpm version 4.7 (or newer; 4.8 rumoured to work)." These do not come with Slackware 7.0 so I have installed them, so my machine has this on it: /usr/X11R6/include/X11/xpm.h /usr/i386-slackware-linux-gnulibc1/lib/libXpm.so.4 -> libXpm.so.4.11 /usr/i386-slackware-linux-gnulibc1/lib/libXpm.so.4.11 /usr/X11R6/lib/libXpm.so.4 /usr/X11R6/lib/libXpm.so.4.11 and /usr/lib/libform.a /usr/lib/libform.so -> libform.so.5 /usr/lib/libform.so.5 -> libform.so.5.0 /usr/lib/libform.so.5.0 /usr/lib/libform_g.a /usr/lib/libform_p.a /usr/X11R6/lib/libforms.so.0.88 However when I run ./configure in the LyX sourcedirectory the final message is this: Configuration: Source code location: . C++ Compiler: g++ C++ Compiler flags: -g -O2 -fno-rtti -fno-exceptions C Compiler: gcc C Compiler flags: -g -O2 LyX binary dir: /opt/kde/bin LyX files dir: /opt/kde/share/lyx Special flags: frontend-xforms included-libsigc The following problems have been detected by configure. Please check the messages below before running 'make'. (see the section 'Problems' in the INSTALL file) ** Cannot find libXpm. Please check that the Xpm library is correctly installed on your system. ** Cannot find libforms or libxforms. Please check that the xforms library is correctly installed on your system. ** Cannot find forms.h. Please check that the forms library is correctly installed on your system. I have looked in info about the configure script and looked at the config.log file that was produced (see the attachment) but, not being very experienced in this level of programming remain unenlightened as to what I should do. The following from config.log seemed most likley to be related to my problem: ### int main() { XpmCreateBufferFromImage() ; return 0; } configure:8054: checking for X11/xpm.h configure:8064: g++ -E -isystem /usr/X11R6/include conftest.C >/dev/null 2>conftest.out configure:8136: checking xpm header version configure:8179: checking for fl_initialize in -lforms configure:8201: g++ -o conftest -g -O2 -fno-rtti -fno-exceptions -isystem /usr/X11R6/include conftest.C -lforms -lSM -lICE -liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5 /usr/i386-slackware-linux/bin/ld: cannot open -lforms: No such file or directory collect2: ld returned 1 exit status configure: failed program was: #line 8187 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fl_initialize(); and int main() { fl_initialize() ; return 0; } configure:8220: checking for fl_initialize in -lxforms configure:8242: g++ -o conftest -g -O2 -fno-rtti -fno-exceptions -isystem /usr/X11R6/include conftest.C -lxforms -lSM -lICE -liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5 /usr/i386-slackware-linux/bin/ld: cannot open -lxforms: No such file or directory collect2: ld returned 1 exit status configure: failed program was: #line 8228 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fl_initialize();
Re: Problems compiling Lyx
> "Rupesh" == Rupesh kumar <[EMAIL PROTECTED]> writes: Rupesh> Hi!!=20 I have a problem when compiling Lyx...It got Rupesh> configured successfully... Rupesh> Here is the error ... g++ -c -g -O2 -I. -I. -I../images Rupesh> -I/home/rupeshk/xforms/xforms/FORMS = -I/usr/X11R6/include Rupesh> spellchecker.C=20 spellchecker.C: In function `void Rupesh> create_ispell_pipe(const LString &)': spellchecker.C:348: Rupesh> passing `int *' as argument 2 of `select(int, = __fd_set *, Rupesh> __fd_set *, __fd_set *, timeval *)' Rupesh> Since the compilation failed with "make" I tried to compile Rupesh> this file = separately with optimization flag off Is there Rupesh> something wrong with my compiler... Or is there a bug in Lyx? Rupesh> I work on a Linux Box running Red Hat Linux 6.0 This is a problem with newer gcc versions. Please try lyx 1.0.4pre8, which should work around the problem. JMarc
Problems compiling Lyx
Hi!! I have a problem when compiling Lyx...It got configured successfully... Here is the error ... g++ -c -g -O2 -I. -I. -I../images -I/home/rupeshk/xforms/xforms/FORMS -I/usr/X11R6/include spellchecker.C spellchecker.C: In function `void create_ispell_pipe(const LString &)':spellchecker.C:348: passing `int *' as argument 2 of `select(int, __fd_set *, __fd_set *, __fd_set *, timeval *)' Since the compilation failed with "make" I tried to compile this file separately with optimization flag off Is there something wrong with my compiler... Or is there a bug in Lyx? I work on a Linux Box running Red Hat Linux 6.0 Thanks and regards Rupesh
Re: Problems compiling lyx-1.0.1
On Thu, 18 Mar 1999, Jean-Marc Lasgouttes wrote: > > "Ramon" == Ramon Flores Seijas <[EMAIL PROTECTED]> writes: > > Ramon> Hi, I am trying to compile lyx-1.0.1 in a Sparcstation with > Ramon> linux (Redhad 5.2). But I have some problems. > > Ramon> First I ran configure, without problems. But when I ran make > Ramon> the following error messages appears: > > It seems to be a problem with your gettext installation. You might try > to configure with --with-included-gettext and see whether it helps. > I have done as you say, and it works. Now Lyx 1.0.1 is running correctly. Thank a lot for your work and your advice. Ramon ** * Ramon Flores*Un saudo para o Escola de Optica e Optometria *staff da CIA, que Universidade de Santiago*me estara a ler Santiago. Galiza. * * **
Re: Problems compiling lyx-1.0.1
> "Ramon" == Ramon Flores Seijas <[EMAIL PROTECTED]> writes: Ramon> Hi, I am trying to compile lyx-1.0.1 in a Sparcstation with Ramon> linux (Redhad 5.2). But I have some problems. Ramon> First I ran configure, without problems. But when I ran make Ramon> the following error messages appears: It seems to be a problem with your gettext installation. You might try to configure with --with-included-gettext and see whether it helps. JMarc
Problems compiling lyx-1.0.1
Hi, I am trying to compile lyx-1.0.1 in a Sparcstation with linux (Redhad 5.2). But I have some problems. First I ran configure, without problems. But when I ran make the following error messages appears: == [ramon@fasilver lyx-1.0.1]$ make for dir in intl po src lib ; do \ (cd $dir ; make all) || exit 1; \ done make[1]: Entering directory `/export/home/ramon/lyx/lyx-1.0.1/intl' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/export/home/ramon/lyx/lyx-1.0.1/intl' make[1]: Entering directory `/export/home/ramon/lyx/lyx-1.0.1/po' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/export/home/ramon/lyx/lyx-1.0.1/po' make[1]: Entering directory `/export/home/ramon/lyx/lyx-1.0.1/src' gcc -o lyx main.o lyx_main.o lyx_gui.o lyx.o lyx_cb.o lyxfr0.o lyxfr1.o inset.o lyxfont.o texrow.o paragraph.o layout.o screen.o text.o text2.o spellchecker.o kbmap.o bmtable.o math_symbols.o lyxfunc.o credits.o menus.o intl.o form1.o credits_form.o layout_forms.o print_form.o math_macro.o math_root.o figinset.o toolbar.o formula.o math_hash.o math_inset.o math_parser.o math_write.o math_draw.o latexoptions.o texoptions.o table.o buffer.o lastfiles.o sp_form.o lyx_sty.o math_panel.o math_iter.o lyxrc.o lyxlex.o combox.o minibuffer.o math_delim.o math_forms.o math_cursor.o math_utils.o lyx_sendfax.o lyx_sendfax_main.o LString.o bufferparams.o pathstack.o filetools.o filedlg.o error.o insetquotes.o insetlatex.o BufferView.o Spacing.o PaperLayout.o insetref.o inseturl.o insetlatexaccent.o insetinfo.o inseterror.o insetlabel.o bufferlist.o lyx_gui_misc.o vspace.o LaTeX.o LyXView.o FileInfo.o insetcommand.o insetbib.o insetindex.o LyXAction.o lyxsum.o DepTable.o lyxserver.o LaTeXLog.o formulamacro.o insetinclude.o syscall.o syscontr.o syssingleton.o TableLayout.o insettoc.o insetlof.o insetlot.o lyxdraw.o LaTeXFeatures.o lyxvc.o trans.o tex-strings.o tex-accent.o ParagraphExtra.o FontInfo.o FontLoader.o insetparent.o LyXSendto.o Bullet.o bullet_forms.o bullet_forms_cb.o insetloa.o trans_mgr.o chset.o Chktex.o insetspecialchar.o lyxlookup.o ImportLaTeX.o Literate.o -lforms -lXpm -lSM -lICE -liberty -lc -lm -L/usr/X11R6/lib -lX11 lyx_main.o: In function `LyX::init(int *, char **)': /export/home/ramon/lyx/lyx-1.0.1/src/../src/lyx_main.C:184: undefined reference to `dcgettext__' /export/home/ramon/lyx/lyx-1.0.1/src/../src/lyx_main.C:185: undefined reference to `dcgettext__' /export/home/ramon/lyx/lyx-1.0.1/src/../src/lyx_main.C:271: undefined reference to `dcgettext__' /export/home/ramon/lyx/lyx-1.0.1/src/../src/lyx_main.C:272: undefined reference to `dcgettext__' /export/home/ramon/lyx/lyx-1.0.1/src/../src/lyx_main.C:280: undefined reference to `dcgettext__' lyx_main.o:/export/home/ramon/lyx/lyx-1.0.1/src/../src/lyx_main.C:281: more undefined references to `dcgettext__' follow collect2: ld returned 1 exit status make[1]: *** [lyx] Error 1 make[1]: Leaving directory `/export/home/ramon/lyx/lyx-1.0.1/src' make: *** [all] Error 1 Somebody knows what is wrong? Thanks in advance Ramon ** * Ramon Flores*Un saudo para o Escola de Optica e Optometria *staff da CIA, que Universidade de Santiago*me estara a ler Santiago. Galiza. * * **