[MacPorts] #35845: R-framework package 'agl' has undeclared dependencies

MacPorts noreply at macports.org
Sun Aug 26 22:50:58 PDT 2012


#35845: R-framework package 'agl' has undeclared dependencies
---------------------------------+------------------------------------------
 Reporter:  me@…                 |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  2.1.2                                
 Keywords:                       |        Port:  R-framework, R-app                   
---------------------------------+------------------------------------------
 After installing R-framework and R-app, within either the R command
 install.packages("rgl") yields a failure to compile:
 {{{
 In file included from Texture.hpp:14,
                  from scene.h:18,
                  from ABCLineSet.hpp:4,
                  from ABCLineSet.cpp:1:
 opengl.hpp:24:19: error: GL/gl.h: No such file or directory
 opengl.hpp:25:20: error: GL/glu.h: No such file or directory
 make: *** [ABCLineSet.o] Error 1
 ERROR: compilation failed for package ‘rgl’
 }}}

 After some googling, it turns out that after installing the port 'mesa'
 the R command succeeds in the terminal interface to R-framework, but not
 in the R-app interface:
 {{{
 mkdir -p AGL
 mv AGL/* .
 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/llvm-g++-4.2
 -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/llvm-g++-4.2
 -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
 /opt/local/bin/llvm-g++-4.2
 -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
 osx/osxgui.mm:9:2: error: #error Cocoa backend reguires FreeType font
 reneder
 make[1]: *** [osx/osxgui.o] Error 1
 make: *** [aglrgl.so] Error 1
 ERROR: compilation failed for package ‘rgl’
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/35845>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list