[MacPorts] #13794: error on wxWidgets install
MacPorts
trac at macosforge.org
Tue Jan 8 17:36:02 PST 2008
#13794: error on wxWidgets install
------------------------------------------+---------------------------------
Reporter: goldenberg at biology.utah.edu | Owner: mww at macports.org
Type: defect | Status: closed
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: invalid | Keywords: wxwidgets
------------------------------------------+---------------------------------
Old description:
> Hi,
> I am trying to install wxWidgets, in order to build wxmaxima. When I
> try to build wxWidgets, I get the following error:
>
> asb2-dhcp-157:/Users/davidg> sudo port install wxWidgets
> ---> Building wxWidgets
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets/work/wxWidgets-2.8.7/build"
> && make " returned error 2
> Command output:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets/work/wxWidgets-2.8.7/build
> /bk-deps /usr/bin/g++-4.0 -c -o monodll_imagtga.o -I.pch/wxprec_monodll
> -D__WXMAC__ -I../src/regex -DwxUSE_BASE=1 -DWXMAKINGDLL
> -dynamic -fPIC -DPIC -DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets/work/wxWidgets-2.8.7/build/lib/wx/include
> /mac-unicode-release-2.8 -I../include -fpascal-strings
> -I../src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon
> -I/opt/local/include -I/opt/local/include -Wall -Wundef -Wno-ctor-dtor-
> privacy -O2 -fno-strict-aliasing -I/opt/local/include/SDL -D_GNU_SOURCE=1
> -D_THREAD_SAFE -O2 -fno-common ../src/common/imagtga.cpp
> ../src/common/imagtga.cpp: In function `int ReadTGA(wxImage*,
> wxInputStream&)':
> ../include/wx/scopeguard.h:114: error:
> 'wxScopeGuardImplBase::wxScopeGuardImplBase(const wxScopeGuardImplBase&)'
> is protected
> ../src/common/imagtga.cpp:191: error: within this context
> ../include/wx/scopeguard.h:114: error:
> 'wxScopeGuardImplBase::wxScopeGuardImplBase(const wxScopeGuardImplBase&)'
> is protected
> ../src/common/imagtga.cpp:191: error: within this context
> ../include/wx/scopeguard.h:112: error:
> 'wxScopeGuardImplBase::~wxScopeGuardImplBase()' is protected
> ../src/common/imagtga.cpp:191: error: within this context
> ../include/wx/scopeguard.h:112: error:
> 'wxScopeGuardImplBase::~wxScopeGuardImplBase()' is protected
> ../src/common/imagtga.cpp:191: error: within this context
> make: *** [monodll_imagtga.o] Error 1
>
> Error: Status 1 encountered during processing.
>
> Thanks very much.
>
> David P. Goldenberg
> goldenberg at biology.utah.edu
New description:
Hi,
I am trying to install wxWidgets, in order to build wxmaxima. When I
try to build wxWidgets, I get the following error:
{{{
asb2-dhcp-157:/Users/davidg> sudo port install wxWidgets
---> Building wxWidgets
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets/work/wxWidgets-2.8.7/build"
&& make " returned error 2
Command output:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets/work/wxWidgets-2.8.7/build
/bk-deps /usr/bin/g++-4.0 -c -o monodll_imagtga.o -I.pch/wxprec_monodll
-D__WXMAC__ -I../src/regex -DwxUSE_BASE=1 -DWXMAKINGDLL -dynamic
-fPIC -DPIC -DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets/work/wxWidgets-2.8.7/build/lib/wx/include
/mac-unicode-release-2.8 -I../include -fpascal-strings
-I../src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon
-I/opt/local/include -I/opt/local/include -Wall -Wundef -Wno-ctor-dtor-
privacy -O2 -fno-strict-aliasing -I/opt/local/include/SDL -D_GNU_SOURCE=1
-D_THREAD_SAFE -O2 -fno-common ../src/common/imagtga.cpp
../src/common/imagtga.cpp: In function `int ReadTGA(wxImage*,
wxInputStream&)':
../include/wx/scopeguard.h:114: error:
'wxScopeGuardImplBase::wxScopeGuardImplBase(const wxScopeGuardImplBase&)'
is protected
../src/common/imagtga.cpp:191: error: within this context
../include/wx/scopeguard.h:114: error:
'wxScopeGuardImplBase::wxScopeGuardImplBase(const wxScopeGuardImplBase&)'
is protected
../src/common/imagtga.cpp:191: error: within this context
../include/wx/scopeguard.h:112: error:
'wxScopeGuardImplBase::~wxScopeGuardImplBase()' is protected
../src/common/imagtga.cpp:191: error: within this context
../include/wx/scopeguard.h:112: error:
'wxScopeGuardImplBase::~wxScopeGuardImplBase()' is protected
../src/common/imagtga.cpp:191: error: within this context
make: *** [monodll_imagtga.o] Error 1
Error: Status 1 encountered during processing.
}}}
Thanks very much.
David P. Goldenberg
goldenberg at biology.utah.edu
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13794#comment:5>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list