-   Linux - Software (
-   -   xmgrace problem (

RudraB 12-12-2010 05:44 AM

xmgrace problem
1 Attachment(s)
while trying to compile grace (5.1.22), I am facing problem:

$ make
 make[1]: Entering directory `/home/rudra/Downloads/grace-5.1.22/
 gcc -O2 -m486 -fno-common -Wall -Wpointer-arith -Wnested-externs -I.. -
 I.    -c -o airy.o airy.c
 cc1: error: unrecognized command line option "-m486"
 make[1]: *** [airy.o] Error 1
 make[1]: Leaving directory `/home/rudra/Downloads/grace-5.1.22/cephes'
 make: *** [subdirs] Error 1

if I remove m486 option in Make.conf, I am getting another error:


In file included from /usr/include/stdio.h:34:0,
                  from mtherr.c:60:
 /usr/lib/gcc/i686-redhat-linux/4.5.1/include/stddef.h:211:23: error:
 duplicate ‘unsigned’
 /usr/lib/gcc/i686-redhat-linux/4.5.1/include/stddef.h:211:23: error:
 two or more data types in declaration specifiers
 make[1]: *** [mtherr.o] Error 1
 make[1]: Leaving directory `/home/rudra/Downloads/grace-5.1.22/cephes'
 make: *** [subdirs] Error 1

my system is

$ uname -r

and my gcc is:

$ gcc -v
 Using built-in specs.
 Target: i686-redhat-linux
 Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --
 infodir=/usr/share/info --with-bugurl=
 bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --
 enable-checking=release --with-system-zlib --enable-__cxa_atexit --
 disable-libunwind-exceptions --enable-gnu-unique-object --enable-
 linker-build-id --enable-languages=c,c++,objc,obj-c+
 +,java,fortran,ada,lto --enable-plugin --enable-java-awt=gtk --disable-
 dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj- --enable-
 libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/
 share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --
 with-cloog --with-tune=generic --with-arch=i686 --build=i686-redhat-
 Thread model: posix
 gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC)

Attached is my config.log.

I am forced to use source because rpm is also giving some problem and crashing while starting.

Plz help.

knudfl 12-12-2010 06:20 AM

I don't think, you can compile grace / xmgrace 5.1.22 on a modern Linux.
( I have tried several times on different OS.)

This package works on other Fedoras
( 't1lib' is required.
# 'yum localinstall --nogpgcheck <package>.rpm' may grap it.)

And the Fedora 11 package :

I will test both packages on Fedora 14 - 32 ... ... later.

RudraB 12-12-2010 08:20 AM

thanks ....its working!!
you saved my fc14....had grace not working,I had to revert back.

All times are GMT -5. The time now is 08:24 AM.