Menu

#10 Doesn't build on Fedora Core 3

2.x
closed
Compiling (1)
5
2005-11-08
2005-11-02
FX
No

Trying to build Wcalc-2.1 on Fedora Core 3 gives:

$ ./configure --prefix=$HOME/local && make
[...snip...]
if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -Wall -g -O2
-MT parser.o -MD -MP -MF ".deps/parser.Tpo" -c -o
parser.o parser.c; \
then mv -f ".deps/parser.Tpo" ".deps/parser.Po"; else
rm -f ".deps/parser.Tpo"; exit 1; fi
parser.y: In function `yyparse':
parser.y:556: warning: implicit declaration of function
`mpfr_sqr'
parser.y:559: warning: implicit declaration of function
`mpfr_mul_si'
parser.y:596: warning: implicit declaration of function
`mpfr_get_ui'
flex scanner.l
sed '/^#/ s|lex.yy\.c|scanner.c|' lex.yy.c >scanner.c
rm -f lex.yy.c
if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -Wall -g -O2
-MT scanner.o -MD -MP -MF ".deps/scanner.Tpo" -c -o
scanner.o scanner.c; \
then mv -f ".deps/scanner.Tpo" ".deps/scanner.Po"; else
rm -f ".deps/scanner.Tpo"; exit 1; fi
scanner.l: In function `yylex':
scanner.l:169: error: void value not ignored as it
ought to be
scanner.l:174: error: void value not ignored as it
ought to be
make[1]: *** [scanner.o] Error 1

Fedora Core 3 has flex 2.5.4, gcc 3.4.4, gmp-4.1.4.

Discussion

  • Kyle Wheeler

    Kyle Wheeler - 2005-11-07
    • status: open --> closed
     
  • Kyle Wheeler

    Kyle Wheeler - 2005-11-07
    • assigned_to: nobody --> memoryhole
     
  • Kyle Wheeler

    Kyle Wheeler - 2005-11-07

    Logged In: YES
    user_id=17596

    It looks like you don't have MPFR installed. Unfortunately, GMP comes
    with a broken version of MPFR that many lazy packagers turn on in their
    package because they don't want to go through the trouble of packaging
    the real MPFR (I really wish they wouldn't do that). The broken MPFR
    included in GMP is sufficient for the configure script to think that it's
    found a working MPFR. Unfortunately, it looks like Fedora doesn't have
    a real MPFR rpm available. There's a source rpm available on the MPFR
    web page that you should be able to use: http://www.mpfr.org/mpfr-
    current/

    I'll try and modify the configure script so that it won't be fooled by GMP's
    broken MPFR, but what you'll need to do in any case is get a working
    version of MPFR.

     
  • Kyle Wheeler

    Kyle Wheeler - 2005-11-07

    Logged In: YES
    user_id=17596

    It looks like you don't have MPFR installed. Unfortunately, GMP comes
    with a broken version of MPFR that many lazy packagers turn on in their
    package because they don't want to go through the trouble of packaging
    the real MPFR (I really wish they wouldn't do that). The broken MPFR
    included in GMP is sufficient for the configure script to think that it's
    found a working MPFR. Unfortunately, it looks like Fedora doesn't have
    a real MPFR rpm available. There's a source rpm available on the MPFR
    web page that you should be able to use: http://www.mpfr.org/mpfr-
    current/

    I'll try and modify the configure script so that it won't be fooled by GMP's
    broken MPFR, but what you'll need to do in any case is get a working
    version of MPFR.

     
  • Kyle Wheeler

    Kyle Wheeler - 2005-11-07

    Logged In: YES
    user_id=17596

    It looks like you don't have MPFR installed. Unfortunately, GMP comes
    with a broken version of MPFR that many lazy packagers turn on in their
    package because they don't want to go through the trouble of packaging
    the real MPFR (I really wish they wouldn't do that). The broken MPFR
    included in GMP is sufficient for the configure script to think that it's
    found a working MPFR. Unfortunately, it looks like Fedora doesn't have
    a real MPFR rpm available. There's a source rpm available on the MPFR
    web page that you should be able to use: http://www.mpfr.org/mpfr-
    current/

    I'll try and modify the configure script so that it won't be fooled by GMP's
    broken MPFR, but what you'll need to do in any case is get a working
    version of MPFR.

     
  • Kyle Wheeler

    Kyle Wheeler - 2005-11-08
    • labels: 469829 --> Compiling
     

Log in to post a comment.

MongoDB Logo MongoDB