Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Jamie Belanger <jamie_belanger at globalcrossing dot com>
Subject: RE: compiler/make issues (fancy that)
Date: Oct 16 2000 6:00PM

I attempted to re-compile perl using the switch to change my compiler and
received the following errors:


Use which C compiler? [gcc]

Checking for GNU cc in disguise and/or its version number...
as: "/var/tmp/ccyCCdRb.s", line 27: error 1052: Directive name not
recognized -

*** WHOA THERE!!! ***
    Your C compiler "gcc" doesn't seem to be working!
    You'd better start hunting for one and let me know about it.


At this point I'm rather stumped. Is Configure looking in /var/tmp for
something associated with the compiler?

Jamie Belanger
Unix Administrator 
Global Crossing
(319) 298-1489 or ext. 489 

-----Original Message-----
From: Michael Peppler []
Sent: Friday, October 13, 2000 9:14 AM
To: SybPerl Discussion List
Subject: RE: compiler/make issues (fancy that)

Jamie Belanger writes:
 > I'm not sure which compiler was used for my perl5 (5.6.0) installation,
 > because I downloaded a precompiled binary from,
 > the Software Porting and Archive Center for HP-UX in Wisconson. I
 > the precompiled binary because I was having problems compiling perl on
 > same system (the same type of problems, it kept trying to go to the HP-UX
 > kernel compiler rather than the gcc compiler I had set up). 
 > Should I attempt to compile perl again, this time altering to
 > point to the correct compiler? I wasn't sure where this change was
 > to be made previously.

You should try to compile perl yourself.

In general (although I have no experience with HP-UX) you should be
able to specify the compiler to use. I've used something like:

./Configure -Dcc=gcc

to tell perl's configure script to use gcc in favor of cc...

Michael Peppler         -||-  Data Migrations Inc.    -||-
Int. Sybase User Group  -||-
Sybase on Linux mailing list: