Re: Problem compiling first Cocoa app in Xcode 3.1
Re: Problem compiling first Cocoa app in Xcode 3.1
- Subject: Re: Problem compiling first Cocoa app in Xcode 3.1
- From: Mark Bestley <email@hidden>
- Date: Mon, 21 Jul 2008 12:22:16 +0100
On Mon, 21 Jul 2008 01:54:04 +0100, Thomas Wetmore <email@hidden>
wrote:
> Paul,
>
>
> When you posted what you see when you do "echo $PATH" it became
obvious
> you have a very long path with quite a bit of duplication. This
> indicates a series of installations of things in the past that have
had
> some accumulation of effects and changes on your PATH. It could be
that
> you know have a fairly fragile PATH setting.
>
> The first thing you should do is get the ruby in /usr/bin the ruby
that
> is running in your Xcode. If that fixes the problem, great. If not,
not
> great, but until you get that one fact determined everything else is
> just speculation.
Tom's is a good explanation of the points which if you start
channging .profile etc you need to understand (If you follow the
instructions and get then exactly correct it will work however if you
make a tiny mistake you have to understand the shell to fix it)
Given your path from earlier
echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/
local/mysql/bin:/opt/local/lib/postgresql83/bin:/usr/sbin:/usr/bin:/
opt/local/bin:/opt/local/sbin:/opt/local/lib/postgresql83/bin@./usr/
bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
I think the problem is that /usr/bin is not on your path. Path entries
are separated by : and you have /opt/local/lib/postgresql83/bin@./usr/
bin not /opt/local/lib/postgresql83/bin:/usr/bin i.e. you had @.
rather than :
However as that path shows you have installed a lot of things
inclusing macports and a non macports mysql you need to sort out the
path.
From your previous comments I suspect the easiest thing would be to
creat a new user in OSX and start development environment from
scratch. For objective C start with no macports
I suspect the plain macports install changing path would work as well
as I don't think you need those postgres paths
--
Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden