Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#35085 closed defect (invalid)

installing QtiPlot - problem with libiconv

Reported by: anonymi_90@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: libiconv

Description

Hello,

I installed xcode 4.3.3 and installed the command line tools. then I updated macports with "sudo pot -v selfuptdate" afterwards I used the command " sudo port install qtiplot". It started working, butthen it stoped and gave me this message in the command box:

--->  Attempting to fetch libiconv-1.14_0.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/libiconv
--->  Installing libiconv @1.14_0
--->  Activating libiconv @1.14_0
Error: org.macports.activate for port libiconv returned: Image error: /opt/local/lib/libiconv.2.dylib already exists and does not belong to a registered port.  Unable to activate port libiconv. Use 'port -f activate libiconv' to force the activation.
Error: Failed to install libiconv
Please see the log file for port libiconv for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/main.log
Error: The following dependencies were not installed: boost libiconv zlib gsl libpng muparser pkgconfig glib2 gettext ncurses libffi libxml2 perl5 perl5.12 gdbm qt4-mac dbus jpeg libmng lcms tiff openssl sqlite3 libedit
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port qtiplot failed

Thank you for helping me out. I'm a beginner in using macports so I'm happy for any help!

Change History (2)

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

Cc: ryandesign@… added
Port: libiconv added
Resolution: invalid
Status: newclosed

Why does that library already exist and not belong to a port? Sounds like you either manually installed software into your MacPorts prefix, or ran somebody's software installer which did so, or you previously used MacPorts and did an incomplete uninstallation before reinstalling it again.

You can force the activation:

sudo port -f activate libiconv

But if you cannot explain why that library was already there, there may be more than just libiconv's files there already, and you may run into this problem for other ports in the future. In that case, you may be better off following the MacPorts uninstallation instructions completely, then reinstalling MacPorts and the ports you want; that way you can be sure there are no unwanted files there to start with.

comment:2 Changed 12 years ago by anonymi_90@…

Thank you! It's true, I've previously had an old version of xcode and got a few error messages, maybe because of this there is this error. I will try uninstallation. Thx again!

Note: See TracTickets for help on using tickets.