#35845: R-framework package 'agl' has undeclared dependencies ---------------------------------+--------------------------- Reporter: me@… | Owner: kjell.konis@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: R-framework, R-app | ---------------------------------+--------------------------- Comment (by bcbarnes@…): I ran into this problem today while trying to install the igraph package via the R.app interface (OS X 10.8, latest Xcode/etc). Note, in the R.app GUI I was specifying to install dependencies and to install at "user level" from CRAN (sources). {{{ MAKINGAGL=TRUE /opt/local/Library/Frameworks/R.framework/Resources/bin/R CMD SHLIB -o aglrgl.so *.cpp *.c \ osx/*.mm osx/*.cpp mv: rename AGL/* to ./*: No such file or directory make: [aglrgl.so] Error 1 (ignored) /opt/local/bin/g++-mp-4.7 -I/opt/local/Library/Frameworks/R.framework/Resources/include -I/opt/local/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -DHAVE_PNG_H -DRGL_USE_COCOA -Iext -I/opt/local/include -pipe -O2 -m64 -fPIC -pipe -O2 -m64 -c x11gui.cpp -o x11gui.o /opt/local/bin/g++-mp-4.7 -I/opt/local/Library/Frameworks/R.framework/Resources/include -I/opt/local/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -DHAVE_PNG_H -DRGL_USE_COCOA -Iext -I/opt/local/include -pipe -O2 -m64 -fPIC -pipe -O2 -m64 -c x11lib.cpp -o x11lib.o I/opt/local/Library/Frameworks/R.framework/Resources/include -I/opt/local/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -DHAVE_PNG_H -DRGL_USE_COCOA -Iext -I/opt/local/include -fPIC -c osx/osxgui.mm -o osx/osxgui.o make[1]: I/opt/local/Library/Frameworks/R.framework/Resources/include: No such file or directory make[1]: [osx/osxgui.o] Error 1 (ignored) /opt/local/bin/g++-mp-4.7 -I/opt/local/Library/Frameworks/R.framework/Resources/include -I/opt/local/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -DHAVE_PNG_H -DRGL_USE_COCOA -Iext -I/opt/local/include -pipe -O2 -m64 -fPIC -pipe -O2 -m64 -c osx/osxlib.cpp -o osx/osxlib.o /opt/local/bin/g++-mp-4.7 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/opt/local/lib -o aglrgl.so ABCLineSet.o BBoxDeco.o Background.o Color.o Disposable.o Light.o LineSet.o LineStripSet.o Material.o PlaneSet.o PointSet.o PrimitiveSet.o QuadSet.o RenderContext.o Shape.o SphereMesh.o SphereSet.o SpriteSet.o String.o Surface.o TextSet.o Texture.o Viewpoint.o api.o assert.o callbacks.o device.o devicemanager.o fps.o ftgl.o geom.o glErrors.o glgui.o gui.o init.o par3d.o pixmap.o render.o rglmath.o rglview.o scene.o select.o win32gui.o win32lib.o x11gui.o x11lib.o gl2ps.o osx/osxgui.o osx/osxlib.o -lpng -framework Cocoa none -F/opt/local/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation g++-mp-4.7: error: osx/osxgui.o: No such file or directory g++-mp-4.7: error: none: No such file or directory make[1]: *** [aglrgl.so] Error 1 make: *** [aglrgl.so] Error 1 ERROR: compilation failed for package ‘rgl’ }}} There is some discussion of rgl problems elsewhere, too: http://www.mentby.com/Group/r-sig-mac/rgl-broken-with-2151.html http://www.mentby.com/Group/r-sig-mac/r-rgl-package-broke-with-r-2142.html for what it's worth, the igraph install ran at r terminal completed and the library(igraph) command succeeded after I restarted R.app. I do have mesa/freetype/etc installed via macports. -- Ticket URL: <https://trac.macports.org/ticket/35845#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS