Opened 14 years ago

Closed 14 years ago

#23048 closed defect (duplicate)

wxWidgets-2.8.9 fails to build

Reported by: rmpowell77@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: jyrkiwahlstedt, bgrupe27
Port: wxWidgets

Description (last modified by mf2k (Frank Schima))

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

Attachments (1)

wxWidgetsInstallDebug.txt (82.1 KB) - added by rmpowell77@… 14 years ago.
debug log

Download all attachments as: .zip

Change History (7)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Cc: jwa@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to mww@…
Port: wxWidgets added

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Attach complete debug output please. Also note that wxWidgets is known not to build 64-bit, see #20952.

comment:3 Changed 14 years ago by bgrupe27

Cc: bgrupe@… added

Cc Me!

Changed 14 years ago by rmpowell77@…

Attachment: wxWidgetsInstallDebug.txt added

debug log

comment:4 Changed 14 years ago by rmpowell77@…

attached

comment:5 Changed 14 years ago by jmroot (Joshua Root)

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

What architecture are they? What arch are you building for?

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.