Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-19 00:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found