Xenialpup CE 7.5 / 25 Nov 2017

A home for all kinds of Puppy related projects
Post Reply
Message
Author
User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#121 Post by 666philb »

B.K. Johnson wrote:@666philb
A couple questions:
1. Do I get the kernel headers from kernel.ubuntu.com repository? If not from there, where?
2. Do I just click on the deb package to install it?
the kernel sources are at the same place as the ISO ...link on the first post
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#122 Post by B.K. Johnson »

B.K. Johnson wrote:
A couple questions:
1. Do I get the kernel headers from kernel.ubuntu.com repository? If not from there, where?
2. Do I just click on the deb package to install it?
666philb wrote
the kernel sources are at the same place as the ISO ...link on the first post
Thanks! I got the kernel sources already.
I want to attempt compiling ndiswrapper for k4.5.2. Don't I need the headers separately as I see in the Debian and Redhat threads? I have devx and kernel sources installed and the ndiswrapper source. How do I proceed?
Thanks for helping.
[color=blue]B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM[/color]
User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#123 Post by peebee »

B.K. Johnson wrote:I want to attempt compiling ndiswrapper for k4.5.2.
Hi BKJ

Don't recall needing the kernel headers to compile ndiswrapper - suggest you try without....

You may need - depending on where you got your source from - the attached patch FALSE .gz !

My sources is: ndiswrapper-1.59.tar.gz

Cheers
Attachments
k4.2-patch.gz
(1.3 KiB) Downloaded 255 times
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#124 Post by B.K. Johnson »

Hi peebee
Thanks for the advice.
You wrote:
Don't recall needing the kernel headers to compile ndiswrapper - suggest you try without.
...
Tried that with ndiswrapper-1.6. Here is what I got.

Code: Select all

root# make
make -C utils
make[1]: Entering directory '/mnt/sda1/temp/ndiswrapper-1.60/utils'
gcc -g -Wall -I../driver  -o loadndisdriver loadndisdriver.c
In file included from loadndisdriver.c:37:0:
../driver/loader.h:19:40: error: missing binary operator before token "("
 #if LINUX_VERSION_CODE > KERNEL_VERSION(4,0,0)
                                        ^
Makefile:16: recipe for target 'loadndisdriver' failed
make[1]: *** [loadndisdriver] Error 1
make[1]: Leaving directory '/mnt/sda1/temp/ndiswrapper-1.60/utils'
Makefile:23: recipe for target 'utils' failed
make: *** [utils] Error 2
You may need - depending on where you got your source from - the attached patch FALSE .gz !
I'll try and report back.
My sources is: ndiswrapper-1.59.tar.gz
After the make with 1.6 failed, I tried to compile 1.59 but that didn't work either. Reported that I needed to clean my buildtree for I had 2 versions.h. What's the command to "clean"?
I'll try the patch on 1.6 and if that doesn't work, restart with a virgin pupsave, 1.59 and the patch.
Thanks again.
BFN
[color=blue]B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM[/color]
User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#125 Post by peebee »

B.K. Johnson wrote:Reported that I needed to clean my buildtree for I had 2 versions.h. What's the command to "clean"?
Hi BKJ

Ah yes I remember, you need:

Code: Select all

#!/bin/sh
mv /usr/src/linux/usr/include/linux/version.h /usr/src/linux/usr/include/linux/hide-version.h
mv /usr/src/linux/include/linux/version.h /usr/src/linux/include/linux/hide-version.h
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#126 Post by starhawk »

@phil -- you did get the openchrome module I posted, right? Just checking...
User avatar
LazY Puppy
Posts: 1934
Joined: Fri 21 Nov 2014, 18:14
Location: Germany

#127 Post by LazY Puppy »

Hi.

As when you did built the first version of tahr or xenial there haven't been the neccessary files existing like ../woof-CE-testing/woof-distro/x86/ubuntu/trusty/DISTRO_PKGS_SPECS-ubuntu-trusty and ../woof-CE-testing/woof-distro/x86/ubuntu/trusty/DISTRO_COMPAT_REPOS-ubuntu-trusty etc.pp.

Could you please tell me how to create those necessary files to be able/prepared to build a Puppy Linux using Woof CE that wasn't built already before - like Xenial Xerus in 64bit?

It seems to need those files:

Code: Select all

../woof-distro/x86_64/ubuntu/trusty64/DISTRO_COMPAT_REPOS-ubuntu-trusty
../woof-distro/x86_64/ubuntu/trusty64/DISTRO_PET_REPOS
../woof-distro/x86_64/ubuntu/trusty64/DISTRO_PKGS_SPECS-ubuntu-trusty
../woof-distro/x86_64/ubuntu/trusty64/DISTRO_SPECS
../woof-distro/x86_64/ubuntu/trusty64/PKGS_MANAGEMENT
but just for xenial64.

So how to create those files to build from xenial64?

Thanks.
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#128 Post by 666philb »

LazY Puppy wrote:Hi.

As when you did built the first version of tahr or xenial there haven't been the neccessary files existing like ../woof-CE-testing/woof-distro/x86/ubuntu/trusty/DISTRO_PKGS_SPECS-ubuntu-trusty and ../woof-CE-testing/woof-distro/x86/ubuntu/trusty/DISTRO_COMPAT_REPOS-ubuntu-trusty etc.pp.

Could you please tell me how to create those necessary files to be able/prepared to build a Puppy Linux using Woof CE that wasn't built already before - like Xenial Xerus in 64bit?

It seems to need those files:

Code: Select all

../woof-distro/x86_64/ubuntu/trusty64/DISTRO_COMPAT_REPOS-ubuntu-trusty
../woof-distro/x86_64/ubuntu/trusty64/DISTRO_PET_REPOS
../woof-distro/x86_64/ubuntu/trusty64/DISTRO_PKGS_SPECS-ubuntu-trusty
../woof-distro/x86_64/ubuntu/trusty64/DISTRO_SPECS
../woof-distro/x86_64/ubuntu/trusty64/PKGS_MANAGEMENT
but just for xenial64.

So how to create those files to build from xenial64?

Thanks.
hi LazY Puppy,

basically i created a /woof-distro/x86_64/ubuntu/xenial folder and copied the trusty64 files to it and renamed them e.g.DISTRO_PKGS_SPECS-ubuntu-xenial . i then edited the DISTRO_SPECS file.. the line DISTRO_COMPAT_VERSION= is particularly important as this is used in DISTRO_COMPAT_REPOS to find the package repository. so for xenial needs to be called xenial.
also check that the DISTRO_PET_REPOS are right for 64bit (when i built tahrpup64 i started with the tahrpup32 files and so this needed changing)

run merge2out for the new xenial and run 0setup. at the end of 0setup it will list lots of not found packages usually because they are now named slightly differently in xenial for instance different a version . i then worked my through them altering the DISTRO_PKGS_SPECS to suit. note that this can be quite a long process of trial and error.

for the 32bit xenial this got it to desktop, i could then find any other missing stuff and compile stuff for specifically for xenial (i add any newly compiled pets to Packages-puppy-xenial-official and put them in the packages-pet folder ).
and then go through the process again adding whatever.

i have just started on a 64bit version although it doesn't boot to desktop at the mo. i've attached what i have so far.
Attachments
xenial.tar.gz
(18.9 KiB) Downloaded 238 times
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
User avatar
LazY Puppy
Posts: 1934
Joined: Fri 21 Nov 2014, 18:14
Location: Germany

#129 Post by LazY Puppy »

Thanks.

Currently downloading the files for Xenial 64 using Woof CE.
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
Pelo

Checking the menu.. Tested VLC OK, Palemoon ok,

#130 Post by Pelo »

Checking the menu.. Tested VLC (MP3) OK, Palemoon ok, You Tube OK..
Well we can board. XIX music player from my toolcase installed without trouble. I will check deeper
FFmepg still missing (Info XIXmusic) :evil:
SSR simple screen Recorder ok
mhWave ok after setting capture bar
Abiword 3.0.1 ??? 2.8.6 is enough for everybody. Do you know the difference between the two versions ? check.. Only borders of paragraph colorized with 3.0.1. And many languages for which Puppy Linux does not hold the keyboards. Abiword is for typing :!:
Gnumeric ok Osmo ok (contacts are included)
Connect your androïd phone : something new..
Alexandra will be successful, i think, see specific topic (alexandra is as a music player, it manege and reads you video with ...Mplayer) and needs some QT5 libraries? VLC does not Play !, but cursor advances
Passenger check list : done Please don't forget Puppies are not only to be disabled by students in Linux, some people have different hobbies with Puppy Linux.
Attachments
BrigitteBardot.jpg
VLC tested with MP3 playlist, no trouble
(53.14 KiB) Downloaded 1461 times
Last edited by Pelo on Mon 23 May 2016, 12:26, edited 2 times in total.
User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#131 Post by peebee »

B.K. Johnson wrote:Hi peebee
Thanks for the advice.
You wrote:
Don't recall needing the kernel headers to compile ndiswrapper - suggest you try without.
...
Tried that with ndiswrapper-1.6. Here is what I got.
Hi BKJ

Firstly, my apologies, you do need the kernel-headers to compile ndiswrapper.

You also need to get rid of duplicate version.h files with the fix I gave above.

The most up-to-date ndiswrapper source is available from github:
https://github.com/pgiri/ndiswrapper/archive/master.zip

I've uploaded the kernel headers for my version of k4.5.2-pae to:
http://smokey01.com/peebee/downloads/ke ... -lxpup.pet

I think(??) they should work OK for k4.5.2-xenial.....but haven't tested this.

Maybe 666philb will make his kernel-HEADERS available....

Cheers
peebee
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#132 Post by watchdog »

I am using the fatdog kernel 3.18.7: I have ndiwswrapper but I don't use it e haven't tested it. In my humble opinion you can easily get ndiswrapper by switching kernel. Am I wrong?
User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#133 Post by peebee »

watchdog wrote:I am using the fatdog kernel 3.18.7: I have ndiwswrapper but I don't use it e haven't tested it. In my humble opinion you can easily get ndiswrapper by switching kernel. Am I wrong?
ndiswrapper is not part of the kernel - but must be compiled kernel specific...broadcom wl wifi driver is similar as are graphics drivers such as nvidia etc....
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#134 Post by watchdog »

My mistake. Fatdog64 has not the ndiswrapper kernel module. I have tested ndiswrapper in my configuration and it reclaims the missing module.

EDIT: the slacko 6.3.0 kernel 3.14.55 has the ndiswrapper module in the rep. I did an "insmod" and got working the rt73usb by ndiswrapper in xenial 7.0.1 with the slacko kernel. But it is only for testing purpose.
Pelo

What about Videos ?

#135 Post by Pelo »

Does VLC 2.2.2 works without trouble in Xenialpup ?
Audio MP3 is played
What about Videos ? Mpeg tested , please some feedback needed here or in multimedia section.
A CD inserted will launch Pcd, tested ok.
VLC test Ok for CD audio.
666philb, what about VLC with videos at your studios ?
It would be strange that nobody had played a video yet. If there had been some trouble people should have informed here. I think that the defaults at home are due only to my personal videos.. or some settings to do.
User avatar
LazY Puppy
Posts: 1934
Joined: Fri 21 Nov 2014, 18:14
Location: Germany

#136 Post by LazY Puppy »

@Pelo

VLC is built into Xenial Puppy.
Didn't check for its version used, though it plays video.

Edit:

Screeny makes distorted screenshots btw.
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
Pelo

Xenial VLC does not play neither .avi nor mpeg !

#137 Post by Pelo »

Xenial VLC does not play neither .avi nor mpeg ! (only sound, not images)
At home, of course;
User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

Re: Xenial VLC does not play neither .avi nor mpeg !

#138 Post by 666philb »

Pelo wrote:Xenial VLC does not play neither .avi nor mpeg ! (only sound, not images)
At home, of course;
vlc was missing some stuff in 7.0.0 but is working fine for me in 7.0.1

.avi
.mp4
.mkv
all fine ..even files encoded with 'hevc' work. these didn't work in tahrpup
Last edited by 666philb on Wed 25 May 2016, 12:48, edited 2 times in total.
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
User avatar
LazY Puppy
Posts: 1934
Joined: Fri 21 Nov 2014, 18:14
Location: Germany

#139 Post by LazY Puppy »

VLC 2.2.2 in Xenial 7.0.1 playing .avi, .mpg and .mp4 Videos.
Attachments
Screenshots-vlc222-xenial-plays-avi-mpg-mp4.jpg
(66.28 KiB) Downloaded 1889 times
RSH

"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:

No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#140 Post by 666philb »

LazY Puppy wrote:@Pelo

VLC is built into Xenial Puppy.
Didn't check for its version used, though it plays video.

Edit:

Screeny makes distorted screenshots btw.
this seems to be to do with the hardware ...works on some comps and not on others.... 'prt scr' key should work
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
Post Reply