From: Gary P. <pa...@in...> - 2003-09-05 00:40:42
|
OK: I "reinstalled" Developer Tools December 2002 version (see below), and gcc now exists, and Numeric compiled and installed nicely. Now: visual won't compile. I did ./configure --prefix=/sw and CPPSFLAGS does = -I/sw/include. but make quits with. CXX/Include/CXX_Objects.h: At global scope: CXX/Include/CXX_Objects.h:968: no class template named `random_access_iterator' in `std' CXX/Include/CXX_Objects.h:1079: no class template named `random_access_iterator ' in `std' make[1]: *** [arrow.lo] Error 1 make: *** [all-recursive] Error 1 This same error was described on the list back in August 2002, but no answer was given. The author suggested something about gcc 3.1 vs an earlier version ... can't comment on that. I'm not entirely convinced that Developer Tools installed correctly. I first installed "package.pkg", which I thought was going to do the job. It sure took a long time, but gcc didn't work. I had to drill into the subdirectory and install "DevTools.pkg" (or something like that) to get the compiler running. There are 4 or 5 other pkg's in that directory. Should I install them all individually, perhaps? Any takers? Thanks, Gary |
From: Jonathan B. <jdb...@un...> - 2003-09-05 17:03:37
|
----- Original Message ----- From: "Gary Pajer" < > To: "Jonathan Brandmeyer" < > Sent: Friday, September 05, 2003 11:59 AM Subject: Re: Mac newbie needs help > > There should have been a line produced by `configure` that states this: > > "checking whether the C++ library supports iterator traits... " > > followed > > by "yes" or "no". What did it say? (should be 'yes') > > no. We're getting somewhere. What now? > That is very strange, since the Apple-distributed GCC 3.1 does support iterator traits. About 9/10 down config.log (produced by configure) there should be a verbose description of the error produced by the failed check. It starts with "configure:9419: checking whether the C++ library supports iterator traits" and should reveal the error. -Jonathan Brandmeyer |
From: Gary P. <pa...@in...> - 2003-09-05 20:54:45
|
> > > There should have been a line produced by `configure` that states this: > > > "checking whether the C++ library supports iterator traits... " > > > followed > > > by "yes" or "no". What did it say? (should be 'yes') > > > > no. We're getting somewhere. What now? > > > > That is very strange, since the Apple-distributed GCC 3.1 does support > iterator traits. > I got it. The Apple Developer Tools comes with a half-dozen or so installation packages. The way I read the docs, it seemed that installing the one called "Developer.pkg" should install everything. It seems I was mistaken. In addition to "Developer", I installed "DevTools.pkg" and "DevSDK.pkg". The first one provided gcc, the second the proper libraries. After that: smooth as silk. Everything compiled and installed, and I'm in bouncing ball heaven. I don't know if installing "Developer" was essential, unnecessary, or benign. All I can vouch for is that installing all three, "Developer" first, worked for me. Thanks, Jonathan, for your help with this, and for all your work on the project. -Gary |
From: Jonathan B. <jbr...@ea...> - 2003-09-05 01:17:53
|
On Thu, 2003-09-04 at 20:39, Gary Pajer wrote: > OK: I "reinstalled" Developer Tools December 2002 version (see below), and > gcc now exists, and Numeric > compiled and installed nicely. > > Now: visual won't compile. > I did ./configure --prefix=/sw > > and CPPSFLAGS does = -I/sw/include. > > but make quits with. > > CXX/Include/CXX_Objects.h: At global scope: > CXX/Include/CXX_Objects.h:968: no class template named > `random_access_iterator' > in `std' > CXX/Include/CXX_Objects.h:1079: no class template named > `random_access_iterator > ' in `std' > make[1]: *** [arrow.lo] Error 1 > make: *** [all-recursive] Error 1 What is the output of `gcc --version` (should be 3.1 20020420 (prerelease))? Which version of VPython are you installing (should be 2.1.1)? There should have been a line produced by `configure` that states this: "checking whether the C++ library supports iterator traits... " followed by "yes" or "no". What did it say? (should be 'yes') I don't have this problem on our OSX box, but it was present in an earlier version of VPython. -Jonathan Brandmeyer |
From: Jonathan B. <jbr...@ea...> - 2003-09-05 02:42:12
|
On Thu, 2003-09-04 at 20:39, Gary Pajer wrote: > I'm not entirely convinced that Developer Tools installed correctly. I > first installed "package.pkg", which I thought was going to do the job. It > sure took a long time, but gcc didn't work. I had to drill into the > subdirectory and install "DevTools.pkg" (or something like that) to get the > compiler running. There are 4 or 5 other pkg's in that directory. Should > I install them all individually, perhaps? I'm afraid I have no idea here, on our system it Just Worked. Sorry, Jonathan Brandmeyer |