Re: LyX aborts unless run from build tree

2007-05-16 Thread Richard Heck

Can you get a backtrace from this? Just run it under gdb. It'll help if
you compile with -enable-debug.

Darren Freeman wrote:
 On Wed, 2007-05-16 at 01:48, Richard Heck wrote:
   
 Darren Freeman wrote:
 
 Hi all,

 I have a Mandrake 10.0 (gasp!) machine which I just built LyX (latest
 svn) on with Qt 4.2.3 compiled from source also. What follows also
 applied to earlier svn and earlier Qt, I tried rebuilding everything
 with latest versions out of confusion.

 When I run it as src/lyx from the build tree, it works. When I run it as
 lyx, which refers to /usr/local/bin/lyx (an identical copy placed
 there by make install), it stops with the line Aborted.
   
   
 Try running: lyx -dbg, and see if you get any more help.
 

 lyx -dbg 4294967295
 Setting debug level to 4294967295
 Debugging `info' (General information)
 Debugging `init' (Program initialisation)
 Debugging `key' (Keyboard events handling)
 Debugging `gui' (GUI handling)
 Debugging `parser' (Lyxlex grammar parser)
 Debugging `lyxrc' (Configuration files reading)
 Debugging `kbmap' (Custom keyboard definition)
 Debugging `latex' (LaTeX generation/execution)
 Debugging `mathed' (Math editor)
 Debugging `font' (Font handling)
 Debugging `tclass' (Textclass files reading)
 Debugging `lyxvc' (Version control)
 Debugging `lyxserver' (External control interface)
 Debugging `roff' (Keep *roff temporary files)
 Debugging `action' (User commands)
 Debugging `lyxlex' (The LyX Lexxer)
 Debugging `depend' (Dependency information)
 Debugging `insets' (LyX Insets)
 Debugging `files' (Files used by LyX)
 Debugging `workarea' (Workarea events)
 Debugging `insettext' (Insettext/tabular messages)
 Debugging `graphics' (Graphics conversion and loading)
 Debugging `changes' (Change tracking)
 Debugging `external' (External template/inset messages)
 Debugging `painting' (RowPainter profiling)
 Checking whether LyX is run in place... no

 ... followed by abort.
   


-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: LyX aborts unless run from build tree

2007-05-16 Thread Darren Freeman
Sorry guys I blew away that machine yesterday and can't reproduce this
under OpenSUSE 10.2 - also the requirement for prettyref.sty seems to be
gone?? Unless it's really there but hidden.

Have fun,
Darre

On Wed, 2007-05-16 at 09:23 -0400, Richard Heck wrote:
 Can you get a backtrace from this? Just run it under gdb. It'll help if
 you compile with -enable-debug.




Re: LyX aborts unless run from build tree

2007-05-16 Thread Richard Heck

Can you get a backtrace from this? Just run it under gdb. It'll help if
you compile with -enable-debug.

Darren Freeman wrote:
> On Wed, 2007-05-16 at 01:48, Richard Heck wrote:
>   
>> Darren Freeman wrote:
>> 
>>> Hi all,
>>>
>>> I have a Mandrake 10.0 (gasp!) machine which I just built LyX (latest
>>> svn) on with Qt 4.2.3 compiled from source also. What follows also
>>> applied to earlier svn and earlier Qt, I tried rebuilding everything
>>> with latest versions out of confusion.
>>>
>>> When I run it as src/lyx from the build tree, it works. When I run it as
>>> "lyx", which refers to /usr/local/bin/lyx (an identical copy placed
>>> there by make install), it stops with the line "Aborted".
>>>   
>>>   
>> Try running: lyx -dbg, and see if you get any more help.
>> 
>
> lyx -dbg 4294967295
> Setting debug level to 4294967295
> Debugging `info' (General information)
> Debugging `init' (Program initialisation)
> Debugging `key' (Keyboard events handling)
> Debugging `gui' (GUI handling)
> Debugging `parser' (Lyxlex grammar parser)
> Debugging `lyxrc' (Configuration files reading)
> Debugging `kbmap' (Custom keyboard definition)
> Debugging `latex' (LaTeX generation/execution)
> Debugging `mathed' (Math editor)
> Debugging `font' (Font handling)
> Debugging `tclass' (Textclass files reading)
> Debugging `lyxvc' (Version control)
> Debugging `lyxserver' (External control interface)
> Debugging `roff' (Keep *roff temporary files)
> Debugging `action' (User commands)
> Debugging `lyxlex' (The LyX Lexxer)
> Debugging `depend' (Dependency information)
> Debugging `insets' (LyX Insets)
> Debugging `files' (Files used by LyX)
> Debugging `workarea' (Workarea events)
> Debugging `insettext' (Insettext/tabular messages)
> Debugging `graphics' (Graphics conversion and loading)
> Debugging `changes' (Change tracking)
> Debugging `external' (External template/inset messages)
> Debugging `painting' (RowPainter profiling)
> Checking whether LyX is run in place... no
>
> ... followed by abort.
>   


-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: LyX aborts unless run from build tree

2007-05-16 Thread Darren Freeman
Sorry guys I blew away that machine yesterday and can't reproduce this
under OpenSUSE 10.2 - also the requirement for prettyref.sty seems to be
gone?? Unless it's really there but hidden.

Have fun,
Darre

On Wed, 2007-05-16 at 09:23 -0400, Richard Heck wrote:
> Can you get a backtrace from this? Just run it under gdb. It'll help if
> you compile with -enable-debug.




LyX aborts unless run from build tree

2007-05-15 Thread Darren Freeman
Hi all,

I have a Mandrake 10.0 (gasp!) machine which I just built LyX (latest
svn) on with Qt 4.2.3 compiled from source also. What follows also
applied to earlier svn and earlier Qt, I tried rebuilding everything
with latest versions out of confusion.

When I run it as src/lyx from the build tree, it works. When I run it as
lyx, which refers to /usr/local/bin/lyx (an identical copy placed
there by make install), it stops with the line Aborted.

I have seen this with problems finding libraries (Qt in particular) but
I can toggle between the two cases without changing directory or any
environment strings etc.

Any ideas on what's going on? Surely this is relying on files from the
build tree?

The same procedure works fine on my OpenSuSE 10.2 machine, using the
supplied Qt. All other details above are the same.

By the way: I noticed that doing a make install from the svn build
doesn't strip the binary when installing it. It's over 100MB... Should
this be the case or will it be changed before 1.5.0?

Have fun,
Darren



Re: LyX aborts unless run from build tree

2007-05-15 Thread Richard Heck
Darren Freeman wrote:
 Hi all,

 I have a Mandrake 10.0 (gasp!) machine which I just built LyX (latest
 svn) on with Qt 4.2.3 compiled from source also. What follows also
 applied to earlier svn and earlier Qt, I tried rebuilding everything
 with latest versions out of confusion.

 When I run it as src/lyx from the build tree, it works. When I run it as
 lyx, which refers to /usr/local/bin/lyx (an identical copy placed
 there by make install), it stops with the line Aborted.
   
Try running: lyx -dbg, and see if you get any more help.

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: LyX aborts unless run from build tree

2007-05-15 Thread Darren Freeman
On Wed, 2007-05-16 at 01:48, Richard Heck wrote:
 Darren Freeman wrote:
  Hi all,
 
  I have a Mandrake 10.0 (gasp!) machine which I just built LyX (latest
  svn) on with Qt 4.2.3 compiled from source also. What follows also
  applied to earlier svn and earlier Qt, I tried rebuilding everything
  with latest versions out of confusion.
 
  When I run it as src/lyx from the build tree, it works. When I run it as
  lyx, which refers to /usr/local/bin/lyx (an identical copy placed
  there by make install), it stops with the line Aborted.

 Try running: lyx -dbg, and see if you get any more help.

lyx -dbg 4294967295
Setting debug level to 4294967295
Debugging `info' (General information)
Debugging `init' (Program initialisation)
Debugging `key' (Keyboard events handling)
Debugging `gui' (GUI handling)
Debugging `parser' (Lyxlex grammar parser)
Debugging `lyxrc' (Configuration files reading)
Debugging `kbmap' (Custom keyboard definition)
Debugging `latex' (LaTeX generation/execution)
Debugging `mathed' (Math editor)
Debugging `font' (Font handling)
Debugging `tclass' (Textclass files reading)
Debugging `lyxvc' (Version control)
Debugging `lyxserver' (External control interface)
Debugging `roff' (Keep *roff temporary files)
Debugging `action' (User commands)
Debugging `lyxlex' (The LyX Lexxer)
Debugging `depend' (Dependency information)
Debugging `insets' (LyX Insets)
Debugging `files' (Files used by LyX)
Debugging `workarea' (Workarea events)
Debugging `insettext' (Insettext/tabular messages)
Debugging `graphics' (Graphics conversion and loading)
Debugging `changes' (Change tracking)
Debugging `external' (External template/inset messages)
Debugging `painting' (RowPainter profiling)
Checking whether LyX is run in place... no

... followed by abort.



LyX aborts unless run from build tree

2007-05-15 Thread Darren Freeman
Hi all,

I have a Mandrake 10.0 (gasp!) machine which I just built LyX (latest
svn) on with Qt 4.2.3 compiled from source also. What follows also
applied to earlier svn and earlier Qt, I tried rebuilding everything
with latest versions out of confusion.

When I run it as src/lyx from the build tree, it works. When I run it as
"lyx", which refers to /usr/local/bin/lyx (an identical copy placed
there by make install), it stops with the line "Aborted".

I have seen this with problems finding libraries (Qt in particular) but
I can toggle between the two cases without changing directory or any
environment strings etc.

Any ideas on what's going on? Surely this is relying on files from the
build tree?

The same procedure works fine on my OpenSuSE 10.2 machine, using the
supplied Qt. All other details above are the same.

By the way: I noticed that doing a "make install" from the svn build
doesn't strip the binary when installing it. It's over 100MB... Should
this be the case or will it be changed before 1.5.0?

Have fun,
Darren



Re: LyX aborts unless run from build tree

2007-05-15 Thread Richard Heck
Darren Freeman wrote:
> Hi all,
>
> I have a Mandrake 10.0 (gasp!) machine which I just built LyX (latest
> svn) on with Qt 4.2.3 compiled from source also. What follows also
> applied to earlier svn and earlier Qt, I tried rebuilding everything
> with latest versions out of confusion.
>
> When I run it as src/lyx from the build tree, it works. When I run it as
> "lyx", which refers to /usr/local/bin/lyx (an identical copy placed
> there by make install), it stops with the line "Aborted".
>   
Try running: lyx -dbg, and see if you get any more help.

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: LyX aborts unless run from build tree

2007-05-15 Thread Darren Freeman
On Wed, 2007-05-16 at 01:48, Richard Heck wrote:
> Darren Freeman wrote:
> > Hi all,
> >
> > I have a Mandrake 10.0 (gasp!) machine which I just built LyX (latest
> > svn) on with Qt 4.2.3 compiled from source also. What follows also
> > applied to earlier svn and earlier Qt, I tried rebuilding everything
> > with latest versions out of confusion.
> >
> > When I run it as src/lyx from the build tree, it works. When I run it as
> > "lyx", which refers to /usr/local/bin/lyx (an identical copy placed
> > there by make install), it stops with the line "Aborted".
> >   
> Try running: lyx -dbg, and see if you get any more help.

lyx -dbg 4294967295
Setting debug level to 4294967295
Debugging `info' (General information)
Debugging `init' (Program initialisation)
Debugging `key' (Keyboard events handling)
Debugging `gui' (GUI handling)
Debugging `parser' (Lyxlex grammar parser)
Debugging `lyxrc' (Configuration files reading)
Debugging `kbmap' (Custom keyboard definition)
Debugging `latex' (LaTeX generation/execution)
Debugging `mathed' (Math editor)
Debugging `font' (Font handling)
Debugging `tclass' (Textclass files reading)
Debugging `lyxvc' (Version control)
Debugging `lyxserver' (External control interface)
Debugging `roff' (Keep *roff temporary files)
Debugging `action' (User commands)
Debugging `lyxlex' (The LyX Lexxer)
Debugging `depend' (Dependency information)
Debugging `insets' (LyX Insets)
Debugging `files' (Files used by LyX)
Debugging `workarea' (Workarea events)
Debugging `insettext' (Insettext/tabular messages)
Debugging `graphics' (Graphics conversion and loading)
Debugging `changes' (Change tracking)
Debugging `external' (External template/inset messages)
Debugging `painting' (RowPainter profiling)
Checking whether LyX is run in place... no

... followed by abort.