To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 769
768  |  770
Subject: 
Re: Can't get Linux NQC to compile/Run
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Wed, 13 Sep 2000 17:42:05 GMT
Viewed: 
2072 times
  
Matthew Miller wrote:

Dean Husby <nntp@akasa.bc.ca> wrote:
I've just spent hours pouring though the RPM's installing anything to do with
c++, c, gcc and egcs...

Ok, well. In that case, let's assume that you have the compilers installed
properly by now. :)

Have you tried rebuilding the RPM?

Download <http://nqc.mattdm.org/nqc-2.2.r1-1.src.rpm>, and install it as you
would a binary RPM. Then look in /usr/src/RPM/SPECS/ and do
"rpm -bb nqc.spec". Assuming all is good, this should create a binary RPM that
works properly in /usr/src/RPM/RPMS/i586/. (I think. It's been a while since
I've used Mandrake, so the path may be slightly off.)

Ok, I did as above and here is what I got along with an error message.

[root@linux SPECS]# rpm -bb nqc.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.29920
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf nqc-2.2.r1
+ /bin/gzip -dc /usr/src/RPM/SOURCES/nqc-2.2.r1.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nqc-2.2.r1
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.75678
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd nqc-2.2.r1
+ make
g++ -o bin/mkdata -Inqc/ -Iplatform/ mkdata/mkdata.cpp nqc/SRecord.cpp
bin/mkdata compiler/rcx1.nqh compiler/rcx1_nqh.h rcx1_nqh
bin/mkdata compiler/rcx2.nqh compiler/rcx2_nqh.h rcx2_nqh
bin/mkdata -s rcxlib/fastdl.srec rcxlib/rcxnub.h rcxnub
(cd compiler ; bison -y -d parse.y ; \
mv -f y.tab.c parse.cpp ; mv -f y.tab.h parse.tab.h )
/bin/sh: bison: command not found
mv: y.tab.c: No such file or directory
mv: y.tab.h: No such file or directory
make: *** [compiler/parse.cpp] Error 1
Bad exit status from /var/tmp/rpm-tmp.75678 (%build)

Any ideas?

Thanks

Dean
--
Coin-Op's For Sale!: http://www.akasa.bc.ca/tfm/coin-op.html
Dean's Lego Workshop: http://www.akasa.bc.ca/tfm/lego_wr.html
Vancouver Lego Club: http://www.akasa.bc.ca/vlc



Message has 1 Reply:
  Re: Can't get Linux NQC to compile/Run
 
(...) Yep. Install the bison package. :) This is one of my gripes with mandrake, by the way. Their install program makes it very easy to not install stuff which you will actually want. (24 years ago, 13-Sep-00, to lugnet.robotics.rcx.nqc)

Message is in Reply To:
  Re: Can't get Linux NQC to compile/Run
 
(...) Ok, well. In that case, let's assume that you have the compilers installed properly by now. :) Have you tried rebuilding the RPM? Download (URL), and install it as you would a binary RPM. Then look in /usr/src/RPM/SPECS/ and do "rpm -bb (...) (24 years ago, 13-Sep-00, to lugnet.robotics.rcx.nqc)

26 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR