Sponsored Content
Top Forums Shell Programming and Scripting Upgrade Perl version on Solaris machine Post 302814061 by spacebar on Tuesday 28th of May 2013 04:33:24 PM
Old 05-28-2013
See if file(libgdbm.so.3) exists on your machine:
Code:
> find / -name "libgdbm.so.3" 2>/dev/null

Also, just curious, why not install latest stable version?

I recently downloaded(5.16.3, latest stable version is 5.18.0) and created a 'relocatable' perl installation on a "Solaris" box,
so after testing I got a SA that has access to 'root' to move the perl installation to "/opt/perl" and just create a link to
build this way the 'system' perl installations are not touched.


Code:
### Log of download and configure for perl(5.16.3) build for Solaris
cd /export/home/me/perl
> wget http://www.cpan.org/src/5.0/perl-5.16.3.tar.gz
Connecting to www.cpan.org|207.171.7.177|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16930885 (16M) [application/octet-stream]
Saving to: `perl-5.16.3.tar.gz'

100%[======================================>] 16,930,885   520K/s   in 32s

-- perl-5.16.3.tar.gz' saved [16930885/16930885]

> gzip -dv perl-5.16.3.tar.gz
perl-5.16.3.tar.gz:       77.3% -- replaced with perl-5.16.3.tar

> tar -xf perl-5.16.3.tar
> cd perl-5.16.3
> sh Configure -des -Dcc=cc -Duse64bitall -Dusethreads -Dloclibpth="/opt/csw/lib/sparcv9" -Duserelocatableinc -Dprefix=/export/home/me/test/perl

 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Login to a remote solaris machine as superuser through perl

I am trying to write a perl script that will do remote machine. I have done user loging using simple command; $telnet->login('test', 'test123'); But now I want to do root login or superuser login. So I tried the superuser command, $telnet->cmd("su"); But I am not able to send the... (0 Replies)
Discussion started by: james2
0 Replies

2. Solaris

how to upgrade bash's version ?

Dear all, How to upgrade bash's version? which way should be easy between remove the old version first and upgrade it or upgrade without remove? Please, tell me how to upgrade step by step because I'm newbie thank in advance (4 Replies)
Discussion started by: unitipon
4 Replies

3. Solaris

upgrade solaris mysql version...

hi i need to upgrade my solaris mysql version.. can u guide me the upgrade steps.. my current version is 4.0.31-log i need to upgrade to 5.0 .. thanks.. ---------- Post updated at 12:04 PM ---------- Previous update was at 11:28 AM ---------- my solaris version is 10.. ----------... (2 Replies)
Discussion started by: senkerth
2 Replies

4. Solaris

is there an veritas volume manager version compatible with solaris x86 machine?

i heard some where veritas volume manager wont work on solaris x86. i have installed vmware into my 32bit xp machine. i am planning to learn veritas.. is there an veritas volume manager version compatible with solaris x86 machine? (2 Replies)
Discussion started by: chidori
2 Replies

5. Solaris

Upgrade Apache to new version? Solaris 10, goal:PHP

Hello, I have been searching on unix.com and google in general. I can't find what I am looking for. Maybe too dumb of a question. I've downloaded and installed the sunfreeware package for PHP 5.3.6 and made sure all dependencies are satisfied. Apache 2.2.8 is currently installed and... (2 Replies)
Discussion started by: CSLibrary
2 Replies

6. Solaris

Upgrade java version on solaris 10 SPARC

Hi Friends, I am trying to upgrade my java version on solaris sparc machine. I have installed the o/s software from scratch and it came with some default java version. I want to install the newer version of java available on top of this machine. I have already installed the latest version in... (7 Replies)
Discussion started by: prash358
7 Replies

7. AIX

Upgrade the machine

Hi, I am asked to build or upgrade an AIX server by looking at one of the other servers. So they gave me 2 servers. One to build (A) and another to take the reference from (B). So the servers have the following configs. Server A Processor Type: PowerPC_POWER5 Processor... (2 Replies)
Discussion started by: svajhala
2 Replies
merge_fonts(3alleg4)						  Allegro manual					      merge_fonts(3alleg4)

NAME
merge_fonts - Merges two fonts into one font. Allegro game programming library. SYNOPSIS
#include <allegro.h> FONT *merge_fonts(FONT *f1, FONT *f2) DESCRIPTION
This function merges the character ranges from two fonts and returns a new font containing all characters in the old fonts. In general, you cannot merge fonts of different types (eg, TrueType fonts and bitmapped fonts), but as a special case, this function can promote a mono- chrome bitmapped font to a color font and merge those. Example: FONT *myfont; FONT *myfancy_font; FONT *lower_range; FONT *upper_range; FONT *capitals; FONT *combined_font; FONT *tempfont; ... /* Create a font that contains the capitals from */ /* the fancy font but other characters from myfont */ lower_range = extract_font_range(myfont, -1, 'A'-1); upper_range = extract_font_range(myfont, 'Z'+1, -1); capitals = extract_font_range(myfancy_font, 'A', 'Z'); tempfont = merge_fonts(lower_range, capitals); combined_font = merge_fonts(tempfont, upper_range); /* Clean up temporary fonts */ destroy_font(lower_range); destroy_font(upper_range); destroy_font(capitals); destroy_font(tempfont); RETURN VALUE
Returns a pointer to the new font or NULL on error. Remember that you are responsible for destroying the font when you are finished with it to avoid memory leaks. SEE ALSO
extract_font_range(3alleg4), is_trans_font(3alleg4), is_color_font(3alleg4), is_mono_font(3alleg4), exfont(3alleg4) Allegro version 4.4.2 merge_fonts(3alleg4)
All times are GMT -4. The time now is 09:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy