You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I have several modules, in this io::async module required for my project, but it uses Build::Modules system to build.
My first try is compiling Build::Modules to support this, but Build::Modules uses XS modules from perl so it fails compiling.
Attempt to reload Scalar/Util.pm aborted.
Compilation failed in require at /home/kiepe/kiepe/bsp/platform-x86_64/build-target/perl-5.38.0/lib/Data/Dumper.pm line %.
So, I did try to built all static, it failed compiling
With --mode=cross
--prefix=/usr
--host=$(PTXCONF_GNU_TARGET)
--target=$(PTXCONF_GNU_TARGET)
-Dld=$(CROSS_CC)
-Dldflags=-static -Accflags=-fno-pie
--all-static
-Dusethreads
Did anyone had success to support Build::Modules since many projects are now using it, or am I looking for the wrong path? (It's strange no related issue raised until now, neither any topic on this in google).
The text was updated successfully, but these errors were encountered:
IO::Async has both Build.PL (Build::Module) and Makefile.PL (MakeMaker) and it seems to build just fine for me using the MakeMaker path.
If you're not sure what to do, unpack IO::Async under ./cpan (so that you'd have ./cpan/IO-Async/Makefile.PL etc), then run configure and make.
Build-time XS dependencies can be stubbed, check cnf/stub/ for a few examples, but proper support for Module::Build would likely require a lot more work than that.
Hi!
I have several modules, in this io::async module required for my project, but it uses Build::Modules system to build.
My first try is compiling Build::Modules to support this, but Build::Modules uses XS modules from perl so it fails compiling.
Attempt to reload Scalar/Util.pm aborted.
Compilation failed in require at /home/kiepe/kiepe/bsp/platform-x86_64/build-target/perl-5.38.0/lib/Data/Dumper.pm line %.
So, I did try to built all static, it failed compiling
With --mode=cross
--prefix=/usr
--host=$(PTXCONF_GNU_TARGET)
--target=$(PTXCONF_GNU_TARGET)
-Dld=$(CROSS_CC)
-Dldflags=-static -Accflags=-fno-pie
--all-static
-Dusethreads
./miniperl_top statars B Devel::Peek Fcntl File::DosGlob File::Glob Hash::Util Hash::Util::FieldHash I18N::Langinfo Opcode POSIX PerlIO::encoding PerlIO::mmap PerlIO::scalar PerlIO::via SDBM_File Sys::Hostname XS::APItest XS::Typemap attributes mro re Compress::Raw::Bzip2 Compress::Raw::Zlib DB_File Digest::MD5 Digest::SHA Encode Filter::Util::Call IPC::SysV MIME::Base64 Math::BigInt::FastCalc List::Util Socket Sys::Syslog Time::Piece Unicode::Collate Data::Dumper Devel::PPPort IO Cwd Storable Time::HiRes Unicode::Normalize threads threads::shared > static.list
Can't find .a file for B
Did anyone had success to support Build::Modules since many projects are now using it, or am I looking for the wrong path? (It's strange no related issue raised until now, neither any topic on this in google).
The text was updated successfully, but these errors were encountered: