3 messages in com.mysql.lists.perlRe: DEC Alpha port
FromSent OnAttachments
Yoichi Takayama06 Sep 1999 16:52 
Jochen Wiedmann06 Sep 1999 23:57 
Yoichi Takayama07 Sep 1999 00:22 
Subject:Re: DEC Alpha port
From:Yoichi Takayama (yoi@psych.usyd.edu.au)
Date:09/06/1999 04:52:01 PM
List:com.mysql.lists.perl

Hi,

I get this error message from "make" when I try to install msql-mysql-modlue on DEC Alpha station running Digital UNIX.

cc -c -I/usr/local/lib/perl5/site_perl/5.005/alpha-dec_osf/auto/DBI -I../dbd -I/ usr/local/Hughes/include -I/usr/local/lib/perl5/site_perl/5.005/alpha-dec_osf/a uto/DBI -I/usr/local/lib/perl5/5.00502/alpha-dec_osf -std -fprm d -ieee -D_INTRI NSICS -I/usr/local/include -D__LANGUAGE_C__ -O4 -DVERSION=\"2.0405\" -DXS_V ERSION=\"2.0405\" -I/usr/local/lib/perl5/5.00502/alpha-dec_osf/CORE -DDBD_MSQL dbdimp.c

cc: Warning: /usr/local/Hughes/include/common/portability.h, line 74: In this de claration, "u_int" has a duplicate typedef at line number 547 in file /usr/inclu de/sys/types.h. This may not be portable. typedef unsigned int u_int; -----------------------------^ cc: Error: /usr/local/Hughes/include/common/portability.h, line 78: In this decl aration, "ssize_t" has no linkage and has a prior declaration in this scope at l ine number 139 in file /usr/include/sys/types.h. typedef int ssize_t; ------------------------^

This is mentioned in the README and recommended work around is:

perl Makefile.PL --config DEFINE="-DHAVE_SSIZE_T -DHAVE_U_INT"

but when I try this, I still get the same error message.

Does anyone have a suggestion on what I should do.

Thanks in advance, Yoichi

__________________________________________________________________________ Conflict Resolution: Treat others as how you would like to be treated (this does not apply to S&M persons!).