bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Permission denied to invoking the compiler


From: Thomas Dickey
Subject: Re: Permission denied to invoking the compiler
Date: Mon, 15 Aug 2022 03:55:15 -0400
User-agent: Mutt/1.10.1 (2018-07-13)

On Sun, Aug 14, 2022 at 09:38:50PM -0500, G. Branden Robinson wrote:
> At 2022-08-14T22:05:44-0300, alexandre schenberg wrote:
> > Hello. While trying to compile ncurses, I am confronted with this
> > error message:
> > 
> > "make[1]: execvp: /media/34GB/Arquivos-de-Programas-Linux/Gcc-4.9.4/bin/: 
> > Permission denied
> > make[1]: *** [make_hash] Error 127"
> > 
> > I am building it with:
> > 
> > "CFLAGS=-m32 ./configure --host=i686-gnu-linux 
> > --with-build-cc=/media/34GB/Arquivos-de-Programas-Linux/Gcc-4.9.4/bin/"   
> > 
> > What can be the cause of the error? There is no restriction whatsoever
> > to call gcc 
> 
> The configure script is probably expecting a file, not a directory, as
> the argument to the `--with-build-cc` option.

sure - "INSTALL" lists separate options for each feature that would be
used in makefile variables, e.g., CC, CFLAGS, CPP, CPPFLAGS, LDFLAGS
and LIBS:

    --with-build-cc=XXX
    --with-build-cflags=XXX
    --with-build-cpp=XXX
    --with-build-cppflags=XXX
    --with-build-ldflags=XXX
    --with-build-libs=XXX

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]