Re: LyX 1.1.6. does not launch on OSF
Jean-Marc Lasgouttes wrote: > > > "Peer" == Peer Frank <[EMAIL PROTECTED]> writes: > > Peer> This is another interesting thread: I don't use --prefix. Should > Peer> I ? How ? (was not necessary so far) > > How did you install in your local directory? Are you running LyX > without installing first? > > The idea of prefix is to do > configure --prefix=~/my-lyx > > and, with "make install", LyX will be installed in > ~/my-lyx/bin/lyx > ~/my-lyx/share/lyx/[lib files] > ~/my-lyx/man/man1/lyx.1 > etc. > > Default value of --prefix is /usr/local. > > Note that you should recompile completely LyX (at least to "rm > src/*main.o" before compiling) if you change the prefix. > > JMarc Yep, that was it, but only after also setting setenv LYX_DIR_11x ~/lyx-1.1.6/lib By the way, no man (~/my-lyx/man) and no lib files, only the locale files were installed in ~/my-lyx/share. Phew, thanks a lot to all of you !!! Peer
Re: LyX 1.1.6. does not launch on OSF
> "Peer" == Peer Frank <[EMAIL PROTECTED]> writes: Peer> So am I ... As you see i'm not installing in usr/local but in my Peer> user dir. Could that be an explanation for some path confusion Peer> and not finding the icons ? How did you do the installation in user directory? Did you use --prefix? It seems to me that LyX uses the 1.1.5 library directory, and that's why it creates wrong files in .lyx. Peer> Have there been changes in the file format of lyxrc.default ? Yes, some variables have been renamed. JMarc
Re: LyX 1.1.6. does not launch on OSF
Salut jean-Marc ! Jean-Marc Lasgouttes wrote: > > > "Peer" == Peer Frank <[EMAIL PROTECTED]> writes: > > Peer> still/again trying to get the thing going. LyX is still unable > Peer> to start (with the former version ~./lyx dir removed); is any > Peer> other OSF user more lucky ? > > Are you sure you removed your former ~/.lyx directory?? Assuming your > home directory is /Perfo/peer, the following line seems wrong: Absolutely sure. > Found lyxrc.defaults in /Perfo/peer/.lyx/lyxrc.defaults > Reading '/Perfo/peer/.lyx/lyxrc.defaults'... > > Note that 'make install' does not generate anything in .lyx/. you are right: ~./lyx is generated during the first launch of LyX if no ~.lyx is there. Again: ~.lyx removed, LyX started, .lyx (and its files) generated, LyX crashes with those messages: ... creating lyxrc.defaults LyX: Done! LyX: Unknown tag `\latex_command' [around line 6 of file ~/.lyx/lyxrc.defaults] LyX: Unknown tag `\relyx_command' [around line 7 of file ~/.lyx/lyxrc.defaults] LyX: Unknown tag `\view_ps_command' [around line 9 of file ~/.lyx/lyxrc.defaults] ... Unable to find icon `buffer-open' Unable to find icon `buffer-write' Unable to find icon `buffer-print' ... > > I am surprised that it eventually crashes, anyway. So am I ... As you see i'm not installing in usr/local but in my user dir. Could that be an explanation for some path confusion and not finding the icons ? Now i found that the new ~./lyx/lyxrc.default is exactly the same as the one generated by lyx_1.1.5fix2. Is that OK ? I also tried with the lyxrc.default that is contained in the ~/lyx-1.1.6/lib dir, this too could not be read. Have there been changes in the file format of lyxrc.default ? I have the feeling that it might be rather a read (source, compiler ?) than a file format or location problem (i use gcc version 2.95.1). Peer # This file has been automatically generated by LyX' lib/configure # script. It contains default settings that have been determined by # examining your system. PLEASE DO NOT MODIFY ANYTHING HERE! If you # want to customize LyX, make a copy of the file LYXDIR/lyxrc as # ~/.lyx/lyxrc and edit this file instead. Any setting in lyxrc will # override the values given here. \latex_command "latex" \relyx_command "reLyX" \ps_command "gs" \view_ps_command "gv -swap" \view_pspic_command "gv" \ascii_roff_command "tbl $$FName | nroff" \chktex_command "none" \spell_command "none" \fax_command "none" \print_spool_command "lp" \print_spool_printerprefix "-d " \font_encoding "T1"
Re: LyX 1.1.6. does not launch on OSF
>> >>Of course, lyx executable is 1.1.6 for a few seconds... >> >>The sharable part is in /usr/local/share/lyx-1.1.6 all right. of course >> >>-- >>Jean-Pierre >> >>
Re: LyX 1.1.6. does not launch on OSF
>>Date: Fri, 19 Jan 2001 17:25:55 +0100 (CET) >>From: Alain Castera <[EMAIL PROTECTED]> >>To: Peer Frank <[EMAIL PROTECTED]> >>cc: LyX mailing list <[EMAIL PROTECTED]> >>Subject: Re: LyX 1.1.6. does not launch on OSF >> >>On Fri, 19 Jan 2001, Peer Frank wrote: >> >>> Salut Alain: >>> >>> your suggestion sounds like the right remidy ... but it doesn't work >>> here either. Although the --with-lyxname=STRING option is correctly >>> recognized by configure, no "STRING" directory is created in >>> ~/tex/share, see the result of the configure run. You wrote "renaming my >>> old /usr/local/share/lyx directory solved the problem", renaming from >>> which to which ? >> >>renaming to whatever you like (just to be sure the new lyx will not use >>it). >> >>But the directory was created OK on my machine !!! Note that it was >>created by "make install". If you tried to test your local copy before >>installation, I don't know what lyx is supposed to do in this case. Piece of code in my « makelyx » command to install and test a new version while protecting the current one (1.1.5): cp /usr/local/bin/lyx /usr/local/bin/lyx-1.1.5 cp /usr/local/bin/reLyX /usr/local/bin/reLyX-1.1.5 gmake install cp /usr/local/bin/lyx /usr/local/bin/lyx-1.1.6 strip /usr/local/bin/lyx-1.1.6 cp /usr/local/bin/reLyX /usr/local/bin/reLyX-1.1.6 cp /usr/local/bin/lyx-1.1.5 /usr/local/bin/lyx cp /usr/local/bin/reLyX-1.1.5 /usr/local/bin/reLyX Of course, lyx executable is 1.1.6 for a few seconds... The sharable part is in /usr/local/share/1.1.6 all right. -- Jean-Pierre
Re: LyX 1.1.6. does not launch on OSF
On Fri, 19 Jan 2001, Peer Frank wrote: > Salut Alain: > > your suggestion sounds like the right remidy ... but it doesn't work > here either. Although the --with-lyxname=STRING option is correctly > recognized by configure, no "STRING" directory is created in > ~/tex/share, see the result of the configure run. You wrote "renaming my > old /usr/local/share/lyx directory solved the problem", renaming from > which to which ? renaming to whatever you like (just to be sure the new lyx will not use it). But the directory was created OK on my machine !!! Note that it was created by "make install". If you tried to test your local copy before installation, I don't know what lyx is supposed to do in this case. Alain > > Configuration: > Source code location: . > C++ Compiler:g++ > C++ Compiler flags: -g -O2 -fpermissive -fno-rtti > -fno-exceptions > C Compiler:gcc > C Compiler flags: -g -O2 > LyX binary dir: /Perfo/peer/tex/bin > LyX files dir: /Perfo/peer/tex/share/lyxnew <--- looks > right, but this dir is not created > Special flags: frontend-xforms included-string > included-libsigc > > i keep trying... > > :-( peer > > *** *Alain Castera* * LPNHE - Tour 33 RdC | e-mail : [EMAIL PROTECTED]* * 4 Place Jussieu | Telephone : (+33) 144274187 * * 75252 Paris Cedex 05 | Fax : (+33) 144274638 * * France| * ***
Re: LyX 1.1.6. does not launch on OSF
> "Peer" == Peer Frank <[EMAIL PROTECTED]> writes: Peer> still/again trying to get the thing going. LyX is still unable Peer> to start (with the former version ~./lyx dir removed); is any Peer> other OSF user more lucky ? Are you sure you removed your former ~/.lyx directory?? Assuming your home directory is /Perfo/peer, the following line seems wrong: Found lyxrc.defaults in /Perfo/peer/.lyx/lyxrc.defaults Reading '/Perfo/peer/.lyx/lyxrc.defaults'... <--- this is the one just generated by make install Note that 'make install' does not generate anything in .lyx/. I am surprised that it eventually crashes, anyway. JMarc PS: I do use 1.1.6 on Tru64 unix 4.0f (== Digital Unix == OSF/1).
Re: LyX 1.1.6. does not launch on OSF
> "Alain" == Alain Castera <[EMAIL PROTECTED]> writes: Alain> Alain P.S. suggestion : Is it possible to suggest, in the Alain> INSTALL file, a COMPLETE procedure to install concurent Alain> versions of LyX (e.g. to test a new release before switching). Alain> This could help stupid users (like me) :-) The current implementation of --with-lyxname is broken :( We'll try to come up with something better... JMarc
Re: LyX 1.1.6. does not launch on OSF
Salut Alain: your suggestion sounds like the right remidy ... but it doesn't work here either. Although the --with-lyxname=STRING option is correctly recognized by configure, no "STRING" directory is created in ~/tex/share, see the result of the configure run. You wrote "renaming my old /usr/local/share/lyx directory solved the problem", renaming from which to which ? Configuration: Source code location: . C++ Compiler:g++ C++ Compiler flags: -g -O2 -fpermissive -fno-rtti -fno-exceptions C Compiler:gcc C Compiler flags: -g -O2 LyX binary dir: /Perfo/peer/tex/bin LyX files dir: /Perfo/peer/tex/share/lyxnew <--- looks right, but this dir is not created Special flags: frontend-xforms included-string included-libsigc i keep trying... :-( peer Alain Castera wrote: > > Hi > I got a similar behavior on my PPC . > > The problem was not with the ~/.lyx directory, but with the > /usr/local/share/lyx directory. I configured LyX 1.1.6 with the > --with-lyxname=STRING, and it creates a "STRING" directory in > /usr/local/share, but seemed to use the "old" /usr/local/share/lyx dir > when launched. Note that the application name was still lyx and not > STRING. > > May be I missed the point ( and lost my "old" LyX binary). Anyway, > renaming my old /usr/local/share/lyx directory solved the problem. > > Hope this could help you. > > Alain > P.S. suggestion : Is it possible to suggest, in the INSTALL file, a > COMPLETE procedure to install concurent versions of LyX (e.g. to test a > new release before switching). This could help stupid users (like me) :-) > > *** > *Alain Castera* > * LPNHE - Tour 33 RdC | e-mail : [EMAIL PROTECTED]* > * 4 Place Jussieu | Telephone : (+33) 144274187 * > * 75252 Paris Cedex 05 | Fax : (+33) 144274638 * > * France| * > *** > > On Fri, 19 Jan 2001, Peer Frank wrote: > > > Hi LyXers ! > > > > still/again trying to get the thing going. LyX is still unable to start > > (with the former version ~./lyx dir removed); is any other OSF user more > > lucky ? > > > > Now i tried the debug option, maybe this shows an obvious reason that > > jumps into the eye of some LyXexpert. > > > > Idea: unlike for the former versions installation is it perhaps also > > neccessary to remove files in the ~/tex/share/lyx dir that might be > > forgotten my the installation script ? > > > > Peer
Re: LyX 1.1.6. does not launch on OSF
Hi I got a similar behavior on my PPC . The problem was not with the ~/.lyx directory, but with the /usr/local/share/lyx directory. I configured LyX 1.1.6 with the --with-lyxname=STRING, and it creates a "STRING" directory in /usr/local/share, but seemed to use the "old" /usr/local/share/lyx dir when launched. Note that the application name was still lyx and not STRING. May be I missed the point ( and lost my "old" LyX binary). Anyway, renaming my old /usr/local/share/lyx directory solved the problem. Hope this could help you. Alain P.S. suggestion : Is it possible to suggest, in the INSTALL file, a COMPLETE procedure to install concurent versions of LyX (e.g. to test a new release before switching). This could help stupid users (like me) :-) *** *Alain Castera* * LPNHE - Tour 33 RdC | e-mail : [EMAIL PROTECTED]* * 4 Place Jussieu | Telephone : (+33) 144274187 * * 75252 Paris Cedex 05 | Fax : (+33) 144274638 * * France| * *** On Fri, 19 Jan 2001, Peer Frank wrote: > Hi LyXers ! > > still/again trying to get the thing going. LyX is still unable to start > (with the former version ~./lyx dir removed); is any other OSF user more > lucky ? > > Now i tried the debug option, maybe this shows an obvious reason that > jumps into the eye of some LyXexpert. > > Idea: unlike for the former versions installation is it perhaps also > neccessary to remove files in the ~/tex/share/lyx dir that might be > forgotten my the installation script ? > > Peer
LyX 1.1.6. does not launch on OSF
Hi LyXers ! still/again trying to get the thing going. LyX is still unable to start (with the former version ~./lyx dir removed); is any other OSF user more lucky ? Now i tried the debug option, maybe this shows an obvious reason that jumps into the eye of some LyXexpert. Idea: unlike for the former versions installation is it perhaps also neccessary to remove files in the ~/tex/share/lyx dir that might be forgotten my the installation script ? Peer > lyx -dbg init Setting debug level to init Debugging `init' (Program initialisation) Initializing LyXGUI... Initializing LyXGUI...done Initializing LyX::init... Path of binary: /Perfo/peer/tex/bin/ Checking whether LyX is run in place... no System directory search path: /Perfo/peer/tex/share/l6/;/Perfo/share/l6/;/Perfo/peer/tex/share/lyx System directory: '/Perfo/peer/tex/share/lyx/' User LyX directory: '/Perfo/peer/.lyx/' DPI setting detected to be 113.662 About to read lyxrc.defaults... Found lyxrc.defaults in /Perfo/peer/.lyx/lyxrc.defaults Reading '/Perfo/peer/.lyx/lyxrc.defaults'... <--- this is the one just generated by make install LyX: Unknown tag `\latex_command' [around line 6 of file ~/.lyx/lyxrc.defaults] LyX: Unknown tag `\relyx_command' [around line 7 of file ~/.lyx/lyxrc.defaults] LyX: Unknown tag `\view_ps_command' [around line 9 of file ~/.lyx/lyxrc.defaults] LyX: Unknown tag `\view_pspic_command' [around line 10 of file ~/.lyx/lyxrc.defaults] LyX: Unknown tag `\fax_command' [around line 14 of file ~/.lyx/lyxrc.defaults] About to read preferences... Could not find preferences About to read lyxrc... Could not find lyxrc About to read encodings... Could not find encodings About to read languages... Could not find languages Reading layouts... Reading '/Perfo/peer/tex/share/lyx/bind/cua.bind'... LyX: Unknown LyX function `buffer-view-ps' [around line 47 of file ~/tex/share/lyx/bind/cua.bind] LyX: Unknown LyX function `buffer-typeset' [around line 48 of file ~/tex/share/lyx/bind/cua.bind] LyX: Unknown LyX function `buffer-typeset-ps' [around line 49 of file ~/tex/share/lyx/bind/cua.bind] Reading '/Perfo/peer/tex/share/lyx/bind/menus.bind'... LyX: Unknown LyX function `buffer-view-ps' [around line 37 of file ~/tex/share/lyx/bind/menus.bind] LyX: Unknown LyX function `buffer-typeset' [around line 38 of file ~/tex/share/lyx/bind/menus.bind] LyX: Unknown LyX function `buffer-typeset-ps' [around line 39 of file ~/tex/share/lyx/bind/menus.bind] LyX: Unknown LyX function `buffer-fax' [around line 41 of file ~/tex/share/lyx/bind/menus.bind] LyX: Unknown LyX function `layout-paper' [around line 83 of file ~/tex/share/lyx/bind/menus.bind] LyX: Unknown LyX function `layout-table' [around line 84 of file ~/tex/share/lyx/bind/menus.bind] LyX: Unknown LyX function `layout-quotes' [around line 85 of file ~/tex/share/lyx/bind/menus.bind] LyX: Unknown LyX function `buffer-itemize-bullets-select' [around line 94 of file ~/tex/share/lyx/bind/menus.bind] LyX: Unknown LyX function `table-insert' [around line 102 of file ~/tex/share/lyx/bind/menus.bind] Reading '/Perfo/peer/tex/share/lyx/bind/math.bind'... About to read default... Could not find default<--- required ? who should write this ? LyX tmp dir: `/tmp/lyx_tmpdir11967aalvFa' Reading lastfiles `/Perfo/peer/.lyx/lastfiles'... Initializing LyX::init...done Initializing LyXView... Unable to find icon `buffer-open' Unable to find icon `buffer-write' Unable to find icon `buffer-print' Unable to find icon `cut' Unable to find icon `copy' Unable to find icon `paste' Unable to find icon `font-emph' Unable to find icon `font-noun' Unable to find icon `font-free' Unable to find icon `footnote-insert' Unable to find icon `marginpar-insert' Unable to find icon `depth-next' Unable to find icon `tex-mode' Unable to find icon `math-mode' Unable to find icon `figure-insert' Unable to find icon `dialog-tabular-insert' Initializing LyXFunc Initializing LyXView...done Initializing form_character::combox... Initializing form_character...done lyx: SIGSEGV signal caught Sorry, you have found a bug in LyX. If possible, please read 'Known bugs' under the Help menu and then send us a full bug report. Thanks! Bye. Abort process (core dumped) > cd .lyx > <--- >this is ~/.lyx as generated by make install /Perfo/peer/.lyx > ls -l total 9 drwxrwxr-x 2 peer Perfo512 Jan 19 08:39 bind/ drwxrwxr-x 2 peer Perfo512 Jan 19 08:39 doc/ drwxrwxr-x 2 peer Perfo512 Jan 19 08:39 kbd/ drwxrwxr-x 2 peer Perfo512 Jan 19 08:39 layouts/ -rw-rw-r-- 1 peer Perfo673 Jan 19 08:39 lyxrc.defaults -rw-rw-r-- 1 peer Perfo117 Jan 19 08:39 packages.lst drwxrwxr-x 2 peer Perfo512 Jan 19 08:39 reLyX/ drwxrwxr-x 2