[Bug 382344] default to /usr/local/lib64 for self-compiled stuff
https://bugzilla.novell.com/show_bug.cgi?id=382344 https://bugzilla.novell.com/show_bug.cgi?id=382344#c19 --- Comment #19 from Stanislav Brabec <sbrabec@novell.com> 2011-08-04 14:29:28 CEST --- comment 17: No, ppc/ppc64 was not tested and its use may need the update of the heuristics. Putting to (subdir of) /usr/share/autoconf is possible as well. If we set CONFIG_SITE variable, then it could be anywhere and can have any name. If we don't set it, only /usr/local/{share,etc}/config.site works. We can hardcode the file name into the package or we can change the name with the platform (to allow putting more site identities into the directory). comment 18: I did osc meta pkg openSUSE:Factory make | grep "devel project" and used Base:System Well, I can do the same with autoconf and move to devel:tools:building. Regarding gnu-fhs: If we decide that we want it, we can pre-configure any default path. But there should be a consensus about the setup: Symbolic directory name lookup: exec_prefix, bindir, sbindir, libdir, datadir, localstatedir, sysconfdir: Clean, specified by FHS. mandir, infodir: Should it be datadir/{man,info} only in /usr or also in /usr/local? sharedstatedir: Should it be /var/cache? docdir: Should it be datadir/doc/packages? Should it be defined so in all prefixes? libexecdir: Basically it should be exec_prefix/lib/package_name. But GNU coding conventions are unclean whether package_name should be specified by package maintainer (as expects about one half of packages), or it should be added to libexecdir by code author (as expects the other half of packages). There could be a heuristics in the site script (grep for expressions used in Makefile.am or Makefile.in files), or it can be hardcoded to one value (and others will have to specify --libexecdir) or there can be a (hidden) configure option (that may be specified instead of --libexecdir). Prefix wise lookup: /usr: Clean, we can clone values from rpm default setup(*) /usr/local: There is unclean location of sysconfdir, localstatedir and derived paths. See comment 15. Also mandir, infodir and docdir are unclean. Should it be /usr/local/man (as defaults configure) or /usr/local/share/man (as may uncleanly imply from FHS)? /: Actually, it is a bit unhappy to use this prefix. Actually --prefix=/usr --exec-prefix=/ fits better to our hierarchy. But once one sets --prefix=/, it should fix the setup and change only exec_prefix based paths: bindir, sbindir and libdir and set others to /usr subdirs. /opt*: Clean, specified by FHS. All other prefixes are obsolete now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com