[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: Compiling WML with Perl5.6
- From: Denis Barbier <nospam@thanx>
- Date: Tue, 19 Mar 2002 23:16:45 +0100
On Fri, Mar 15, 2002 at 03:14:24PM +0000, Chris Ebenezer wrote:
> Hi -
>
> I am experiencing problems compiling wml, and suspect that it's
> related to the use of perl 5.6 on the system that I'm on. I've
> tried wml-2.0.6 wml-2.0.8, wml-SNAPSHOT and wml-2.1a2, with the
> same result. I get the following compilation error during the make
> process :
>
> "eperl_perl5.c", line 58: undefined symbol: boot_attrs
> "eperl_perl5.c", line 58: warning: improper pointer/integer combination: arg #2
> "eperl_perl5.c", line 58: undefined symbol: boot_re
> "eperl_perl5.c", line 58: warning: improper pointer/integer combination: arg #2
> cc: acomp failed for eperl_perl5.c
> make: *** [eperl_perl5.o] Error 2
>
> This when using the stock cc compiler, with gcc i get the same errors
> flagged.
>
> Details of the system are:
>
> gcc - 2.8.1
> OS - Solaris 5.6
> perl - 5.6.0
Hi Chris,
I have access to a similar box, and did not experience your problems:
gcc - 2.8.1
OS - Solaris 5.6
perl - 5.6.1
I have attached 'perl -V' output, maybe it could give some clue.
And also config_ac.h and config_sc.h from wml_backend/p3_eperl
Let me know if you find a workaround.
--
Denis Barbier
WML Maintainer
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.6, archname=sun4-solaris
uname='sunos opensource 5.6 generic_105181-08 sun4m sparc sunw,sparcstation-5 '
config_args='-d -e -s -Dprefix=/cw -Dinstallprefix=/cw -Dcc=cc -Doptimize=-O2 -pipe -Dlocincpth=/cw/include -Dlibpth=/cw/lib /lib /usr/lib /usr/ccs/lib -Uinstallusrbinperl'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-I/cw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -pipe',
cppflags='-I/cw/include'
ccversion='', gccversion='2.8.1', gccosandvers='solaris2.6'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='cc', ldflags =' '
libpth=/cw/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under solaris
Compiled at May 25 2001 13:29:09
@INC:
/cw/lib/perl5/5.6.1/sun4-solaris
/cw/lib/perl5/5.6.1
/cw/lib/perl5/site_perl/5.6.1/sun4-solaris
/cw/lib/perl5/site_perl/5.6.1
/cw/lib/perl5/site_perl
.
/* config_ac.h. Generated automatically by configure. */
/* config_ac.h.in. Generated automatically from configure.in by autoheader. */
#ifndef CONFIG_AC_H
#define CONFIG_AC_H
/*
** config_ac.h -- AUTO configuration header file
** Copyright (c) 1996-1999 Ralf S. Engelschall <rse@engelschall.com>
*/
/* Define to empty if the keyword does not work. */
/* #undef const */
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* defined if Perl support the DynLoader
interface for dynamic library loading */
#define HAVE_PERL_DYNALOADER 1
/* define type bool for Perl 5 headers if missing */
#define bool char
/* define DEBUG if we compile with debugging */
/* #undef DEBUG_ENABLED */
/* define if libdmalloc.a is available */
/* #undef HAVE_DMALLOC */
/* Define if you have the memmove function. */
#define HAVE_MEMMOVE 1
/* Define if you have the setegid function. */
#define HAVE_SETEGID 1
/* Define if you have the seteuid function. */
#define HAVE_SETEUID 1
/* Define if you have the strdup function. */
#define HAVE_STRDUP 1
/* Define if you have the <ctype.h> header file. */
#define HAVE_CTYPE_H 1
/* Define if you have the <grp.h> header file. */
#define HAVE_GRP_H 1
/* Define if you have the <netdb.h> header file. */
#define HAVE_NETDB_H 1
/* Define if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1
/* Define if you have the <pwd.h> header file. */
#define HAVE_PWD_H 1
/* Define if you have the <signal.h> header file. */
#define HAVE_SIGNAL_H 1
/* Define if you have the <stdarg.h> header file. */
#define HAVE_STDARG_H 1
/* Define if you have the <stdio.h> header file. */
#define HAVE_STDIO_H 1
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1
/* Define if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if you have the <time.h> header file. */
#define HAVE_TIME_H 1
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
#endif /* CONFIG_AC_H */
#ifndef SC_H
#define SC_H
/*
**
** sc.h -- STATIC configuration header file
** Copyright (c) Ralf S. Engelschall, <rse@engelschall.com>
**
*/
#define AC_perl_prog "/cw/bin/perl"
#define AC_perl_vers "5.006"
#define AC_perl_vnum 500600
#define AC_perl_archlib "/cw/lib/perl5/5.6.1/sun4-solaris"
#define AC_perl_libs "-lsocket -lnsl -ldl -lm -lc"
#define AC_perl_dla "/cw/lib/perl5/5.6.1/sun4-solaris/auto/DynaLoader/DynaLoader.a"
#define AC_prefix "/usr/local"
#define AC_build_user "barbier@foo.bar"
#define AC_build_time_iso "19-Mar-2002"
#endif /* SC_H */