Installing ode using Macports - xcode

I am trying to install ode via Macports, but get this error:
On Mac OS X 10.5, ode 0.11.1 requires Xcode 3.1 or later but you have Xcode 3.0.
Error: Target org.macports.extract returned: incompatible Xcode version
Is there any way to install ode without xcode 3.1?

I think you can download XCode 3.1.x for Leopard # http://connect.apple.com (registration required).
That might be the easiest way, or are you staying on 3.0 for a specific reason?
You could always try to alter / remove minimum_xcodeversion in the portfile itself, although chances are your compilation will then probably fail (somebody had a reason for adding it).

Xcode includes gcc and all the other developer command line tools - the minimum requirement for Xcode 3.1 is probably because a minimmum version of gcc is required. You should really just bit the bullet and get the latest Xcode (3.2.2) from http://connect.apple.com - it only takes a few minutes to download and install (depending on how fast your broadband connection is).

According to the change log for the ode Portfile, the minimum Xcode version was set to remove a libGL workaround. I suppose you could check out the patch and undo that change on the local copy of your Portfile, and see if that works.

Related

Homebrew upgrade results in clang install every time

Recently with macos 12.6 - after running
homebrew upgrade
I was getting a prompt to install clang. I was not paying attention to the console and installed it. But it kept on happening and I kept on installing clang. As this issue might repeat I would like to share my solution
#1 - this is related to xcode unapplied update to OS 16 and it's packages. Launch Xcode and update everything requested
#2 -
xcodebuild -runFirstLaunch
You can also use this command.
Hopefully my steps will solve your issue. Couldn't find solution anywhere, so decided to share it here

Installing Bakefile in Mac osx 10.11

I have been trying to install bakefile(v0.2.9) in mac osx 10.11. Whenever I try to install bakefile using the dmg file I get The installation failed.The installer could not install the software because there was no software found to install error.
I even tried building it from the source code(v1.2.5.1 from github). I built it using the sudo make command.However sudo make install command throws No rule to make target install.
Is there any other way to install bakefile in macosx 10.11?
Edit :
Finally I managed to install the bakefile 0.2.9 in osx 10.11. I can't use the latest version as it does not supports the bakefile we have been using in our projects.
Though the installation is successful,I get the segmentation fault 11 when I try to build the bakefiles(.bkl). Some of the forums suggested that the problem could be associated with python 2.7. I followed all the steps needed to resolve the issue. But none of them helped.
I have been using python 2.7.11. How can I avoid this segmentation fault?
I advice against using the legacy 0.2.9 version.
I even tried building it from the source code(v1.2.5.1 from github).
You didn’t, that’s the problem — you tried to build a very different version, 0.2.9 != 1.2.5.1. The relation between these two branches is explained at http://bakefile.org — they are incompatible and different.
If you want to build 0.2.9 from sources, you need to download and build 0.2.9.
If you want to use the 1.x version, you can download packaged “binary” version, as explained at https://github.com/vslavik/bakefile
P.S. You don’t need to, and shouldn’t, use sudo when installing somewhere you typically have access to, such as /usr/local on OS X.

How to install Xcode 4.6 on Lion, needed for upgrading ruby with RVM

I was actually trying to update ruby on my OSX 10.7.5 with RVM, and after typing in the following command:
rvm install ruby
I got the following response:
Searching for binary rubies, this might take some time.
Checking requirements for osx.
Installing requirements for osx.
Updating system.......
Error running 'requirements_osx_brew_update_system ruby-2.0.0-p247',
please read /Users/username/.rvm/log/1381215459_ruby-2.0.0-p247/update_system.log
Requirements installation failed with status: 1.
Then, when I checked out the update_system.log, it showed me the actual code of a function called requirements_osx_brew_update_system(), which contained the following error message:
Xcode version older than 4.6.2 installed, download and install newer version from:
http://connect.apple.com
After installation open Xcode, go to Downloads and install Command Line Tools.
Then I proceeded to find an update for Xcode, but only found the latest Xcode 5.0, which is apparently incompatible with my OSX 10.7. Although ultimately my goal is to update ruby and install rails, which I'm sure there are many other ways to do, I'd still like to find out if I could possibly install Xcode 4.6.2 on my OSX 10.7.
UPDATE: Sorry folks, apparently my version of XCode is v4.6.1 so updating the command line tools will not work in all cases (I know for a fact it doesn't work if you're on XCode v4.3.3). YMMV
I ran into the same issue trying to do an rvm install. I got an error telling me that I needed XCode 4.6.2 or later.
Turns out all it needed was the latest version of the XCode command line tools. I followed the instructions for upgrading my command line tools from this macports article:
open the Xcode application
go to the Preferences window
open the Downloads section
click the Install button next to "Command Line Tools"
After doing this I was able to run my rvm install command and it didn't complain about upgrading XCode anymore (and finished successfully).
It seems you're going to have to install under Xcode 5. So go to https://developer.apple.com/downloads/ and log in with your developer ID to get to the older versions. There should be a 4.6.3 that you could potentially download, or even 4.6.2.
Or you could upgrade your OSX to 10.8.
Whichever you prefer.
I can't give you a direct link to it, since you need your developer information to log in yourself. But all the downloads you need are in the link provided above once you log in.
Open xcode and update it via the app store.
Then
xcode-select --install
This will install xcode via the command line

Installing dph-examples in Mac OS X 10.7.2

I am trying to install dph-examples in mac os x version 10.7.2 and I got this error. How ever on ghci , I can see
ghci>import Data.Array.Parallel.
Data.Array.Parallel.Base Data.Array.Parallel.Base.DTrace Data.Array.Parallel.Base.TracePrim Data.Array.Parallel.Stream
but not Data.Array.Parallel , Data.Array.Parallel.Prelude and Data.Array.Parallel.Prelude.Double. I copied the example ( it uses these libraries ) given on Data-Parallel-Haskell and its working fine. My program is compiling and running so my question is, why i am not able to see these library at ghci prompt. Also i am not able to find the reference for sumP function at the Data-Array-Parallel. I am using ghc-7.2.1.
GHC depends on Xcode 3.2:
The package requires Xcode 3.2 (in particular, the "Unix Development Support") to be already installed.
— GHC 7.2.1 download page
Xcode 3.2 should already come with LLVM, so if it's not already installed, installing it should fix things. If you already have it installed, then your installation might be broken somehow; you could try reinstalling it to make sure. I think Xcode 4 isn't fully supported by GHC yet, so if you have it installed, that might be the problem; you could try uninstalling it and installing 3.2 instead.
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM
Perhaps you didn't install LLVM? Go install LLVM.

Problems migrating from XCode 3.2.2 to 3.2.3

After upgrading my copy of xcode from 3.2.2 to 3.2.3, I am getting over 10000 compilation errors. I have switched all frameworks to the iOS 4.0.x versions, and have set the new sdk to 4.0, with iOS 3.1 as compilation target. What could be causing 10000 errors, and how do I resolve them? (These errors appear everywhere, and even in sdk files and system headers)
Well, without knowing what those errors are, it is difficult to say.
I might suggest uninstalling Xcode 3.2.3 and installing the latest version which is 3.2.5.
To uninstall properly, you need to enter:
sudo (xcode
folder)/Library/uninstall-devtools
--mode=all
in the terminal and then install 3.2.5.
I solved the problem by deleting and recompiling the project using a new compilation target. Turns out some of the project settings in xcode can be rather funky, and will cause GCC to mistake objective c code as plain c code.

Resources