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: Compile problems on Solaris 2.6
Date: Mar 4 1999 7:41PM

Monty Scroggins writes:
 > I am trying to build SybPerl 2.1 on an Ultra 5 Sun Solaris 2.6
 > box.    I dont get very far when I get this fatal error.
 > 
 > "CTlib.xs", line 393: fatal: macro recursion

My (sort of) bad.

Change this (in both CTlib.xs and DBlib.xs)

#if !defined(PL_na)
 ...
#define PL_dirty dirty
#endif

to

#include "patchlevel.h"		/* this is the perl patchlevel.h */

#if PATCHLEVEL < 5 && SUBVERSION < 5

#define PL_na na
#define PL_sv_undef sv_undef
#define PL_dirty dirty

#endif

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@mbay.net       -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com