Skip to content

make doesn't seem to use g++ for perl-Wx (perl-module) #627

@Gigahawk

Description

@Gigahawk

System

  • xuname:
    • Void 4.16.14_1 x86_64 GenuineIntel notuptodate rrm

I'm trying to create a template for the Wx module on CPAN.

Running ./xbps-src install perl-Wx fails in do_build() with lines like

/usr/include/wx-3.0/wx/buffer.h:19:1: error: unknown type name 'class'; did you mean 'OPclass'?
 class WXDLLIMPEXP_FWD_BASE wxCStrData;
 ^~~~~
 OPclass
/usr/include/wx-3.0/wx/buffer.h:27:1: error: unknown type name 'namespace'; did you mean 'isspace'?
 namespace wxPrivate
 ^~~~~~~~~
 isspace
/usr/include/wx-3.0/wx/stringimpl.h:66:10: fatal error: string: No such file or directory
 #include <string>
          ^~~~~~~~

This looks like the compiler is trying to compile C++ files with gcc instead of g++.

Full log: https://pastebin.com/CbRgcXi5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions