pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: What am I doing wrong here?
Please stop TO:ing me and CC:ing the list. Just TO: the list. Otherwise I get your emails twice.
I did find config.log, and it contained, among other gems, this.
configure:3256: checking for gawk
configure:3283: result: /Packages/netbsd/bin/nawk
configure:3294: checking whether make sets $(MAKE)
configure:3316: result: yes
configure:3345: checking whether make supports nested variables
configure:3362: result: yes
configure:3507: checking for x86_64-unknown-freebsd12-gcc
configure:3534: result: clang
configure:3803: checking for C compiler version
configure:3812: clang --version >&5
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin
configure:3823: $? = 0
configure:3812: clang -v >&5
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin
configure:3823: $? = 0
configure:3812: clang -V >&5
clang: error: unsupported option '-V -Qunused-arguments'
clang: error: no input files
configure:3823: $? = 1
configure:3812: clang -qversion >&5
clang: error: unknown argument '-qversion', did you mean '--version'?
clang: error: no input files
configure:3823: $? = 1
configure:3843: checking whether the C compiler works
configure:3865: clang -O2 -Wl,-z,notext -I/usr/include -I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/Packages/netbsd/lib conftest.c >&5
configure:3869: $? = 0
configure:3917: result: yes
configure:3920: checking for C compiler default output file name
configure:3922: result: a.out
configure:3928: checking for suffix of executables
configure:3935: clang -o conftest -O2 -Wl,-z,notext -I/usr/include -I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/Packages/netbsd/lib conftest.c >&5
configure:3939: $? = 0
configure:3961: result:
configure:3983: checking whether we are cross compiling
configure:3991: clang -o conftest -O2 -Wl,-z,notext -I/usr/include -I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/Packages/netbsd/lib conftest.c >&5
configure:3995: $? = 0
configure:4002: ./conftest
/Packages/netbsd/ports/devel/libffi/work/libffi-3.3/x86_64-unknown-freebsd12/conftest: Cannot write-enable text segment: Permission denied
configure:4006: $? = 1
configure:4013: error: in `/Packages/netbsd/ports/devel/libffi/work/libffi-3.3/x86_64-unknown-freebsd12':
configure:4015: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
On Sat, 30 May 2020 08:25:11 +0100
Sad Clouds <cryintothebluesky%gmail.com@localhost> wrote:
> On Fri, 29 May 2020 19:57:20 -0700
> Ellenor Malik <ellenor%umbrellix.net@localhost> wrote:
>
> > configure: error: cannot run C compiled programs. If you meant to
> > cross compile, use `--host'. See `config.log' for more details ***
> > Error code 1
> >
>
> Exactly what the error message says - for some reason it could not run
> a test program. You need to look in config.log and find the line where
> the exact error is logged. Could be invalid compiler options or
> something else.
--
Ellenor Malik <ellenor%umbrellix.net@localhost>
Do not send off-list replies - they will be taken back on-list.
Home |
Main Index |
Thread Index |
Old Index