Opened 11 years ago
Closed 9 years ago
#133 closed defect (fixed)
/@unixroot/usr/include/paths.h is wrong
| Reported by: | dmik | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | other | Version: | |
| Severity: | low | Keywords: | |
| Cc: |
Description
It turns out that the /@unixroot/usr/include/paths.h header installed by libc-devel contains incorrect _PATH_* definitions (added there by Knut). It assumes that essential system tools are installed in /@unixroot/bin while Yuri decided to drop this dir in favor of /@unixroot/usr/bin (which in fact contains all these tools).
Now we need to either get /@unixroot/bin back (e.g. as a symlink pointing to /@unixroot/usr/bin) or fix the paths.h definitions in our libc-devel.
Change History (4)
comment:2 by , 11 years ago
I personally vote for changing the header to /@unixrot/usr/bin. As installing this fhs package is probably not what the average user does.
comment:3 by , 10 years ago
| Component: | rpm → other |
|---|---|
| Severity: | → low |

Yes, there is
os2-base-fhs' which does the mentionedbinsymlink but it's not installed by default and this creates a very hidden source of errors. There is at least one program that uses_PATH_*defines - dash (e.g._PATH_BSHELL`) but I'm pretty sure there are more (I remember I successfully solved some related build problems with making this symlink back then).I.e. we need a solution that works by default, w/o the need to install additional packages.