SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If --disable-dbus is used you must use --disable-necko-wifi flag too, it depends on dbus, though I admit I have no idea what it's supposed to do.
Probably useless on a wired desktop, so I disabled that, and quite a lot of other features, like --disable-webrtc --disable-bundled-fonts and --disable-webapp-runtime
Sometimes firefox is very sketchy about the flags, some of them build, some don't, for example --disable-eme doesn't seem to do anything at all, it still loads extensions if that flag is used.
EME and Pocket seem absent from GNU IceCat, and this is one of the main reasons why I switched. It also builds fine with some flags where firefox just throws error (2) for no apparent reason.
Hi -
have tested -current on old Laptop (32 bit) and found "xapm" is buggy. It seemed it had not been compiled in the right way. If it was started - it tells something like " ... try to compile ... this should never happen."
It is no binary - it is a shell script.
If i should test something - please tell me.
...
Slacker
This is a great question as it brings a chance to clean up some old code.
First of all, there appears to be a bug in the apmd.SlackBuild script for installing xapm.
The script installs an xapm shell script which clearly states in the comments at the top:
Quote:
# This wrapper script should never be moved out of the build directory.
# If it is, it will not operate correctly.
Instead the apmd.SlackBuild script should probably install the xapm binary which is in the .libs subdirectory.
Here is a patch to the build script:
Code:
--- apmd.SlackBuild.orig 2011-04-10 23:19:53.000000000 -0700
+++ apmd.SlackBuild 2016-01-10 18:31:59.202738416 -0800
@@ -21,7 +21,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
VERSION=${VERSION:-3.2.2}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -76,7 +76,7 @@
)
mkdir -p $PKG/usr/bin
-cat xapm > $PKG/usr/bin/xapm
+cat .libs/xapm > $PKG/usr/bin/xapm
cat xbattery/xbattery > $PKG/usr/bin/xbattery
chmod 755 $PKG/usr/bin/{xapm,xbattery}
Second, the Slackware kernels starting with 14.0 including 14.1 and current do not configure APM by default. They have ACPI on but not APM.
To actually use APM instead of ACPI one needs to rebuild the kernel with CONFIG_APM=m
It appears that it is still okay to configure a kernel with both APM and ACPI:
And after rebuilding the kernel with APM support, then to make sure that APM is used and not APCI, then
add this to the kernel parameters at boot time: "acpi=off apm=on"
And after booting load the apm module: #loadmod apm
The default $MANPATH is /usr/local/man:/usr/man. Just about every build from source puts man pages in ${prefix}/share/man, and we have to adjust --mandir (also --infodir and --docdir) to put them in Slackware's preferred spot.
aaa_base creates symlinks from /usr/share/{man,info,doc} to /usr/{man,info,doc}, but it doesn't create them for /usr/local. If you do a quick `./configure && make && make install`, the man pages usually get installed to /usr/local/share/man (not in $MANPATH) and aren't found.
I've noticed this with man pages. Not sure if there's anything equivalent for info pages. On my machine I've changed $MANPATH to /usr/local/share/man:/usr/share/man to deal with it.
The default $MANPATH is /usr/local/man:/usr/man. Just about every build from source puts man pages in ${prefix}/share/man, and we have to adjust --mandir (also --infodir and --docdir) to put them in Slackware's preferred spot.
aaa_base creates symlinks from /usr/share/{man,info,doc} to /usr/{man,info,doc}, but it doesn't create them for /usr/local. If you do a quick `./configure && make && make install`, the man pages usually get installed to /usr/local/share/man (not in $MANPATH) and aren't found.
I've noticed this with man pages. Not sure if there's anything equivalent for info pages. On my machine I've changed $MANPATH to /usr/local/share/man:/usr/share/man to deal with it.
This is an interesting point.
On my setup, currently /usr/local/man has the subdirectories created by aaa-base but is not populated. However /usr/local/share/man is populated with files from third party software.
According to the FHS, these directories should be synonymous.
I also note this comment from the FHS
Quote:
/usr/local/man may be deprecated in future FHS releases, so if all else is equal, making that one a symlink seems sensible.
This would suggest that altering aaa-base to create subdirectories in /usr/local/share/man and also making /usr/local/man a symlink to /usr/local/share/man is worth consideration.
First, that's an obsolete version of the FHS, and FHS 3.0 does not say anything about such a symlink. Instead, it says this:
Quote:
Manual pages for commands and data under /usr/local are stored in /usr/local/man or /usr/local/share/man. All manual page hierarchies in the system must have the same structure as /usr/share/man, as this structure is expected by commands which consume manual page content. [34]
[...]
[34] /usr/local/man is deprecated and may be dropped in a future version of this specification.
Secondly, from observation Slackware hasn't always followed the FHS and LSB (in particular w.r.t. /usr/man and /usr/share/man)
Thirdly, having read some of the FHS revision discussions, one might think that the barbarians are through the gate now and heading for the keep
And fourthly, since the FHS is part of the LSB, and the LSB is dying or even dead now, the barbarians are welcome to it
Last edited by 55020; 01-11-2016 at 08:13 AM.
Reason: linkie ;-)
Built and installed 4.4.0 here this afternoon: seems ok so far, but it's going to be a few days before any issues start to show up. If 4.4.y proves itself reliable then I expect Pat will take advantage of it without need of any prompting.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.