Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Richard Heck

On 07/09/2011 04:49 PM, Liviu Andronic wrote:

On Sat, Jul 9, 2011 at 9:33 PM, Steve Littsl...@troubleshooters.com  wrote:

Here was my configure command:

  ./configure --with-version-suffix=200 --enable-build-type=release  --
with-qt4-dir=/usr/lib/qt4


rel, not release.

rh



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files PROBLEM DISAPPEARED

2011-07-10 Thread Steve Litt
On Saturday, July 09, 2011 04:49:07 PM Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 9:33 PM, Steve Litt 
sl...@troubleshooters.com wrote:
  Here was my configure command:
  
   ./configure --with-version-suffix=200
  --enable-build-type=release  -- with-qt4-dir=/usr/lib/qt4
  
  Here was the error message from ./configure:
  
  ==
   The following problems have been detected by configure.
   Please check the messages below before running 'make'.
   (see the section 'Problems' in the INSTALL file)
  
  ** moc 4 binary not found !
  
  ** uic 4 binary not found !
  
  ** qt 4 library not found !
 
 Some wild guesses: do you have 'pkg-config' installed? Have you run
 'apt-get build-dep lyx'? If you have both and it still doesn't
 work, try to remove '-- with-qt4-dir=/usr/lib/qt4' from your
 ./configure command.
 Liviu

So what I ended up doing is going through the package manager and 
doing a Hail Mary -- installing almost everything related in any way 
to qt4, and the problem disappeared and I compiled LyX 2.0.0, and it 
appears to be working pretty well now. Thanks!

I think the developers, on each new version, should document all 
dependencies so compiling will involve more logic and less guesswork. 
I'd imagine such a listing could probably be created programmatically.

By the way, the inability to do .eps files was because on the Ubuntu 
11.04 provided version, which only compiled PDFs with ps2pdf, ps2pdf 
doesn't work with EPS files. So that particular problem was simply 
performs as designed.

Anyway, 2.0.0 is working now. Thanks.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Steve Litt
On Sunday, July 10, 2011 03:12:12 PM Richard Heck wrote:
 On 07/09/2011 04:49 PM, Liviu Andronic wrote:
  On Sat, Jul 9, 2011 at 9:33 PM, Steve 
Littsl...@troubleshooters.com  wrote:
  Here was my configure command:
./configure --with-version-suffix=200
--enable-build-type=release  --
  
  with-qt4-dir=/usr/lib/qt4
 
 rel, not release.
 
 rh

:-) Release appeared to work just fine :-) Or maybe I have debugging 
info in my LyX executable, who knows?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Liviu Andronic
On Sun, Jul 10, 2011 at 11:35 PM, Steve Litt sl...@troubleshooters.com wrote:
 rel, not release.

 rh

 :-) Release appeared to work just fine :-)

It (release) seems to work on my box, too.
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Jean-Marc Lasgouttes

Le 10/07/2011 23:39, Liviu Andronic a écrit :

On Sun, Jul 10, 2011 at 11:35 PM, Steve Littsl...@troubleshooters.com  wrote:

rel, not release.

rh


:-) Release appeared to work just fine :-)


It (release) seems to work on my box, too.


The code checks against rel*, actually. So relative would work too :)

JMarc




Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Liviu Andronic
On Mon, Jul 11, 2011 at 12:33 AM, Jean-Marc Lasgouttes
lasgout...@lyx.org wrote:
 :-) Release appeared to work just fine :-)

 It (release) seems to work on my box, too.

 The code checks against rel*, actually. So relative would work too :)

That's rel-ly nice. :)
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Steve Litt
On Sunday, July 10, 2011 06:54:32 PM Liviu Andronic wrote:
 On Mon, Jul 11, 2011 at 12:33 AM, Jean-Marc Lasgouttes
 
 lasgout...@lyx.org wrote:
  :-) Release appeared to work just fine :-)
  
  It (release) seems to work on my box, too.
  
  The code checks against rel*, actually. So relative would work
  too :)
 
 That's rel-ly nice. :)
 Liviu

Yes, but, everything's rel-ative. :-)

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Richard Heck

On 07/09/2011 04:49 PM, Liviu Andronic wrote:

On Sat, Jul 9, 2011 at 9:33 PM, Steve Littsl...@troubleshooters.com  wrote:

Here was my configure command:

  ./configure --with-version-suffix=200 --enable-build-type=release  --
with-qt4-dir=/usr/lib/qt4


rel, not release.

rh



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files PROBLEM DISAPPEARED

2011-07-10 Thread Steve Litt
On Saturday, July 09, 2011 04:49:07 PM Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 9:33 PM, Steve Litt 
sl...@troubleshooters.com wrote:
  Here was my configure command:
  
   ./configure --with-version-suffix=200
  --enable-build-type=release  -- with-qt4-dir=/usr/lib/qt4
  
  Here was the error message from ./configure:
  
  ==
   The following problems have been detected by configure.
   Please check the messages below before running 'make'.
   (see the section 'Problems' in the INSTALL file)
  
  ** moc 4 binary not found !
  
  ** uic 4 binary not found !
  
  ** qt 4 library not found !
 
 Some wild guesses: do you have 'pkg-config' installed? Have you run
 'apt-get build-dep lyx'? If you have both and it still doesn't
 work, try to remove '-- with-qt4-dir=/usr/lib/qt4' from your
 ./configure command.
 Liviu

So what I ended up doing is going through the package manager and 
doing a Hail Mary -- installing almost everything related in any way 
to qt4, and the problem disappeared and I compiled LyX 2.0.0, and it 
appears to be working pretty well now. Thanks!

I think the developers, on each new version, should document all 
dependencies so compiling will involve more logic and less guesswork. 
I'd imagine such a listing could probably be created programmatically.

By the way, the inability to do .eps files was because on the Ubuntu 
11.04 provided version, which only compiled PDFs with ps2pdf, ps2pdf 
doesn't work with EPS files. So that particular problem was simply 
performs as designed.

Anyway, 2.0.0 is working now. Thanks.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Steve Litt
On Sunday, July 10, 2011 03:12:12 PM Richard Heck wrote:
 On 07/09/2011 04:49 PM, Liviu Andronic wrote:
  On Sat, Jul 9, 2011 at 9:33 PM, Steve 
Littsl...@troubleshooters.com  wrote:
  Here was my configure command:
./configure --with-version-suffix=200
--enable-build-type=release  --
  
  with-qt4-dir=/usr/lib/qt4
 
 rel, not release.
 
 rh

:-) Release appeared to work just fine :-) Or maybe I have debugging 
info in my LyX executable, who knows?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Liviu Andronic
On Sun, Jul 10, 2011 at 11:35 PM, Steve Litt sl...@troubleshooters.com wrote:
 rel, not release.

 rh

 :-) Release appeared to work just fine :-)

It (release) seems to work on my box, too.
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Jean-Marc Lasgouttes

Le 10/07/2011 23:39, Liviu Andronic a écrit :

On Sun, Jul 10, 2011 at 11:35 PM, Steve Littsl...@troubleshooters.com  wrote:

rel, not release.

rh


:-) Release appeared to work just fine :-)


It (release) seems to work on my box, too.


The code checks against rel*, actually. So relative would work too :)

JMarc




Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Liviu Andronic
On Mon, Jul 11, 2011 at 12:33 AM, Jean-Marc Lasgouttes
lasgout...@lyx.org wrote:
 :-) Release appeared to work just fine :-)

 It (release) seems to work on my box, too.

 The code checks against rel*, actually. So relative would work too :)

That's rel-ly nice. :)
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Steve Litt
On Sunday, July 10, 2011 06:54:32 PM Liviu Andronic wrote:
 On Mon, Jul 11, 2011 at 12:33 AM, Jean-Marc Lasgouttes
 
 lasgout...@lyx.org wrote:
  :-) Release appeared to work just fine :-)
  
  It (release) seems to work on my box, too.
  
  The code checks against rel*, actually. So relative would work
  too :)
 
 That's rel-ly nice. :)
 Liviu

Yes, but, everything's rel-ative. :-)

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Richard Heck

On 07/09/2011 04:49 PM, Liviu Andronic wrote:

On Sat, Jul 9, 2011 at 9:33 PM, Steve Litt  wrote:

Here was my configure command:

  ./configure --with-version-suffix=200 --enable-build-type=release  --
with-qt4-dir=/usr/lib/qt4


rel, not release.

rh



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Steve Litt
On Saturday, July 09, 2011 04:49:07 PM Liviu Andronic wrote:
> On Sat, Jul 9, 2011 at 9:33 PM, Steve Litt 
 wrote:
> > Here was my configure command:
> > 
> >  ./configure --with-version-suffix=200
> > --enable-build-type=release  -- with-qt4-dir=/usr/lib/qt4
> > 
> > Here was the error message from ./configure:
> > 
> > ==
> >  The following problems have been detected by configure.
> >  Please check the messages below before running 'make'.
> >  (see the section 'Problems' in the INSTALL file)
> > 
> > ** moc 4 binary not found !
> > 
> > ** uic 4 binary not found !
> > 
> > ** qt 4 library not found !
> 
> Some wild guesses: do you have 'pkg-config' installed? Have you run
> 'apt-get build-dep lyx'? If you have both and it still doesn't
> work, try to remove '-- with-qt4-dir=/usr/lib/qt4' from your
> ./configure command.
> Liviu

So what I ended up doing is going through the package manager and 
doing a Hail Mary -- installing almost everything related in any way 
to qt4, and the problem disappeared and I compiled LyX 2.0.0, and it 
appears to be working pretty well now. Thanks!

I think the developers, on each new version, should document all 
dependencies so compiling will involve more logic and less guesswork. 
I'd imagine such a listing could probably be created programmatically.

By the way, the inability to do .eps files was because on the Ubuntu 
11.04 provided version, which only compiled PDFs with ps2pdf, ps2pdf 
doesn't work with EPS files. So that particular problem was simply 
"performs as designed".

Anyway, 2.0.0 is working now. Thanks.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Steve Litt
On Sunday, July 10, 2011 03:12:12 PM Richard Heck wrote:
> On 07/09/2011 04:49 PM, Liviu Andronic wrote:
> > On Sat, Jul 9, 2011 at 9:33 PM, Steve 
Litt  wrote:
> >> Here was my configure command:
> >>   ./configure --with-version-suffix=200
> >>   --enable-build-type=release  --
> >> 
> >> with-qt4-dir=/usr/lib/qt4
> 
> rel, not release.
> 
> rh

:-) Release appeared to work just fine :-) Or maybe I have debugging 
info in my LyX executable, who knows?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Liviu Andronic
On Sun, Jul 10, 2011 at 11:35 PM, Steve Litt  wrote:
>> rel, not release.
>>
>> rh
>
> :-) Release appeared to work just fine :-)
>
It (release) seems to work on my box, too.
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Jean-Marc Lasgouttes

Le 10/07/2011 23:39, Liviu Andronic a écrit :

On Sun, Jul 10, 2011 at 11:35 PM, Steve Litt  wrote:

rel, not release.

rh


:-) Release appeared to work just fine :-)


It (release) seems to work on my box, too.


The code checks against rel*, actually. So relative would work too :)

JMarc




Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Liviu Andronic
On Mon, Jul 11, 2011 at 12:33 AM, Jean-Marc Lasgouttes
 wrote:
>>> :-) Release appeared to work just fine :-)
>>>
>> It (release) seems to work on my box, too.
>
> The code checks against rel*, actually. So relative would work too :)
>
That's rel-ly nice. :)
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-10 Thread Steve Litt
On Sunday, July 10, 2011 06:54:32 PM Liviu Andronic wrote:
> On Mon, Jul 11, 2011 at 12:33 AM, Jean-Marc Lasgouttes
> 
>  wrote:
> >>> :-) Release appeared to work just fine :-)
> >> 
> >> It (release) seems to work on my box, too.
> > 
> > The code checks against rel*, actually. So relative would work
> > too :)
> 
> That's rel-ly nice. :)
> Liviu

Yes, but, everything's rel-ative. :-)

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt sl...@troubleshooters.com wrote:
 Hi all,

 An untimely computer crash brought me to Ubuntu 11.04, which brought
 me to LyX 2.0.0rc3.

 Ctrl+D says successful DVD preview, but does nothing. The View menu
 gives no ps2pdf choice, and when I click the View other formats
 choice, nothing opens up, even though I configured PDF and DVI in
 Tools-Preferences-Output-General on the PDF and DVI commands.

 Ctrl+D brings up an error dialog box saying Could not display
 \/tmp/lyx_tmpdir.T11314/lyx_tmpbuf2/junk.dvi, the location is not a
 directory. When I directly run that file (it exists) with xdvi, it
 displays more or less correctly.

 What am I doing wrong?

Ubuntu ships the wrong version. See this recent discussion [1][2]. See
these instructions [3] on how to push the update to your system (never
tried it). Alternatively, Rainer and Rob have come up with a PPA
containing LyX 2.0.0. Contact me off-list for the link.

Regards
Liviu

[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169893.html
[2] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169963.html
[3] https://wiki.ubuntu.com/Testing/EnableProposed


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Steve Litt
On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt 
  What am I doing wrong?
 
 Ubuntu ships the wrong version. See this recent discussion [1][2].
 See these instructions [3] on how to push the update to your
 system (never tried it). Alternatively, Rainer and Rob have come
 up with a PPA containing LyX 2.0.0. Contact me off-list for the
 link.
 
 Regards
 Liviu

LyX is probably the #2 most important application in my business 
(VimOutliner is #1). It's important enough that I'm willing to compile 
my own, always assuming that there's a 2.x version that compiles well 
on Ubuntu 11.04. What do you think is the best, most solid, most 
tested LyX 2.x right now?

Probably over half the time from 2001 til now my LyX was self-compiled 
rather than package installed.

Thanks

Steve


Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 10:15 AM, Steve Litt sl...@troubleshooters.com wrote:
 On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt
  What am I doing wrong?

 Ubuntu ships the wrong version. See this recent discussion [1][2].
 See these instructions [3] on how to push the update to your
 system (never tried it). Alternatively, Rainer and Rob have come
 up with a PPA containing LyX 2.0.0. Contact me off-list for the
 link.

 Regards
 Liviu

 LyX is probably the #2 most important application in my business
 (VimOutliner is #1). It's important enough that I'm willing to compile
 my own,

The SRU solution above (link [3]) seems easy to deploy..


 always assuming that there's a 2.x version that compiles well
 on Ubuntu 11.04. What do you think is the best, most solid, most
 tested LyX 2.x right now?

Probably the only one available, 2.0.0. I've compiled this version on
10.04 without any issues.


 Probably over half the time from 2001 til now my LyX was self-compiled
 rather than package installed.

..but if you're OK with building, this should be straightforward:
apt-get build-dep lyx
 ./configure --with-version-suffix=-svn --enable-build-type=release
make
make install

You may freely omit '--with-version-suffix=-svn', but then make sure
to uninstall the LyX shipped by Ubuntu. If you need spelling support,
I would also check that libaspell-dev, libhunspell-dev and
libenchant-dev are installed.

Regards
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Richard Heck
On 07/09/2011 04:15 AM, Steve Litt wrote:

 LyX is probably the #2 most important application in my business 
 (VimOutliner is #1). It's important enough that I'm willing to compile 
 my own, always assuming that there's a 2.x version that compiles well 
 on Ubuntu 11.04. What do you think is the best, most solid, most 
 tested LyX 2.x right now?

 Probably over half the time from 2001 til now my LyX was self-compiled 
 rather than package installed.

For people who are comfortable doing it, I think the best option is
always to follow branch, i.e.:
svn co svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X
It's almost always true that current branch is more stable than the
previous release, because you have the bug fixes for (in this case)
2.0.0, even though 2.0.1 is not yet out. (And there have been a lot.) We
strive to keep branch from having regressions, but of course they do
sometimes pop up. In that case, though, they tend to be fixed very
quickly (bisecting them is relatively easy), and of course you can
always roll back to an earlier revision if need be. The other advantage,
from our point of view, is that branch gets more testing this way.

What I have done is checkout branch as above, then, from the appropriate
directory:
 ./autogen.sh
./configure --enable-build-type=rel
make
sudo make install
(I know you know this, Steve. Others may not) The latter disables
debug code and assertions. Then set up a simple cron job:
svn up
make
which will keep the tree up to date. Then you re-install from time to time.

Richard



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Steve Litt
On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:

 ..but if you're OK with building, this should be straightforward:
 apt-get build-dep lyx
  ./configure --with-version-suffix=-svn --enable-build-type=release
 make
 make install

What does  --enable-build-type=release do for you? I've built LyX 
many times before but so far haven't used that.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 8:38 PM, Steve Litt sl...@troubleshooters.com wrote:
 On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:

 ..but if you're OK with building, this should be straightforward:
 apt-get build-dep lyx
  ./configure --with-version-suffix=-svn --enable-build-type=release
 make
 make install

 What does  --enable-build-type=release do for you? I've built LyX
 many times before but so far haven't used that.

I'm not an expert but I guess it relates to what Richard said:

On Sat, Jul 9, 2011 at 4:35 PM, Richard Heck rgh...@comcast.net wrote:
 The latter disables
 debug code and assertions.

Intuitively, you use this option when building and shipping releases,
as it at least disables debug symbols.
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Richard Heck
On 07/09/2011 03:04 PM, Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 8:38 PM, Steve Litt sl...@troubleshooters.com wrote:
 On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:

 ..but if you're OK with building, this should be straightforward:
 apt-get build-dep lyx
  ./configure --with-version-suffix=-svn --enable-build-type=release
 make
 make install
 What does  --enable-build-type=release do for you? I've built LyX
 many times before but so far haven't used that.

 I'm not an expert but I guess it relates to what Richard said:

 On Sat, Jul 9, 2011 at 4:35 PM, Richard Heck rgh...@comcast.net wrote:
 The latter disables
 debug code and assertions.
 Intuitively, you use this option when building and shipping releases,
 as it at least disables debug symbols.

That's right: It builds a release version, and is equivalent to a
combination of other switches, like --disable-stdlib-debug, etc.

Richard

 Liviu



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Steve Litt
On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 10:15 AM, Steve Litt 
sl...@troubleshooters.com wrote:
  On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
  On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt
  
   What am I doing wrong?
  
  Ubuntu ships the wrong version. See this recent discussion
  [1][2]. See these instructions [3] on how to push the update to
  your system (never tried it). Alternatively, Rainer and Rob
  have come up with a PPA containing LyX 2.0.0. Contact me
  off-list for the link.
  
  Regards
  Liviu
  
  LyX is probably the #2 most important application in my business
  (VimOutliner is #1). It's important enough that I'm willing to
  compile my own,
 
 The SRU solution above (link [3]) seems easy to deploy..
 
  always assuming that there's a 2.x version that compiles well
  on Ubuntu 11.04. What do you think is the best, most solid, most
  tested LyX 2.x right now?
 
 Probably the only one available, 2.0.0. I've compiled this version
 on 10.04 without any issues.
 
  Probably over half the time from 2001 til now my LyX was
  self-compiled rather than package installed.
 
 ..but if you're OK with building, this should be straightforward:
 apt-get build-dep lyx
  ./configure --with-version-suffix=-svn --enable-build-type=release
 make
 make install

Ugh!
Here was my configure command:

 ./configure --with-version-suffix=200 --enable-build-type=release  --
with-qt4-dir=/usr/lib/qt4

Here was the error message from ./configure:

==
 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** moc 4 binary not found !

** uic 4 binary not found !

** qt 4 library not found !


slitt@mydesk:~/junk/lyx-2.0.0$
==

My /usr/lib/qt4 directory has only one subdirectory, called plugins. A 
locate command indicates the only other qt4 libraries are 32 bit, this 
is a 64 bit computer, and the 32 bit library has only the same 
subdirectory.

I've installed moc. On every try I delete the whole tree and restore 
it from tarball so that there are no gotchas from leftover garbage.

Where do I go from here?

Thanks

SteveT


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Kornel Benko
Am Samstag, 9. Juli 2011 schrieb Steve Litt:
 On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:
  On Sat, Jul 9, 2011 at 10:15 AM, Steve Litt
 
 sl...@troubleshooters.com wrote:
   On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
   On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt
   
What am I doing wrong?
   
   Ubuntu ships the wrong version. See this recent discussion
   [1][2]. See these instructions [3] on how to push the update to
   your system (never tried it). Alternatively, Rainer and Rob
   have come up with a PPA containing LyX 2.0.0. Contact me
   off-list for the link.
   
   Regards
   Liviu
   
   LyX is probably the #2 most important application in my business
   (VimOutliner is #1). It's important enough that I'm willing to
   compile my own,
  
  The SRU solution above (link [3]) seems easy to deploy..
  
   always assuming that there's a 2.x version that compiles well
   on Ubuntu 11.04. What do you think is the best, most solid, most
   tested LyX 2.x right now?
  
  Probably the only one available, 2.0.0. I've compiled this version
  on 10.04 without any issues.
  
   Probably over half the time from 2001 til now my LyX was
   self-compiled rather than package installed.
  
  ..but if you're OK with building, this should be straightforward:
  apt-get build-dep lyx
  
   ./configure --with-version-suffix=-svn --enable-build-type=release
  
  make
  make install
 
 Ugh!
 Here was my configure command:
 
  ./configure --with-version-suffix=200 --enable-build-type=release  --
 with-qt4-dir=/usr/lib/qt4
 
 Here was the error message from ./configure:
 
 ==
  The following problems have been detected by configure.
  Please check the messages below before running 'make'.
  (see the section 'Problems' in the INSTALL file)
 
 ** moc 4 binary not found !
 
 ** uic 4 binary not found !
 
 ** qt 4 library not found !
 
 
 slitt@mydesk:~/junk/lyx-2.0.0$
 ==
 
 My /usr/lib/qt4 directory has only one subdirectory, called plugins. A
 locate command indicates the only other qt4 libraries are 32 bit, this
 is a 64 bit computer, and the 32 bit library has only the same
 subdirectory.
 
 I've installed moc. On every try I delete the whole tree and restore
 it from tarball so that there are no gotchas from leftover garbage.
 
 Where do I go from here?
 
 Thanks
 
 SteveT

On my machine moc is part of libqt4-dev package. (ubuntu 11.04, 64bit)
It includes the libfiles and include files.

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 9:33 PM, Steve Litt sl...@troubleshooters.com wrote:
 Here was my configure command:

  ./configure --with-version-suffix=200 --enable-build-type=release  --
 with-qt4-dir=/usr/lib/qt4

 Here was the error message from ./configure:

 ==
  The following problems have been detected by configure.
  Please check the messages below before running 'make'.
  (see the section 'Problems' in the INSTALL file)

 ** moc 4 binary not found !

 ** uic 4 binary not found !

 ** qt 4 library not found !

Some wild guesses: do you have 'pkg-config' installed? Have you run
'apt-get build-dep lyx'? If you have both and it still doesn't work,
try to remove '-- with-qt4-dir=/usr/lib/qt4' from your ./configure
command.
Liviu



 slitt@mydesk:~/junk/lyx-2.0.0$
 ==

 My /usr/lib/qt4 directory has only one subdirectory, called plugins. A
 locate command indicates the only other qt4 libraries are 32 bit, this
 is a 64 bit computer, and the 32 bit library has only the same
 subdirectory.

 I've installed moc. On every try I delete the whole tree and restore
 it from tarball so that there are no gotchas from leftover garbage.

 Where do I go from here?

 Thanks

 SteveT




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt sl...@troubleshooters.com wrote:
 Hi all,

 An untimely computer crash brought me to Ubuntu 11.04, which brought
 me to LyX 2.0.0rc3.

 Ctrl+D says successful DVD preview, but does nothing. The View menu
 gives no ps2pdf choice, and when I click the View other formats
 choice, nothing opens up, even though I configured PDF and DVI in
 Tools-Preferences-Output-General on the PDF and DVI commands.

 Ctrl+D brings up an error dialog box saying Could not display
 \/tmp/lyx_tmpdir.T11314/lyx_tmpbuf2/junk.dvi, the location is not a
 directory. When I directly run that file (it exists) with xdvi, it
 displays more or less correctly.

 What am I doing wrong?

Ubuntu ships the wrong version. See this recent discussion [1][2]. See
these instructions [3] on how to push the update to your system (never
tried it). Alternatively, Rainer and Rob have come up with a PPA
containing LyX 2.0.0. Contact me off-list for the link.

Regards
Liviu

[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169893.html
[2] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169963.html
[3] https://wiki.ubuntu.com/Testing/EnableProposed


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Steve Litt
On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt 
  What am I doing wrong?
 
 Ubuntu ships the wrong version. See this recent discussion [1][2].
 See these instructions [3] on how to push the update to your
 system (never tried it). Alternatively, Rainer and Rob have come
 up with a PPA containing LyX 2.0.0. Contact me off-list for the
 link.
 
 Regards
 Liviu

LyX is probably the #2 most important application in my business 
(VimOutliner is #1). It's important enough that I'm willing to compile 
my own, always assuming that there's a 2.x version that compiles well 
on Ubuntu 11.04. What do you think is the best, most solid, most 
tested LyX 2.x right now?

Probably over half the time from 2001 til now my LyX was self-compiled 
rather than package installed.

Thanks

Steve


Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 10:15 AM, Steve Litt sl...@troubleshooters.com wrote:
 On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt
  What am I doing wrong?

 Ubuntu ships the wrong version. See this recent discussion [1][2].
 See these instructions [3] on how to push the update to your
 system (never tried it). Alternatively, Rainer and Rob have come
 up with a PPA containing LyX 2.0.0. Contact me off-list for the
 link.

 Regards
 Liviu

 LyX is probably the #2 most important application in my business
 (VimOutliner is #1). It's important enough that I'm willing to compile
 my own,

The SRU solution above (link [3]) seems easy to deploy..


 always assuming that there's a 2.x version that compiles well
 on Ubuntu 11.04. What do you think is the best, most solid, most
 tested LyX 2.x right now?

Probably the only one available, 2.0.0. I've compiled this version on
10.04 without any issues.


 Probably over half the time from 2001 til now my LyX was self-compiled
 rather than package installed.

..but if you're OK with building, this should be straightforward:
apt-get build-dep lyx
 ./configure --with-version-suffix=-svn --enable-build-type=release
make
make install

You may freely omit '--with-version-suffix=-svn', but then make sure
to uninstall the LyX shipped by Ubuntu. If you need spelling support,
I would also check that libaspell-dev, libhunspell-dev and
libenchant-dev are installed.

Regards
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Richard Heck
On 07/09/2011 04:15 AM, Steve Litt wrote:

 LyX is probably the #2 most important application in my business 
 (VimOutliner is #1). It's important enough that I'm willing to compile 
 my own, always assuming that there's a 2.x version that compiles well 
 on Ubuntu 11.04. What do you think is the best, most solid, most 
 tested LyX 2.x right now?

 Probably over half the time from 2001 til now my LyX was self-compiled 
 rather than package installed.

For people who are comfortable doing it, I think the best option is
always to follow branch, i.e.:
svn co svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X
It's almost always true that current branch is more stable than the
previous release, because you have the bug fixes for (in this case)
2.0.0, even though 2.0.1 is not yet out. (And there have been a lot.) We
strive to keep branch from having regressions, but of course they do
sometimes pop up. In that case, though, they tend to be fixed very
quickly (bisecting them is relatively easy), and of course you can
always roll back to an earlier revision if need be. The other advantage,
from our point of view, is that branch gets more testing this way.

What I have done is checkout branch as above, then, from the appropriate
directory:
 ./autogen.sh
./configure --enable-build-type=rel
make
sudo make install
(I know you know this, Steve. Others may not) The latter disables
debug code and assertions. Then set up a simple cron job:
svn up
make
which will keep the tree up to date. Then you re-install from time to time.

Richard



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Steve Litt
On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:

 ..but if you're OK with building, this should be straightforward:
 apt-get build-dep lyx
  ./configure --with-version-suffix=-svn --enable-build-type=release
 make
 make install

What does  --enable-build-type=release do for you? I've built LyX 
many times before but so far haven't used that.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 8:38 PM, Steve Litt sl...@troubleshooters.com wrote:
 On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:

 ..but if you're OK with building, this should be straightforward:
 apt-get build-dep lyx
  ./configure --with-version-suffix=-svn --enable-build-type=release
 make
 make install

 What does  --enable-build-type=release do for you? I've built LyX
 many times before but so far haven't used that.

I'm not an expert but I guess it relates to what Richard said:

On Sat, Jul 9, 2011 at 4:35 PM, Richard Heck rgh...@comcast.net wrote:
 The latter disables
 debug code and assertions.

Intuitively, you use this option when building and shipping releases,
as it at least disables debug symbols.
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Richard Heck
On 07/09/2011 03:04 PM, Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 8:38 PM, Steve Litt sl...@troubleshooters.com wrote:
 On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:

 ..but if you're OK with building, this should be straightforward:
 apt-get build-dep lyx
  ./configure --with-version-suffix=-svn --enable-build-type=release
 make
 make install
 What does  --enable-build-type=release do for you? I've built LyX
 many times before but so far haven't used that.

 I'm not an expert but I guess it relates to what Richard said:

 On Sat, Jul 9, 2011 at 4:35 PM, Richard Heck rgh...@comcast.net wrote:
 The latter disables
 debug code and assertions.
 Intuitively, you use this option when building and shipping releases,
 as it at least disables debug symbols.

That's right: It builds a release version, and is equivalent to a
combination of other switches, like --disable-stdlib-debug, etc.

Richard

 Liviu



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Steve Litt
On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:
 On Sat, Jul 9, 2011 at 10:15 AM, Steve Litt 
sl...@troubleshooters.com wrote:
  On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
  On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt
  
   What am I doing wrong?
  
  Ubuntu ships the wrong version. See this recent discussion
  [1][2]. See these instructions [3] on how to push the update to
  your system (never tried it). Alternatively, Rainer and Rob
  have come up with a PPA containing LyX 2.0.0. Contact me
  off-list for the link.
  
  Regards
  Liviu
  
  LyX is probably the #2 most important application in my business
  (VimOutliner is #1). It's important enough that I'm willing to
  compile my own,
 
 The SRU solution above (link [3]) seems easy to deploy..
 
  always assuming that there's a 2.x version that compiles well
  on Ubuntu 11.04. What do you think is the best, most solid, most
  tested LyX 2.x right now?
 
 Probably the only one available, 2.0.0. I've compiled this version
 on 10.04 without any issues.
 
  Probably over half the time from 2001 til now my LyX was
  self-compiled rather than package installed.
 
 ..but if you're OK with building, this should be straightforward:
 apt-get build-dep lyx
  ./configure --with-version-suffix=-svn --enable-build-type=release
 make
 make install

Ugh!
Here was my configure command:

 ./configure --with-version-suffix=200 --enable-build-type=release  --
with-qt4-dir=/usr/lib/qt4

Here was the error message from ./configure:

==
 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** moc 4 binary not found !

** uic 4 binary not found !

** qt 4 library not found !


slitt@mydesk:~/junk/lyx-2.0.0$
==

My /usr/lib/qt4 directory has only one subdirectory, called plugins. A 
locate command indicates the only other qt4 libraries are 32 bit, this 
is a 64 bit computer, and the 32 bit library has only the same 
subdirectory.

I've installed moc. On every try I delete the whole tree and restore 
it from tarball so that there are no gotchas from leftover garbage.

Where do I go from here?

Thanks

SteveT


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Kornel Benko
Am Samstag, 9. Juli 2011 schrieb Steve Litt:
 On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:
  On Sat, Jul 9, 2011 at 10:15 AM, Steve Litt
 
 sl...@troubleshooters.com wrote:
   On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
   On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt
   
What am I doing wrong?
   
   Ubuntu ships the wrong version. See this recent discussion
   [1][2]. See these instructions [3] on how to push the update to
   your system (never tried it). Alternatively, Rainer and Rob
   have come up with a PPA containing LyX 2.0.0. Contact me
   off-list for the link.
   
   Regards
   Liviu
   
   LyX is probably the #2 most important application in my business
   (VimOutliner is #1). It's important enough that I'm willing to
   compile my own,
  
  The SRU solution above (link [3]) seems easy to deploy..
  
   always assuming that there's a 2.x version that compiles well
   on Ubuntu 11.04. What do you think is the best, most solid, most
   tested LyX 2.x right now?
  
  Probably the only one available, 2.0.0. I've compiled this version
  on 10.04 without any issues.
  
   Probably over half the time from 2001 til now my LyX was
   self-compiled rather than package installed.
  
  ..but if you're OK with building, this should be straightforward:
  apt-get build-dep lyx
  
   ./configure --with-version-suffix=-svn --enable-build-type=release
  
  make
  make install
 
 Ugh!
 Here was my configure command:
 
  ./configure --with-version-suffix=200 --enable-build-type=release  --
 with-qt4-dir=/usr/lib/qt4
 
 Here was the error message from ./configure:
 
 ==
  The following problems have been detected by configure.
  Please check the messages below before running 'make'.
  (see the section 'Problems' in the INSTALL file)
 
 ** moc 4 binary not found !
 
 ** uic 4 binary not found !
 
 ** qt 4 library not found !
 
 
 slitt@mydesk:~/junk/lyx-2.0.0$
 ==
 
 My /usr/lib/qt4 directory has only one subdirectory, called plugins. A
 locate command indicates the only other qt4 libraries are 32 bit, this
 is a 64 bit computer, and the 32 bit library has only the same
 subdirectory.
 
 I've installed moc. On every try I delete the whole tree and restore
 it from tarball so that there are no gotchas from leftover garbage.
 
 Where do I go from here?
 
 Thanks
 
 SteveT

On my machine moc is part of libqt4-dev package. (ubuntu 11.04, 64bit)
It includes the libfiles and include files.

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 9:33 PM, Steve Litt sl...@troubleshooters.com wrote:
 Here was my configure command:

  ./configure --with-version-suffix=200 --enable-build-type=release  --
 with-qt4-dir=/usr/lib/qt4

 Here was the error message from ./configure:

 ==
  The following problems have been detected by configure.
  Please check the messages below before running 'make'.
  (see the section 'Problems' in the INSTALL file)

 ** moc 4 binary not found !

 ** uic 4 binary not found !

 ** qt 4 library not found !

Some wild guesses: do you have 'pkg-config' installed? Have you run
'apt-get build-dep lyx'? If you have both and it still doesn't work,
try to remove '-- with-qt4-dir=/usr/lib/qt4' from your ./configure
command.
Liviu



 slitt@mydesk:~/junk/lyx-2.0.0$
 ==

 My /usr/lib/qt4 directory has only one subdirectory, called plugins. A
 locate command indicates the only other qt4 libraries are 32 bit, this
 is a 64 bit computer, and the 32 bit library has only the same
 subdirectory.

 I've installed moc. On every try I delete the whole tree and restore
 it from tarball so that there are no gotchas from leftover garbage.

 Where do I go from here?

 Thanks

 SteveT




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt  wrote:
> Hi all,
>
> An untimely computer crash brought me to Ubuntu 11.04, which brought
> me to LyX 2.0.0rc3.
>
> Ctrl+D says "successful DVD preview, but does nothing. The View menu
> gives no ps2pdf choice, and when I click the "View other formats"
> choice, nothing opens up, even though I configured PDF and DVI in
> Tools->Preferences->Output->General on the PDF and DVI commands.
>
> Ctrl+D brings up an error dialog box saying "Could not display
> \"/tmp/lyx_tmpdir.T11314/lyx_tmpbuf2/junk.dvi", the location is not a
> directory. When I directly run that file (it exists) with xdvi, it
> displays more or less correctly.
>
> What am I doing wrong?
>
Ubuntu ships the wrong version. See this recent discussion [1][2]. See
these instructions [3] on how to push the update to your system (never
tried it). Alternatively, Rainer and Rob have come up with a PPA
containing LyX 2.0.0. Contact me off-list for the link.

Regards
Liviu

[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169893.html
[2] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169963.html
[3] https://wiki.ubuntu.com/Testing/EnableProposed


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Steve Litt
On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
> On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt 
> > What am I doing wrong?
> 
> Ubuntu ships the wrong version. See this recent discussion [1][2].
> See these instructions [3] on how to push the update to your
> system (never tried it). Alternatively, Rainer and Rob have come
> up with a PPA containing LyX 2.0.0. Contact me off-list for the
> link.
> 
> Regards
> Liviu

LyX is probably the #2 most important application in my business 
(VimOutliner is #1). It's important enough that I'm willing to compile 
my own, always assuming that there's a 2.x version that compiles well 
on Ubuntu 11.04. What do you think is the best, most solid, most 
tested LyX 2.x right now?

Probably over half the time from 2001 til now my LyX was self-compiled 
rather than package installed.

Thanks

Steve


Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 10:15 AM, Steve Litt  wrote:
> On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
>> On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt
>> > What am I doing wrong?
>>
>> Ubuntu ships the wrong version. See this recent discussion [1][2].
>> See these instructions [3] on how to push the update to your
>> system (never tried it). Alternatively, Rainer and Rob have come
>> up with a PPA containing LyX 2.0.0. Contact me off-list for the
>> link.
>>
>> Regards
>> Liviu
>
> LyX is probably the #2 most important application in my business
> (VimOutliner is #1). It's important enough that I'm willing to compile
> my own,
>
The SRU solution above (link [3]) seems easy to deploy..


> always assuming that there's a 2.x version that compiles well
> on Ubuntu 11.04. What do you think is the best, most solid, most
> tested LyX 2.x right now?
>
Probably the only one available, 2.0.0. I've compiled this version on
10.04 without any issues.


> Probably over half the time from 2001 til now my LyX was self-compiled
> rather than package installed.
>
..but if you're OK with building, this should be straightforward:
apt-get build-dep lyx
 ./configure --with-version-suffix=-svn --enable-build-type=release
make
make install

You may freely omit '--with-version-suffix=-svn', but then make sure
to uninstall the LyX shipped by Ubuntu. If you need spelling support,
I would also check that libaspell-dev, libhunspell-dev and
libenchant-dev are installed.

Regards
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Richard Heck
On 07/09/2011 04:15 AM, Steve Litt wrote:
>
> LyX is probably the #2 most important application in my business 
> (VimOutliner is #1). It's important enough that I'm willing to compile 
> my own, always assuming that there's a 2.x version that compiles well 
> on Ubuntu 11.04. What do you think is the best, most solid, most 
> tested LyX 2.x right now?
>
> Probably over half the time from 2001 til now my LyX was self-compiled 
> rather than package installed.
>
For people who are comfortable doing it, I think the best option is
always to follow branch, i.e.:
svn co svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X
It's almost always true that current branch is more stable than the
previous release, because you have the bug fixes for (in this case)
2.0.0, even though 2.0.1 is not yet out. (And there have been a lot.) We
strive to keep branch from having regressions, but of course they do
sometimes pop up. In that case, though, they tend to be fixed very
quickly (bisecting them is relatively easy), and of course you can
always roll back to an earlier revision if need be. The other advantage,
from our point of view, is that branch gets more testing this way.

What I have done is checkout branch as above, then, from the appropriate
directory:
 ./autogen.sh
./configure --enable-build-type=rel
make
sudo make install
(I know you know this, Steve. Others may not) The latter disables
debug code and assertions. Then set up a simple cron job:
svn up
make
which will keep the tree up to date. Then you re-install from time to time.

Richard



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Steve Litt
On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:

> ..but if you're OK with building, this should be straightforward:
> apt-get build-dep lyx
>  ./configure --with-version-suffix=-svn --enable-build-type=release
> make
> make install

What does  "--enable-build-type=release" do for you? I've built LyX 
many times before but so far haven't used that.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 8:38 PM, Steve Litt  wrote:
> On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:
>
>> ..but if you're OK with building, this should be straightforward:
>> apt-get build-dep lyx
>>  ./configure --with-version-suffix=-svn --enable-build-type=release
>> make
>> make install
>
> What does  "--enable-build-type=release" do for you? I've built LyX
> many times before but so far haven't used that.
>
I'm not an expert but I guess it relates to what Richard said:

On Sat, Jul 9, 2011 at 4:35 PM, Richard Heck  wrote:
> The latter disables
> debug code and assertions.

Intuitively, you use this option when building and shipping releases,
as it at least disables debug symbols.
Liviu


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Richard Heck
On 07/09/2011 03:04 PM, Liviu Andronic wrote:
> On Sat, Jul 9, 2011 at 8:38 PM, Steve Litt  wrote:
>> On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:
>>
>>> ..but if you're OK with building, this should be straightforward:
>>> apt-get build-dep lyx
>>>  ./configure --with-version-suffix=-svn --enable-build-type=release
>>> make
>>> make install
>> What does  "--enable-build-type=release" do for you? I've built LyX
>> many times before but so far haven't used that.
>>
> I'm not an expert but I guess it relates to what Richard said:
>
> On Sat, Jul 9, 2011 at 4:35 PM, Richard Heck  wrote:
>> The latter disables
>> debug code and assertions.
> Intuitively, you use this option when building and shipping releases,
> as it at least disables debug symbols.
>
That's right: It builds a release version, and is equivalent to a
combination of other switches, like --disable-stdlib-debug, etc.

Richard

> Liviu



Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Steve Litt
On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:
> On Sat, Jul 9, 2011 at 10:15 AM, Steve Litt 
 wrote:
> > On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
> >> On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt
> >> 
> >> > What am I doing wrong?
> >> 
> >> Ubuntu ships the wrong version. See this recent discussion
> >> [1][2]. See these instructions [3] on how to push the update to
> >> your system (never tried it). Alternatively, Rainer and Rob
> >> have come up with a PPA containing LyX 2.0.0. Contact me
> >> off-list for the link.
> >> 
> >> Regards
> >> Liviu
> > 
> > LyX is probably the #2 most important application in my business
> > (VimOutliner is #1). It's important enough that I'm willing to
> > compile my own,
> 
> The SRU solution above (link [3]) seems easy to deploy..
> 
> > always assuming that there's a 2.x version that compiles well
> > on Ubuntu 11.04. What do you think is the best, most solid, most
> > tested LyX 2.x right now?
> 
> Probably the only one available, 2.0.0. I've compiled this version
> on 10.04 without any issues.
> 
> > Probably over half the time from 2001 til now my LyX was
> > self-compiled rather than package installed.
> 
> ..but if you're OK with building, this should be straightforward:
> apt-get build-dep lyx
>  ./configure --with-version-suffix=-svn --enable-build-type=release
> make
> make install

Ugh!
Here was my configure command:

 ./configure --with-version-suffix=200 --enable-build-type=release  --
with-qt4-dir=/usr/lib/qt4

Here was the error message from ./configure:

==
 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** moc 4 binary not found !

** uic 4 binary not found !

** qt 4 library not found !


slitt@mydesk:~/junk/lyx-2.0.0$
==

My /usr/lib/qt4 directory has only one subdirectory, called plugins. A 
locate command indicates the only other qt4 libraries are 32 bit, this 
is a 64 bit computer, and the 32 bit library has only the same 
subdirectory.

I've installed moc. On every try I delete the whole tree and restore 
it from tarball so that there are no gotchas from leftover garbage.

Where do I go from here?

Thanks

SteveT


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Kornel Benko
Am Samstag, 9. Juli 2011 schrieb Steve Litt:
> On Saturday, July 09, 2011 06:22:19 AM Liviu Andronic wrote:
> > On Sat, Jul 9, 2011 at 10:15 AM, Steve Litt
> 
>  wrote:
> > > On Saturday, July 09, 2011 03:35:24 AM Liviu Andronic wrote:
> > >> On Sat, Jul 9, 2011 at 6:42 AM, Steve Litt
> > >> 
> > >> > What am I doing wrong?
> > >> 
> > >> Ubuntu ships the wrong version. See this recent discussion
> > >> [1][2]. See these instructions [3] on how to push the update to
> > >> your system (never tried it). Alternatively, Rainer and Rob
> > >> have come up with a PPA containing LyX 2.0.0. Contact me
> > >> off-list for the link.
> > >> 
> > >> Regards
> > >> Liviu
> > > 
> > > LyX is probably the #2 most important application in my business
> > > (VimOutliner is #1). It's important enough that I'm willing to
> > > compile my own,
> > 
> > The SRU solution above (link [3]) seems easy to deploy..
> > 
> > > always assuming that there's a 2.x version that compiles well
> > > on Ubuntu 11.04. What do you think is the best, most solid, most
> > > tested LyX 2.x right now?
> > 
> > Probably the only one available, 2.0.0. I've compiled this version
> > on 10.04 without any issues.
> > 
> > > Probably over half the time from 2001 til now my LyX was
> > > self-compiled rather than package installed.
> > 
> > ..but if you're OK with building, this should be straightforward:
> > apt-get build-dep lyx
> > 
> >  ./configure --with-version-suffix=-svn --enable-build-type=release
> > 
> > make
> > make install
> 
> Ugh!
> Here was my configure command:
> 
>  ./configure --with-version-suffix=200 --enable-build-type=release  --
> with-qt4-dir=/usr/lib/qt4
> 
> Here was the error message from ./configure:
> 
> ==
>  The following problems have been detected by configure.
>  Please check the messages below before running 'make'.
>  (see the section 'Problems' in the INSTALL file)
> 
> ** moc 4 binary not found !
> 
> ** uic 4 binary not found !
> 
> ** qt 4 library not found !
> 
> 
> slitt@mydesk:~/junk/lyx-2.0.0$
> ==
> 
> My /usr/lib/qt4 directory has only one subdirectory, called plugins. A
> locate command indicates the only other qt4 libraries are 32 bit, this
> is a 64 bit computer, and the 32 bit library has only the same
> subdirectory.
> 
> I've installed moc. On every try I delete the whole tree and restore
> it from tarball so that there are no gotchas from leftover garbage.
> 
> Where do I go from here?
> 
> Thanks
> 
> SteveT

On my machine "moc" is part of "libqt4-dev" package. (ubuntu 11.04, 64bit)
It includes the libfiles and include files.

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: 2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-09 Thread Liviu Andronic
On Sat, Jul 9, 2011 at 9:33 PM, Steve Litt  wrote:
> Here was my configure command:
>
>  ./configure --with-version-suffix=200 --enable-build-type=release  --
> with-qt4-dir=/usr/lib/qt4
>
> Here was the error message from ./configure:
>
> ==
>  The following problems have been detected by configure.
>  Please check the messages below before running 'make'.
>  (see the section 'Problems' in the INSTALL file)
>
> ** moc 4 binary not found !
>
> ** uic 4 binary not found !
>
> ** qt 4 library not found !
>
Some wild guesses: do you have 'pkg-config' installed? Have you run
'apt-get build-dep lyx'? If you have both and it still doesn't work,
try to remove '-- with-qt4-dir=/usr/lib/qt4' from your ./configure
command.
Liviu


>
> slitt@mydesk:~/junk/lyx-2.0.0$
> ==
>
> My /usr/lib/qt4 directory has only one subdirectory, called plugins. A
> locate command indicates the only other qt4 libraries are 32 bit, this
> is a 64 bit computer, and the 32 bit library has only the same
> subdirectory.
>
> I've installed moc. On every try I delete the whole tree and restore
> it from tarball so that there are no gotchas from leftover garbage.
>
> Where do I go from here?
>
> Thanks
>
> SteveT
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-08 Thread Steve Litt
Hi all,

An untimely computer crash brought me to Ubuntu 11.04, which brought 
me to LyX 2.0.0rc3.

Ctrl+D says successful DVD preview, but does nothing. The View menu 
gives no ps2pdf choice, and when I click the View other formats 
choice, nothing opens up, even though I configured PDF and DVI in 
Tools-Preferences-Output-General on the PDF and DVI commands.

Ctrl+D brings up an error dialog box saying Could not display 
\/tmp/lyx_tmpdir.T11314/lyx_tmpbuf2/junk.dvi, the location is not a 
directory. When I directly run that file (it exists) with xdvi, it 
displays more or less correctly.

What am I doing wrong?

Thanks

Steve

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-08 Thread Steve Litt
Hi all,

An untimely computer crash brought me to Ubuntu 11.04, which brought 
me to LyX 2.0.0rc3.

Ctrl+D says successful DVD preview, but does nothing. The View menu 
gives no ps2pdf choice, and when I click the View other formats 
choice, nothing opens up, even though I configured PDF and DVI in 
Tools-Preferences-Output-General on the PDF and DVI commands.

Ctrl+D brings up an error dialog box saying Could not display 
\/tmp/lyx_tmpdir.T11314/lyx_tmpbuf2/junk.dvi, the location is not a 
directory. When I directly run that file (it exists) with xdvi, it 
displays more or less correctly.

What am I doing wrong?

Thanks

Steve

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



2.0.0rc3, no dvi preview, no ps2pdf generation, croaks on .eps files

2011-07-08 Thread Steve Litt
Hi all,

An untimely computer crash brought me to Ubuntu 11.04, which brought 
me to LyX 2.0.0rc3.

Ctrl+D says "successful DVD preview, but does nothing. The View menu 
gives no ps2pdf choice, and when I click the "View other formats" 
choice, nothing opens up, even though I configured PDF and DVI in 
Tools->Preferences->Output->General on the PDF and DVI commands.

Ctrl+D brings up an error dialog box saying "Could not display 
\"/tmp/lyx_tmpdir.T11314/lyx_tmpbuf2/junk.dvi", the location is not a 
directory. When I directly run that file (it exists) with xdvi, it 
displays more or less correctly.

What am I doing wrong?

Thanks

Steve

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt