[MacRuby-devel] [MacRuby] #315: MacRuby-trunk interferes with macports' llvm-devel
MacRuby
ruby-noreply at macosforge.org
Mon Aug 24 05:19:43 PDT 2009
#315: MacRuby-trunk interferes with macports' llvm-devel
---------------------------------+------------------------------------------
Reporter: roberto@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 0.5
Component: MacRuby | Keywords:
---------------------------------+------------------------------------------
I'm using macports on this mbp running 10.5.8 and have installed a llvm-
devel snapshot which installs its header files under /opt/local/include.
Trying to compile macruby from trunk leads to the following error:
-----
...
/usr/bin/gcc -I. -I./include -I./onig -I/usr/include/libxml2 -arch i386
-arch x86_64 -fno-common -pipe -O3 -g -Wall -fexceptions -Wno-parentheses
-Wno-deprecated-declarations -Werror -std=c99 -c signal.c -o signal.o
/usr/bin/g++ -I/opt/local/include -D_DEBUG -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fno-common
-Woverloaded-virtual -I. -I./include -g -Wall -arch i386 -arch x86_64
-Wno-parentheses -Wno-deprecated-declarations -Werror -c sprintf.cpp -o
sprintf.o
In file included from ./include/ruby/ruby.h:28In file included from
./include/ruby/ruby.h:28,
from sprintf.cpp:15:
./include/ruby/config.h:63:1: error: ,
from sprintf.cpp:15:
./include/ruby/config.h:63:1: error: "NORETURN" redefined
In file included from /opt/local/include/llvm/Support/ErrorHandling.h:18,
from /opt/local/include/llvm/Metadata.h:24,
from /opt/local/include/llvm/Module.h:21,
from llvm.h:7,
from sprintf.cpp:14:
/opt/local/include/llvm/Support/Compiler.h:60:1: error: this is the
location of the previous definition
"NORETURN" redefined
In file included from /opt/local/include/llvm/Support/ErrorHandling.h:18,
from /opt/local/include/llvm/Metadata.h:24,
from /opt/local/include/llvm/Module.h:21,
from llvm.h:7,
from sprintf.cpp:14:
/opt/local/include/llvm/Support/Compiler.h:60:1: error: this is the
location of the previous definition
lipo: can't figure out the architecture type of:
/var/folders/8T/8T1tR6OBFxGEXp7aLL+Xc+++-8Y/-Tmp-//ccUJNbaR.out
rake aborted!
Command failed with status (1): [/usr/bin/g++ -I/opt/local/include
-D_DEBU...]
(See full trace by running task with --trace)
-----
--
Ticket URL: <http://www.macruby.org/trac/ticket/315>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list