```
[ 1%] Building C object misc/CMakeFiles/libmisc.dir/fts.c.o
In file included from misc/fts.c:76:
misc/system.h:87:11: fatal error: 'libintl.h' file not found
```
Added to misc/CMakeLists.txt:
`target_include_directories(libmisc PRIVATE ${Intl_INCLUDE_DIRS})`
```
[ 2%] Building C object
rpmio/rpmpgp_legacy/CMakeFiles/rpmpgp_legacy.dir/rpmpgp_internal.c.o
In file included from rpmio/rpmpgp_legacy/rpmpgp_internal.c:6:
misc/system.h:87:11: fatal error: 'libintl.h' file not found
```
Added to rpmio/rpmpgp_legacy/CMakeLists.txt:
`target_include_directories(rpmpgp_legacy PRIVATE ${Intl_INCLUDE_DIRS})`
```
[ 88%] Building C object python/CMakeFiles/_rpm.dir/rpmmodule.c.o
In file included from python/rpmmodule.c:26:
In file included from python/spec-py.h:4:
In file included from include/rpm/rpmbuild.h:9:
include/rpm/rpmcli.h:10:10: fatal error: 'popt.h' file not found
```
Added to python/CMakeLists.txt:
`target_include_directories(_rpm PRIVATE ${POPT_INCLUDE_DIRS})`
And then everything worked.
I think that last one got hidden when we tried globally including
Intl_INCLUDE_DIRS, just because it's `/usr/local/include` which includes a copy
of popt.h too.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2807#issuecomment-1864630360
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2807/1864630...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint