#61261 closed defect (fixed)
grace @5.1.25: configure: error: M*tif has not been found
Reported by: | andresbsa (Andres Sanchez) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.3 |
Keywords: | xcode12 catalina bigsur | Cc: | Quarkyonic, cjones051073 (Chris Jones), p-bro, erikssorensen, fnajm (Farid Najm), valerie-vallet |
Port: | grace |
Description
I am trying to install grace on Catalina, but I get the following error:
---> Configuring grace Error: Failed to configure grace, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_grace/grace/work/grace-5.1.25/config.log Error: Failed to configure grace: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_grace/grace/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port grace failed
I'm a beginner so I don't know what to look for in the .log files. Sorry :(
Attachments (3)
Change History (21)
Changed 4 years ago by andresbsa (Andres Sanchez)
Changed 4 years ago by andresbsa (Andres Sanchez)
Attachment: | config.log added |
---|
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | grace: Processing of port grace failed. Failed to configure grace → grace @5.1.25: configure: error: M*tif has not been found |
---|
comment:2 follow-up: 5 Changed 4 years ago by mf2k (Frank Schima)
Keywords: | xcode12 added |
---|
comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | xcode12 removed |
---|---|
Owner: | set to ryandesign |
Status: | new → accepted |
comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | xcode12 added |
---|
comment:5 Changed 4 years ago by andresbsa (Andres Sanchez)
Replying to mf2k:
Implicit function declarations are now an error as of Xcode 12. We should fix this but until we do you can avoid the problem by downgrading to Xcode 11 and/or the Xcode 11 command line tools.
I have Xcode version 11.7. Should I try downgrading to a previous version still?
comment:6 follow-up: 7 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
If you have Xcode 11.7 and are experiencing the problem, then you have the Xcode 12 command line tools and downgrading to the Xcode 11.5 command line tools would work around the problem.
comment:7 Changed 4 years ago by andresbsa (Andres Sanchez)
Replying to ryandesign:
If you have Xcode 11.7 and are experiencing the problem, then you have the Xcode 12 command line tools and downgrading to the Xcode 11.5 command line tools would work around the problem.
Indeed it worked. Thank you very much for your support.
comment:8 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | Quarkyonic cjones051073 added |
---|---|
Keywords: | catalina bigsur added |
Has duplicate #61552.
comment:9 Changed 4 years ago by p-bro
Cc: | p-bro added |
---|
comment:10 Changed 4 years ago by bernstei
If anyone else more familiar with the port has time to look at it, I'm pretty sure that it's easy to fix. At least to get past the immediate problem you just need to patch configure (around line 9553) to get rid of the call to XmRegisterConverters (apparently an internal motif function that isn't supposed to be called anyway https://groups.google.com/g/comp.windows.x/c/26_NXxPPPhY), and to "#include <stdlib.h>". I've attached my patch as "configure.patch"
Changed 4 years ago by bernstei
Attachment: | configure.patch added |
---|
configure patch to fix motif functionality testing
comment:11 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Yes, I was working on it... I need to finish it up.
comment:12 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | erikssorensen added |
---|
Has duplicate #61793.
comment:14 Changed 4 years ago by fnajm (Farid Najm)
Cc: | fnajm added |
---|
comment:15 Changed 4 years ago by valerie-vallet
I have the same error. Is the patch ready ? Thanks for your help
comment:16 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | valerie-vallet added |
---|
Has duplicate #62357.
comment:17 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
The error in the main.log is:
The reason why from the config.log is:
Implicit function declarations are now an error as of Xcode 12. We should fix this but until we do you can avoid the problem by downgrading to Xcode 11 and/or the Xcode 11 command line tools.