Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Here's my perl -V output:
>:~$ perl -V Summary of my perl5 (revision 5 version 16 subversion 3) configuration +: Platform: osname=linux, osvers=2.6.32-279.el6.x86_64, archname=x86_64-linux uname='linux nyctrdmonp02 2.6.32-279.el6.x86_64 #1 smp fri jun 22 +12:19:21 utc 2012 x86_64 x86_64 x86_64 gnulinux ' config_args='' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=und +ef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I +/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/loca +l/include' ccversion='', gccversion='4.4.7 20120313 (Red Hat 4.4.7-3)', gccos +andvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +6 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', + lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib/../lib64 /usr/lib/../lib64 /lib /usr/li +b /lib64 /usr/lib64 libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.12.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.12' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstac +k-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT +_ALL USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF Built under linux Compiled at May 21 2014 13:54:14 @INC: /export/home/scratch/perl/lib/site_perl/5.16.3/x86_64-linux /export/home/scratch/perl/lib/site_perl/5.16.3 /export/home/scratch/perl/lib/5.16.3/x86_64-linux /export/home/scratch/perl/lib/5.16.3
So the problem is ultimately that I need DBD::Sybase, which fails when using CPAN.

When searched around for the errors I was getting, I picked up a lot of hints that CPAN was trying to install 32-bit versions which were clashing on my 64-bit box.

When i went back to the non-prod box that was built out by a guy not with the company any more, I noticed that all the DB(I|D) modules were in the architecture specific directory:

>:/export/home/scratch/perl/lib$ find . -name DBI* ./site_perl/5.16.3/CGI/Session/Driver/DBI.pm ./site_perl/5.16.3/Log/Log4perl/Appender/DBI.pm ./site_perl/5.16.3/DBI ./site_perl/5.16.3/x86_64-linux/Win32/DBIODBC.pm ./site_perl/5.16.3/x86_64-linux/DBI ./site_perl/5.16.3/x86_64-linux/auto/DBI ./site_perl/5.16.3/x86_64-linux/auto/DBI/DBI.bs ./site_perl/5.16.3/x86_64-linux/auto/DBI/DBI.so ./site_perl/5.16.3/x86_64-linux/auto/DBI/DBIXS.h ./site_perl/5.16.3/x86_64-linux/DBI.pm ./site_perl/5.16.3/x86_64-linux/Bundle/DBI.pm >:/export/home/scratch/perl/lib$ find . -name DBD* ./site_perl/5.16.3/DBD ./site_perl/5.16.3/x86_64-linux/DBD ./site_perl/5.16.3/x86_64-linux/DBI/DBD ./site_perl/5.16.3/x86_64-linux/DBI/DBD.pm ./site_perl/5.16.3/x86_64-linux/auto/DBD ./site_perl/5.16.3/x86_64-linux/Bundle/DBD
Also notice that there is a DBI folder under the standard site_perl directory, but the DBI.pm package is only in the x86... directory. Never seen that, but again, not very experienced with building a good perl install.

From there I started looking around for 64-bit specific DBI and DBD packages and found a source for rpms. But that seems fairly tedious, so...here I am. Truth be told, I'm not even sure that these RPM's will work.

Short version: I want DBI with DBD::Sybase and DBD::Oracle but perl complains when I try to install via CPAN.

dsb
This @ISA my( $cool ) %SIG


In reply to Re^2: building perl with 64-bit by dsb
in thread 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 making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-03-29 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found