You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I received a report from a pkgsrc user who wanted to build Hercules on their aarch64 machine.
They had built and installed the 4 helper libraries (extpkgs) in /usr/pkg/lib/hercules4sdl/lib and correspondingly passed the option --enable-extpkgs=/usr/pkg/lib/hercules4sdl to configure.
3162 if test "${hc_cv_extpkg_dir}" != ""; then
3163 crypto_pkgdir="${hc_cv_extpkg_dir}"
3164 else
3165 crypto_pkgdir="${srcdir}/${crypto_pkgname}"
3166 fi
3167
3168 crypto_incdir="${crypto_pkgdir}/include"
3169 crypto_libdir="${crypto_pkgdir}/lib${hc_cv_pkg_lib_subdir}"
...
3298 LDFLAGS="$LDFLAGS -L${crypto_libdir}"
So what's happening here is that if the Hercules source package contains pre-compiled libraries, they would be in "${srcdir}/${crypto_pkgname}"/"lib${hc_cv_pkg_lib_subdir}" from lines 3165 and 3169.
Currently there are only IA32/IA64 binaries in there, but that's kind of beside the point. It's for "future expansion", let's say.
Unfortunately this effectively means that the directory specified by --enable-extpkgs is not obeyed.
What would be a good way out of this?
Something like this
3162 if test "${hc_cv_extpkg_dir}" != ""; then
3163 crypto_pkgdir="${hc_cv_extpkg_dir}"
crypto_libdir="${crypto_pkgdir}/lib"
3164 else
3165 crypto_pkgdir="${srcdir}/${crypto_pkgname}"
crypto_libdir="${crypto_pkgdir}/lib${hc_cv_pkg_lib_subdir}"
3166 fi
3167
3168 crypto_incdir="${crypto_pkgdir}/include"
times 4?
The text was updated successfully, but these errors were encountered:
I received a report from a pkgsrc user who wanted to build Hercules on their aarch64 machine.
They had built and installed the 4 helper libraries (extpkgs) in
/usr/pkg/lib/hercules4sdl/lib
and correspondingly passed the option--enable-extpkgs=/usr/pkg/lib/hercules4sdl
to configure.Nevertheless the build did not find them.
When I examined
configure.ac
I found this:and further down
So what's happening here is that if the Hercules source package contains pre-compiled libraries, they would be in
"${srcdir}/${crypto_pkgname}"/"lib${hc_cv_pkg_lib_subdir}"
from lines 3165 and 3169.Currently there are only IA32/IA64 binaries in there, but that's kind of beside the point. It's for "future expansion", let's say.
Unfortunately this effectively means that the directory specified by
--enable-extpkgs
is not obeyed.What would be a good way out of this?
Something like this
times 4?
The text was updated successfully, but these errors were encountered: