Lars Gullik Bjønnes wrote:
> 
> Helge Hafting <[EMAIL PROTECTED]> writes:
> 
> | Lars Gullik Bjønnes wrote:
> >>
> >> I have tagged and put pre2 up for ftp at ftp.devel.lyx.org
> >
> | I wanted to test this, and went to the ftp site.  There I found
> | a pre3 too, and downloaded that guessing it was even newer.
> >
> | It didn't compile though, error messaages at the bottom.
> >
> | I'm testing prereleases because I'm going to write a book, and
> | the new math editor seems better than 1.1.6fix4.  Except for
> | the know pre1-problem using the mouse for positioning the cursor
> | inside a formula.
> >
> | Is testing pre2 a better idea, or perhaps a different
> | configuration?
> >
> | Helge Hafting
> >
> | $ ./configure  --disable-debug --with-included-string --disable-static
> | --with-gnu-ld --with-version-suffix=12p3 --enable-shared
> 
> You should not turn enable-shared on.

Ok.  Perhaps I am misunderstanding something, I thought enable-shared
was a way to make the executable use shared libraries instead of linking
stuff static.  I have used --enable-shared when compiling 1.1.6fix4.

> 
> What hind of system is this?
> This is not glibc is it?
It is a linux x86 pc, it uses glibc.

Dropping --enable-shared didn't seem to help:

$ ./configure  --disable-debug --with-included-string  --with-gnu-ld
--with-version-suffix=12p3
[...]
Configuration
  Host type:                      i686-pc-linux-gnu
  Special build flags:            warnings included-string assertions
included-libsigc xforms-image-loader
  C   Compiler:                   gcc
  C   Compiler flags:             -g -O2
  C++ Compiler:                   g++ (2.95.4)
  C++ Compiler flags:             -O -fno-exceptions -W -Wall
  Linker flags:                   
  Frontend:                       xforms
    libXpm version:               4.11
    libforms version:             0.89.5
  LyX binary dir:                 /usr/local/bin
  LyX files dir:                  /usr/local/share/lyx12p3

$ make
Making all in config
make[1]: Entering directory `/usr/src/lyx-1.2.0pre3/config'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/lyx-1.2.0pre3/config'
Making all in intl
make[1]: Entering directory `/usr/src/lyx-1.2.0pre3/intl'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"
-DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I../src -I. -I../intl
-isystem /usr/X11R6/include -g -O2  bindtextdom.c
In file included from /usr/include/string.h:360,
                 from bindtextdom.c:25:
/usr/include/bits/string2.h:391: warning: `strchr' redefined
../src/config.h:418: warning: this is the location of the previous
definition
In file included from bindtextdom.c:25:
/usr/include/string.h:242: conflicting types for `bcopy'
/usr/include/string.h:42: previous declaration of `bcopy'
In file included from /usr/include/string.h:360,
                 from bindtextdom.c:25:
/usr/include/bits/string2.h: In function `__strsep_1c':
/usr/include/bits/string2.h:1138: warning: pointer/integer type mismatch
in conditional expression
make[1]: *** [bindtextdom.o] Error 1
make[1]: Leaving directory `/usr/src/lyx-1.2.0pre3/intl'
make: *** [all-recursive] Error 1

Reply via email to