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 / 773
772  |  774
Subject: 
Re: Can't get Linux NQC to compile/Run
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Thu, 14 Sep 2000 10:45:26 GMT
Viewed: 
1941 times
  
Dean Husby wrote:

Matthew Miller wrote:

Dean Husby <nntp@akasa.bc.ca> wrote:
/bin/sh: bison: command not found
Any ideas?

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.

After installing the bison package from the Ret Hat 6.1 CD I now get the
following. Even MORE errors then before...

[root@linux SPECS]# rpm -bb nqc.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.26034
+ 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.64321
+ 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 )
g++ -c -O6 -pipe -Iplatform -Ircxlib -Inqc -Icompiler -Wall
-Wstrict-prototypes -Wmissing-prototypes -DDEFAULT_SERIAL_NAME='"/dev/ttyS0"'
nqc/nqc.cpp -o nqc/nqc.o
In file included from compiler/Program.h:33,
                 from nqc/nqc.cpp:27:
compiler/Scope.h:33: vector.h: No such file or directory

[snipped the rest]

All the rest is a follow-up to the fact that vector.h is missing.

As root, do "updatedb" followed by "locate vector.h"
If it doesn't return anything, you need to install the egcs-c++ rpm, which
is under Development/Languages. My copy of vector.h (RedHat 6.2) is located
in /usr/include/g++-2

Hope this helps
--
Jan-Albert "Anvil" van Ree   | http://www.nl.3dgamers.com
3D Sims Archive maintainer   | http://www.3dgamers.com
Thrustmaster Resource Center | http://www.3dgamers.com/tmresourcecenter/



Message is in Reply To:
  Re: Can't get Linux NQC to compile/Run
 
(...) After installing the bison package from the Ret Hat 6.1 CD I now get the following. Even MORE errors then before... [root@linux SPECS]# rpm -bb nqc.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.26034 + umask 022 + cd /usr/src/RPM/BUILD + (...) (24 years ago, 14-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
    

Custom Search

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