LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Closed Thread
  Search this Thread
Old 01-10-2016, 02:53 PM   #181
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled

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.
 
Old 01-10-2016, 05:36 PM   #182
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,152

Rep: Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323Reputation: 7323
The 4.4 Kernel has been released.
 
Old 01-10-2016, 06:34 PM   #183
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 784

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
Quote:
Originally Posted by cwizardone View Post
The 4.4 Kernel has been released.
Using 4.4.0 now just built using make oldconfig and accepting all new defaults.
So far so good
john
 
1 members found this post helpful.
Old 01-11-2016, 12:01 AM   #184
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
Quote:
Originally Posted by cwizardone View Post
The 4.4 Kernel has been released.
Builds fine, just made one 4.4-smp for 14.1 with localmodconfig and then tainted it with nvidia binary.
 
1 members found this post helpful.
Old 01-11-2016, 12:27 AM   #185
aaazen
Member
 
Registered: Dec 2009
Posts: 358

Rep: Reputation: Disabled
Quote:
Originally Posted by Wiser Slacker View Post
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:

https://www.kernel.org/doc/Documenta...r/apm-acpi.txt

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

-------------------------------------------------------------------

Or just forget about APM and try to use ACPI to begin with?

ACPI seems to be the new standard...

And this brings up another question. If Slackware no longer configures APM in the kernel should the apmd package be moved to "pasture"?

Last edited by aaazen; 01-11-2016 at 07:02 AM. Reason: grammar
 
Old 01-11-2016, 12:28 AM   #186
elyk
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 241

Rep: Reputation: 49
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.
 
1 members found this post helpful.
Old 01-11-2016, 12:33 AM   #187
elyk
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 241

Rep: Reputation: 49
I'd like to see a default .bash_profile script in /etc/skel, something like this:

Code:
case $- in
	*i*)  # Interactive shell
		[ -f ~/.bashrc ] && . ~/.bashrc
		;;
esac
 
Old 01-11-2016, 02:24 AM   #188
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Quote:
Originally Posted by cwizardone View Post
The 4.4 Kernel has been released.
Testing 4.4 also. Checked all the new stuff before just accepting the defaults.
 
1 members found this post helpful.
Old 01-11-2016, 07:24 AM   #189
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,377

Rep: Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757
Quote:
Originally Posted by elyk View Post
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.

Last edited by allend; 01-11-2016 at 07:27 AM.
 
Old 01-11-2016, 07:53 AM   #190
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Well...

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 ;-)
 
2 members found this post helpful.
Old 01-11-2016, 09:15 AM   #191
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by 55020 View Post
First, that's an obsolete version of the FHS, and FHS 3.0...
I didn't know they finalized the release of 3.0 (back in June of 2015, so I am a bit slow). Thanks for the heads up!
 
Old 01-11-2016, 10:31 AM   #192
michelino
Member
 
Registered: Dec 2006
Posts: 32

Rep: Reputation: 1
+1 for kernel 4.4, for skylake kernel support

It's also a LTS ending in Feb 2018...exactly in time for the Slackware-15.0 release!
:-)))
 
Old 01-11-2016, 11:07 AM   #193
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,915

Rep: Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033
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.
 
1 members found this post helpful.
Old 01-11-2016, 01:41 PM   #194
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,344

Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
4.4.0 kernel , no workin well here.

In a machine with mechanic hdd all plays well.

In a machine with SSD HARD DISK , write/read slowest ever.
 
Old 01-11-2016, 03:07 PM   #195
xflow7
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 215

Rep: Reputation: 45
Quote:
Originally Posted by elyk View Post
I'd like to see a default .bash_profile script in /etc/skel, something like this:

Code:
case $- in
	*i*)  # Interactive shell
		[ -f ~/.bashrc ] && . ~/.bashrc
		;;
esac
Is this necessary? Doesn't bash run .bashrc for interactive shells anyway?

Dave
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to show the current time at the top in the current shell Always ? rohitchauhan Linux - General 5 04-09-2014 03:05 PM
Slackware ARM (current) epic mistake: the current Android kernels are kicked out! Darth Vader Slackware 16 08-25-2013 04:36 PM
[SOLVED] setup fails on most current Slackware-current March 26, 2012 AlleyTrotter Slackware 15 04-09-2012 06:05 AM
Observation of Feb -current vs March -current Hangaber Slackware 14 03-12-2010 08:26 AM
cvs diff the most current and second last current version powah Linux - Software 1 03-30-2006 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration