On Tue, Apr 25, 2006 at 09:22:33AM +0200, Lars Gullik Bjønnes wrote: > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: > > | On Mon, Apr 24, 2006 at 02:02:44PM +0200, Lars Gullik Bjønnes wrote: > | > | > ... > | > | > > note that lyx2lyx_version.py.in is absent. > | > | > > | > | > It is not when I do the same here. > | > | > | > | Do a "make dist" then use the resulting tar-ball to try and make > | > | lyx, you will see the problem then. lyx2lyx_version does not make > | > | it into the tarball. > | > > | > It shoulnd't have to be in the tar ball... only lyx2lyx_version.py.in > | > should be in the tar ball. > | > > | > | Do the experiment. They are both absent from the tarball. > > Yes, and one of them should be absent. > > I added the other.
1) A fresh svn repository, ran autogen.sh. ./autogen.sh 2) An empty build dir: mkdir qtbuild cd qtbuild/ 3) Configure it: ../lyx/configure --disable-debug --enable-optimization=-O2 --with-frontend=qt --with-qt-dir=/usr/lib64/qt-3.3 --with-qt-includes=/usr/lib64/qt-3.3/include --with-qt-libraries=/usr/lib64/qt-3.3/lib The result: Configuration Host type: x86_64-unknown-linux-gnu Special build flags: compression aiksaurus assertions pch concept-checks stdlib-debug warnings use-aspell use-ispell C Compiler: gcc C Compiler LyX flags: C Compiler flags: -Wextra -Wall -I/usr/X11R6/include -O2 C++ Compiler: g++ (4.0.2) C++ Compiler LyX flags: C++ Compiler flags: -Wextra -Wall -I/usr/X11R6/include -O2 Linker flags: Linker user flags: Qt Frontend: Qt version: 3.3.4 Packaging: posix LyX binary dir: /usr/local/bin LyX files dir: /usr/local/share/lyx Configuration of LyX was successful. Type 'make' to compile the program, and then 'make install' to install it. 4) Now, "make dist" to see the problem: make dist make[2]: Entering directory `/home/kayvan/src/lyx/qtbuild/lib/doc' mkdir -p -- /home/kayvan/src/lyx/qtbuild/lyx-1.5.0svn/lib/doc/../../../lyx/lib/doc /home/kayvan/src/lyx/qtbuild/lyx-1.5.0svn/lib/doc/../../config make \ top_distdir="/home/kayvan/src/lyx/qtbuild/lyx-1.5.0svn" distdir="/home/kayvan/src/lyx/qtbuild/lyx-1.5.0svn/lib/doc" \ dist-hook make[3]: Entering directory `/home/kayvan/src/lyx/qtbuild/lib/doc' python ../../../lyx/lib/doc/doc_toc.py Traceback (most recent call last): File "../../../lyx/lib/doc/doc_toc.py", line 34, in ? import LyX File "../../../lyx/lib/doc/../lyx2lyx/LyX.py", line 28, in ? import lyx2lyx_version ImportError: No module named lyx2lyx_version make[3]: *** [TOC.lyx] Error 1 make[3]: Leaving directory `/home/kayvan/src/lyx/qtbuild/lib/doc' make[2]: *** [distdir] Error 2 make[2]: Leaving directory `/home/kayvan/src/lyx/qtbuild/lib/doc' make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/kayvan/src/lyx/qtbuild/lib' make: *** [distdir] Error 1