[MacPorts] #28629: port install wxgtk +opengl fails
MacPorts
noreply at macports.org
Fri Mar 4 05:35:22 PST 2011
#28629: port install wxgtk +opengl fails
---------------------------------+------------------------------------------
Reporter: t.koziara@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port:
---------------------------------+------------------------------------------
It seems like there issues with linking the compiled objects. See:
{{{
:info:build /usr/bin/g++-4.0 -dynamiclib -single_module
-headerpad_max_install_names -o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_wxgtk/work/wxGTK-2.8.1
1/lib/libwx_gtk2_gl-2.8.0.7.0.dylib gldll_gtk_glcanvas.o
-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_wxgtk/work/wxGTK-2.8.11/lib
-install_name /opt/
local/lib/libwx_gtk2_gl-2.8.0.dylib -compatibility_version 8.0
-current_version 8.0 -L/opt/local/lib -arch i386 -L/usr/X11R6/lib
-framework IOKit -framework CoreServices -framework System -framework
Applic
ationServices -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage
-lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lX11 -lp
ng14 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0
-lgthread-2.0 -lglib-2.0 -lintl -lXinerama -lXxf86vm -lSM -lpng -lz -ljpeg
-ltiff -L/opt/local/lib -arch i386 -L/usr/X11R6/lib -fr
amework IOKit -framework CoreServices -framework System -framework
ApplicationServices -lz -lpthread -liconv -lwx_gtk2_core-2.8
-lwx_base-2.8 -lz -lpthread -liconv
:info:build Undefined symbols:
:info:build "_glColor3f", referenced from:
:info:build wxGLCanvas::SetColour(char const*)in
gldll_gtk_glcanvas.o
:info:build "_glXMakeContextCurrent", referenced from:
:info:build wxGLContext::SetCurrent(wxGLCanvas const&) constin
gldll_gtk_glcanvas.o
:info:build wxGLContext::~wxGLContext()in gldll_gtk_glcanvas.o
:info:build wxGLContext::~wxGLContext()in gldll_gtk_glcanvas.o
:info:build "_glXMakeCurrent", referenced from:
:info:build wxGLContext::SetCurrent(wxGLCanvas const&) constin
gldll_gtk_glcanvas.o
:info:build wxGLContext::~wxGLContext()in gldll_gtk_glcanvas.o
:info:build wxGLContext::~wxGLContext()in gldll_gtk_glcanvas.o
:info:build "_glXQueryVersion", referenced from:
:info:build wxGLCanvas::QueryGLXVersion() in
gldll_gtk_glcanvas.o
:info:build "_glXCreateNewContext", referenced from:
:info:build wxGLContext::wxGLContext(wxWindow*, wxGLContext
const*)in gldll_gtk_glcanvas.o
:info:build "_glXGetCurrentContext", referenced from:
:info:build wxGLContext::~wxGLContext()in gldll_gtk_glcanvas.o
:info:build wxGLContext::~wxGLContext()in gldll_gtk_glcanvas.o
:info:build "_glXSwapBuffers", referenced from:
:info:build wxGLCanvas::SwapBuffers() in gldll_gtk_glcanvas.o
:info:build "_glXChooseVisual", referenced from:
:info:build wxGLCanvas::ChooseGLVisual(int*) in
gldll_gtk_glcanvas.o
:info:build "_glXCreateContext", referenced from:
:info:build wxGLContext::wxGLContext(wxWindow*, wxGLContext
const*)in gldll_gtk_glcanvas.o
:info:build "_glXGetVisualFromFBConfig", referenced from:
:info:build wxGLApp::InitGLVisual(int*) in gldll_gtk_glcanvas.o
:info:build wxGLCanvas::Create(wxWindow*, wxGLContext const*,
wxGLCanvas const*, int, wxPoint const&, wxSize const&, long, wxString
const&, int*, wxPalette const&)in gldll_gtk_glcanvas.o
:info:build "_glXChooseFBConfig", referenced from:
:info:build wxGLCanvas::ChooseGLFBC(int*) in gldll_gtk_glcanvas.o
:info:build "_glXDestroyContext", referenced from:
:info:build wxGLContext::~wxGLContext()in gldll_gtk_glcanvas.o
:info:build wxGLContext::~wxGLContext()in gldll_gtk_glcanvas.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make: ***
[/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_wxgtk/work/wxGTK-2.8.11/lib/libwx_gtk2_gl-2.8.0.7.0.dylib]
Error 1
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_wxgtk/work/wxGTK-2.8.11"
&& /usr/bin/make all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see
log for details)
:debug:build Backtrace: shell command failed (see log for details)
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for wxgtk):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
}}}
--
Ticket URL: <https://trac.macports.org/ticket/28629>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list