Opened 13 years ago
Closed 13 years ago
#34035 closed defect (invalid)
glib2 will not build
Reported by: | matt.cottrell@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | glib2 |
Description
glib2 will not build
[kirchmac:~] cottrell% sudo port selfupdate ---> Updating MacPorts base sources using rsync MacPorts base version 2.0.4 installed, MacPorts base version 2.0.4 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated [kirchmac:~] cottrell% sudo port upgrade outdated ---> Computing dependencies for glib2 ---> Building glib2 Error: Target org.macports.build returned: shell command failed (see log for details) Log for glib2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_glib2/glib2/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets>
Attachments (1)
Change History (3)
Changed 13 years ago by matt.cottrell@…
comment:1 Changed 13 years ago by matt.cottrell@…
Solved my problem...
[kirchmac:~/Desktop] cottrell% sudo port -f activate ncurses @5.9_1
glib2 now builds
comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Resolution: | → invalid |
Status: | new → closed |
When filing a ticket, please remember to Cc the maintainer of a port so they see the ticket.
This was not a clean build attempt; if you hadn't already figured out what the problem was, I would have asked you to clean and try again.
As you already discovered, the relevant error in the log was:
dyld: Library not loaded: /opt/local/lib/libncurses.5.dylib Referenced from: /opt/local/bin/msgfmt
This means glib2 uses msgfmt (a part of gettext, on which the glib2 port declares a library dependency), and msgfmt uses the ncurses library (part of the ncurses port, on which the gettext port declares a library dependency). So ncurses should already have been active; perhaps you manually deactivated it before for some reason.
Note: See
TracTickets for help on using
tickets.
error log