Google Groups Home
Help | Sign in
SQL::Translator dependency failing
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Marvin Humphrey  
View profile
 More options Jul 21 2007, 3:13 am
From: Marvin Humphrey <mar...@rectangular.com>
Date: Sat, 21 Jul 2007 00:13:22 -0700
Local: Sat, Jul 21 2007 3:13 am
Subject: SQL::Translator dependency failing
Greets,

A while ago, I tried installing the JSAN distro via CPAN, but I gave
up because at least one dependency failed.  I've now come back and
tried it again... still failing.

The problematic dependency seems to be SQL::Translator, on both Perl
5.8.6 OS X and Perl 5.8.7 FreeBSD.  I spelunked the JSAN code, and it
doesn't look like this is required for very much.  But at build time
it pulls in a lot of heavy duty dependencies... then fails.

Any chance that the JSAN shell might be rewritten to avoid
SQL::Translator?  I wish I had sufficient Class::DBI-fu to supply a
patch...

Marvin Humphrey
Rectangular Research
http://www.rectangular.com/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Cappiello  
View profile
 More options Jul 23 2007, 5:41 pm
From: John Cappiello <j...@apt202.net>
Date: Mon, 23 Jul 2007 17:41:37 -0400
Local: Mon, Jul 23 2007 5:41 pm
Subject: Re: SQL::Translator dependency failing

On Sat, Jul 21, 2007 at 12:13:22AM -0700, Marvin Humphrey wrote:
> Any chance that the JSAN shell might be rewritten to avoid
> SQL::Translator?  I wish I had sufficient Class::DBI-fu to supply a
> patch...

Marvin, I'll dive in, and see if I can isolate the dependency.  I was
considering a migration to DBIx::Class at some point anyway, perhaps now
might be a good time. We'll see.  

Have you tried JSAN::Client ?  There are a few JSAN clients, which only
adds to this confusion.

Thank, (big fan of Kinosearch btw).

John Cappiello

--
jcap


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Cappiello  
View profile
 More options Jul 23 2007, 5:52 pm
From: John Cappiello <j...@apt202.net>
Date: Mon, 23 Jul 2007 17:52:32 -0400
Local: Mon, Jul 23 2007 5:52 pm
Subject: Re: SQL::Translator dependency failing

On Mon, Jul 23, 2007 at 05:41:37PM -0400, John Cappiello wrote:
> Have you tried JSAN::Client ?  There are a few JSAN clients, which only
> adds to this confusion.

Oops, meant JSAN::Shell2

--
jcap


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marvin Humphrey  
View profile
 More options Jul 23 2007, 6:57 pm
From: Marvin Humphrey <mar...@rectangular.com>
Date: Mon, 23 Jul 2007 15:57:46 -0700
Local: Mon, Jul 23 2007 6:57 pm
Subject: Re: SQL::Translator dependency failing

On Jul 23, 2007, at 2:41 PM, John Cappiello wrote:

> Marvin, I'll dive in, and see if I can isolate the dependency.  I was
> considering a migration to DBIx::Class at some point anyway,  
> perhaps now
> might be a good time. We'll see.

The dependency is buried in JSAN::Indexer::Creator:

   use Class::DBI::DATA::Schema translate => [ 'MySQL', 'SQLite' ];

This is what the Class::DBI::DATA::Schema docs have to say:

   =head1 TRANSLATION and CACHING

   There are undocumented arguments that will allow this module to
   translate the SQL from one database schema to another, and also
   to cache the result of that translation. People are relying on
   these, so they're not going to go away, but you're going to need
   to read the source and/or the tests to work out how to use them.

The actual calls to SQL::Translator methods appear in  
Class::DBI::DATA::Schema->import.

For giggles, the dependency tree for the JSAN module is below,  
generated by the deptree app (see Module::Depends::Tree on CPAN).  
Several dependencies will go away if SQL::Translator does.  Of course  
DBIx::Class will pull in others; its dependency tree is also below  
for comparison.

> Have you tried JSAN::Client ?  There are a few JSAN clients, which  
> only
> adds to this confusion.

Nope, didn't know about that.  My mind was constrained by the "CPAN  
is JSAN is CPAN is JSAN" metaphor and never made it to "where's  
JSANPLUS?".  Especially since the CPAN module still gets the job done  
for me.  :)

> Thank, (big fan of Kinosearch btw).

Thanks!

Marvin Humphrey
Rectangular Research
http://www.rectangular.com/

---------------------------------------------------------
deptree for JSAN:

JSAN
     Class::Accessor::Fast
     Class::DBI
         Class::Accessor
         Class::Data::Inheritable
         Class::Trigger
             IO::Scalar
         Clone
         Ima::DBI
             Class::Data::Inheritable
             DBI
             DBIx::ContextualFetch
                 DBI
         UNIVERSAL::moniker
         version
     Class::DBI::DATA::Schema
         Class::DBI
             Class::Accessor
             Class::Data::Inheritable
             Class::Trigger
                 IO::Scalar
             Clone
             Ima::DBI
                 Class::Data::Inheritable
                 DBI
                 DBIx::ContextualFetch
                     DBI
             UNIVERSAL::moniker
             version
     Class::DBI::Loader
         Class::DBI
             Class::Accessor
             Class::Data::Inheritable
             Class::Trigger
                 IO::Scalar
             Clone
             Ima::DBI
                 Class::Data::Inheritable
                 DBI
                 DBIx::ContextualFetch
                     DBI
             UNIVERSAL::moniker
             version
         DBI
         Lingua::EN::Inflect
     Class::DBI::Loader::SQLite
         Class::DBI
             Class::Accessor
             Class::Data::Inheritable
             Class::Trigger
                 IO::Scalar
             Clone
             Ima::DBI
                 Class::Data::Inheritable
                 DBI
                 DBIx::ContextualFetch
                     DBI
             UNIVERSAL::moniker
             version
         DBI
         Lingua::EN::Inflect
     Class::DBI::SQLite
         Class::DBI
             Class::Accessor
             Class::Data::Inheritable
             Class::Trigger
                 IO::Scalar
             Clone
             Ima::DBI
                 Class::Data::Inheritable
                 DBI
                 DBIx::ContextualFetch
                     DBI
             UNIVERSAL::moniker
             version
         DBD::SQLite
             DBI
         Ima::DBI
             Class::Data::Inheritable
             DBI
             DBIx::ContextualFetch
                 DBI
     DBD::SQLite
         DBI
     ExtUtils::AutoInstall
     LWP::Simple
         Compress::Zlib
             Compress::Raw::Zlib
             IO::Compress::Base
             IO::Compress::Base::Common
             IO::Compress::Gzip
                 Compress::Raw::Zlib
                 IO::Compress::Base
                 IO::Uncompress::Base
             IO::Compress::Gzip::Constants
                 Compress::Raw::Zlib
                 IO::Compress::Base
                 IO::Uncompress::Base
             IO::Uncompress::Base
             IO::Uncompress::Gunzip
                 Compress::Raw::Zlib
                 IO::Compress::Base
                 IO::Uncompress::Base
         HTML::Parser
             HTML::Tagset
         HTML::Tagset
         URI
     SQL::Translator
         Class::Base
         Class::Data::Inheritable
         Class::MakeMethods
         Log::Log4perl
         Parse::RecDescent
         Test::Differences
             Text::Diff
                 Algorithm::Diff
         Test::Exception
             Sub::Uplevel
             Test::Builder::Tester
         YAML
     Test::Differences
         Text::Diff
             Algorithm::Diff
     XML::XPath
         XML::Parser
     YAML

Number of times each module is used
   2 Algorithm::Diff
   5 Class::Accessor
     Class::Accessor::Fast
     Class::Base
   5 Class::DBI
     Class::DBI::DATA::Schema
     Class::DBI::Loader
     Class::DBI::Loader::SQLite
     Class::DBI::SQLite
12 Class::Data::Inheritable
     Class::MakeMethods
   5 Class::Trigger
   5 Clone
   4 Compress::Raw::Zlib
     Compress::Zlib
   2 DBD::SQLite
16 DBI
   6 DBIx::ContextualFetch
     ExtUtils::AutoInstall
     HTML::Parser
   2 HTML::Tagset
   4 IO::Compress::Base
     IO::Compress::Base::Common
     IO::Compress::Gzip
     IO::Compress::Gzip::Constants
   5 IO::Scalar
   4 IO::Uncompress::Base
     IO::Uncompress::Gunzip
   6 Ima::DBI
     JSAN
     LWP::Simple
   2 Lingua::EN::Inflect
     Log::Log4perl
     Parse::RecDescent
     SQL::Translator
     Sub::Uplevel
     Test::Builder::Tester
   2 Test::Differences
     Test::Exception
   2 Text::Diff
   5 UNIVERSAL::moniker
     URI
     XML::Parser
     XML::XPath
   2 YAML
   5 version

46 total modules

Algorithm-Diff-1.1902.tar.gz
     Algorithm::Diff
Class-Accessor-0.31.tar.gz
     Class::Accessor
     Class::Accessor::Fast
Class-Base-0.03.tar.gz
     Class::Base
Class-DBI-DATA-Schema-1.00.tar.gz
     Class::DBI::DATA::Schema
Class-DBI-Loader-0.32.tar.gz
     Class::DBI::Loader
     Class::DBI::Loader::SQLite
Class-DBI-SQLite-0.11.tar.gz
     Class::DBI::SQLite
Class-DBI-v3.0.16.tar.gz
     Class::DBI
Class-Data-Inheritable-0.06.tar.gz
     Class::Data::Inheritable
Class-MakeMethods-1.01.tar.gz
     Class::MakeMethods
Class-Trigger-0.11.tar.gz
     Class::Trigger
Clone-0.25.tar.gz
     Clone
Compress-Raw-Zlib-2.005.tar.gz
     Compress::Raw::Zlib
Compress-Zlib-2.005.tar.gz
     Compress::Zlib
DBD-SQLite-1.13.tar.gz
     DBD::SQLite
DBI-1.58.tar.gz
     DBI
DBIx-ContextualFetch-1.03.tar.gz
     DBIx::ContextualFetch
ExtUtils-AutoInstall-0.63.tar.gz
     ExtUtils::AutoInstall
HTML-Parser-3.56.tar.gz
     HTML::Parser
HTML-Tagset-3.10.tar.gz
     HTML::Tagset
IO-Compress-Base-2.005.tar.gz
     IO::Compress::Base
     IO::Compress::Base::Common
     IO::Uncompress::Base
IO-Compress-Zlib-2.005.tar.gz
     IO::Compress::Gzip
     IO::Compress::Gzip::Constants
     IO::Uncompress::Gunzip
IO-stringy-2.110.tar.gz
     IO::Scalar
Ima-DBI-0.35.tar.gz
     Ima::DBI
JSAN-0.07.tar.gz
     JSAN
Lingua-EN-Inflect-1.89.tar.gz
     Lingua::EN::Inflect
Log-Log4perl-1.12.tar.gz
     Log::Log4perl
Parse-RecDescent-1.94.tar.gz
     Parse::RecDescent
SQL-Translator-0.08.tar.gz
     SQL::Translator
Sub-Uplevel-0.14.tar.gz
     Sub::Uplevel
Test-Differences-0.47.tar.gz
     Test::Differences
Test-Exception-0.25.tar.gz
     Test::Exception
Test-Simple-0.70.tar.gz
     Test::Builder::Tester
Text-Diff-0.35.tar.gz
     Text::Diff
UNIVERSAL-moniker-0.08.tar.gz
     UNIVERSAL::moniker
URI-1.35.tar.gz
     URI
XML-Parser-2.34.tar.gz
     XML::Parser
XML-XPath-1.13.tar.gz
     XML::XPath
YAML-0.65.tar.gz
     YAML
libwww-perl-5.806.tar.gz
     LWP::Simple
version-0.7203.tar.gz
     version

40 total packages

---------------------------------------------------------
deptree for DBIx::Class:

DBIx::Class
     Carp::Clan
         Test::Exception
             Sub::Uplevel
             Test::Builder::Tester
     Class::Accessor::Grouped
         Class::Inspector
         MRO::Compat
             Class::C3
                 Algorithm::C3
     Class::C3
         Algorithm::C3
     Class::Inspector
     DBD::SQLite
         DBI
     DBI
     Data::Page
         Class::Accessor::Chained::Fast
             Class::Accessor
         Test::Exception
             Sub::Uplevel
             Test::Builder::Tester
     JSON
         HTTP::Request
             Compress::Zlib
                 Compress::Raw::Zlib
                 IO::Compress::Base
                 IO::Compress::Base::Common
                 IO::Compress::Gzip
                     Compress::Raw::Zlib
                     IO::Compress::Base
                     IO::Uncompress::Base
                 IO::Compress::Gzip::Constants
                     Compress::Raw::Zlib
                     IO::Compress::Base
                     IO::Uncompress::Base
                 IO::Uncompress::Base
                 IO::Uncompress::Gunzip
                     Compress::Raw::Zlib
                     IO::Compress::Base
                     IO::Uncompress::Base
             HTML::Parser
                 HTML::Tagset
             HTML::Tagset
             URI
         HTTP::Response
             Compress::Zlib
                 Compress::Raw::Zlib
                 IO::Compress::Base
                 IO::Compress::Base::Common
                 IO::Compress::Gzip
                     Compress::Raw::Zlib
                     IO::Compress::Base
                     IO::Uncompress::Base
                 IO::Compress::Gzip::Constants
                     Compress::Raw::Zlib
                     IO::Compress::Base
...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google