There are problems with the file src/.libs/impgen.c.  It is not a valid
C file and it won't compile.

The error will appear when lyx.exe is being built.  It requires editing
the file by hand. Bad sed script? 

--------------------------------------------------
generating import library for `cygintl-2.dll'
dlltool --as=as --dllname cygintl-2.dll --def .libs/cygintl-2.dll-def
--output-lib .libs/libimp-cygintl-2.a
dlltool: Syntax error in def file .libs/cygintl-2.dll-def:0
extracting exported symbol list from `cygiconv-2.dll'
test -f .libs/impgen.c || \
      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c
ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < ../libtool >
.libs/impgen.c 
      test -f .libs/impgen.exe || (cd .libs && \
      if test "x" != "x" ; then  -o impgen impgen.c ; \
      else gcc-2 -o impgen impgen.c ; fi) 
      .libs/impgen /usr/lib/../bin/cygiconv-2.dll >
.libs/cygiconv-2.dll-def
impgen.c:82: parse error
impgen.c:111: unterminated `#if' conditional
../libtool: line 6: .libs/impgen: No such file or directory
make[2]: *** [lyx.exe] Error 127
make[2]: Leaving directory `/home/max/lyx-1.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/max/lyx-1.3.1/src'
make: *** [all] Error 2
------------------------------------------------

Another question: How do I build the libaiksaurus?  The source won't
compile under cygwin.

Max

Reply via email to