Hi everyone,

I am moving from my hand-hacked Redhat 6.2 (migrated from Slackware)
machines to Redhat Fedora Core.

In the process, I am fixing up my daily CVS build for LyX to generate
both an xforms and qt RPM automatically.

I set up the lyx build directory like this:

mkdir build
cd build
../lyx/configure # <--- ../lyx is the latest CVS LyX sources

In the "build" directory, I can do a "make" to completion without any
problems.

However, trying to do a "make rpmdist", I get the following error about
precompiled headers:

    g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -Winvalid-pch
    --include=./pch.h "-DBOOST_USER_CONFIG=<config.h>" -I../../../../boost
    -Wextra -Wall -I/usr/X11R6/include -fno-exceptions -O2 -MT convenience.lo
    -MD -MP -MF .deps/convenience.Tpo -c convenience.cpp -o convenience.o

    cc1plus: error: ./pch.h: No such file or directory

    make[5]: *** [convenience.lo] Error 1

I am running on the latest Fedora Core 4. During the rpm build, my
configure output is as follows:

Configuration
  Host type:                      x86_64-unknown-linux-gnu
  Special build flags:            compression aiksaurus assertions pch 
concept-checks stdlib-debug warnings  jpeg-image-loader 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.0)
  C++ Compiler LyX flags:          -fno-exceptions
  C++ Compiler flags:             -Wextra -Wall    -I/usr/X11R6/include -O2
  Linker flags:                   
  Linker user flags:              
  XForms Frontend:
      libXpm version:           4.11
      libforms version:         1.0.0
  Packaging:                      posix
  LyX binary dir:                 /usr/bin
  LyX files dir:                  /usr/share/lyx

Any ideas for how to proceed?

                        ---Kayvan

P.S. I can build both the xforms and qt versions of 1.4.0cvs LyX on
this platform.

-- 
Kayvan A. Sylvan          | Proud husband of       | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)

Reply via email to