LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-12-2010, 05:44 AM   #1
RudraB
Member
 
Registered: Mar 2007
Distribution: Fedora
Posts: 262

Rep: Reputation: 23
xmgrace problem


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.
Attached Files
File Type: log config.log (221.4 KB, 0 views)
 
Old 12-12-2010, 06:20 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,273

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
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.
..

Last edited by knudfl; 12-12-2010 at 08:44 AM.
 
Old 12-12-2010, 08:20 AM   #3
RudraB
Member
 
Registered: Mar 2007
Distribution: Fedora
Posts: 262

Original Poster
Rep: Reputation: 23
thanks ....its working!!
you saved my fc14....had grace not working,I had to revert back.
Best,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xmgrace installation failed, problem of X11-devel landaille Red Hat 0 10-19-2010 08:05 AM
xmgrace question disruptive Linux - Software 0 07-26-2010 11:38 AM
Weird xmgrace problem:Missing import data options Euler2 Linux - Software 1 04-13-2010 01:07 PM
xmgrace and xemacs installation abhattacharya Linux - Enterprise 0 04-29-2008 02:47 AM
xmgrace column graph danfou Linux - Software 0 08-10-2007 09:42 AM


All times are GMT -5. The time now is 12:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration