PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Shared Memory
Date: Nov 20 1997 4:46PM

Naveen_Rajavasireddy@ACML.COM wrote:
> 
> 11-20-97 10:44 AM
> Naveen Rajavasireddy @ ALLIANCE CAPITAL
> Naveen Rajavasireddy @ ALLIANCE CAPITAL
> Naveen Rajavasireddy @ ALLIANCE CAPITAL
> 11-20-97 10:44 AM
> 11-20-97 10:44 AM
> I get the following error implementing shared memory in my programs.
> 
> Can't locate ipc.h in @INC ( did you run h2ph ).
> I have the ipc.ph and shm.ph files in the
> /opt/utils/perl5/lib/site_perl/sun4-solaris/sys/ipc and shm.ph files
> 
> Here is the snippet of my code
> #!/opt/utils/perl5/bin/perl
> 
> require "ipc.ph";
> require "shm.ph";
> 

You need

require 'sys/ipc.ph';
require 'sys/shm.ph';

Michael
--
Michael Peppler       -||-  Data Migrations Inc.
mpeppler@datamig.com  -||-  http://www.mbay.net/~mpeppler