bug-ncurses
[Top][All Lists]
Advanced

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

interaction of ncurses configure --prefix and --with-pc-suffix


From: G. Branden Robinson
Subject: interaction of ncurses configure --prefix and --with-pc-suffix
Date: Sun, 22 Oct 2023 14:09:33 -0500

Hi Thomas,

I attempted to configure ncurses as follows.

./configure \
        --prefix=$HOME/ncurses-HEAD \
        --with-shared \
        --with-cxx-shared \
        --with-hashed-db \
        --with-manpage-format=normal \
        --enable-pc-files \
        --with-pkg-config \
        --with-pc-suffix=GBRSUFFIX \
        --enable-widec \
        --enable-opaque-curses \
        --enable-opaque-form \
        --enable-opaque-menu \
        --enable-opaque-panel

I ran into a problem using `--with-pc-suffix=GBRSUFFIX` (you may guess
that I was merely testing things out).  When I later ran "make install",
the Makefile attempted to install not to $DESTDIR, but to the root
directory.

/usr/bin/install -c ncurses-config 
/home/branden/ncurses-HEAD/bin/ncursesw6-config
installing ncurseswGBRSUFFIX.pc
/usr/bin/install: cannot create regular file 
'/usr/lib/x86_64-linux-gnu/pkgconfig/ncurseswGBRSUFFIX.pc': Permission denied
installing ncurseswGBRSUFFIX.pc
/usr/bin/install: cannot create regular file 
'/usr/lib/x86_64-linux-gnu/pkgconfig/ncurseswGBRSUFFIX.pc': Permission denied

(Also, I'm not sure why the installation was attempted twice.)

For completeness, here are the other error messages, but I don't expect
them to shed much further light.

installing panelwGBRSUFFIX.pc
/usr/bin/install: cannot create regular file 
'/usr/lib/x86_64-linux-gnu/pkgconfig/panelwGBRSUFFIX.pc': Permission denied
installing menuwGBRSUFFIX.pc
/usr/bin/install: cannot create regular file 
'/usr/lib/x86_64-linux-gnu/pkgconfig/menuwGBRSUFFIX.pc': Permission denied
installing formwGBRSUFFIX.pc
/usr/bin/install: cannot create regular file 
'/usr/lib/x86_64-linux-gnu/pkgconfig/formwGBRSUFFIX.pc': Permission denied
installing ncurses++wGBRSUFFIX.pc
/usr/bin/install: cannot create regular file 
'/usr/lib/x86_64-linux-gnu/pkgconfig/ncurses++wGBRSUFFIX.pc': Permission denied
make[1]: *** [Makefile:150: install] Error 1

Is this a bug?  It kind of feels like one to me.

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

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