You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have packaged (a patched version of) DBD::SQLite as DBD-SQLite-1.71_06.tar.gz using make dist. I'm now trying to load that from the cpanfile:
requires 'Carp';
requires 'DBI' => '== 1.643';
#requires 'DBD::SQLite' => '>= 1.71_06';
#requires 'DBD::SQLite';
requires '/home/corion/Projekte/DBD-SQLite/DBD-SQLite-1.71_06.tar.gz'; # until there is a release with the fts5 support we want
requires 'DBIx::RunSQL';
requires 'PadWalker';
This fails but doesn't output any helpful diagnostics as to why.
Installing the archive directly using cpanm works:
corion@outerlimits:~/Projekte/Filesys-DB$ cpanm /home/corion/Projekte/DBD-SQLite/DBD-SQLite-1.71_06.tar.gz
--> Working on /home/corion/Projekte/DBD-SQLite/DBD-SQLite-1.71_06.tar.gz
Fetching file:///home/corion/Projekte/DBD-SQLite/DBD-SQLite-1.71_06.tar.gz ... OK
Configuring DBD-SQLite-1.71_06 ... OK
Building and testing DBD-SQLite-1.71_06 ... OK
Successfully installed DBD-SQLite-1.71_06
1 distribution installed
carmel install fails with:
$ carmel install
...
---> Installing new dependencies: /home/corion/Projekte/DBD-SQLite/DBD-SQLite-1.71_06.tar.gz
Successfully installed DBI-1.643
Successfully installed DBD-SQLite-1.71_06
! Installing the dependencies failed: Module '/home/corion/Projekte/DBD-SQLite/DBD-SQLite-1.71_06.tar.gz' is not installed
! Bailing out the installation for Filesys-DB-0.01.
2 distributions installed
Using Alien::Build (2.68)
...
Is there anything that I can do to better diagnose that? Likely I'm doing something wrong, but I don't know how to get carmel to provide more details on what goes wrong...
The repo where my files live in is at [https://github.com/Corion/Filesys-DB].
The text was updated successfully, but these errors were encountered:
Ah - sorry for the noise! I had seen that issue but failed to make the connection!
I assume that the same holds true for installing from a git repository or Github?
I guess a workaround would be to do dev releases to CPAN and have those in my cpanfile, but is there anything I can do to help Carmel work with tarfiles or other things not in a CPAN mirror?
I guess a workaround would be to do dev releases to CPAN and have those in my cpanfile,
yes, that'd work just fine.
Alternatively you could use some of the CPAN mirror creation tools like App::opan and use the mirror URL for it, but that might be overkill and the user experience is not as nice as you could if you can simply override it via requires options.
I have packaged (a patched version of) DBD::SQLite as
DBD-SQLite-1.71_06.tar.gz
usingmake dist
. I'm now trying to load that from thecpanfile
:This fails but doesn't output any helpful diagnostics as to why.
Installing the archive directly using
cpanm
works:carmel install
fails with:Is there anything that I can do to better diagnose that? Likely I'm doing something wrong, but I don't know how to get
carmel
to provide more details on what goes wrong...The repo where my files live in is at [https://github.com/Corion/Filesys-DB].
The text was updated successfully, but these errors were encountered: