-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-Dextras not being handled #80
Comments
Download the modules you need, and unpack them into cpan/ before running configure. Upon invocation, configure will pick all modules present in cpan/, whether or not they are listed in MANIFEST. No extra arguments are needed to trigger that. Just to be sure, check perl-cross itself will not download anything from CPAN, it has to be done externally. |
That explains, thnx a lot! Will give it a try. |
No, configure doesn't really handle dependencies even for the core modules. It's up to you to download all soft (run-time) dependencies for you modules. The order in which soft dependencies are built is not important anyway, as long as all of them end up in the target installation. Hard (build-time) dependencies, when module A cannot be built before module B, are generally incompatible with cross-compiling and require fixing the modules somehow. This is because module B will be built for the target while whatever code in A needs it would have to run on the build host with miniperl instead of full perl. Check miniperl_top and cnf/stubs/ to see how hard dependencies on core modules are handled currently. |
I eneded-up creating a script that uses Sadly that didn't worked out. The |
The modules should be in Version suffix should not prevent it from picking the modules up, but I just checked and it looks like versioned modules end up disabled. Must be a bug somewhere. Version suffixes would mess up values in config.sh anyway, so maybe try renaming the directories to match mainline perl naming scheme there. |
Removing the trailing version number solved it. And indeed it is the Dependency issues gets hit real hard real fast such as: Initial solution was to build modules directly on the end-state platform using my crossed-built version (e.g. creating a synology package from a VM) but I hit the following on some essential modules I need:
So I end-up being stuck both-ways (unable to cross-build modules & unable to locally build modules)... Perhaps there is an easy fix you found previous that could help out for the |
Quick look at The best I can tell, |
Again thnx for the quick reply. |
I've been trying to get perl to compile against spksrc for synology NAS. Gladly I've found your project and pretty much everything started working (just wow!).
I have one issue pending related to compiling extras modules. It seems I just can't get the -Dextras="ABC::DEF" to be handled in order to get all necessary modules to be built.
Any hints you might have to help help? Thnx in advance!
The text was updated successfully, but these errors were encountered: