On Wed, May 20, 2009 at 02:10:50AM -0400, Ben M. wrote:

> Thanks for all your help Enrico!  I'm now a proud user of 1.6.3svn and
> 2.0.0svn!  =)
> 
> (The only thing I'd add to complete your instructions is that for
> development versions, you must run autogen.sh before running
> lyxconfig-cygwin.

Yes, those instructions were not actually meant for compiling a
development version. You should have read http://www.lyx.org/HowToUseSVN
and in particular http://www.lyx.org/HowToUseSVN#toc6

> Furthermore, under Vista you must execute
> autogen.sh from a shell that is "Run as Administrator."  When run
> without administrative privileges, the following error occurs:
>   /usr/bin/m4:configure.ac:3: cannot create temporary file for
> diversion: Permission denied

This looks like a permission problem. I can trigger a failure (even if
not exactly as yours) as follows:

$ mkdir /tmp/notgood
$ chmod 0 /tmp/notgood
$ env TMPDIR=/tmp/notgood ./autogen.sh
Using automake (GNU automake) 1.10.1
Using autoconf (GNU Autoconf) 2.63
Building macros...
autom4te-2.63: cannot create /tmp/notgood/am4t7070.484: Permission denied
 at /usr/bin/autom4te-2.63 line 958
aclocal-1.10: autom4te failed with exit status: 1
Building config header template...
autoheader not found -- aborting

So, make sure that TMPDIR is not set (it may be imported from your
native Windows environment) and that the permissions on /tmp are correct.
The permissions on /tmp should be as follows:

$ ls -ld /tmp
drwxrwxrwt+ 6 root None 20480 May 20 12:53 /tmp

If in the first column you don't see "drwxrwxrwt+", try issuing:

$ chmod 1777 /tmp

and see whether this solves the problem (remember to also unset TMPDIR
if it is already set).

> I'd like to renew my bug report regarding server-goto-file-row.  My
> primary motivation for all this was to get "inverse DVI search"
> working with LyX.  For me, it works in 1.6.1 and 2.0.0svn(=trunk).
> However, in 1.6.2 and 1.6.3svn(=BRANCH_1_6_X), this command reliably
> sends me to the first line.  This seems odd since Pavel seems to
> confirm that you fixed this problem for 1.6.3svn three weeks ago.  Any
> idea what's going wrong?  (I don't get any info from -dbg lyxserver.)

I have no clue here. If it works in 1.6.1 it should also work in later
versions (and indeed it does for me). Some questions:

1) Are you using the lyxpipe or the lyxsocket for communicating with lyx?
2) Are you running more instances of the same lyx version?
3) Are you sure that source specials are activated?
4) Version 1.6.1 (where inverse DVI search works) has been compiled by
   you or are you using a package?

In case 2), inverse DVI search only works for the first lyx instance
but not for the others (note that if you open a new window from a
lyx instance, it does not count as a new instance and inverse DVI
search works in this case).

-- 
Enrico

Reply via email to