[MacPorts] #23048: wxWidgets-2.8.9 fails to build

MacPorts noreply at macports.org
Mon Dec 28 07:09:46 PST 2009


#23048: wxWidgets-2.8.9 fails to build
--------------------------------+-------------------------------------------
 Reporter:  rmpowell77@…        |       Owner:  mww@…           
     Type:  defect              |      Status:  new             
 Priority:  Normal              |   Milestone:                  
Component:  ports               |     Version:  1.8.1           
 Keywords:                      |        Port:  wxWidgets       
--------------------------------+-------------------------------------------
Changes (by macsforever2000@…):

 * cc: jwa@… (added)
  * owner:  macports-tickets@… => mww@…
  * port:  => wxWidgets


Old description:

> I get the following error when trying to install wxWidgets:
>
> --->  Attempting to fetch wxWidgets-2.8.9.tar.bz2 from
> http://internap.dl.sourceforge.net/wxwindows
> --->  Verifying checksum(s) for wxWidgets
> --->  Extracting wxWidgets
> --->  Applying patches to wxWidgets
> --->  Configuring 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.9/build"
> && /usr/bin/make " returned error 2
> Command output:   "_deflate", referenced from:
>       wxZlibOutputStream::DoFlush(bool)  in monodll_zstream.o
>       wxZlibOutputStream::OnSysWrite(void const*, unsigned long)in
> monodll_zstream.o
>       _png_write_flush in libwxpng-2.8.a(wxpng_pngwrite.o)
>       _png_write_finish_row in libwxpng-2.8.a(wxpng_pngwutil.o)
>       _png_write_filtered_row in libwxpng-2.8.a(wxpng_pngwutil.o)
>       _png_text_compress in libwxpng-2.8.a(wxpng_pngwutil.o)
>       _png_text_compress in libwxpng-2.8.a(wxpng_pngwutil.o)
>   "_XML_SetStartCdataSectionHandler", referenced from:
>       wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
> monodll_xml.o
>   "_XML_GetErrorCode", referenced from:
>       wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
> monodll_xml.o
>   "_deflateInit2_", referenced from:
>       wxZlibOutputStream::Init(int, int)in monodll_zstream.o
>       _png_write_IHDR in libwxpng-2.8.a(wxpng_pngwutil.o)
>   "_XML_ParserFree", referenced from:
>       wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
> monodll_xml.o
>   "_zlibVersion", referenced from:
>       wxZlibInputStream::CanHandleGZip()       in monodll_zstream.o
>       wxZlibInputStream::CanHandleGZip()       in monodll_zstream.o
>   "_XML_SetUserData", referenced from:
>       wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
> monodll_xml.o
>   "_inflate", referenced from:
>       wxZlibInputStream::OnSysRead(void*, unsigned long)in
> monodll_zstream.o
>       _png_read_row in libwxpng-2.8.a(wxpng_pngread.o)
>       _png_read_finish_row in libwxpng-2.8.a(wxpng_pngrutil.o)
>       _png_decompress_chunk in libwxpng-2.8.a(wxpng_pngrutil.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make: ***
> [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets/work/wxWidgets-2.8.9/build/lib/libwx_macu-2.8.0.5.0.dylib]
> Error 1
>
> Error: Status 1 encountered during processing.
>
> ---
>
> I'm on 10.6.2, and I have just down a clean install of macports:
> richard-powells-macbook-air:~ rmpowell77$ 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 \
> >     ~/.macports
> Password:
>
> // installed MacPorts-1.8.1.pkg
>
> richard-powells-macbook-air:~ rmpowell77$ sudo port selfupdate
>
> richard-powells-macbook-air:~ rmpowell77$ sudo port install wxWidgets

New description:

 I get the following error when trying to install wxWidgets:

 {{{
 --->  Attempting to fetch wxWidgets-2.8.9.tar.bz2 from
 http://internap.dl.sourceforge.net/wxwindows
 --->  Verifying checksum(s) for wxWidgets
 --->  Extracting wxWidgets
 --->  Applying patches to wxWidgets
 --->  Configuring 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.9/build"
 && /usr/bin/make " returned error 2
 Command output:   "_deflate", referenced from:
       wxZlibOutputStream::DoFlush(bool)  in monodll_zstream.o
       wxZlibOutputStream::OnSysWrite(void const*, unsigned long)in
 monodll_zstream.o
       _png_write_flush in libwxpng-2.8.a(wxpng_pngwrite.o)
       _png_write_finish_row in libwxpng-2.8.a(wxpng_pngwutil.o)
       _png_write_filtered_row in libwxpng-2.8.a(wxpng_pngwutil.o)
       _png_text_compress in libwxpng-2.8.a(wxpng_pngwutil.o)
       _png_text_compress in libwxpng-2.8.a(wxpng_pngwutil.o)
   "_XML_SetStartCdataSectionHandler", referenced from:
       wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
 monodll_xml.o
   "_XML_GetErrorCode", referenced from:
       wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
 monodll_xml.o
   "_deflateInit2_", referenced from:
       wxZlibOutputStream::Init(int, int)in monodll_zstream.o
       _png_write_IHDR in libwxpng-2.8.a(wxpng_pngwutil.o)
   "_XML_ParserFree", referenced from:
       wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
 monodll_xml.o
   "_zlibVersion", referenced from:
       wxZlibInputStream::CanHandleGZip()       in monodll_zstream.o
       wxZlibInputStream::CanHandleGZip()       in monodll_zstream.o
   "_XML_SetUserData", referenced from:
       wxXmlDocument::Load(wxInputStream&, wxString const&, int)in
 monodll_xml.o
   "_inflate", referenced from:
       wxZlibInputStream::OnSysRead(void*, unsigned long)in
 monodll_zstream.o
       _png_read_row in libwxpng-2.8.a(wxpng_pngread.o)
       _png_read_finish_row in libwxpng-2.8.a(wxpng_pngrutil.o)
       _png_decompress_chunk in libwxpng-2.8.a(wxpng_pngrutil.o)
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make: ***
 [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets/work/wxWidgets-2.8.9/build/lib/libwx_macu-2.8.0.5.0.dylib]
 Error 1

 Error: Status 1 encountered during processing.
 }}}

 ---

 I'm on 10.6.2, and I have just down a clean install of macports:
 {{{
 richard-powells-macbook-air:~ rmpowell77$ 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 \
 >     ~/.macports
 Password:

 // installed MacPorts-1.8.1.pkg

 richard-powells-macbook-air:~ rmpowell77$ sudo port selfupdate

 richard-powells-macbook-air:~ rmpowell77$ sudo port install wxWidgets
 }}}

--

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


More information about the macports-tickets mailing list