[Users] [Bug 4645] New: fatal error: EXTERN.h: No such file or directory

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Mon Oct 24 11:48:11 UTC 2022


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4645

            Bug ID: 4645
           Summary: fatal error: EXTERN.h: No such file or directory
           Product: Claws Mail
           Version: GIT
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Plugins/Perl
          Assignee: users at lists.claws-mail.org
          Reporter: lukasz.wojnilowicz at gmail.com

I get
"perl_plugin.c:54:10: fatal error: EXTERN.h: No such file or directory"
during compilation.

The bug occurs because PERL_CFLAGS is set to empty in configure.ac. 
It's set to empty because there is no MExtUtils::Embed on my system and
./configure script let me through.
I think that following line in configure.ac
PERL_CFLAGS=`perl -MExtUtils::Embed -e ccopts`
should be executed only after asserting that ExtUtils::Embed exists.

Typing following line in terminal:
"perl -MExtUtils::Embed"
and then "echo $?" gives me one of the following results:
1) "2" if I don't have ExtUtils::Embed
2) "0" if I do have ExtUtils::Embed

I kindly ask to fix it for future users who would like to compile CM
themselves.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list