You are not logged in.
I want run
powerpill_portable.sh
for make update of arch in FreeBSD box , so when I run powerpill_portable.sh in FreeBSD box I see this error
This Perl not built to support threads
Compilation failed in require at Xyne/Common/Parallel.pm line 22.
BEGIN failed--compilation aborted at Xyne/Common/Parallel.pm line 22.
Compilation failed in require at Xyne/Arch/PkgD.pm line 33.
BEGIN failed--compilation aborted at Xyne/Arch/PkgD.pm line 33.
Compilation failed in require at Xyne/Arch/Powerpill.pm line 27.
BEGIN failed--compilation aborted at Xyne/Arch/Powerpill.pm line 27.
Compilation failed in require at ./powerpill line 25.
BEGIN failed--compilation aborted at ./powerpill line 25.
I have perl and rsync and aria2 on FreeBSD box
Last edited by mfaridi (2010-12-21 13:07:57)
Offline
Isn't it fairly clear what the issue is?
This Perl not built to support threads
Also, not at all a Pacman issue, or even an Arch issue.
I make perl with threads option and I see new error
Can't load '/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/Encode/Encode.so' for module Encode: /usr/local/lib/perl5/site_perl/5.10.1/mach/auto/Encode/Encode.so: Undefined symbol "PL_sv_undef" at /usr/local/lib/perl5/5.10.1/mach/XSLoader.pm line 70.
at /usr/local/lib/perl5/site_perl/5.10.1/mach/Encode.pm line 10
Compilation failed in require at Xyne/Common/Metalink.pm line 22.
BEGIN failed--compilation aborted at Xyne/Common/Metalink.pm line 22.
Compilation failed in require at Xyne/Arch/Powerpill.pm line 31.
BEGIN failed--compilation aborted at Xyne/Arch/Powerpill.pm line 31.
Compilation failed in require at ./powerpill line 25.
BEGIN failed--compilation aborted at ./powerpill line 25
I think problem is
Xyne modules
we do not have this modules in FreeBSD Box.
Last edited by mfaridi (2010-12-21 14:29:47)
Offline
So I understand this script does not work in all OS
Offline
Have you tried installing p5-Encode, p5-XSLoader or whatever modules you need on FreeBSD
eg, http://www.freebsd.org/cgi/ports.cgi?qu … ektion=all
Offline
What are you trying to achieve exactly?
English is not my native language .
Offline
What are you trying to achieve exactly?
In home I do not have internet connection and in home I install Arch and with this post
https://bbs.archlinux.org/viewtopic.php … 44#p868844
I download all packages at work and move them to home and make localrepo and install everything I need , so for update Arch and all packages I installeded I need god way , so I find powerpill is good way , but at work I use FreeBSD and I want run powerpill portable at FreeBSD box and download all thing I need , so powerpill does not work on FreeBSD box
Offline
since this is not Arch related -- or atleast you are not trying to run it on Arch, I am going to move this to Linux Discussion
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
All of the Xyne::* modules are included in the "portable" directory so that is not the problem. They do not need to be installed. Perl can load modules from the current working directory at runtime.
The problem is that there are other Perl dependencies. I'll try to add a list to the Powerpill Portable info on my site. For now, try installing Perl's libwww and crypt-ssleay modules. They are very common and most distros should provide packages for them.
For those of you wondering what this is about, read this. I would say that this is Arch-related.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
after I test powerpill portable does not work on FreeBSD . box so I install ubuntu in Virtualbox and then copy portable directory from USB device to FreeBSD box HDD and then move it to virtual box by shell and run this command in ubuntu
./pp -Syu
and I see this error
error: unable to read /etc/pacman.conf
error: undefined fpath while loading config
and this script does not work on ubuntu like FreeBSD
Offline
I have updated powerpill_portable.sh to resolve the errors. You must run it again on your home computer to create a new directory. I had forgotten the pacman.conf file.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I have updated powerpill_portable.sh to resolve the errors. You must run it again on your home computer to create a new directory. I had forgotten the pacman.conf file.
thanks
so I must remove lat one and use new one ?
another questions
Can I copy portable directory from USB to hard disk and then move it to virtual machine and run pp -Syu ?
I ask this because
size of portable directory in USB flash is change when I copy it to Hard disk , portable directory ins USB is bigger than portable directory in Hard disk or virtual machine
Last edited by mfaridi (2010-12-22 09:31:08)
Offline
Yes, you must use the new script. The last one does not copy all the configuration files to the "portable" directory, so you must run the new powerpill_portable.sh script on your home computer.
After you create the "portable" directory, you can move it wherever you like. The directory is self-contained and should include everything it needs.
The size should not change when you copy to the hard disk. Make sure that you have copied all of the files.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
If you allready ran Ubuntu in a VM to download data, you could also run the Arch installer in your VM and get the packages there.
Offline
I use new config ,
but when I use ./pp -Syu
I see this error
error: undefined fpath while loading config
Offline
Awebb is right why not install Arch in Virtualbox and move it's filesystem over to your home then you only need to install grub and configure the system..
Offline
that is good way , but I think powerpill is great project and very useful , I want this script work good in Linux systems and has no bug and problem
Offline
You don't need to waste resources on a VM to make this work.
I use new config ,
but when I use ./pp -Syu
I see this errorerror: undefined fpath while loading config
I just tried this and got:
error: unable to read /etc/pacman.conf
error: undefined fpath while loading config
I think that means ' --pacman-config etc/pacman.conf' is not working and powerpill still looks for /etc/pacman.conf which obviously does not exist in our FreeBSD systems.
Last edited by Nezmer (2010-12-22 15:05:50)
English is not my native language .
Offline
right now I check powerpill portable in Ubuntu and I got that error again , I think powerpill can not work on FreeBSD box , but I think it must work on Linux box
Offline
The error was due to a typo. Update to the latest version of perl-xyne-arch (>=2010.12.22) on your home computer and recreate the "portable" directory with "powerpill_portable.sh".
If you are already at work, you can run the following command in the "portable" directory to fix the error:
sed -i "s@get_value('PacmanConf')@get_value('PacmanConfig')@" ./Xyne/Arch/{Powerp,Bauerb}ill.pm
That should make "pp" work, e.g. "pp -Syu".
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
The error was due to a typo. Update to the latest version of perl-xyne-arch (>=2010.12.22) on your home computer and recreate the "portable" directory with "powerpill_portable.sh".
If you are already at work, you can run the following command in the "portable" directory to fix the error:
sed -i "s@get_value('PacmanConf')@get_value('PacmanConfig')@" ./Xyne/Arch/{Powerp,Bauerb}ill.pm
That should make "pp" work, e.g. "pp -Syu".
You need '' after sed -i in FreeBSD.
Also you need --aria2-bin /usr/local/bin/aria2c
I think after that the script should just work.
English is not my native language .
Offline
Also you need --aria2-bin /usr/local/bin/aria2c
Good point about the aria2 path, thanks.
I'll add that to the README.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
when I run this command
sed -i "s@get_value('PacmanConf')@get_value('PacmanConfig')@" ./Xyne/Arch/{Powerp,Bauerb}ill.pm
and I run this command
./pp -Syu
I see these errors
-> Rebasing...
/bin/tar: Archive is compressed. Use -z option
/bin/tar: Error is not recoverable: exiting now
/bin/tar: Archive is compressed. Use -z option
/bin/tar: Error is not recoverable: exiting now
/bin/tar: Archive is compressed. Use -z option
/bin/tar: Error is not recoverable: exiting now
and script does not work
Offline
Yay for incompatible tar implementations
Offline