Opened 17 years ago
Closed 13 years ago
#14085 closed defect (fixed)
opendx compilation problem on Leopard and newer
Reported by: | joergf@… | Owned by: | gwright@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: | opendx |
Description (last modified by jmpalacios (Juan Manuel Palacios))
When trying to install the opendx port on Leopard I ran into several compilation issues. There are several problems and I am trying to figure out how to patch the Portfile.
Currently, I am stuck with the following message:
kepler:base> make g++ -DHAVE_CONFIG_H -I. -I. -I../../../include -I./../widgets -I../../../include -Dmacos -I/opt/local/include -I/usr/X11R6/include -g -O2 -I/usr/X11R6/include -c -o StartWebBrowser.o StartWebBrowser.C /System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:48: error: declaration does not declare anything /System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:64: error: multiple types in one declaration /System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:64: error: declaration does not declare anything /System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:68: error: declaration does not declare anything /System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:72: error: multiple types in one declaration /System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:72: error: declaration does not declare anything make: *** [StartWebBrowser.o] Error 1
This seems to be a problem with the header files on Leopard. It appears in other projects outside macports, too. I do not see what to make of it and how to avoid it. There seem to be two incompatible definitions for various types floating around. Would anyone know what to do?
Change History (8)
comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)
Description: | modified (diff) |
---|
comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to gwright@… |
---|
comment:3 Changed 16 years ago by kuroyagi@…
/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h defines uint64, uint32, uint16 and uint8 but they were already defined...
define following symbols to avoid this conflict
--- /opt/local/var/macports/sources/rsync.macports.org/release/ports/science/opendx/Portfile.orig 2008-06-03 17:27:07.000000000 +0900 +++ /opt/local/var/macports/sources/rsync.macports.org/release/ports/science/opendx/Portfile 2008-06-03 17:28:34.000000000 +0900 @@ -51,7 +51,8 @@ JAVAP=/usr/bin/javap \ LDFLAGS="-dylib_file \ /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\ -/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib" +/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib" \ + CPPFLAGS="-D_UINT64 -D_UINT32 -D_UINT16 -D_UINT8" configure.args --x-includes=/usr/X11R6/include \ --x-libraries=/usr/X11R6/lib \ --with-jni-path=/System/Library/Frameworks/JavaVM.framework/Headers \
comment:4 Changed 16 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks, applied in r37654.
comment:6 Changed 13 years ago by ralph@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
A similar change is needed for Lion. Duplicating the darwin 9 block as darwin 11 seems to work.
comment:7 Changed 13 years ago by jmroot (Joshua Root)
Keywords: | opendx compiletime error removed |
---|---|
Port: | opendx added |
Summary: | opendx compilation problem on Leopard → opendx compilation problem on Leopard and newer |
comment:8 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Assigning to maintainer of this port.