opendx: does not launch + Warning: violation by /opt/local/dx
Cédric Ody
cedric.ody at univ-rennes1.fr
Thu Feb 5 04:51:39 PST 2009
Hello,
I have succeeded in installing dx from the macports.
However, it can not launch and I have the following comment
> dx
Error: attempt to add non-widget child "dsm" to parent "startupui"
which supports only widgets
Also, I had the following comments in the building of dx:
bash-3.2$ sudo port install opendx
---> Fetching opendx
---> Verifying checksum(s) for opendx
---> Extracting opendx
---> Configuring opendx
---> Building opendx
---> Staging opendx into destroot
Warning: violation by /opt/local/dx
Warning: opendx violates the layout of the ports-filesystems!
Warning: Please fix or indicate this misbehavior (if it is intended),
it will be an error in future releases!
---> Installing opendx @4.4.4_1+darwin_9
---> Activating opendx @4.4.4_1+darwin_9
---> Cleaning opendx
Thanks by advance,
Cédric
PS: It is the first time I use macports so I may have done something
wrong. Note also that I have used this Portfile found on the macports
pages:
# $Id: Portfile 40515 2008-10-04 23:18:28Z jmr at macports.org $
PortSystem 1.0
name opendx
version 4.4.4
revision 1
categories science
maintainers gwright at macports.org
platforms darwin
description IBM's Open Visualization Data Explorer
long_description \
OpenDX is a uniquely powerful, full-featured software \
package for the visualization of scientific, \
engineering and analytical data: Its open system design \
is built on familiar standard interface environments. \
And its sophisticated data model provides users with \
great flexibility in creating visualizations.
homepage http://opendx.org
master_sites http://opendx.npaci.edu/source/
checksums md5 6da0c4cd21d3c08f97b7662e3aee5b7b
distname dx-${version}
depends_lib port:netcdf \
port:cdf \
port:cosmoplayer \
port:opendx-java40 \
port:ImageMagick \
port:openmotif
platform darwin 9 {
configure.cppflags-append -D_UINT64 -D_UINT32 -D_UINT16 -D_UINT8
configure.ldflags-append -dylib_file \
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
libGL.dylib:\
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
libGL.dylib
}
variant no_java {
depends_lib-delete port:cosmoplayer
depends_lib-delete port:opendx-java40
configure.args-delete --with-jni-path=/System/Library/Frameworks/
JavaVM.frameworks/Headers
configure.args-delete --with-java40jar-path=${prefix}/share/java/
java40.jar
configure.args-delete --with-cosmojar-path=${prefix}/share/java/
npcosmop211.jar
configure.args-append --without-javadx
}
#
# The configure.env variables are to make sure we use Apple's
preinstalled
# java; the kaffe port will not work to build JavaDX.
#
configure.javac /usr/bin/javac
configure.env-append JAVA_HOME=/Library/Java/Home \
JAVA=/usr/bin/java \
JAVAH=/usr/bin/javah \
JAVAP=/usr/bin/javap
configure.args --x-includes=${x11prefix}/include \
--x-libraries=${x11prefix}/lib \
--with-jni-path=/System/Library/Frameworks/JavaVM.framework/Headers \
--with-java40jar-path=${prefix}/share/java/java40.jar \
--with-cosmojar-path=${prefix}/share/java/npcosmop211.jar
post-destroot {
set fixers [ exec find ${destroot}${prefix} -type f | xargs grep -
l /usr/lpp ]
foreach fil ${fixers} {
reinplace "s|/usr/lpp|${prefix}|g" ${fil}
}
}
More information about the macports-users
mailing list