#54317 closed defect (invalid)
Failed to install R due to error in configure step
Reported by: | fvaccari | Owned by: | kjell.konis@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | snowleopard | Cc: | |
Port: | R |
Description
Build of R failed on a 10.6.8 system with following message:
---> Computing dependencies for R ---> Configuring R Error: Failed to configure R, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_R/R/work/R-3.4.0/config.log Error: Failed to configure R: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_R/R/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port R failed
If the problem is Snow Leopard, I understand it's quite an obsolete system but it's very stable and our Xserve can't be updated...
I attache the two log files mentioned in the error message
Attachments (2)
Change History (8)
Changed 7 years ago by fvaccari
Changed 7 years ago by fvaccari
Attachment: | config.log added |
---|
comment:1 Changed 7 years ago by Schamschula (Marius Schamschula)
Cc: | kjell.konis@… removed |
---|---|
Owner: | set to kjell.konis@… |
Status: | new → assigned |
comment:2 follow-up: 4 Changed 7 years ago by mf2k (Frank Schima)
Keywords: | snowleopard added; R configure removed |
---|
comment:3 follow-up: 5 Changed 7 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Solution is :
sudo port selfupdate sudo port upgrade readline gawk
comment:4 Changed 7 years ago by fvaccari
Replying to mf2k:
Error is:
:info:configure dyld: Library not loaded: /opt/local/lib/libreadline.6.dylib :info:configure Referenced from: /opt/local/bin/gawk :info:configure Reason: image not foundSo either your
gawk
orreadline
port needs to be updated.
All the dependencies required by R were properly installed, so I thought none was missing. I'm now updating all the outdated packages. It will take time, but it looks you are right about readline, as it seems I now have a broken gnuplot. When I try tu run it, I get the message
dyld: Library not loaded: /opt/local/lib/libreadline.6.dylib
but I'm puzzled as looking at the available packages on the MacPorts site I see either readline 5.2 or 7.0 (no 6 mentioned), and I have 7.0.003 installed. Anyway, I'll be back on this after the update will finish.
Thanks for your help!
Franco
comment:5 Changed 7 years ago by fvaccari
Replying to mf2k:
Solution is :
sudo port selfupdate sudo port upgrade readline gawk
I definitely did a selfupdate before trying to install R. Can't say if readline or gawk were upgraded when I tried to install R.
Anyway, just now my general update has failed, and I now have many broken ports. Will try to recover, but I'm afraid I'll have to restart from scratch... Will post an update after trying to install R on a fresh new MacPorts installation
comment:6 Changed 7 years ago by fvaccari
So, after uninstalling the broken packages and their dependants, the configure step of R went fine, as well as the build. I've no clue on how my installation went into this broken state, but this ticket can be definitely closed.
Sorry for the noise
Franco
Error is:
So either your
gawk
orreadline
port needs to be updated.