All,
despite having used Perl for years, I've never had the privilege (riiiiiight) of building out my own perl build.

I'm building perl on a server in order to productionize a small tool, but it's proving tricky. Getting perl installed is easy enough. I've got it installed to the non-standard location:
/export/home/scratch/perl

The hiccups started when I needed to install DBD::Sybase. After trying (and failing) several times, the errors i was getting lead me to believe I needed to be dealing with a 64-bit version of the library. Found an rpm for it, but it requires 64-bit DBI. Again, i found an RPM.

After checking the non-prod box, I see that there are many 64-bit versions of modules installed:

>:/export/home/scratch/perl/lib/site_perl/5.16.3/x86_64-linux$ ls -l total 468 drwxrwx--- 3 dbalaban dbalaban 4096 Apr 8 2013 Apache drwxrwx--- 3 dbalaban dbalaban 4096 Apr 8 2013 Apache2 drwxrwx--- 2 dbalaban dbalaban 4096 Apr 8 2013 APR -rwxrwx--- 1 dbalaban dbalaban 2239 Apr 8 2013 APR.pm drwxr-x--- 3 dbalaban dbalaban 4096 May 15 13:44 Attribute drwxrwx--- 63 dbalaban dbalaban 4096 May 15 13:44 auto drwxrwx--- 3 dbalaban dbalaban 4096 May 21 15:51 Bit drwxrwx--- 3 dbalaban dbalaban 4096 Apr 8 2013 Bundle drwxrwx--- 3 dbalaban dbalaban 4096 Apr 5 2013 Compress drwxr-x--- 3 dbalaban dbalaban 4096 Nov 11 2013 Crypt drwxrwx--- 6 dbalaban dbalaban 4096 Jun 20 2013 DBD drwxrwx--- 8 dbalaban dbalaban 4096 Apr 5 2013 DBI -rwxrwx--- 1 dbalaban dbalaban 311516 Mar 28 2013 DBI.pm -rwxrwx--- 1 dbalaban dbalaban 1533 Jul 16 2007 dbixs_rev.pl drwxrwx--- 2 dbalaban dbalaban 4096 Apr 5 2013 Digest drwxrwx--- 2 dbalaban dbalaban 4096 Apr 5 2013 HTML drwxrwx--- 3 dbalaban dbalaban 4096 Apr 5 2013 List drwxrwx--- 2 dbalaban dbalaban 4096 Apr 8 2013 ModPerl -rwxrwx--- 1 dbalaban dbalaban 1805 Apr 25 2012 mod_perl2.pm drwxr-x--- 3 dbalaban dbalaban 4096 Nov 11 2013 Net drwxr-x--- 3 dbalaban dbalaban 4096 May 15 13:44 Package drwxr-x--- 3 dbalaban dbalaban 4096 May 15 13:44 Params -rwxrwx--- 1 dbalaban dbalaban 4234 Jan 24 2012 RRDs.pm drwxrwx--- 2 dbalaban dbalaban 4096 Apr 5 2013 Scalar drwxr-x--- 8 dbalaban dbalaban 4096 Nov 12 2013 Template -r--r--r-- 1 dbalaban dbalaban 25038 Jul 24 2013 Template.pm drwxrwx--- 2 dbalaban dbalaban 4096 Apr 5 2013 Term -r--r--r-- 1 dbalaban dbalaban 15550 Nov 5 2007 Tibrv.pm drwxrwx--- 2 dbalaban dbalaban 4096 Apr 5 2013 Win32 drwxr-x--- 3 dbalaban dbalaban 4096 Nov 11 2013 XML
Is there a way to configure cpan to install 64-bit version to the architecture specific directories (..../x86_64-linux)? I can only find rpm's to do this, and it seems like manually building this out will be a bear.

dsb
This @ISA my( $cool ) %SIG


In reply to building perl with 64-bit by dsb

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.