Perl insallation on solaris
Hi All
can anybody point out a link, where i can download perl for solaris
i just want to copile and install perl.
Thanks in advance
kanki
If you want to compile it yourself you should get it from:
http://www.perl.com/download.csp#sourcecode
.7/M.
Similar Messages
-
Using perl DBI on Solaris 10 gives core dump
I am using perl 5.8.4 which comes along with Solaris 10.
I have installed DBI-1.58.
Even a test command is not working.
perl -MDBI -e 'print "$DBI::VERSION\n";'
Bus Error (core dumped)
truss perl -MDBI -e 'print "$DBI::VERSION\n";'
shows
stat("/usr/local/lib/libc.so.1", 0xFFBFE5D0) Err#2 ENOENT
mprotect(0xFEED0000, 104171, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0xFEED0000, 104171, PROT_READ|PROT_EXEC) = 0
munmap(0xFF370000, 8192) = 0
brk(0x000A2470) = 0
brk(0x000A4470) = 0
brk(0x000A4470) = 0
brk(0x000A6470) = 0
brk(0x000A6470) = 0
brk(0x000A8470) = 0
brk(0x000A8470) = 0
brk(0x000AA470) = 0
brk(0x000AA470) = 0
brk(0x000AC470) = 0
Incurred fault #5, FLTACCESS %pc = 0xFEED44CC
siginfo: SIGBUS BUS_ADRALN addr=0x00000001
Received signal #10, SIGBUS [default]
siginfo: SIGBUS BUS_ADRALN addr=0x00000001
$perl -v
command shows like its compiled with Intsize of 64 is this creating problem?
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
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=undef
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_TS_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', lseeksize=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'
Characteristics of this binary (from libperl):
Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
Locally applied patches:
22667 The optree builder was looping when constructing the ops ...
22715 Upgrade to FileCache 1.04
22733 Missing copyright in the README.
22746 fix a coredump caused by rv2gv not fully converting a PV ...
22755 Fix 29149 - another UTF8 cache bug hit by substr.
22774 [perl #28938] split could leave an array without ...
22775 [perl #29127] scalar delete of empty slice returned garbage
22776 [perl #28986] perl -e "open m" crashes Perl
22777 add test for change #22776 ("open m" crashes Perl)
22778 add test for change #22746 ([perl #29102] Crash on assign ...
22781 [perl #29340] Bizarre copy of ARRAY make sure a pad op's ...
22796 [perl #29346] Double warning for int(undef) and abs(undef) ...
22818 BOM-marked and (BOMless) UTF-16 scripts not working
22823 [perl #29581] glob() misses a lot of matches
22827 Smoke [5.9.2] 22818 FAIL(F) MSWin32 WinXP/.Net SP1 (x86/1 cpu)
22830 [perl #29637] Thread creation time is hypersensitive
22831 improve hashing algorithm for ptr tables in perl_clone: ...
22839 [perl #29790] Optimization busted: '@a = "b", sort @a' ...
22850 [PATCH] 'perl -v' fails if local_patches contains code snippets
22852 TEST needs to ignore SCM files
22886 Pod::Find should ignore SCM files and dirs
22888 Remove redundant %SIG assignments from FileCache
23006 [perl #30509] use encoding and "eq" cause memory leak
23074 Segfault using HTML::Entities
23106 Numeric comparison operators mustn't compare addresses of ...
23320 [perl #30066] Memory leak in nested shared data structures ...
23321 [perl #31459] Bug in read()
Built under solaris
Compiled at Jul 26 2005 05:26:55
@INC:
/usr/perl5/5.8.4/lib/sun4-solaris-64int
/usr/perl5/5.8.4/lib
/usr/perl5/site_perl/5.8.4/sun4-solaris-64int
/usr/perl5/site_perl/5.8.4
/usr/perl5/site_perl
/usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
/usr/perl5/vendor_perl/5.8.4
/usr/perl5/vendor_perl
Other details:
file /usr/bin/perl
/usr/bin/perl: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped
I tried installing DBI module using perlgcc also.
perlgcc Makefile.PL
make
make test
make install.
$uname -a
SunOS twirl 5.10 Generic_118822-25 sun4u sparc SUNW,Ultra-80
Please help me out.Try this guy's list, he maintain an archive of Solaris package.
http://www.ibiblio.org/pub/packages/solaris/sparc/html/creating.solaris.packages.html
Of course, if you can get directly from Sun will be better. -
Perl performance on solaris 10
hi all,
i executed this (http://www.metacard.com/perlbench.html) script on solaris 10 and linux machine. Solaris box took around 15sec to complete the test where as linux box took only 8 seconds.
Is there any way to increase the perfomance of perl on solaris 10.
Regards,
uttamYes, I doubt this has much to do with the OS unless they are exactly the same machines with equally good device support.
ultra5 333mhz ultrasparc 2gb ram sol10= 45 seconds
2x750 ultrasparc 2gb ram blade1000 sol10= 22 seconds
3200 amd 1gb ram fedora= 18 seconds
ultra20m2 1.8 ghz opteron 2gb ram sol10= 9 seconds
x2200m2 2x2.8ghz opterons 12gb ram sol10= 6 seconds
I like how the ancient blade1000 is not to far from the much more modern fedora box. Such a lovely machine. -
I get this error when I run quick time server for Solaris on on e of my boxes. However the same thing works on another server with same OS and patch levels
HTTP/1.0 500 Perl execution failed Server: DSS 3.0 Admin Server/1.0 Date: Tue, 22 Apr 2003 15:04:31 GMT Content-Type: text/html Connection: close
Error - Perl execution failed
syntax error at (eval 17) line 2, at EOFDoes that happen both for booting from CDROM (i.e. the
"Software 1 of 2" CD) and from the DCA boot floppy?
Maybe a more recent Solaris 8 DCA floppy helps?
http://www.sun.com/bigadmin/hcl/drivers/dca_diskettes/
Yes, Its showing same error when I try even from DCA floppy.
I used DCA 0401 and DCA 1001. In case of DCA 0401 while
device identification , the screen becomes green and PC gets hang
and in case of DCA 1001 PC starts generating continuous beep sound.
- abhijit nath -
My ISP is running on solaris. I have place a PERL (.pl) script which will fire a mail. He says 'Sendmail' is configured and I can create any folder and place my script and system will recognize is automatically. As we know, all the web servers will have 'cgi-bin' directory where the .pl or .cgi files will be placed for execution. My ISP tells me that he has configured the server in such a way that I can create a 'cgi' directory anywhere and can run it from the browser. I am unable to do it. Tell me how I can do it.
Unfortunately this stupid perl script isn't that
easy. It uses Rational cqperl, then some libraries
and modules I don't understand. I can't even find
the actual code it uses that uses flexlm.
That's why I was asking what is different with java
1.2 and java 1.4. Is there some way that Runtime
acts differently?Not in any fundamental way that I am aware of.
The fact that the script is running at all though tells me that the problem is on the PERL side of things. I suspect that some of those modules and libraries are not being loaded correctly or the same way on both systems.
I fear the answer is that you need to figure out what components the script needs to run and make sure that it has them under all circumstances. This is like a classpath problem except it is with your PERL script so you need to solve it as a PERL problem.
Again if it wasn't running at all that would be one concern but it is running just not finding all it's bits.. a problem of that nature strongly indicates that the issue is happening once the process has already been spawned (correctly) and so is out of the realm of the Java part of your program. -
Compiling Apache with PERL module on Solaris 8
Hi there,
After the Richard's reply, I found the Apache sources on the intallation CD 2/2. And after a while I successful compile the apache WITH ITS STANDARD modules with the following command:
$ ./configure --prefix=/usr/apache \
--enable-module=most \
--enable-shared=max \
--with-layout=Solaris
$ make
$ make install
But the above "configure" does not compile the companion mod_perl. So, I tried:
... $ ./configure --prefix=/usr/apache \
--enable-module=most \
--enable-shared=/usr/src/apache/mod_perl/src/modules/perl/mod_perl.c \
--add-module=max \
--enable-shared=max \
--with-layout=Solaris
but the above command just copies the "mod_perl.c" to the diretory
"usr/src/apache/src/modules/extra"
missing the corresponding *.h
Then trying
$ make
The compilation fails because of ALL the
files on the directory
/usr/perl5/5.00503/sun4-solaris/CORE
are not found.
Any Hint?
Thanks in advance
C�sarhave you tried downloading the source from apache.org and compiling it?
ive installed apache on sol8 many times, but all from apache.. not from the cd..
alphademon.com -
Connect to Oracle database from Perl on Solaris x86
Hi,
How can I connect to Oracle database using Perl scripts on Solaris x86. It seems that DBD-Oracle Perl module requires Oracle client installed to work. Is there any Oracle client available for Solaris x86? Any one got a workaround? Thanks.
Angus LeeYes, you absolutely must have some portions of the rdbms installed before you can proceed. If your Solaris x86 machine is only a client, then you can get away with installing just ?/rdbms/mesg and ?/rdbms/lib.
I have Oracle 7.3.4, 8.0.5, 8.0.6, and 8.1.6 for Intel Solaris 2.6. I don't know if they'll run on Solaris 8 or 9 but I'm trying to upgrade at this very moment. As long as you conform to Oracle developer license, then you may download them from my machine.
I believe the reason Oracle dropped their Intel Solaris port is probably because Sun went through a period where they themselves dropped their Intel port. They've picked back up and if enough Oracle on Intel Solaris customers scream, then Oracle might pick it back up again too.
Send me an email if you're interested in the downloads. -
Installing spam assassin on solaris 9
I'm getting "optional module missing" message while installing the spam assassin. And I had so much trouble installing any module perl module on solaris. Maybe someone here knows an easy way to install spam assassin on solaris.
use perlgcc
Perl remembers what compiler was used when it was first compiled, and unless you purchase the Sun compiler, you'll be using "gcc". Sun provides you with a version of perl compiled with gcc, so you can do stuff like you're trying to do..... -
Kstat utility not functioning after removing perl version that came with OS
I apologize in advance if this isn't the proper forum but maybe somebody could point me in the right direction (or where else to ask this question).
I need to get the kstat utility working again on a Solaris 9 machine. The perl version that came with the OS was removed and a new version was installed in /usr/local/perl5.8.6. The modules on which kstat depends upon I'm assuming need to be installed into the new perl installation.
I get the following:
$ kstat
Can't locate Sun/Solaris/Utils.pm in @INC (@INC contains: /usr/local/perl5.8.6/lib/5.8.6/sun4-solaris /usr/local/perl5.8.6/lib/5.8.6 /usr/local/perl5.8.6/lib/site_perl/5.8.6/sun4-solaris /usr/local/perl5.8.6/lib/site_perl/5.8.6 /usr/local/perl5.8.6/lib/site_perl /ublocal/lib/perl .) at /bin/kstat line 15.
BEGIN failed--compilation aborted at /bin/kstat line 15.
I think I need to install these modules:
use Sun::Solaris::Utils qw(textdomain gettext gmatch);
use Sun::Solaris::Kstat;
Could somebody tell me how to do this? I cannot find them on CPAN.
Thanks,
-Andy Benson
Universtiy at BuffaloDon't know the legality of this -- but you could in
theory download the source from
"http://cvs.opensolaris.org/source/xref/on/usr/src/cmd
/perl/contrib/Sun/Solaris/" and then compile/build
the modules yourself.
You might need to compile your own perl distro with
Sun's C/C++ compiler (download Sun Studio from Sun)
and then compile (where applicable) the Sun::Solaris
suite for your modified perl distro. Also, I think
there's an option to use a Perl-GCC module if your
perl is gcc-compiled.
You can tell by running "perl -V".Perl was compiled from source using Sun's C/C++ compiler.
I downloaded the Sun/Solaris/Utils module and it compiled and installed without a problem using the Sun compiler. When I try to build the Sun/Solaris/Kstat module, it fails with the error:
"/usr/platform/sun4u/include/sys/fhc.h", line 699: syntax error before or at: dnode_t
"/usr/platform/sun4u/include/sys/fhc.h", line 699: cannot recover from previous errors
cc: acomp failed for Kstat.c
make: *** [Kstat.o] Error 2
The error is not descriptive enough for me to diagnose and I can't seem to find anything about this other than the following bug:
http://bugs.opensolaris.org/bugdatabase/view_bug.do;jsessionid=9786851f60b567eb1318a9ed14f:oZFF?bug_id=6324237
Is there anything I can do to get this to compile?
Thanks,
-Andy -
Building Net-SNMP with gcc and Solaris 10's Forte-built Perl
The 5.0.9 Net-SNMP that come with Solaris SPARC is too old for our users. Building the latest version appears to be basically impossible and I'm just about to bail and just build yet another version of Perl for Solaris 10 so it will work. But on the chance that someone has done this:
I am trying to build Net-SNMP 5.4.1.2 with the Sunfreeware gcc. The configure script seems to ignore the --disable-perl-cc-checks flag:
./configure with-perl-modules disable-perl-cc-checks
configure: error: This build is using a GNU C compiler (gcc) while Perl has been compiled with a non-GNU (or non-working) compiler (cc). This likely won't work for building with Perl support. Either specify a different compiler (--with-cc=PATH), disable this check (--disable-perl-cc-checks) or build without Perl (--without-perl-modules).
Has anyone successfully done this? I was hoping to get a successful configure run, then build the binaries, and then further tweak the perl makefiles with "GCC=/usr/perl5/5.8.4/bin/perlgcc" or something.configure: error: This build is using a GNU C compiler (gcc) while Perl has been compiled with a non-GNU (or non-working) compiler (cc). This likely won't work for building with Perl support. Either specify a different compiler (--with-cc=PATH), disable this check (--disable-perl-cc-checks) or build without Perl (--without-perl-modules).The perl supplied by Sun should be compiled with Sun Studio and the error mentioned above seems to reflect this.
So, either build perl first with sunfreeware's gcc and then move on to net-snmp or install and use Sun Studio instead of gcc so perl is happy.
alan -
Connecting to SQL Server from Solaris using Perl & Oracle.
Hey All,
Using the DBI.pm provided by the default Perl package that comes integrated with Oracle server, I am being able to connect to the Oracle database through Perl.
But is there a way I can connect to SQL Server through Perl using any package provided by Oracle like ODBC or something else (on Solaris)
I am using following version of Oracle server on Solaris 10
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
TIA
ParagThe problem is I cannot install any third party package but I found something. Have a look at this:
bash-3.00$ pwd
/opt/oracle/product/10.2.0.4.0/perl/lib/site_perl/5.8.3/sun4-solaris-thread-multi/Win32
bash-3.00$ ls -l
total 10
-rwxr-xr-x 1 oracle dba 4532 Jul 7 2004 DBIODBC.pm
bash-3.00$
Will explore more and keep you all posted.
Cheers,
Parag -
How can I reinstall only Perl and libraries (because are not working properly) in Solaris 8?
Thanks in advance.Hi,
Try www.sunfreeware.com Bottom right get perl for
solaris8. Not tried it though - James -
Compiling perl on Solaris x86 in 64bit mode with libperl.so
Hello,
I am trying to compile perl 5.10.0 on solaris 10/x86 in 64bit mode, some basic infos are:
System: SunOS oven 5.10 Generic_120012-14 i86pc i386 i86pc
Compiler: gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) which comes with SUNWgcc
To compile in 64bit I add the -m64 to linker and compiler flag.
I also point the Configure to appropriate 64bit library directories.
Static compilation without libperl.so build works like a charm, with libperl.so it compiles as well but execution of perl or miniperl results in:
ld.so.1: miniperl: fatal: relocation error: R_AMD64_PC32: file /export/home/keeper/build/perl-5.10.0/libperl.so: symbol main: value 0x2800117364c does not fit
Same happens with perl 5.8.8 btw.
I have tried to add / remove -fPIC flag, result is the same.
I am also 100% sure that the correct libperl.so is taken.
Anyone had success in this?Hi,
I have tried that option and I did get some information. After dlopen when I am trying to close using dlclose, the application is crashing. The log is given below.
21694: file=/tmp/test/lib/app/comp/sparcv9/DNSRR.so; dlclose()
21694:
21694: handle=/tmp/test/lib/app/comp/sparcv9/DNSRR.so; collected for possible removal [ GPH_INITIAL ]
21694:
21694: handle=/tmp/test/lib/app/comp/sparcv9/DNSRR.so; deleting:
21694: file=/tmp/test/lib/app/comp/sparcv9/DNSRR.so; object deleting
21694: file=/usr/lib/sparcv9/libCrun.so.1; object removed from handle [ NODELETE ]
21694: file=/usr/lib/64/libc.so.1; object removed from handle [ GLOBAL NODELETE ]
Bus error
21694: file=/usr/lib/64/libdl.so.1; object removed from handle [ GLOBAL NODELETE ]
21694: file=/usr/lib/sparcv9/libCstd.so.1; object deleting
21694:
21694:
21694: notify debugger: event: RD_DLACTIVITY state: RT_DELETE
21694:
21694:
21694: file=/tmp/test/lib/app/comp/sparcv9/DNSRR.so; deleting
21694:
21694: file=/usr/lib/sparcv9/libCstd.so.1; deleting
21694:
21694: notify debugger: event: RD_DLACTIVITY state: RT_CONSISTENT
21694:
21694:
21694: file=/tmp/test/lib/app/bin/sparcv9/STD; add binding to:
21694: file=/usr/lib/64/libsocket.so.1 [ NEEDED REFERENCED ]
Fault signal: SIGBUS (10), invalid address alignment.
At instruction address 0xffffffff7dd4f4a8, faulting access address is 0x4e5352532eb264cc
Symbolic location: "realloc + 0x474 [usr/lib/sparcv9/libc.so.1]"
21694:
21694: ld.so.1: app: fatal: address 0x4e5352532eb264cc does not fall within any mapped object
21694:
------ Concluding frames leaf call (n=1) ------
# 0 0x7dd4f4a8 realloc + 0x474 [usr/lib/sparcv9/libc.so.1]
[0x1,0x1f3620,0x1,0x1f3620,0x1,....]
# 1 0x7dd4f444 realloc + 0x410 [usr/lib/sparcv9/libc.so.1]
Does this mean that there is a problem with the library /usr/lib/sparcv9/libc.so.1 or /usr/lib/sparcv9/libCstd.so.1 or any other library ??
Thanks in advance -
Solaris 10 sparc + mysql + perl + dbd mysql + apache2
Is there any sane way to build dbd 4.013 mysql on a clean solaris box with sunstudio installed?
I want to use the mysql that comes with solaris 10.
I want to use the perl installation that comes with solaris 10.
I have been trying to build it for days on u8 sparc. Everything else works. Heck, I even got imagemagick and perlmagick to build correctly.
CPAN does not work for DBD
cc does not work.
I assume this has to do with the version of mysql that comes 'preinstalled' in solaris 10.
Any suggestions?Nothing at all. In fact I have never ever had a problem with sunstudio. It boggles the mind that they put those SUNWgcc packages on a Solaris release but not sunstudio. It is such a great bit of software.
I have now found the only way to really get around this is to build mysql from scratch and then build dbd. It worked perfectly just now. I could not get DBD to build with any of the packaged version of mysql. This makes updating difficult but I can get around that.
Now my stupid perlmagick is busted though. arrggghhh....
Edited by: kjard_us on Nov 7, 2009 12:38 PM
Never mind... forgot that silly
crle -l /lib:/usr/lib:/local/lib:/usr/local/lib
everything is good now.
Edited by: kjard_us on Nov 7, 2009 1:03 PM -
Problem with perl Net::Telnet::Cisco for Solaris 10 SPARC
hi all,
I have problem with installing this modules : Net::Telnet::Cisco,TermReadKey-2.30.tar.gz.
I'm trying to install this packages Net-Telnet-Cisco-1.10.tar.gz, and the it notifies me that I need to install before the TermReadkey, I get it from www.CPAN.org -TermReadKey-2.30.tar.gz
and look what I have when I run : "make test" or even "make install"
cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"2.30\" -DXS_VERSION=\"2.30\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" ReadKey.c
sh: cc: not found
*** Error code 1
make: Fatal error: Command failed for target `ReadKey.o'
Please can some one help me. it 's very urgent
thank you in advanceVipul_Ramani wrote:
only thing you are missing CC does not your current PATH
ADD it again
using export PATH=$PATH:/usr/ucb and try ... do it No, please don't. There is no compiler in /usr/ucb, and it is probably a very good idea to compile without /usr/ucb in your path. /usr/ucb/cc is only a wrapper to extend a very old SunOS compatibility environment onto an existing compiler.
If you don't have the current Sun compiler suite on your machine (go ahead and download it, it's free), then you can use gcc by invoking "perlgcc" instead of "perl" on the module's makefile.
Darren
Maybe you are looking for
-
How to read notes data in FBV3 transaction code
Hi Experts, When i go to Tcode FBV3 parked vendor invoice i have tab notes along with workflow, tax, withholding tax tabs. Notes contains item long text, my requriement is i need to get this data into my report, i have tried but i couldn't able to g
-
Errors with publishing, please help
I have recently published my site to a folder and then used fetch to transfer it to a server. When the site is transferred there are several errors that appear which include, spacing issues and strange icons on the pages. The website is www.buffbus.c
-
Adding more rows in a html table(enclosed inside a jsf tabbed pane)
hi, i m facing a problem. i have a html Table inside a jsf Tabbed Pane and a button to add more rows.whenever i click on the button it should add 5 more rows to the table using javscript. can anyone hlp me in solving this problem. thankx in advance
-
Visited links purple! HELP
My visited links turn purple even though I specified them differently and STAY purple even though I threw out my cache, cookies and restarted my browser. I don't want them purple at all! Why is this happening? It is very annoying. http://www.cleacarc
-
Hi, I am getting two _releaseTag() methods in the Java code that Weblogic 6.1 produces on my JSP. Does anyone know why this might happen? I have tried 5 times to include the JSP code with this post, but it has refused to send any of it (so,