Opened 6 years ago
Closed 13 months ago
#58175 closed defect (fixed)
base fails to configure in a path that contains a space
Reported by: | bsasealteam6 (Nate Fortner) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 2.8.0 |
Component: | base | Version: | |
Keywords: | Cc: | ||
Port: |
Description (last modified by bsasealteam6 (Nate Fortner))
When I try to run ./configure to install from source, it errors out with:
checking for existence of /Users/nate fortner/macports-base/vendor/tcl/unix/tclConfig.sh... loading ./configure: line 1603: /Users/nate: No such file or directory configure: error: configure failed for vendor/tclx
I can tell that this error is caused by the space in my username. It does not know how to process the fact that there is a space in the directory path.
Change History (9)
comment:1 Changed 6 years ago by bsasealteam6 (Nate Fortner)
Description: | modified (diff) |
---|
comment:2 Changed 6 years ago by mf2k (Frank Schima)
comment:3 Changed 6 years ago by mf2k (Frank Schima)
Component: | ports → base |
---|---|
Description: | modified (diff) |
comment:4 Changed 6 years ago by bsasealteam6 (Nate Fortner)
Description: | modified (diff) |
---|
Just selected the other line from the error.
comment:5 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
The problem is that the path contains a space (between nate
and fortner
). MacPorts, like a lot of other UNIX software, doesn't build in paths that contain spaces. Please build in a path that does not contain spaces.
I've never seen a username with a space before. How did that even happen? I didn't think macOS would allow such a username to be created.
comment:6 follow-up: 7 Changed 6 years ago by jmroot (Joshua Root)
Summary: | Error installing from Source. → base fails to configure in a path that contains a space |
---|
comment:7 Changed 6 years ago by bsasealteam6 (Nate Fortner)
Replying to jmroot: That's how my work created our AD accounts.
comment:8 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Sounds like your work has given you a configuration that doesn't work for compiling UNIX software. Either get them to fix your username so that it does not contain spaces, or else put the MacPorts base source code outside of your home directory when you need to compile it.
comment:9 Changed 13 months ago by jmroot (Joshua Root)
Milestone: | → MacPorts 2.8.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
This particular error appears to have been fixed with the update to TclX 8.4.4 in [89abece6c63081de2bc41e1a63ac458170b08c23/macports-base].
In the future, please use WikiFormatting.