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
Error building nqp 2012.02 on NetBSD #2657
Comments
From smallm@panix.comI got this error building rakudo star 2012.01 and again with the latest cd 3rdparty/dyncall && BUILD_DIR=. make make: stopped in /usr/local/src/nqp/3rdparty/dyncall Stop. NetBSD's make (unlike OpenBSD's and FreeBSD's) doesn't look for -- |
From smallm@panix.com0001-Fix-build-problem-in-NetBSD.patchFrom f1b736029d356c04958b5e24230883a5cfe503af Mon Sep 17 00:00:00 2001
From: Mike Small <smallm@panix.com>
Date: Tue, 28 Feb 2012 23:10:52 -0500
Subject: [PATCH] Fix build problem in NetBSD. NetBSD's make doesn't look for
BSDmakefile. Dyncall manual says to build with -f
BSDmakefile. OpenBSD and FreeBSD should be fine as is,
since their makes do look for BSDmakefile.
---
Configure.pl | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Configure.pl b/Configure.pl
index 4eaf937..0fcf2d8 100644
--- a/Configure.pl
+++ b/Configure.pl
@@ -126,7 +126,11 @@ MAIN: {
$config{'dyncall_build'} = "cd 3rdparty/dyncall && $make BUILD_DIR=. -f GNUmakefile";
} else {
system_or_die('cd 3rdparty/dyncall && sh configure');
- $config{'dyncall_build'} = "cd 3rdparty/dyncall && BUILD_DIR=. $make";
+ if ($^O eq 'netbsd') {
+ $config{'dyncall_build'} = "cd 3rdparty/dyncall && BUILD_DIR=. $make -f BSDmakefile";
+ } else {
+ $config{'dyncall_build'} = "cd 3rdparty/dyncall && BUILD_DIR=. $make";
+ }
}
}
--
1.7.7.2
|
From @moritzThank you very much. I've applied the patch, it will be included in our |
@moritz - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#111426 (status was 'resolved')
Searchable as RT111426$
The text was updated successfully, but these errors were encountered: