Ticket #29900 (closed defect: worksforme)
jpeg: /opt/local/bin/cjpeg already exists and does not belong to a registered port
| Reported by: | Kelly.Morgen@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.2 |
| Keywords: | Cc: | waqar@… | |
| Port: | jpeg |
Description (last modified by ryandesign@…) (diff)
I'm a totally newbie here, just trying to install Wine on my Mac OSX version 10.5.8. Everything was installing fine, until I hit the following:
kelly-morgens-macbook-pro:~ kellymorgen$ sudo port install wine Password: ---> Computing dependencies for wine ---> Dependencies to be installed: jpeg lcms tiff libpng libxml2 libxslt mesa makedepend xorg-xproto py27-libxml2 python27 bzip2 db46 gdbm openssl python_select sqlite3 tcl xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXi xorg-libXext xorg-libXmu xorg-libXt xorg-libsm xorg-libice xorg-libXcomposite xorg-compositeproto xorg-libXcursor xorg-renderproto xrender xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto xorg-libXxf86vm xorg-xf86vidmodeproto ---> Activating jpeg @8c_0+universal Error: Target org.macports.activate returned: Image error: /opt/local/bin/cjpeg already exists and does not belong to a registered port. Unable to activate port jpeg. Use 'port -f activate jpeg' to force the activation. Error: Failed to install jpeg Log for jpeg is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_jpeg/main.log Error: The following dependencies were not installed: jpeg lcms tiff libpng libxml2 libxslt mesa makedepend xorg-xproto py27-libxml2 python27 bzip2 db46 gdbm openssl python_select sqlite3 tcl xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXi xorg-libXext xorg-libXmu xorg-libXt xorg-libsm xorg-libice xorg-libXcomposite xorg-compositeproto xorg-libXcursor xorg-renderproto xrender xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto xorg-libXxf86vm xorg-xf86vidmodeproto Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
I have no idea what to do next... I think I accidentally installed the jpeg earlier... can you tell me how to delete it so it can be reinstalled in Wine? Or whatever I need to do? thanks so much.
Change History
comment:1 Changed 2 years ago by ryandesign@…
- Port set to jpeg
- Description modified (diff)
- Summary changed from Error: Failed to install jpeg to jpeg: /opt/local/bin/cjpeg already exists and does not belong to a registered port
comment:2 follow-up: ↓ 4 Changed 2 years ago by ryandesign@…
Sounds like a case of ProblemHotlist (except with jpeg instead of expat).
comment:3 Changed 2 years ago by jmr@…
- Cc waqar@… added
- Status changed from new to closed
- Resolution set to worksforme
Please remember to cc the maintainer.
You only have two choices (well, three if you count giving up and not installing): remove the conflicting files, or use -f when you activate (which will rename the existing files).
comment:4 in reply to: ↑ 2 Changed 2 years ago by Kelly.Morgen@…
Replying to ryandesign@…:
Sounds like a case of ProblemHotlist (except with jpeg instead of expat).
Thank you so much! This solved my problem completely, and I was able to successfully install Wine. Not that it will actually let me play Escape from Monkey Island, but that's a different problem involved 16bitDOS not supported. Sigh.

