Opened 11 years ago

Closed 11 years ago

#37550 closed defect (worksforme)

expat: configure failure

Reported by: foossolutions@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: expat

Description (last modified by larryv (Lawrence Velázquez))

Hallo,

lately I try to install wine via macports but he gives the same error every time. I searched for solutions but cannot find the right one.

gr Joost

here is the print:

-bash-3.2$ sudo port install wine
Password:
--->  Computing dependencies for wine
--->  Dependencies to be installed: bison gettext expat libiconv gperf ncurses m4 xz flex fontconfig freetype bzip2 zlib pkgconfig gst-plugins-base gnome-vfs desktop-file-utils glib2 libffi perl5 perl5.12 gdbm popt gconf dbus-glib dbus gtk-doc docbook-xml docbook-xml-4.1.2 docbook-xml-4.2 xmlcatmgr docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl gnome-doc-utils intltool gnome-common p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser iso-codes libxslt libxml2 py27-libxml2 python27 db46 libedit openssl python_select sqlite3 rarian getopt gtk2 atk gobject-introspection cairo libpixman libpng xorg-libXext autoconf help2man p5.12-locale-gettext automake libtool xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-util-macros xorg-xcb-util xrender xorg-renderproto gdk-pixbuf2 jasper jpeg tiff hicolor-icon-theme pango Xft2 shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto orbit2 libidl policykit eggdbus gnome-mime-data gstreamer gzip texinfo libtheora libvorbis libogg orc xorg-libice xorg-libsm lcms mesa makedepend tcl xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libXxf86vm xorg-xf86vidmodeproto
--->  Configuring expat
Error: org.macports.configure for port expat returned: configure failure: command execution failed
Error: Failed to install expat
Please see the log file for port expat for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
Error: The following dependencies were not installed: bison gettext expat libiconv gperf ncurses m4 xz flex fontconfig freetype bzip2 zlib pkgconfig gst-plugins-base gnome-vfs desktop-file-utils glib2 libffi perl5 perl5.12 gdbm popt gconf dbus-glib dbus gtk-doc docbook-xml docbook-xml-4.1.2 docbook-xml-4.2 xmlcatmgr docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl gnome-doc-utils intltool gnome-common p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser iso-codes libxslt libxml2 py27-libxml2 python27 db46 libedit openssl python_select sqlite3 rarian getopt gtk2 atk gobject-introspection cairo libpixman libpng xorg-libXext autoconf help2man p5.12-locale-gettext automake libtool xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-util-macros xorg-xcb-util xrender xorg-renderproto gdk-pixbuf2 jasper jpeg tiff hicolor-icon-theme pango Xft2 shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto orbit2 libidl policykit eggdbus gnome-mime-data gstreamer gzip texinfo libtheora libvorbis libogg orc xorg-libice xorg-libsm lcms mesa makedepend tcl xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libXxf86vm xorg-xf86vidmodeproto
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port wine failed
-bash-3.2$ 

Attachments (1)

main.log (7.0 KB) - added by foossolutions@… 11 years ago.
main log file

Download all attachments as: .zip

Change History (12)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Port: expat added
Summary: installing wine goes wrong :( please help...expat: configure failure
Version: 2.1.2

Thanks for the report. Please remember to use WikiFormatting and to CC any port maintainers in future tickets.

The problem seems to involve expat. Can you try running the following?

$ sudo port clean expat wine
$ sudo port selfupdate
$ sudo port install expat

If that still fails, please attach the mentioned main.log file. Otherwise, you can continue with sudo port install wine again.

comment:2 Changed 11 years ago by foossolutions@…

Hi there, thnx for the fast response :)

executing the upper commands doesn't do any good :( still expat won't install :( whit the print:

-bash-3.2$ sudo port install expat

--->  Fetching archive for expat
--->  Attempting to fetch expat-2.1.0_0+universal.darwin_9.i386-ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/expat
--->  Attempting to fetch expat-2.1.0_0+universal.darwin_9.i386-ppc.tbz2 from http://lil.fr.packages.macports.org/expat
--->  Attempting to fetch expat-2.1.0_0+universal.darwin_9.i386-ppc.tbz2 from http://packages.macports.org/expat
--->  Attempting to fetch expat-2.1.0_0+universal.darwin_9.i386-ppc.tbz2 from http://jog.id.packages.macports.org/macports/packages/expat
--->  Fetching distfiles for expat
--->  Verifying checksum(s) for expat
--->  Extracting expat
--->  Configuring expat
Error: org.macports.configure for port expat returned: configure failure: command execution failed
Please see the log file for port expat for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port expat failed
-bash-3.2$ 
-bash-3.2$ 
Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

Changed 11 years ago by foossolutions@…

Attachment: main.log added

main log file

comment:3 Changed 11 years ago by foossolutions@…

Cc: foossolutions@… added

Cc Me!

comment:4 Changed 11 years ago by foossolutions@…

Cc: foossolutions@… removed

Cc Me!

comment:5 Changed 11 years ago by foossolutions@…

failed to cc to port maintainers :( sorry

comment:6 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…

The log says "error: C compiler cannot create executables". This usually means Xcode's command line tools are not installed properly. Open Xcode, go to Preferences, to Downloads, and install or update the command line tools from there.

comment:7 Changed 11 years ago by foossolutions@…

I tried to find a possibility to download the commandline tools but i can't find any way to do that :( Preferences doesn't have a download section... this is Xcode version 3.1.3 because i run leopard...

comment:8 Changed 11 years ago by jmroot (Joshua Root)

The "UNIX Development" option needs to be selected at install time with Xcode 3.1.x. You might as well update to 3.1.4 while you're at it. If installing Xcode with that option doesn't help, please attach the config.log.

comment:9 Changed 11 years ago by foossolutions@…

hmmzz getting wierder :) it is installed whit the unix development option because otherwise the whole wine program won't work at all :( i found a torrent whit the 3.1.4. version so i download that one (still busy and not that fast) or someone else got an other suggestion? because apple only offers version 4 and that won't run on leopard :( so i wait and reinstall 3.1.4 and hope it will work whit that... thanks for the help so far,

greetingz Joost

comment:10 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Sorry, I neglected to notice that you were using Leopard. The Download option in Xcode's preferences is in Xcode 4.3 and later, which doesn't work on Leopard.

Please download Xcode 3.1.4 directly from Apple Developer Connection. You'll need a free Apple Developer Connection account to do so.

While waiting for that to download, please "See `config.log' for more details" as the log says. Perhaps it indicates a different cause of the problem. The config.log is located in the directory identified by the command "port work expat". You can attach the log to this ticket and we can have a look at it.

comment:11 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

Closing due to lack of response.

Note: See TracTickets for help on using tickets.