Fail installing perl modules in new sparc server

Hi,
I'm trying to install the perl modules needed by my applications in a sparc server SunFire V210 with solaris 9 64bit. All the attempts fail because the interpreter is compiled with forte, this is the explanation i got. I found a solution in CPAN called perlgcc but it doesn't work it build a bad Makefile, the file has a lot of mistakes. Perl.com people tell me to change parameters in the makefiles and Config.pm but it's very hard to find the correct values, i'm not sure i fix the correct things.still it doesn't work.
I need an urgent solution it permits me to add modules without correction in the each makefile. I hope there is a standar procedure to solve it.
Thanks!

Hi,
Here is your solution (I hope). I've being doing this this week and worked.
Look the stuff is connected with the compilers used to complie perl and as you see later other stuff on the sun. At the sun the stuff is compiled with sun compiler which is not provided on the solaris 8, 9 nor 10. Fortunately there is gcc installed on the sol10.
-bash-3.00# gcc --version<br />
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-bash-3.00#
The perl is compiled with sun compiler cc
-bash-3.00# perl -V | more
More
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
More
Platform:
osname=solaris, osvers=2.10, archname=sun4-solaris-64int
uname='sunos localhost 5.10 sun4u sparc SUNW,Ultra-2'
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=unde
f
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_T
S_ERRNO',
optimize='-xO3 -xspace -xildoff',
cppflags=''
ccversion='Sun WorkShop', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lsee
ksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =''
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R /usr/perl5/5.8.
4/lib/sun4-solaris-64int/CORE'
cccdlflags='-KPIC', lddlflags='-G'
What to do??? Yes - you are on sol10 - then do it
1. Logon as a root
2. Check your path and compare with
-bash-3.00# echo $PATH
/usr/sbin:/usr/bin:/usr/sfw:/usr/sfw/bin:/usr/sfw/lib:/usr/s fw/include:/opt/sfw:
/opt/sfw/bin:/opt/sfw/lib:/opt/sfw/include:/usr/ccs/bin:/usr /ccs/lib
-bash-3.00#
if differs upto the last /usr/ccs/lib modify your profile file ( anthing ofter the last /usr/ccs/lib can be aded).
3. Check out the the comands
gcc --version<br />
perl -V
4. If everything upto this step is ok you can proceed
5. You may do the installation of the perl modules in two ways:
a.) with CPAN module - Internet connection MANDATORY
b.) with perl and downloaded tar.gz module
5.a) With CPAN module
5.a.1) Launch the command to configure the CPAN module
perl -MCPAN -e shell
you will be asked to give the answers inorder to configure CPAN
5.a.2) When you see cpan> prompt do the following:
o conf makepl_arg 'CC=gcc CCCDLFLAGS=-fPIC CCFLAGS=" " OPTIMIZE=" " LD=gcc' press return
5.a.3) Type "o conf commit" press return. You may install your modules now with the install command e.g. install HTML::Parser for example.
5.b.1) Download your modules from http://www.cpan.org to your server to /var/tmp/packed or whatever folder you want.
5.b.2) unzip then untar and cd into subfolder
5.b.3) type ./Makefile.PL -t 'CC=gcc CCCDLFLAGS=-fPIC CCFLAGS=" " OPTIMIZE=" " LD=gcc'
5.b.4) Type make install
6.) In both methods you have to check if the modules are installed by issuing the commnad:
perl -e 'use Your::Module' e.g.
perl -e 'use HTTP::Parser'
if no error message on the term you are ready
Rem. The differrences are in the flags used to compile and link with these two compilers sun cc and gnu cc. There are of course problems with 64bit values on sun64bit e.g. SPARC and Intel stuff cause Perl does not support real 64bit values yet. The Perl modules should use only floating point represetnation with around 53~bit precision. But this issue depends on the module creator not you if you do not want to do the remedy.
I hope it will help you
good luck

Similar Messages

  • Uninstall all CPAN-installed Perl modules

    A while back, there was a large perl upgrade which required rebuilding of manually-installed Perl modules. At the time, I did not take much of any action as I did not use any applications which depended on CPAN-installed modules -- all I did was to uninstall some older Perl apps which I no longer used.
    Unfortunately, that has recently changed.
    Though I know exactly which modules I need to have on my system when all is said and done, I have no idea how to uninstall all of the old ones which came from the CPAN shell. Does anyone know how to do so?

    rowdog wrote:
    Well, modules are just files so, if you're lucky, the easy way is to find the directory where the modules were installed and delete them.
    If you're unlucky, you've intermingled CPAN modules with those installed by Arch. If that's the case, you might be able to delete each module by hand but you need to be careful not to wipe out Arch's modules. This is slow and hazardous work so please be careful.
    My guess would be that the files are installed in /usr/lib/perl5/site_perl, because mine's empty and that's what it's for. The exact location is controlled by whatever you used to install the modules. (cpan probably, but there are others.)
    If you're really lucky, you can get away with
    cd /usr/lib/perl5/site_perl
    rm -rf .
    Yes, I do have such bad luck. I have used the CPAN.pm shell, the AUR, and pacman to install Perl modules. I shall do more research regarding exactly what goes where during a CPAN.pm-based install. I am not at my own computer so I cannot do all of this now. I will get back to you on this tomorrow. Thank you for your response.
    Last edited by Bushman (2011-07-31 13:10:00)

  • How to remove/uninstall custom installed perl modules?

    Hello all.
    Yesterday I upgraded from 10.3.7 to 10.4.5, then started to reinstall a bundle of perl modules (via the Terminal and 'perl Makefile.PL -- make -- make test -- [sudo] make install').
    As I saw too late, some of those modules I installed are now part of the standard OS X installation -- now some perl modules are twice on my machine, the 'originals' (so to say) in '/System/Library/Perl/5.8.6/...', and the 're-installed' are -- as usually -- in '/Library/Perl/5.8.6/...'.
    My questions:
    (1) Can these duplicates do any harm while executing perl code?
    (2) Is there an easy way to get rid of the duplicates (e.g., move the associated files in '/Library/Perl/5.8.6/...' to the trash)?
    Fortunately I have saved the terminal output of every installation, so it should be easy to find everything that was changed.
    Any advice is appreciated -- thanks in advance.
    Joerg
    G4/400 PCI (Oct. 1999) w/ 1 GB RAM & 128GB internal drive, Pioneer DVR-110D   Mac OS X (10.4.4)  

    Perl has a list of paths it searches when it needs to find a given module, similar to how the shell uses the PATH variable. If the things you installed are in a directory after that which contains Apple's official stuff, your stuff is invisible. Check the section labeled "@INC" in the output of 'perl -V'...that list is searched top-to-bottom.
    If what you installed is ahead of Apple's but what you installed is at least as high a version number as Apple's, again no problem in general. The modules Apple supplies have genereally quite stable API, so there's no problem if a program expects Appl'es but gets yours instead. OTOH, if you have a lower version, there could be trouble, since things may rely on the features only present in new versions (something for a certain OS X would reasonably assume "the stuff that came with that OS X" as a minimum).
    Anything you installed manually you can remove manually as well, using "rm" or dragging stuff to the trash. Modules often install a .packlist file somewhere in $arch/auto/ in your perl lib dir.
    I think you can often do '[sudo] make uninstall UNINST=1' to uninstall, assuming you kept the original builds or feel like redoing 'perl Makefile.PL' in the exact same version of the modules you installed. However, the 'uninstall' target is generally frowned upon by perl folks.

  • Can't install perl modul DBD::Oracle with XE

    Hello,
    I have installed oracle 10.2.0.1 XE and want now install the perl modul DBD::Oracle.
    After running
    perl Makefile.PL
    I get the message:
    Unable to locate an oracle.mk, proc.mk or other suitable *.mkfile in your Oracle installation. (I looked in
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/lib/oracle.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/oracle.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/demo/demo_rdbms.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/otrace/demo/atmoci.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/precomp/demo/proc/proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/precomp/demo/proc/demo_proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/proc/lib/proc.mk /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/proc16/lib/proc16.mk)
    And the program is right!!
    I do not have any of this files on my Computer.
    I also looked in the files
    oracle-instantclient-basic-10.2.0.1-1.i386.rpm
    oracle-instantclient-devel-10.2.0.1-1.i386.rpm
    where I also can't find these files.
    Could you please help and tell me, where I can get these files?
    Thank you,
    Marc

    See the thread on Perl with XE in Re: How can I get CPAN  DBD::Oracle to install with XE?
    -- cj

  • Cannot install perl modules

    Hi team,
    I’m trying to do a little perl script to telnet some cisco equipment.
    I’m trying to install some perl module through CPAN but I was got an error. Output is the following. Any ideas?
    Using MAC OSX 10.6.4
    cpan[13]> install Net::Telnet:Cisco
    Running install for module 'Net::Telnet::Cisco'
    CPAN: Data::Dumper loaded ok (v2.121_14)
    'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/Users/sepinto/.cpan/prefs'
    Running make for J/JO/JOSHUA/Net-Telnet-Cisco-1.10.tar.gz
    Checksum for /Users/sepinto/.cpan/sources/authors/id/J/JO/JOSHUA/Net-Telnet-Cisco-1.10.tar.g z ok
    x Net-Telnet-Cisco-1.10/
    x Net-Telnet-Cisco-1.10/README
    x Net-Telnet-Cisco-1.10/Cisco.pm
    x Net-Telnet-Cisco-1.10/.cvsignore
    x Net-Telnet-Cisco-1.10/MANIFEST
    x Net-Telnet-Cisco-1.10/test.pl
    x Net-Telnet-Cisco-1.10/MANIFEST.SKIP
    x Net-Telnet-Cisco-1.10/Changes
    x Net-Telnet-Cisco-1.10/INSTALL
    x Net-Telnet-Cisco-1.10/Makefile.PL
    x Net-Telnet-Cisco-1.10/TODO
    Warning (usually harmless): 'YAML' not installed, will not store persistent state
    CPAN.pm: Going to build J/JO/JOSHUA/Net-Telnet-Cisco-1.10.tar.gz
    Checking if your kit is complete...
    Looks good
    Warning: prerequisite Net::Telnet 3.02 not found.
    Writing Makefile for Net::Telnet::Cisco
    ---- Unsatisfied dependencies detected during ----
    ---- JOSHUA/Net-Telnet-Cisco-1.10.tar.gz ----
    Net::Telnet [requires]
    Shall I follow them and prepend them to the queue
    of modules we are processing right now? [yes]
    Running make test
    Delayed until after prerequisites
    Running make install
    Delayed until after prerequisites
    Running install for module 'Net::Telnet'
    'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/Users/sepinto/.cpan/prefs'
    Running make for J/JR/JROGERS/Net-Telnet-3.03.tar.gz
    Has already been unwrapped into directory /Users/sepinto/.cpan/build/Net-Telnet-3.03-naYMND
    Could not make: Unknown error
    Warning (usually harmless): 'YAML' not installed, will not store persistent state
    Running make test
    Can't test without successful make
    Running make install
    Make had returned bad status, install seems impossible
    Running make for J/JO/JOSHUA/Net-Telnet-Cisco-1.10.tar.gz
    Has already been unwrapped into directory /Users/sepinto/.cpan/build/Net-Telnet-Cisco-1.10-jrURaI
    CPAN.pm: Going to build J/JO/JOSHUA/Net-Telnet-Cisco-1.10.tar.gz
    Warning: Prerequisite 'Net::Telnet => 3.02' for 'J/JO/JOSHUA/Net-Telnet-Cisco-1.10.tar.gz' failed when processing 'J/JR/JROGERS/Net-Telnet-3.03.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
    Can't exec "make": No such file or directory at /System/Library/Perl/5.10.0/CPAN.pm line 7698.
    JOSHUA/Net-Telnet-Cisco-1.10.tar.gz
    make -- NOT OK
    Warning (usually harmless): 'YAML' not installed, will not store persistent state
    Running make test
    Can't test without successful make
    Running make install
    Make had returned bad status, install seems impossible
    Failed during this command:
    JOSHUA/Net-Telnet-Cisco-1.10.tar.gz : make NO
    Thanks for your help.
    Regards
    SP

    Hi Robert,
    Unfortunately, I already tried that. Here are the results:
    sepinto-mac:~ sepinto$ sudo perl -MCPAN -e shell
    Password:
    Terminal does not support AddHistory.
    cpan shell -- CPAN exploration and modules installation (v1.9205)
    ReadLine support available (maybe install Bundle::CPAN or Bundle::CPANxxl?)
    cpan[1]> install Net::Telnet
    CPAN: Storable loaded ok (v2.18)
    Going to read /Users/sepinto/.cpan/Metadata
    Database was generated on Mon, 16 Aug 2010 10:36:17 GMT
    Running install for module 'Net::Telnet'
    CPAN: Data::Dumper loaded ok (v2.121_14)
    'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/Users/sepinto/.cpan/prefs'
    Running make for J/JR/JROGERS/Net-Telnet-3.03.tar.gz
    CPAN: Digest::SHA loaded ok (v5.45)
    CPAN: Compress::Zlib loaded ok (v2.008)
    Checksum for /Users/sepinto/.cpan/sources/authors/id/J/JR/JROGERS/Net-Telnet-3.03.tar.gz ok
    Scanning cache /Users/sepinto/.cpan/build for sizes
    ............................................................................DONE
    x Net-Telnet-3.03/
    x Net-Telnet-3.03/Makefile.PL
    x Net-Telnet-3.03/ChangeLog
    x Net-Telnet-3.03/lib/
    x Net-Telnet-3.03/lib/Net/
    x Net-Telnet-3.03/lib/Net/Telnet.pm
    x Net-Telnet-3.03/t/
    x Net-Telnet-3.03/t/select.t
    x Net-Telnet-3.03/README
    x Net-Telnet-3.03/MANIFEST
    CPAN: File::Temp loaded ok (v0.18)
    Warning (usually harmless): 'YAML' not installed, will not store persistent state
    CPAN.pm: Going to build J/JR/JROGERS/Net-Telnet-3.03.tar.gz
    Checking if your kit is complete...
    Looks good
    Writing Makefile for Net::Telnet
    Can't exec "make": No such file or directory at /System/Library/Perl/5.10.0/CPAN.pm line 7698.
    JROGERS/Net-Telnet-3.03.tar.gz
    make -- NOT OK
    Warning (usually harmless): 'YAML' not installed, will not store persistent state
    Running make test
    Can't test without successful make
    Running make install
    Make had returned bad status, install seems impossible
    Failed during this command:
    JROGERS/Net-Telnet-3.03.tar.gz : make NO

  • Installing Perl Modules from CPAN

    I am new to Perl and new-ish to Arch Linux.  I want to start to install some packages from CPAN.
    I read the perl package wiki article and while I found it on the overwhelming side, I took away that one of the recommended ways to install things from CPAN was with CPANPLUS::Dist::Arch.
    So I installed this via
    pacman -S perl-cpanplus-dist-arch
    setupdistarch
    Now I want to install some packages.  The cpanp manpage (as well as an example I found) seemed to indicate that this was now as easy as
    cpanp i <modulename>
    However, when I go to install any module, I get errors like
    monolith: ~$ cpanp i Test::Harness
    Installing Test::Harness (3.28)
    CPANPLUS::Dist::Base will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /usr/share/perl5/vendor_perl/CPANPLUS/Dist/Arch.pm, line 6.
    CPANPLUS::Dist::Build::Constants will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /usr/share/perl5/core_perl/CPANPLUS/Dist/Build.pm, line 16.
    Running [/usr/bin/perl -e use strict; BEGIN { my $old = select STDERR; $|++; select $old; $|++; $0 = shift(@ARGV); my $rv = do($0); die $@ if $@; } /home/jschwab/.cpanplus/5.18.1/build/Test-Harness-3.28/Makefile.PL INSTALLDIRS=site]...
    Checking if your kit is complete...
    Looks good
    Writing Makefile for Test::Harness
    Writing MYMETA.yml and MYMETA.json
    [MSG] Module 'Test::Harness' depends on 'ExtUtils::MakeMaker', may need to build a 'CPANPLUS::Dist::Arch' package for it as well
    [ERROR] Unknown variable name in IF block: checkdepends at /usr/share/perl5/core_perl/CPANPLUS/Module.pm line 830.
    Searching Google for the error message just returned copies of the 'Module.pm' file in which the message appears.  Could someone help me figure out what is going on?
    Last edited by wesphys (2013-09-13 22:55:13)

    wesphys wrote:
    I am new to Perl and new-ish to Arch Linux.  I want to start to install some packages from CPAN.
    I read the perl package wiki article and while I found it on the overwhelming side, I took away that one of the recommended ways to install things from CPAN was with CPANPLUS::Dist::Arch.
    So I installed this via
    pacman -S perl-cpanplus-dist-arch
    setupdistarch
    Trying to reproduce above sequence:
    [bitcoin@alarm-01 ~]$ yaourt -S perl-cpanplus-dist-arch
    [sudo] password for bitcoin:
    resolving dependencies...
    looking for inter-conflicts...
    Packages (1): perl-cpanplus-dist-arch-1.28-1
    Total Download Size: 0.04 MiB
    Total Installed Size: 0.15 MiB
    :: Proceed with installation? [Y/n] Y
    :: Retrieving packages ...
    perl-cpanplus-dist-... 43.1 KiB 6.10K/s 00:07 [######################] 100%
    (1/1) checking keys in keyring [######################] 100%
    (1/1) checking package integrity [######################] 100%
    (1/1) loading package files [######################] 100%
    (1/1) checking for file conflicts [######################] 100%
    (1/1) checking available disk space [######################] 100%
    (1/1) installing perl-cpanplus-dist-arch [######################] 100%
    [bitcoin@alarm-01 ~]$ setupdistarch
    -bash: setupdistarch: command not found
    [bitcoin@alarm-01 ~]$ cd /usr/bin/vendor_perl/
    [bitcoin@alarm-01 vendor_perl]$ ls
    cpan2aur setupdistarch
    [bitcoin@alarm-01 vendor_perl]$
    Please advise. TiA

  • Can't install perl modules for bugzilla

    I'm currently attempting to install Bugzilla on my Arch server. This service depends on Perl and a collection of modules.
    I attempted:
    perl install-module.pl --all
    ... and it worked, so it seemed. However, when attempting to run my install script again, I am warned that the module DBI is not installed. I attempt to install it manually (specify it in particular with the previous command), and it says that DBI is up to date. I attempt the script again, and still get the error.
    Is this a bug with Bugzilla's install script, or with the installation of Perl modules?

    Here is a link to a resolution in Lion. It may also solve your Mountain Lion Perl DBD issue as well.
    If you run the command below before executing your Perl script the library is found and all is well!
    export DYLD_LIBRARY_PATH="/usr/local/mysql/lib:$DYLD_LIBRARY_PATH"
    Put this in your .bashrc or .bash_profile.
    On Apple StackExchange, Matthew Weiss had another approach.
    I found on another website the following command
    $ sudo perl -MCPAN -e 'CPAN::Shell->notest(install => CPAN::Shell->r)'
    This updated all my perl modules and all is back to normal. Not sure why or what, but don't care that it is working now.

  • How do I install WordPress in the new Lion Server X?

    How do I install WordPress within Lion Server? I have the Mountain Lion running plus the Lion Server X 2.0. Please advise. Thanks in advance.

    Unfortunately that site doesn't cover half the issues.
    For one its install location might not make the most sense - ~/Sites are useful for personal web sites, but probably not the best option for WordPress (even if this is going to be your own personal blog).
    Part of this depends on how the site is expected to be used, so it might be OK, but that does need clarifying first.
    Second, even though it's what the OP asked for installing WordPress is a small part of getting WordPress working. WordPress is a performance dog and to get any sense of acceptable performance you're going to need a cache server (typically memcached). You'll likely also need various PHP modules depending on what WordPress modules/features you want to use. For example, do you want to upload images to your blog? Well you'll need GD. What about some of the performance plugins that do things like minifying javascript and CSS. They'll need various things including memcached (so that the minified versions can be cached and not regenerated for every page view).
    Oh, and then you'll have to consider security. WordPress has almost zero concept of security (seriously, it still assumes/requires FTP access to your site for updates).
    So, at the risk of repeating myself, it's relatively easy to install WordPress. Getting it working well is another chapter (entire book?) all in itself.

  • DBD/DBI perl modules for HTTP Web Server

    Hi,
    I installed the http webserver from the 9i database CDs. But it seems to come without the DBi and DBD:Oracle modules. Where do I get them for the windows plattform ? binaries preferred.
    Regards
    Knut

    First, check if the version of perl installed is ActiveState's. I doubt it is...at least it's not on my 9.2 version.
    DBI does not seem to be installed, you're right.
    You have two options:
    1) The best way is to ensure you have the same compiler they do (probably MSVC 6.0 SP3), but it's hard to tell and build DBI and DBD::XXXX yourself.
    2) Install ActivePerl and their modules, then force Apache to use that...
    Regards,
    Jeff

  • Install perl module

    I am trying to install the essbase.pm and have some trouble. The makefile refers to /api/lib/libmaxl directory which is not part of the windows install. Does anyone have any clue as to how to modify the makefile.PL.win32 file?ThanksRandy

    Hi, under windows, the makefile refers to:$opts{MYEXTLIB} = "$EH/api/lib/libmaxl\$(LIB_EXT)";ie libmaxl.lib since the backslash in "\$(LIB_EXT)" is just there in perl to escape the $ and use the variable LIB_EXT replace the previous line by:$opts{MYEXTLIB} = "$EH/api/lib/libmaxl.lib";But, I find more practical to generate maxl msh files on the fly using perl, or using parameters for maxl scripts rather than use the essbase.pm modulehope it helpsEric BelmonPartake Consulting

  • Cannot add a New Essbase server into the EAS Console

    Hi can someone assist me...........
    I have installed Essbase on a new / additional server (that all went rather well, its not hard just pressing NEXT, NEXT, NEXT).
    I then used a essadmin account to configure, i have to say its not the same as the other essbase server (so i am wondering if this was the start of my problems)!!. I did not use the same essadmin as the password is unknown its not known and the orginal installation was not recorded. I do however know and used the admin account for the shared services.
    I then logged into EAS Console (single instance of the EAS, with a plan to add 3 new essbase servers to this console over the next couple of days.) i added the new essbase server, then externalised and all was happy with the world. SUCCESS :-)
    I closed EAS, and went back in and thats where the fun started, it then stated that it could not connect and i recieved the invalid login message in essbase. I have read some forums and followed the advise of going into Shared Services and manually removing the new essbase server registry under projects, cleared down and replaced the essbase.sec file etc etc to the originals and stop/started the services.
    So can anyone help on what my next steps should be?, I don't want to run off and re-register again via the console for shared services if i need to use the original essadmin password in my configuration. Any help will be gratefully recieved.

    Hi can someone assist me...........
    I have installed Essbase on a new / additional server (that all went rather well, its not hard just pressing NEXT, NEXT, NEXT).
    I then used a essadmin account to configure, i have to say its not the same as the other essbase server (so i am wondering if this was the start of my problems)!!. I did not use the same essadmin as the password is unknown its not known and the orginal installation was not recorded. I do however know and used the admin account for the shared services.
    I then logged into EAS Console (single instance of the EAS, with a plan to add 3 new essbase servers to this console over the next couple of days.) i added the new essbase server, then externalised and all was happy with the world. SUCCESS :-)
    I closed EAS, and went back in and thats where the fun started, it then stated that it could not connect and i recieved the invalid login message in essbase. I have read some forums and followed the advise of going into Shared Services and manually removing the new essbase server registry under projects, cleared down and replaced the essbase.sec file etc etc to the originals and stop/started the services.
    So can anyone help on what my next steps should be?, I don't want to run off and re-register again via the console for shared services if i need to use the original essadmin password in my configuration. Any help will be gratefully recieved.

  • How to install Perl DBI & DBD modules correctly?

    PLEASE HELP!
    I'm running OS X Snow Leopard 10.6.3 on a MacBook Pro.
    Using MacPorts I've installed the following items:
    mysql5 @5.1.45_0 (active)
    mysql5-server @5.1.45_0 (active)
    p5-dbd-mysql @4.013_0+mysql5 (active)
    p5-dbi @1.609_0 (active)
    perl5.10 @5.10.1_1+darwin (active)
    Everything seems to be working, with the exception ofthe Perl DBI module, and the DBD module. Whenever I try to run a Perl program using DBI, I get the following error:
    Sun Apr 18 03:18:42 EDT 2010
    ~/Perl1 ->
    [email protected]<520>$: db.pl
    install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level /Network/Library/Perl/5.10.0 /Network/Library/Perl /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level /System/Library/Perl/Extras/5.10.0 .) at (eval 3) line 3.
    Perhaps the DBD::mysql perl module hasn't been fully installed,
    or perhaps the capitalisation of 'mysql' isn't right.
    Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge.
    at /Users/peterv/Perl1/db.pl line 8
    Sun Apr 18 03:18:42 EDT 2010
    If anyone can also explain what @INC is (I'm assuming it's some kind of path), how to display its value, and how to set it correctly, I'd appreciate that too! I've been working on this for days, so I'd really be grateful for some help!
    Thanks,
    Peter V.

    I've found the problem. I didn't realize that OS X Snow Leopard came with 2 versions of Perl installed, so when I wanted to upgrade to 5.10, I installed it using MacPorts. I also hadn't realized that MacPorts paths had /opt/local prepended to them, so I was running the wrong version of Perl with it. Now I don't get the original error message I posted, but I do get these error messages:
    dyld: lazy symbol binding failed: Symbol not found: mysqlinit
    Referenced from: /opt/local/lib/perl5/site_perl/5.10.1/darwin-multi-2level/auto/DBD/mysql/mysql. bundle
    Expected in: dynamic lookup
    dyld: Symbol not found: mysqlinit
    Referenced from: /opt/local/lib/perl5/site_perl/5.10.1/darwin-multi-2level/auto/DBD/mysql/mysql. bundle
    Expected in: dynamic lookup
    Trace/BPT trap
    Can someone help me out with these?
    Thanks in advance!

  • Cannot install DBD::Oracle perl module with Oracle 11.2.0.3 client

    Hi
    I have been trying to install DBD::Oracle perl module on a Centos 5.7 server which is running Oracle client version 11.2.0.3. I have installed all dependencies prior to attempting installing the same and I am running into the following error -
    /usr/bin/ld: skipping incompatible /app/utiba/oracle/client/lib//libclntsh.so when searching for -lclntsh
    /usr/bin/ld: cannot find -lclntsh
    collect2: ld returned 1 exit status
    make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Error 1Here are the complete details of my attempt of installation of the perl module -
    [root@tch1testuview1 DBD-Oracle-1.50]# perl Makefile.PL
    Using DBI 1.52 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/
    Configuring DBD::Oracle for perl 5.008008 on linux (x86_64-linux-thread-multi)
    Remember to actually *READ* the README file! Especially if you have any problems.
    Installing on a linux, Ver#2.6
    Using Oracle in /app/utiba/oracle/client
    DEFINE _SQLPLUS_RELEASE = "1102000300" (CHAR)
    Oracle version 11.2.0.3 (11.2)
    Found /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk
    Using /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk
    Your LD_LIBRARY_PATH env var is set to '/app/utiba/oracle/client/lib:/lib:/usr/lib'
    Reading /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk
    Reading /app/utiba/oracle/client/rdbms/lib/env_rdbms.mk
    WARNING: Oracle /app/utiba/oracle/client/rdbms/lib/ins_rdbms.mk doesn't define a 'build' rule.
    WARNING: I will now try to guess how to build and link DBD::Oracle for you.
             This kind of guess work is very error prone and Oracle-version sensitive.
             It is possible that it won't be supported in future versions of DBD::Oracle.
             *PLEASE* notify dbi-users about exactly _why_ you had to build it this way.
    Found header files in /app/utiba/oracle/client/rdbms/public.
    client_version=11.2
    DEFINE= -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112
    Checking for functioning wait.ph
    System: perl5.008008 linux builder10.centos.org 2.6.18-53.el5 #1 smp mon nov 12 02:14:55 est 2007 x86_64 x86_64 x86_64 gnulinux
    Compiler:   gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
    Linker:     /usr/bin/ld
    Sysliblist: -ldl -lm -lpthread -lnsl -lirc -lipgo
    Oracle makefiles would have used these definitions but we override them:
      CC:       $(GCC)
      CFLAGS:   $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\
            $(SHARED_CFLAG) $(USRFLAGS)
               [$(GFLAG) -O2 $(CDEBUG) $(CCFLAGS) -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -DLINUX -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -DSLTS_ENABLE -DSLMXMX_ENABLE -D_REENTRANT -DNS_THREADS -DLDAP_CM $(LPFLAGS) $(PLSQLNCGFLAGS) $(USRFLAGS)]
      LDFLAGS:  -o $@ $(LDOBJSZ) $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME) $(LDPATHFLAG)$(LIBHOME)stubs/ $(LDPATHFLAG)$(LIBHOME) $(LLIBIRC)
               [-o $@ -m32 -L/app/utiba/oracle/client/rdbms/lib/ -L$(LIBHOME) -L$(LIBHOME)stubs/ -L$(LIBHOME) -lirc -lipgo ]
    Linking with  -lclntsh -ldl -lm -lpthread -lnsl -lirc -lipgo -ldl -lm  [from $(OCISHAREDLIBS)]
    LD_RUN_PATH=/app/utiba/oracle/client/lib
    Using DBD::Oracle 1.50.
    Using DBD::Oracle 1.50.
    Using DBI 1.52 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/
    Writing Makefile for DBD::Oracle
    ***  If you have problems...
         read all the log printed above, and the README and README.help.txt files.
         (Of course, you have read README by now anyway, haven't you?)
    [root@tch1testuview1 DBD-Oracle-1.50]# make
    Skip blib/lib/DBD/Oracle/Troubleshooting/Cygwin.pod (unchanged)
    Skip blib/lib/DBD/Oracle.pm (unchanged)
    Skip blib/lib/oraperl.ph (unchanged)
    Skip blib/arch/auto/DBD/Oracle/Oracle.h (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Vms.pod (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Linux.pod (unchanged)
    Skip blib/lib/DBD/Oracle/GetInfo.pm (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting.pod (unchanged)
    Skip blib/arch/auto/DBD/Oracle/dbdimp.h (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Hpux.pm (unchanged)
    Skip blib/arch/auto/DBD/Oracle/ocitrace.h (unchanged)
    Skip blib/lib/Oraperl.pm (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Sun.pod (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Macos.pod (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Aix.pod (unchanged)
    Skip blib/lib/DBD/Oracle/Object.pm (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Win64.pod (unchanged)
    Skip blib/arch/auto/DBD/Oracle/mk.pm (unchanged)
    Skip blib/lib/DBD/Oracle/Troubleshooting/Win32.pod (unchanged)
    gcc -c  -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112 Oracle.c
    gcc -c  -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112 dbdimp.c
    dbdimp.c: In function ‘fb_ary_cb_alloc’:
    dbdimp.c:324: warning: comparison is always false due to limited range of data type
    dbdimp.c:325: warning: comparison is always false due to limited range of data type
    dbdimp.c:326: warning: comparison is always false due to limited range of data type
    dbdimp.c:327: warning: comparison is always false due to limited range of data type
    dbdimp.c:328: warning: comparison is always false due to limited range of data type
    dbdimp.c: In function ‘fb_ary_alloc’:
    dbdimp.c:344: warning: comparison is always false due to limited range of data type
    dbdimp.c:345: warning: comparison is always false due to limited range of data type
    dbdimp.c:346: warning: comparison is always false due to limited range of data type
    dbdimp.c:347: warning: comparison is always false due to limited range of data type
    gcc -c  -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/rdbms/demo -I/app/utiba/oracle/client/rdbms/public -I/app/utiba/oracle/client/plsql/public -I/app/utiba/oracle/client/network/public -I/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.50\" -DXS_VERSION=\"1.50\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.3\" -DORA_OCI_102 -DORA_OCI_112 oci8.c
    oci8.c: In function ‘ora_blob_read_mb_piece’:
    oci8.c:1804: warning: comparison is always false due to limited range of data type
    oci8.c: In function ‘describe_obj_by_tdo’:
    oci8.c:3256: warning: comparison is always false due to limited range of data type
    oci8.c: In function ‘ora_describe’:
    oci8.c:3480: warning: comparison is always false due to limited range of data type
    oci8.c: In function ‘ora_st_fetch’:
    oci8.c:3953: warning: unused variable ‘imp_xxh’
    Running Mkbootstrap for DBD::Oracle ()
    chmod 644 Oracle.bs
    rm -f blib/arch/auto/DBD/Oracle/Oracle.so
    LD_RUN_PATH="/app/utiba/oracle/client/lib" gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic Oracle.o dbdimp.o oci8.o  -o blib/arch/auto/DBD/Oracle/Oracle.so  \
               -L/app/utiba/oracle/client/lib/ -lclntsh -ldl -lm -lpthread -lnsl -lirc -lipgo -ldl -lm      \
    /usr/bin/ld: skipping incompatible /app/utiba/oracle/client/lib//libclntsh.so when searching for -lclntsh
    /usr/bin/ld: cannot find -lclntsh
    collect2: ld returned 1 exit status
    make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Error 1I am sure that installing a previous(older) version of oracle client will fix this issue i.e. either 11.2.0.1 or older (that is tested) but I want to know if it is possible to resolve the above issue with a work around and not having to install a previous version.
    Fyi.. I've tried to install DBD::Oracle version 1.24 and 1.50 but that doesn't seem to make any difference. I couldn't find any related thread either for this error so I desperately need a solution to the same(if any).
    If anyone can help here, would really appreciate it or else, I will have no choice but to install previous version of oracle client.
    Thanks
    Edited by: 956308 on Aug 31, 2012 6:55 AM
    Edited by: 956308 on Aug 31, 2012 6:57 AM

    Contents of the response file:
    oracle.install.responseFileVersion=http://www.oracle.com/2007/install/rspfmt_clientinstall_response_schema_v11_2_0
    ORACLE_HOSTNAME=slc00caz
    UNIX_GROUP_NAME=oracle
    INVENTORY_LOCATION=/home/psadm1/oraInventory
    SELECTED_LANGUAGES=en
    ORACLE_HOME=/opt/oracle/psft/pt/oracle-client/11.2.0.x
    ORACLE_BASE=/opt/oracle/psft/pt/oracle-client
    oracle.install.client.installType=Custom
    oracle.install.client.upgrading=false
    oracle.install.client.customComponents=oracle.rdbms.util:11.2.0.3.0,oracle.javavm.client:11.2.0.3.0,oracle.sqlplus:11.2.0.3.0,oracle.dbjava.jdbc:11.2.0.3.0,oracle.rdbms.oci:11.2.0.3.0,oracle.xdk:11.2.0.3.0,oracle.network.aso:11.2.0.3.0,oracle.assistants.oemlt:11.2.0.3.0,oracle.network.client:11.2.0.3.0,oracle.odbc:11.2.0.3.0,oracle.dbdev:11.2.0.3.0
    oracle.install.client.schedulerAgentHostName=
    oracle.install.client.schedulerAgentPortNumber=
    oracle.installer.autoupdates.option=SKIP_UPDATES
    oracle.installer.autoupdates.downloadUpdatesLoc=
    AUTOUPDATES_MYORACLESUPPORT_USERNAME=
    AUTOUPDATES_MYORACLESUPPORT_PASSWORD=
    PROXY_HOST=
    PROXY_PORT=0
    PROXY_USER=
    PROXY_PWD=
    PROXY_REALM=

  • Perl module not working/installed properly

    I have a perl script that worked fine on Ubuntu.  I've now replaced Ubuntu with Arch and installed the perl modules I need to run this script and one of them doesn't seem to be working properly, I think I had a hiccup during installation of this particular module.  Can someone point me in the right direction as to how to fix this please.
    This is the output of my script falling over:
    [me@arch ~]$ perl -e 'use MP4::Info;'
    Can't locate IO/String.pm in @INC (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/share/perl5/site_perl/MP4/Info.pm line 16.
    BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/MP4/Info.pm line 16.
    Compilation failed in require at -e line 1.
    BEGIN failed--compilation aborted at -e line 1.
    The 'MP4::Info' module "appears" to be installed ok though, as shown thusly:
    [me@arch ~]$ cpan
    Terminal does not support AddHistory.
    cpan shell -- CPAN exploration and modules installation (v1.9600)
    Enter 'h' for help.
    cpan[1]> install MP4:Info
    Going to read '/home/wayne/.cpan/Metadata'
    Database was generated on Fri, 23 Sep 2011 01:50:05 GMT
    MP4::Info is up to date (1.13).
    cpan[2]>
    Any help greatly appreciated, thanks in advance.

    For some reason IO::String was not installed. Try installing it from the cpan shell.

  • How to migrate Sun One directory server to a new physical server install

    need help
    We have to move our existing installation of sun on directory server 5.2 to a new physical server.
    We have a new physical server with a new host name. I am trying to find an easiest way to take a snapshot of our existing server and put it on a new installation
    So will installing sun one directory server , its shows me two choices either to create a new instance or copy configuration from a existing server
    What do i choose and which is the fastest route to replicate my old server
    Thanks a bunch in advance
    Sganb

    Hi,
    I'm glad you're still using the old, glorious Sun One Directory Server 5.2, because it brings me back a lot of memories... But are you seriously talking of the 'plain' version, with no patches/hot fixes on top? If that's the case, you're using of a software that has been developed in 2004 and released in Jan 2005! Just for you to be aware, in the last *8* (eight) years a considerable number (in the magnitude of 10^3) of bugs, security problems and performance issues has been identified and fixed...
    However, to provide a better answer to your question, it would be important to understand the 'big picture' in terms of scenario and requirements:
    1) Is this a critical 24x7 service for which you need to perform an on-line migration or you have a 'maintenance window' during which the service may be switched off?
    2) Is the old server member of replication environment? If yes, how many masters/slaves do you have already? Shall the new server be part of this topology? What role shall it have?
    3) Would it be possible to make the the old server able to communicate with the new server?
    4) How big is the database that you've got to migrate? Do you have any requirement in terms of caches?
    5) Do you take backups on a regularly basis and have in place working (*tested*) backup/restore procedures?
    6) Is the new server conserving or changing the O.S. and architecture? [SPARC->SPARC, x86->x86, SPARC->x86, Solaris -> ? , 32 .vs. 64-bit? ]
    7) What are the steps you did to 'install' the software on the new server?
    Thanks,
    Marco
    P.S.: I don't wanna sound 'scaring' with all these questions, neither this should be intended as an 'hidden advertising' for Oracle Professional/Consulting Services, but the only way to not put in jeopardy your data is being aware of the risks, having the control of what's going on and ... possibly have a 'B' plan ;-)
    P.S.S.: My last suggestion is to consider a migration to a later release AS SOON AS POSSIBLE; the latest is ODSEE 11.1.1.7, which is available here:
    http://www.oracle.com/technetwork/middleware/downloads/oid-11g-161194.html
    and seems to work pretty well ;-)

Maybe you are looking for