Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

In Build.PL files of Some::Module that depends on Alien::MyLib, PkgConfig class code is not loaded #2

Closed
run4flat opened this Issue Apr 3, 2012 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

run4flat commented Apr 3, 2012

Although the package configuration information is correctly stored in Alien::MyLib::ConfigData, loading that configuration data does not properly load the PkgConfig class. For example, I am working on an Alien module called Alien::FFCall. The module that will use this Alien module, called simply FFI, has trouble with the Build.PL file, saying:

Can't locate object method "keyword" via package "Alien::Base::PkgConfig" at /home/visitors/dcmertens/perl5/lib/perl5/Alien/Base.pm line 86.
BEGIN failed--compilation aborted at Build.PL line 4.

@jberger jberger closed this in e6c9d9d Apr 3, 2012

@jberger jberger added a commit that referenced this issue Apr 3, 2012

@jberger jberger Merge pull request #3 from run4flat/master
I think this fixes issue #2. run4flat++
c2c7f13

@plicease plicease pushed a commit that referenced this issue Jul 17, 2017

@run4flat run4flat Load modules for pkgconfig blessed classes
Currently, pkgconfig objects (as stored in Alien::MyModule::ConfigData)
were properly pulling in their serialized selves and blessing
themselves into their proper ::PkgConfig classes. However, there
was no guarantee that the Perl module that implemented that class
was present. This change adds a check that runs through all
PkgConfig objects and loads the modules by the same name as their
blessing.

fixes #2
0dae6cd

@plicease plicease pushed a commit that referenced this issue Jul 17, 2017

@jberger jberger Merge pull request #3 from run4flat/master
I think this fixes issue #2. run4flat++
c915127

@plicease plicease pushed a commit that referenced this issue Jul 17, 2017

@run4flat run4flat Load modules for pkgconfig blessed classes
Currently, pkgconfig objects (as stored in Alien::MyModule::ConfigData)
were properly pulling in their serialized selves and blessing
themselves into their proper ::PkgConfig classes. However, there
was no guarantee that the Perl module that implemented that class
was present. This change adds a check that runs through all
PkgConfig objects and loads the modules by the same name as their
blessing.

fixes #2
97f543c

@plicease plicease pushed a commit that referenced this issue Jul 17, 2017

@jberger jberger Merge pull request #3 from run4flat/master
I think this fixes issue #2. run4flat++
fca0731

@plicease plicease pushed a commit that referenced this issue Jul 17, 2017

@run4flat run4flat Load modules for pkgconfig blessed classes
Currently, pkgconfig objects (as stored in Alien::MyModule::ConfigData)
were properly pulling in their serialized selves and blessing
themselves into their proper ::PkgConfig classes. However, there
was no guarantee that the Perl module that implemented that class
was present. This change adds a check that runs through all
PkgConfig objects and loads the modules by the same name as their
blessing.

fixes #2
68540f6

@plicease plicease pushed a commit that referenced this issue Jul 17, 2017

@jberger jberger Merge pull request #3 from run4flat/master
I think this fixes issue #2. run4flat++
6d8db98

@plicease plicease pushed a commit that referenced this issue Jul 17, 2017

@run4flat run4flat Load modules for pkgconfig blessed classes
Currently, pkgconfig objects (as stored in Alien::MyModule::ConfigData)
were properly pulling in their serialized selves and blessing
themselves into their proper ::PkgConfig classes. However, there
was no guarantee that the Perl module that implemented that class
was present. This change adds a check that runs through all
PkgConfig objects and loads the modules by the same name as their
blessing.

fixes #2
9300172

@plicease plicease pushed a commit that referenced this issue Jul 17, 2017

@jberger jberger Merge pull request #3 from run4flat/master
I think this fixes issue #2. run4flat++
5f1c7f2

@plicease plicease pushed a commit that referenced this issue Jul 17, 2017

@run4flat run4flat Alien-Base: Load modules for pkgconfig blessed classes
Alien-Base: 
Alien-Base: Currently, pkgconfig objects (as stored in Alien::MyModule::ConfigData)
Alien-Base: were properly pulling in their serialized selves and blessing
Alien-Base: themselves into their proper ::PkgConfig classes. However, there
Alien-Base: was no guarantee that the Perl module that implemented that class
Alien-Base: was present. This change adds a check that runs through all
Alien-Base: PkgConfig objects and loads the modules by the same name as their
Alien-Base: blessing.
Alien-Base: 
Alien-Base: fixes #2
333eee9

@plicease plicease pushed a commit that referenced this issue Jul 17, 2017

@jberger jberger Alien-Base: Merge pull request #3 from run4flat/master
Alien-Base: 
Alien-Base: I think this fixes issue #2. run4flat++
223bad0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment