Opened 13 years ago
Last modified 13 years ago
#29848 closed defect
xz configure error - build error — at Version 6
Reported by: | nyunes@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | macintosh@…, mschamschula@…, ryandesign@…, afb@… | |
Port: | gawk gettext xz |
Description (last modified by jmroot (Joshua Root))
I'm new to mac ports and I am trying to install the gsl libraries on my mac (snow leopard). In doing so, I find that I need to install xz, but I get an error when I try to do so:
---> Computing dependencies for xz ---> Fetching xz ---> Attempting to fetch xz-5.0.2.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/xz ---> Verifying checksum(s) for xz ---> Extracting xz ---> Configuring xz Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for xz is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_xz/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
I have tried sudo port clean --all xz and then reinstalling, as well as sudo port uninstall xz and then reinstalling, but in all cases I get the above error message. Some help would be appreciated.
Change History (8)
Changed 13 years ago by nyunes@…
comment:2 Changed 13 years ago by BjarneDMat
lines 233-236 gives you the reason:
/opt/local/lib/libintl.8.dylib: mach-o, but wrong architecture
this means that the dylib has eg been compiled on a PPC and then copied over to an core 2 duo
you'll need to recompile at the very least this dylib.
port provides /opt/local/lib/libintl.8.dylib tells us that it's comming from gettext, so try the following:
port -f uninstall gettext port clean --all gettext port -f install gettext
and then try to see if things shouldn't work now.
comment:3 Changed 13 years ago by nyunes@…
Thank you very much for your help!!!
I have done like you said, but I'm still running into some difficulties. It turns out there were 2 version of gettext installed (0.17_ and 0.18). I successfully uninstalled the 0.17 one
sudo port -f uninstall gettext @0.17_4 ---> Uninstalling gettext @0.17_4
But when I tried uninstalling the 0.18 one, I got
sudo port -f uninstall gettext @0.18.1.1_2 ---> Unable to uninstall gettext 0.18.1.1_2, the following ports depend on it: ---> p5-locale-gettext ---> help2man ---> xemacs ---> glib2 ---> python25 ---> glib1 ---> gtk1 ---> popt ---> gawk ---> dbus-glib ---> gmake ---> graphviz ---> texinfo ---> python24 ---> aspell ---> libidn ---> kdelibs3 Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating gettext @0.18.1.1_2 ---> Uninstalling gettext @0.18.1.1_2
I'm assuming that gettext got uninstalled inspite of the dependencies. When I tried to install I then got the error message
sudo port -f install gettext ---> Computing dependencies for gettext ---> Fetching gettext ---> Attempting to fetch gettext-0.18.1.1.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/gettext ---> Verifying checksum(s) for gettext ---> Extracting gettext ---> Applying patches to gettext ---> Configuring gettext Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for gettext is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
I'm attaching the log for this one as well. Any idea of what's going on ?
comment:4 follow-up: 5 Changed 13 years ago by BjarneDMat
you've still got problems with the libintl.8.dylib !
you can see in the logfile that it's referenced from gawk but gawk can't find it !
so, the fact that you had 2 versions installed and that gawk now can't see libintl.8.dylib tells me that gawk has been linked to the old/wrong libintl.8.dylib
you'll have to rebuild all ports that depend on libintl.8.dylib !!!
you do that this way :
port -R upgrade --force gettext
as to log_files, in my experience it's not necessary to look at more than the last 30 or so lines in order to see what's wrong ;-)
comment:5 Changed 13 years ago by nyunes@…
Replying to macintosh@…:
I see. This is quite unfortunate.
you do that this way :
port -R upgrade --force gettext
But I can't do what you suggest, as gettext is not installed. (that's the error message I get). And I can't install gettext, because of the problem mentioned above. It sounds like a catch 39.
as to log_files, in my experience it's not necessary to look at more than the last 30 or so lines in order to see what's wrong ;-)
Thanks :)
comment:6 Changed 13 years ago by jmroot (Joshua Root)
Cc: | mschamschula@… ryandesign@… afb@… added |
---|---|
Description: | modified (diff) |
Port: | gawk gettext xz added |
Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer.
Log