Opened 9 years ago

Closed 5 years ago

#49462 closed defect (fixed)

xorg-inputproto: activation fails: inputproto.pc already exists and does not belong to a registered port

Reported by: mioose@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: xorg-inputproto

Description

Hello, I am trying to install ITK library with macports but it fails. Reading the log files, I do not understand what's wrong, unfortunately…

Attachments (1)

main.log (4.4 KB) - added by mioose@… 9 years ago.
log file

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by mioose@…

Attachment: main.log added

log file

comment:1 Changed 9 years ago by mioose@…

Attached to this post, I join the log file. Can you help me please? I have to work on the next week …

Last edited 9 years ago by mioose@… (previous) (diff)

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

Keywords: ITK removed
Port: xorg-inputproto added; ITK removed
Summary: ITK instal failsxorg-inputproto: activation fails: inputproto.pc already exists and does not belong to a registered port

The error shown in the log is:

:error:activate Failed to install xorg-inputproto
:debug:activate Image error: /opt/local/lib/pkgconfig/inputproto.pc already exists and does not belong to a registered port.  Unable to activate port xorg-inputproto. Use 'port -f activate xorg-inputproto' to force the activation.

Why does this file already exist on your system? How did it get there?

comment:3 Changed 9 years ago by mioose@…

Hello, thank you for your answer. Now, I think I have a problem linked with 10.11 El Capitan. I obtain this error :

Error: python25 is not supported on Yosemite or later.
Error: org.macports.fetch for port python25 returned: unsupported platform
Error: Failed to install python25

I have tried to reinstall as they advice here: http://stackoverflow.com/questions/27873045/port-upgrade-outdated-fails-in-yosemite but I obtain the same error.

Others dependencies have to be installed too:

Error: The following dependencies were not installed: python25 tk Xft2 tcl xorg-libXScrnSaver xorg-scrnsaverproto
Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 in reply to:  3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to mioose@…:

Hello, thank you for your answer. Now, I think I have a problem linked with 10.11 El Capitan. I obtain this error :

Error: python25 is not supported on Yosemite or later.
Error: org.macports.fetch for port python25 returned: unsupported platform
Error: Failed to install python25

That's a completely different problem. There's nothing much to explain there: the message is clear: "python25 is not supported on Yosemite or later". Use a later version of Python, such as python27 or python34.

Getting back to your original problem. You didn't answer my question. Why does the file inputproto.pc already exist on your system? If you cannot answer the question, then it's likely there are other files in /opt/local that MacPorts did not put there which will cause other problems later. In that case, you should uninstall MacPorts, including removing the /opt/local directory. That way you can be sure there are no unwanted files in there. Then reinstall MacPorts and the ports you want.

Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Resolution: fixed
Status: newclosed

In 90382a86597722304278f1163e76422b19aeaabb/macports-ports (master):

multiple X.Org ports: remove obsolete ports

Marked obsolete in f7ec5630c2 and e7e08288ce

Closes: #49462

Note: See TracTickets for help on using tickets.