Missing header when compiling the Perl plugin

Bug #1408003 reported by Mat on 2015-01-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I get the following error when following the build instructions:

make -C ./perl -f Makefile.mingw
make[3]: Entering directory '/somewhere/pidgin.build.32/libpurple/plugins/perl'

gcc.exe -O2 -Wall -Waggregate-return -Wcast-align -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wextra -Wno-sign-compare -Wno-unused-parameter -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-comment -Wstack-protector -fwrapv -fno-strict-overflow -Wno-missing-field-initializers -Wformat-security -fstack-protector-all --param ssp-buffer-size=1 -pipe -mms-bitfields -g -DBUILD_DATE=\"20150106\" -DENABLE_UPDATE_CHECK -include ws2tcpip.h -DHAVE_CYRUS_SASL -DHAVE_CONFIG_H -I. -I../../.. -I../../../libpurple -I../../../libpurple/win32 -I/mingw32/include -I/mingw32/include/glib-2.0 -I/mingw32/lib/glib-2.0/include -I/mingw32/lib/CORE -o perl.o -c perl.c

perl.c:45:20: fatal error: EXTERN.h: No such file or directory
 #include <EXTERN.h>
compilation terminated.
../../../libpurple/win32/rules.mak:4: recipe for target 'perl.o' failed
make[3]: *** [perl.o] Error 1
make[3]: Leaving directory '/somewhere/pidgin.build.32/libpurple/plugins/perl'
Makefile.mingw:48: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/somewhere/pidgin.build.32/libpurple/plugins'
make[1]: *** [all] Error 2
Makefile.mingw:135: recipe for target 'all' failed
make[1]: Leaving directory '/somewhere/pidgin.build.32/libpurple'
Makefile.mingw:126: recipe for target 'all' failed
make: *** [all] Error 2

Mat (mberchtold) wrote :

It looks like a missing include path to the perl includes.

Mat (mberchtold) on 2015-01-06
summary: - compilation fails
+ compilation failed: extern.h missing
summary: - compilation failed: extern.h missing
+ perl plugin compilation fails: extern.h missing
summary: - perl plugin compilation fails: extern.h missing
+ Missing header when compiling the Perl plugin
Renato Silva (renatosilva) wrote :

It looks like you have upgraded the perl package to 5.20 but tried to build a Pidgin++ revision that wanted perl 5.18. Your include flag -I/mingw32/lib/CORE is supposed to work for the old package but new one needs -I/mingw32/lib/perl5/core_perl/CORE instead. Please try building the latest revision with latest MSYS2 packages.

Changed in pidgin++:
status: New → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for Pidgin++ because there has been no activity for 60 days.]

Changed in pidgin++:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers