C compiler x86_64-rumprun-netbsd-gcc is not found

  • From: Andrew Stuart <andrew.stuart@xxxxxxxxxxxxxxxxxx>
  • To: rumpkernel-users <rumpkernel-users@xxxxxxxxxxxxx>
  • Date: Thu, 23 Jul 2015 23:37:45 +1000

I’m trying to compile nginx and I seem to be doing something wrong. As you can
see from below, I have the rumprun app-tools on my path, a “which” says it can
find x86_64-rumprun-netbsd-gcc, the config.mk has what I think is the correct
tuple in it. make however says: "./configure: error: C compiler
x86_64-rumprun-netbsd-gcc is not found”

Any suggestions appreciated.

See command output here:

ubuntu@ip-10-0-0-125:~/rumprun-packages/nginx$ env | grep PATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/ubuntu/rumprun/app-tools:/home/ubuntu/rumprun/app-tools



ubuntu@ip-10-0-0-125:~/rumprun-packages/nginx$ which x86_64-rumprun-netbsd-gcc
/home/ubuntu/rumprun/app-tools/x86_64-rumprun-netbsd-gcc




ubuntu@ip-10-0-0-125:~/rumprun-packages/nginx$ cat ../config.mk
#
# rumprun-packages "configuration"
#

# Set to the name of the rumprun compiler toolchain you want to use for
# building pakcages. (eg. x86_64-rumprun-netbsd, i486-rumprun-netbsdelf).
RUMPRUN_TOOLCHAIN_TUPLE=x86_64-rumprun-netbsd

ubuntu@ip-10-0-0-125:~/rumprun-packages/nginx$



ubuntu@ip-10-0-0-125:~/rumprun-packages/nginx$ make
mkdir -p build
(cd build && tar -xz --strip-components 1 -f ../dl/nginx-1.8.0.tar.gz)
(cd build; ngx_force_c_compiler=yes ngx_force_c99_have_variadic_macros=yes
ngx_force_gcc_have_variadic_macros=yes ngx_force_gcc_have_atomic=yes
ngx_force_have_libatomic=no ngx_force_sys_nerr=100 ngx_force_have_map_anon=yes
ngx_force_have_map_devzero=no ngx_force_have_timer_event=yes
ngx_force_have_posix_sem=yes ./configure --crossbuild=NetBSD
--with-cc=x86_64-rumprun-netbsd-gcc --prefix=/none
--conf-path=/data/conf/nginx.conf --sbin-path=/none --pid-path=/tmp/nginx.pid
--lock-path=/tmp/nginx.lock --error-log-path=/tmp/error.log
--http-log-path=/tmp/access.log --http-client-body-temp-path=/tmp/client-body
--http-proxy-temp-path=/tmp/proxy --http-fastcgi-temp-path=/tmp/fastcgi
--http-scgi-temp-path=/tmp/scgi --http-uwsgi-temp-path=/tmp/uwsgi
--without-http_rewrite_module --with-http_ssl_module --with-ipv6)
building for NetBSD
checking for C compiler ... found but is not working

./configure: error: C compiler x86_64-rumprun-netbsd-gcc is not found

make: *** [build/Makefile] Error 1
ubuntu@ip-10-0-0-125:~/rumprun-packages/nginx$


Other related posts: