Hi Danny, Thanks for all your patches.
On 27/07/16 08:50, Danny Milosavljevic wrote:
Hi, I'm trying to package spamassassin. I've got it to work with $ guix build -S spamassassin ... extract it $ guix environment --pure spamassassin $ perl Makefile.PL PREFIX=/gnu/store/37hdpcyz1b6y5jjwzdmxw14gd1xsf9fv-spamassassin-3.4.1 INSTALLDIRS=site $ make ... works fine. But $ guix package -i spamassassin fails with: ... checking for h_errno... yes checking for in_addr_t... yes checking for INADDR_NONE... yes checking for EX__MAX... yes checking for EAI_ADDRFAMILY... no checking for EAI_SYSTEM... (cached) no checking for EAI_NODATA... (cached) no configure: creating ./config.status ./configure: line 5848: /bin/sh: No such file or directory
This seems to be the error here. Is "/bin/sh" hard-coded into a file somewhere? This path exists outside the build environment, but doesn't inside, potentially explaining why compilation works outside but not inside.
ben