LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   xmgrace problem (http://www.linuxquestions.org/questions/linux-software-2/xmgrace-problem-849733/)

RudraB 12-12-2010 05:44 AM

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

$ make
 make[1]: Entering directory `/home/rudra/Downloads/grace-5.1.22/
 cephes'
 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:

Code:

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
Code:

$ uname -r
 2.6.35.9-64.fc14.i686

and my gcc is:
Code:

$ gcc -v
 Using built-in specs.
 COLLECT_GCC=gcc
 COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-redhat-linux/4.5.1/lto-
 wrapper
 Target: i686-redhat-linux
 Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --
 infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/
 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-1.5.0.0/jre --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-
 linux
 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
ftp://ftp.pbone.net/mirror/www.pclin...s2007.i586.rpm
( 't1lib' is required.
# 'yum localinstall --nogpgcheck <package>.rpm' may grap it.)

And the Fedora 11 package :
ftp://ftp.pbone.net/mirror/archive.f....fc11.i586.rpm

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.
Best,


All times are GMT -5. The time now is 01:13 PM.