Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: aus9 on July 04, 2020, 02:36:27 AM
-
Hi
its early days yet but can anyone look at these and advise which if any can be safely left out of any submission?
I am aware the wiki is not yet edittable etc.
http://wiki.tinycorelinux.net/doku.php?id=wiki:creating_extensions
/usr/local/bin/config_data
/usr/local/lib/perl5/site_perl/5.28.0/Linux/DesktopFiles.pm
/usr/local/lib/perl5/site_perl/5.28.0/x86_64-linux-thread-multi/.meta/inc-latest-0.500/install.json
/usr/local/lib/perl5/site_perl/5.28.0/x86_64-linux-thread-multi/.meta/inc-latest-0.500/MYMETA.json
/usr/local/lib/perl5/site_perl/5.28.0/x86_64-linux-thread-multi/.meta/Data-Dump-1.23/install.json
/usr/local/lib/perl5/site_perl/5.28.0/x86_64-linux-thread-multi/.meta/Data-Dump-1.23/MYMETA.json
/usr/local/lib/perl5/site_perl/5.28.0/x86_64-linux-thread-multi/.meta/Linux-DesktopFiles-0.25/install.json
/usr/local/lib/perl5/site_perl/5.28.0/x86_64-linux-thread-multi/.meta/Linux-DesktopFiles-0.25/MYMETA.json
/usr/local/lib/perl5/site_perl/5.28.0/x86_64-linux-thread-multi/.meta/Module-Build-0.4231/install.json
/usr/local/lib/perl5/site_perl/5.28.0/x86_64-linux-thread-multi/.meta/Module-Build-0.4231/MYMETA.json
/usr/local/lib/perl5/site_perl/5.28.0/x86_64-linux-thread-multi/auto/inc/latest/.packlist
/usr/local/lib/perl5/site_perl/5.28.0/x86_64-linux-thread-multi/auto/Data/Dump/.packlist
/usr/local/lib/perl5/site_perl/5.28.0/x86_64-linux-thread-multi/auto/Linux/DesktopFiles/.packlist
/usr/local/lib/perl5/site_perl/5.28.0/x86_64-linux-thread-multi/auto/Module/Build/.packlist
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build.pm
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/Base.pm
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/Compat.pm
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/Config.pm
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/Cookbook.pm
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/Dumper.pm
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/Notes.pm
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/PPMMaker.pm
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/PodParser.pm
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/API.pod
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/Authoring.pod
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/Bundling.pod
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/ConfigData.pm
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/Platform/Default.pm
(gap by me)
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/Platform/MacOS.pm
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/Platform/Unix.pm
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/Platform/VMS.pm
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/Platform/VOS.pm
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/Platform/Windows.pm
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/Platform/aix.pm
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/Platform/cygwin.pm
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/Platform/darwin.pm
/usr/local/lib/perl5/site_perl/5.28.0/Module/Build/Platform/os2.pm
/usr/local/lib/perl5/5.28.0/x86_64-linux-thread-multi/perllocal.pod
I am also thinking some OS like cygwin, Windows etc can be left out too?
Maybe the Build dir too?
Thanks for reading
-
PS
one of the TCE names is likely to be perl_inc_latest.tcz
based on the name for another perl module perl_xml_parser.tcz
-
I'm pretty sure the *.packlist files could be removed and *pod is documentation(?).
-
Just a small suggestion : I think you can use "make clean" to clean all intermediate files :o .
I also suggest reading this :
https://perldoc.perl.org/perlmodlib.html
I think I found something here : http://perl.mines-albi.fr/perl5.6.1/site_perl/5.6.1/Module/Build.html
I think commands "./Build distcheck", "./Build clean", "./Build distclean" help you.
-
“make clean” will remove all files produced by “make”.
-
Well, I am thinking that some perl modules use GNU make and hence I said that.
See the second paragraph that I edited in my before post.
-
@Sashank999
I think you mistake me for a real coder. I am attempting to build something....not even close to be able to say it works, with cpanm which is in TC64, also known as cpanminus, this "automates" the download of specified module - builds it - installs it.
https://metacpan.org/pod/App::cpanminus
I am using the wiki for the timestamp method to see what files I need to grab, if any.
I think commands "./Build distcheck", "./Build clean", "./Build distclean" help you.
I build as root, the downloads are under /root/.cpanm.....which I do not save as yet.
but I can try those command out to see what a diff it makes.
But I guess I won't need cpanm and just use it first boot to find the download url
and then full reboot and do the rest manually. The terminal "tells" me what it is doing
Thanks for the tip. I will let you know how that goes.
@Juanito
'm pretty sure the *.packlist files could be removed and *pod is documentation
thanks this is what I was looking for.
-
@Juanito
Sorry I mucked up copy and paste above....it should read I'm not 'm
Do we need to rebuild perl5 for 11x?
cat /tmp/tcloop/perl5/usr/local/lib/perl5/5.28.0/x86_64-linux-thread-multi/Config.pm | grep osvers
osvers => '4.14.10-tinycore64',
uname -r
5.4.3-tinycore64
I did not know to look there....I am just reading bits of Makefile generated by cpanm.
-
Hi aus9
... Do we need to rebuild perl5 for 11x? ...
Probably not.
... osvers => '4.14.10-tinycore64', ...
That would be TC version 9.x.
... perl5/5.28.0 ... That is the same version used in TC 10.x. TC 9.x has perl5 version 5.26.1.
The version in the TC10 repo was probably compiled on a TC9 machine and copied to the TC11 repo. The perl5 extension does not
list any kernel modules as dependencies, so it's probably not sensitive to the kernel version.
-
Hi Rich
glad to know.
-
Do we need to rebuild perl5 for 11x?
I was planning to update perl with the next major update to tinycore - note that updating perl would break existing perl extensions like perl_xml_parser.
I also see a perl warning in several app builds - something about future perl versions not being backward compatible for certain expressions/functions.
-
well I have given up on something. It started to want more and more stuff.
I do not want anything broken so will look at an alternative that does not need perl modules.
@Rich
Can you mark as Solved please
-
Hi aus9
... @Rich
Can you mark as Solved please
Done.