Hi, I want to make a pkgsrc package of lldpd (http://vincentbernat.github.io/lldpd/index.html) because there seems to be no suitable LLDP implementation in pkgsrc. I have a problem with the configure phase. pkg-tool doesn't see libevent and check from configure script: configure:20350: $PKG_CONFIG --exists --print-errors "check >= 0.9.4" Package check was not found in the pkg-config search path. Perhaps you should add the directory containing `check.pc' to the PKG_CONFIG_PATH environment variable No package 'check' found configure:20410: $PKG_CONFIG --exists --print-errors "libevent >= 2.0.5" Package libevent was not found in the pkg-config search path. Perhaps you should add the directory containing `libevent.pc' to the PKG_CONFIG_PATH environment variable No package 'libevent' found in config.log I see these variables are set correctly: ac_cv_env_PKG_CONFIG_value=/usr/pkgsrc/net/lldpd/work/.tools/bin/pkg-config ac_cv_env_PKG_CONFIG_LIBDIR_value=/usr/pkgsrc/net/lldpd/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/net/lldpd/work/.buildlink/share/pkgconfig but these are not: ac_cv_env_PKG_CONFIG_PATH_set=set ac_cv_env_PKG_CONFIG_PATH_value= And thus the pkg-config from tools in work doesn't see check and libevent. There's also a problem with libreadline: ld: cannot find -lreadline Any hints are appreciated, this is my first pkgsrc package. I've attached my Makefile. Regards, -- Bartek Krawczyk network and system administrator
Attachment:
Makefile
Description: Binary data