[MacPorts] #23499: wxwidgets does not build with macport 1.8.2

MacPorts noreply at macports.org
Sun Jan 31 09:22:11 PST 2010


#23499: wxwidgets does not build with macport 1.8.2
-------------------------------+--------------------------------------------
 Reporter:  m.kermani@…        |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.8.2                                
 Keywords:                     |        Port:                                       
-------------------------------+--------------------------------------------

Comment(by m.kermani@…):

 Various people have reported this.  A solution to delete macport ad start
 from scratch has been suggested.  I have done that and it appears not to
 make a difference.

 Replying to [ticket:23499 m.kermani@…]:
 > $ sudo rm -rf \
 >      /opt/local \
 >      /Applications/DarwinPorts \
 >      /Applications/MacPorts \
 >      /Library/LaunchDaemons/org.macports.* \
 >      /Library/Receipts/DarwinPorts*.pkg \
 >      /Library/Receipts/MacPorts*.pkg \
 >      /Library/StartupItems/DarwinPortsStartup \
 >      /Library/Tcl/darwinports1.0 \
 >      /Library/Tcl/macports1.0 \
 > $ tar -xvzf MacPorts-1.8.2.tar.bz2

 > $ cd MacPorts-1.8.2

 > $  ./configure

 > $ make

 > $ sudo make install

 > $ sudo port selfupdate

 > $ sudo port install wxWidgets
 >
 > I get an error for full debug log see attachment.

 >
 ts_sources_rsync.macports.org_release_ports_graphics_wxWidgets/work/wxWidgets-2.8.9/build/lib
 -install_name /opt/local/lib/libwx_macu-2.8.0.dylib
 -compatibility_version 6.0 -current_version 6.0  -lz -lpthread
 -lwxtiff-2.8 -lwxjpeg-2.8 -lwxpng-2.8    -lwxregexu-2.8  -arch i386
 -L/opt/local/lib -framework IOKit -framework Carbon -framework Cocoa
 -framework System -framework QuickTime -framework OpenGL -framework AGL
 -lz -lpthread  -framework WebKit -lexpat    -L/opt/local/lib -lSDLmain
 -lSDL -Wl,-framework,Cocoa
 > ld: warning: in /opt/local/lib/libz.dylib, file is not of required
 architecture
 > ld: warning: in /opt/local/lib/libexpat.dylib, file is not of required
 architecture
 > ld: warning: in /opt/local/lib/libSDLmain.a, file is not of required
 architecture
 > ld: warning: in /opt/local/lib/libSDL.dylib, file is not of required
 architecture
 > Undefined symbols:
 >   "_XML_SetDefaultHandler", referenced from:
 >       wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
 monodll_xml.o
 >   "_inflateInit_", referenced from:
 >       _png_create_read_struct_2 in libwxpng-2.8.a(wxpng_pngread.o)
 >       _png_read_init_3 in libwxpng-2.8.a(wxpng_pngread.o)
 >   "_deflateEnd", referenced from:
 >       wxZlibOutputStream::Close()      in monodll_zstream.o
 >       _png_write_destroy in libwxpng-2.8.a(wxpng_pngwrite.o)
 >   "_XML_SetCommentHandler", referenced from:
 >       wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
 monodll_xml.o
 >   "_inflateReset", referenced from:
 >       wxZlibInputStream2::Open(wxInputStream&)       in
 monodll_zipstrm.o
 >       _png_reset_zstream in libwxpng-2.8.a(wxpng_png.o)
 >       _png_read_finish_row in libwxpng-2.8.a(wxpng_pngrutil.o)
 >       _png_decompress_chunk in libwxpng-2.8.a(wxpng_pngrutil.o)
 >       _png_decompress_chunk in libwxpng-2.8.a(wxpng_pngrutil.o)
 >   "_inflateEnd", referenced from:
 >       wxZlibInputStream::~wxZlibInputStream()in monodll_zstream.o
 >       wxZlibInputStream::~wxZlibInputStream()in monodll_zstream.o
 >       _png_read_destroy in libwxpng-2.8.a(wxpng_pngread.o)
 >   "_XML_GetCurrentLineNumber", referenced from:
 >       wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
 monodll_xml.o
 >   "_XML_ErrorString", referenced from:
 >       wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
 monodll_xml.o
 >   "_inflateInit2_", referenced from:
 >       wxZlibInputStream::Init(int)   in monodll_zstream.o
 >   "_XML_SetElementHandler", referenced from:
 >       wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
 monodll_xml.o
 >   "_XML_SetCharacterDataHandler", referenced from:
 >       wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
 monodll_xml.o
 >   "_crc32", referenced from:
 >       wxZipInputStream::OpenDecompressor(bool)   in monodll_zipstrm.o
 >       wxZipOutputStream::CreatePendingEntry()       in monodll_zipstrm.o
 >       wxZipOutputStream::OnSysWrite(void const*, unsigned long)in
 monodll_zipstrm.o
 >       wxZipOutputStream::DoCreate(wxZipEntry*, bool)  in
 monodll_zipstrm.o
 >       wxZipInputStream::OnSysRead(void*, unsigned long)in
 monodll_zipstrm.o
 >       _png_calculate_crc in libwxpng-2.8.a(wxpng_png.o)
 >       _png_reset_crc in libwxpng-2.8.a(wxpng_png.o)
 >   "_deflateReset", referenced from:
 >       wxZlibOutputStream2::Open(wxOutputStream&)       in
 monodll_zipstrm.o
 >       _png_write_compressed_data_out in libwxpng-2.8.a(wxpng_pngwutil.o)
 >       _png_write_finish_row in libwxpng-2.8.a(wxpng_pngwutil.o)
 >       _png_write_finish_row in libwxpng-2.8.a(wxpng_pngwutil.o)
 >   "_XML_ParserCreate", referenced from:
 >       wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
 monodll_xml.o
 >   "_XML_Parse", referenced from:
 >       wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
 monodll_xml.

-- 
Ticket URL: <http://trac.macports.org/ticket/23499#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list