Opened 16 years ago

Last modified 15 years ago

#13794 closed defect

error on wxWidgets install — at Initial Version

Reported by: goldenberg@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: wxwidgets Cc:
Port:

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 -DWXMAC -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@…

Change History (0)

Note: See TracTickets for help on using tickets.