Opened 10 years ago
Last modified 10 years ago
#43773 closed defect
gmp: nawk: syntax error at source line 1 source file ./conf5pflxn/subs.awk — at Version 1
Reported by: | didier.regniaud@… | Owned by: | mcalhoun@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | gmp |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Hi
When i tried to install bmp by
sudo port -v install gmp
i get the error:
... checking for readline/history.h... yes checking readline detected... yes checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... -ll checking whether yytext is a pointer... yes checking for ranlib... (cached) ranlib creating config.m4 configure: creating ./config.status config.status: creating demos/pexpr-config.h nawk: syntax error at source line 1 source file ./conf5pflxn/subs.awk context is >>> BEGIN <<< { nawk: bailing out at source line 255 config.status: error: could not create demos/pexpr-config.h Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0" && ./configure --prefix=/opt/local --enable-cxx Exit code: 1 Error: Failed to configure gmp, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.0.0/config.log Error: org.macports.configure for port gmp returned: configure failure: command execution failed Warning: targets not executed for gmp: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Please see the log file for port gmp for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port bmp failed
Any ideas?
Thanks
Didier
Change History (1)
comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to mcalhoun@… |
Summary: | mac port install gmp fail on Maverick → gmp: nawk: syntax error at source line 1 source file ./conf5pflxn/subs.awk |
Note: See
TracTickets for help on using
tickets.
It looks like you have nawk installed, and gmp is incompatible with it. Try deactivating nawk, then building gmp, then (if desired) reactivating nawk again.
If that fixes it, we should add "conflicts_build nawk" to the port.
I've seen many configure scripts be incompatible with nawk, so you may want to consider not re-activating nawk, and using a different awk implementation instead, such as gawk.