| | Re: Can't get Linux NQC to compile/Run
|
|
(...) (See my previous message.) Weird. I wonder why that package is missing from the mirrors? (Metalab, for example, and rpmfind.net). Was your 7.1 system installed fresh, or upgraded from an earlier install? (24 years ago, 14-Sep-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Can't get Linux NQC to compile/Run
|
|
(...) Ok, did some poking around. In Red Hat 6.2 and in Mandrake 6.1, vector.h is part of "egcs-c++". With Red Hat 7.0 beta, vector.h is part of "libstdc++-devel". I looked on a Mandrake 7.1 mirror and could find neither package. However, I checked (...) (24 years ago, 14-Sep-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Can't get Linux NQC to compile/Run
|
|
(...) On *my* system (relatively stock Mandrake-7.1), vector.h comes with the libstdc++-devel package. ht@katzenminze%pts/2 (13:01) ~ > locate vector.h /usr/include/g++-3/bvector.h /usr/include/g++-3/vector.h /usr/include/g++-3/s..._bvector.h (...) (24 years ago, 14-Sep-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Can't get Linux NQC to compile/Run
|
|
(...) [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 (...) (24 years ago, 14-Sep-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Can't get Linux NQC to compile/Run
|
|
(...) The compiler can't find "vector.h" - which will cause lots of problems because without vector.h, all of the instantiations of the vector template won't make syntactic sense (leading to lots of random syntax errors later on in Scope.h and (...) (24 years ago, 14-Sep-00, to lugnet.robotics.rcx.nqc)
|
|
| | 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)
|
|
| | 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)
|
|
| | Re: Can't get Linux NQC to compile/Run
|
|
(...) 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 + (...) (24 years ago, 13-Sep-00, to lugnet.robotics.rcx.nqc)
|
|
| | 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)
|
|
| | Re: Can't get Linux NQC to compile/Run
|
|
(...) I've just spent hours pouring though the RPM's installing anything to do with c++, c, gcc and egcs... But I still get the below error... nqc: error in loading shared libraries: nqc: undefined symbol: _t24__default_alloc_....free_list I'm at (...) (24 years ago, 13-Sep-00, to lugnet.robotics.rcx.nqc)
|