Opened 14 years ago
Closed 14 years ago
#27529 closed defect (invalid)
Cannot install swig
Reported by: | raramayo (Rodolfo Aramayo) | Owned by: | kevin@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | jyrkiwahlstedt | |
Port: | swig |
Description
When I give the command, I get the following error:
>sudo port install swig ---> Computing dependencies for swig[[BR]] Error: reinplace: /usr/local/bin/sed: -e expression #1, char 26: Invalid character class name[[BR]] Error: Target org.macports.patch returned: reinplace sed(1) failed Log for swig is at: /opt/local/var/macports[[BR]] /logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_swig/main.log[[BR]] Error: Status 1 encountered during processing.[[BR]] To report a bug, see <http://guide.macports.org/#project.tickets>[[BR]]
I installed sed in /usr/local/bin following standard procedures...and gsed using ports...
Any ideas? THANKS!!
Change History (2)
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Cc: | jwa@… added |
---|---|
Owner: | changed from macports-tickets@… to kevin@… |
Port: | swig added |
comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
It is not supported to have anything installed in /usr/local while using MacPorts, due to interference that typically results, such as that which you experienced here. Remove (or rename) /usr/local, clean the affected port (sudo port clean swig) and try again.
Note: See
TracTickets for help on using
tickets.
Please remember to fill in the Port field and cc the maintainer.
AFAICT this could only happen if you built base from source and either explicitly chose this non-working sed or had /usr/local/bin first in your PATH. So the solution is simply "don't do that".