On Thu, Oct 27, 2022 at 09:36:21PM +0200, Christian Melki wrote:
> On 10/27/22 20:50, Bruno Thomsen wrote:
> > Has anyone experienced issues with ncurses 6.3?
> > Project is using OSELAS.Toolchain 2021.07 and ptxdist 2022.10.0.
> > 
> > /Bruno
> > 
> > -------8<-----------
> > 
> > -----------------------
> > target: ncurses.prepare
> > -----------------------
> > 
> > Removing files from sysroot...
> > 
> > configure: loading site script /usr/share/config.site
> > checking for ggrep... no
> > checking for grep... grep
> > checking for egrep... grep -E
> > Configuring NCURSES 6.3 ABI 6 (Thu Oct 27 11:56:05 UTC 2022)
> > checking for package version... 6.3
> > checking for package patch date... 20211021
> > checking build system type... x86_64-host-linux-gnu
> > checking host system type... arm-v7a-linux-gnueabihf
> > checking target system type... arm-v7a-linux-gnueabihf
> > Configuring for linux-gnueabihf
> > checking for fgrep... grep -F
> > checking for prefix... /usr
> > checking for arm-v7a-linux-gnueabihf-gcc... arm-v7a-linux-gnueabihf-gcc
> > checking for C compiler default output... a.out
> > checking whether the C compiler works... yes
> > checking whether we are cross compiling... yes
> > checking for executable suffix...
> > checking for object suffix... o
> > checking whether we are using the GNU C compiler... yes
> > checking whether arm-v7a-linux-gnueabihf-gcc accepts -g... yes
> > checking version of arm-v7a-linux-gnueabihf-gcc... 7
> > checking if this is really Intel C compiler... no
> > checking if this is really Clang C compiler... no
> > checking for arm-v7a-linux-gnueabihf-gcc option to accept ANSI C... none 
> > needed
> > checking $CFLAGS variable... ok
> > checking $CC variable... ok
> > checking how to run the C preprocessor... arm-v7a-linux-gnueabihf-gcc -E
> > checking whether arm-v7a-linux-gnueabihf-gcc needs -traditional... no
> > checking whether arm-v7a-linux-gnueabihf-gcc understands -c and -o
> > together... yes
> > checking if you want to ensure bool is consistent with C++... no
> > checking if you want to build C++ binding and demo... no
> > checking if you want to build with Ada... no
> > checking if you want to install terminal database... yes
> > checking if you want to install manpages... no
> > checking if you want to build programs such as tic... no
> > checking if you want to build test-programs... no
> > checking if you wish to install curses.h... yes
> > checking for mawk... no
> > checking for gawk... gawk
> > checking for a BSD compatible install...
> > /usr/local/lib/ptxdist-2022.10.0/bin/install -c
> > checking for lint... no
> > checking for cppcheck... no
> > checking for splint... no
> > checking whether ln -s works... yes
> > checking if ln -s -f options work... yes
> > checking for long file names... yes
> > checking if you want to use pkg-config... yes
> > checking for arm-v7a-linux-gnueabihf-pkg-config...
> > /home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config
> > checking for 
> > /home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config
> > library directory... checking for first directory... none
> > checking if we should install .pc files for
> > /home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config...
> > yes
> > configure: error: expected a pathname, not ""
> 
> Does your config.log contain more information?

Indeed, and do you have a local ncurses.make? The upstream rule explicitly
specifies this path with
--with-pkg-config-libdir=/usr/$(CROSS_LIB_DIR)/pkgconfig
if I read the configure script correctly.

Michael

> > make: *** 
> > [/usr/local/lib/ptxdist-2022.10.0/rules/post/ptxd_make_world_prepare.make:24:
> > /home/bth/gitlab/rockhopper/ptxdist/platform-tqma7/state/ncurses.prepare]
> > Error 1
> > 
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

Reply via email to