[Newbie Alert] Did i screw up my XCode?
Ton Machielsen
ton at machielsen.net
Mon Apr 13 05:18:23 PDT 2015
Hi all!
New MacPorts user here. So this is what i have done so far:
Installed Xcode
Installed MacPorts
All working fine
Replaced MacPorts with Homebrew because i needed something that was in
Homebrew but not in MacPorts. Now i cannot remember what.
Removed Homebrew.
Removed and reinstalled MacPorts. Cannot find port command.
Removed MacPorts.
Removed Xcode.
Reinstalled Xcode.
Reinstalled MacPorts.
Now, when i want to compile something i get the following error:
TM-MBP:lir03-51 Ton$ ./configure
checking OS... checking for gcc... /usr/bin/gcc
-------------------------------------------------------
In file included from <built-in>:321: <command line>:2:9: warning:
'__STDC_VERSION__' macro redefined [-Wmacro-redefined] #define
__STDC_VERSION__ 0L ^ <built-in>:318:9: note: previous definition is here
#define __STDC_VERSION__ 199901L ^ 1 warning generated.
-------------------------------------------------------
The gcc compiler is installed but does not work.
The reason is probably missing header files.
Debian, Ubuntu: apt-get install libc6-dev
Fedora: yum install gcc
SuSE: zypper install gcc
———————————————————————————
How can i start from scratch so that MacPorts and Xcode behave nicely
together?
OSX 10.10.3 here.
Thanks,
Ton.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20150413/d6e1d83e/attachment.html>
More information about the macports-users
mailing list