Bug 220260
| Summary: | A bad "module use" command in /usr/share/Modules/modulefiles/modules | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | erikj |
| Component: | environment-modules | Assignee: | Orion Poplawski <orion> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6 | CC: | jh, kaf, michel |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 3.2.3-3 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-02-09 18:24:29 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 213321 | ||
|
Description
erikj
2006-12-19 23:09:37 UTC
This was observed in environment-modules-3.2.3-2.fc6, which seems to be the same version in the 'development' directory. I was messing around with the configure files when I realized the issue seems
to be that VERSIONPATH is not set when --with-version-path is unset AND module
versioning is off. But the "modules" module file uses the @VERSIONPATH@ macro.
A quick fix that worked for me was to just specify the path on the configure
line like this:
%build
-%configure --disable-versioning --prefix=%{_datadir}
--exec-prefix=%{_datadir}/Modules
+%configure --disable-versioning --prefix=%{_datadir}
--exec-prefix=%{_datadir}/Modules --with-version-path=/usr/share/Modules/modulefiles
make %{?_smp_mflags}
Fixed in 3.2.3-3.fc6 |