develooper Front page | perl.perl5.porters | Postings from May 2004

[perl #29527] Perl 5.8.4 build problems on LynxOS

Thread Next
From:
Olli Savia
Date:
May 12, 2004 06:06
Subject:
[perl #29527] Perl 5.8.4 build problems on LynxOS
Message ID:
rt-3.0.9-29527-87290.17.3367022021997@perl.org
# New Ticket Created by  Olli Savia 
# Please include the string:  [perl #29527]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=29527 >


This is a bug report for perl from ops@iki.fi,
generated with the help of perlbug 1.35 running under perl v5.8.4.


-----------------------------------------------------------------
Hi

I'm building perl 5.8.4 on LynxOS and I encountered
a compilation problem. It is a result of missing prototype
in LynxOS system header files. With following
patch I'm able to compile perl successfully.

Could it be possible to get this change in main tree?

Regards,
Olli

*** sv.c.orig	Wed May 12 15:19:11 2004
--- sv.c	Wed May 12 15:19:13 2004
***************
*** 24,29 ****
--- 24,34 ----

   #define FCALL *f

+ #ifdef __Lynx__
+ /* Missing proto on LynxOS */
+   char *gconvert(double, int, int,  char *);
+ #endif
+
   #ifdef PERL_UTF8_CACHE_ASSERT
   /* The cache element 0 is the Unicode offset;
    * the cache element 1 is the byte offset of the element 0;

-----------------------------------------------------------------
---
Flags:
     category=core
     severity=low
---
Site configuration information for perl v5.8.4:

Configured by root at Fri May  7 10:39:14 EET DST 2004.

Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
   Platform:
     osname=lynxos, osvers=, archname=PowerPC-lynxos
     uname='lynxos pfadev01 3.0.1 110298-g powerpc '
     config_args='-de'
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='gcc', ccflags ='-DEXTRA_F_IN_SEMUN_BUF -D__NO_INCLUDE_WARN__ -I/usr/local/include',
     optimize='-O',
     cppflags='-DEXTRA_F_IN_SEMUN_BUF -D__NO_INCLUDE_WARN__ -I/usr/local/include'
     ccversion='', gccversion='2.7-97r1', gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
     alignbytes=4, prototype=define
   Linker and Libraries:
     ld='ld', ldflags =' -L/usr/local/lib'
     libpth=/usr/local/lib /lib /usr/lib
     libs=-lnsl -lndbm -ldbm -lm -lcrypt -lc -lbsd
     perllibs=-lnsl -lndbm -ldbm -lm -lcrypt -lc -lbsd
     libc=/lib/libc.a, so=none, useshrplib=false, libperl=libperl.a
     gnulibc_version=''
   Dynamic Linking:
     dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef, ccdlflags=''
     cccdlflags='', lddlflags=''

Locally applied patches:


---
@INC for perl v5.8.4:
     lib
     /usr/local/lib/perl5/5.8.4/PowerPC-lynxos
     /usr/local/lib/perl5/5.8.4
     /usr/local/lib/perl5/site_perl/5.8.4/PowerPC-lynxos
     /usr/local/lib/perl5/site_perl/5.8.4
     /usr/local/lib/perl5/site_perl/5.8.1/PowerPC-lynxos
     /usr/local/lib/perl5/site_perl/5.8.1
     /usr/local/lib/perl5/site_perl
     .

---
Environment for perl v5.8.4:
     HOME=/users/osa
     LANG (unset)
     LANGUAGE (unset)
     LD_LIBRARY_PATH (unset)
     LOGDIR (unset)
     PATH=/users/osa/script:/users/osa/bin:/usr/local/bin:/usr/local/xd/bin:/usr/local/glg/bin:/bin:/usr/bin:/usr/bin/X11:/usr/X11R6/bin:.
     PERL_BADLANG (unset)
     SHELL=/bin/bash


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About