|
Posted by Mladen Gogala on 07/07/06 14:18
Otto J. Makela wrote:
> I'm trying to install to php the Perl-1.0.0.tgz package (from
> http://pecl.php.net/package/perl, enabling one to call perl libraries)
> to a pre-existing Solaris system.
> % uname -a
> SunOS swen 5.8 Generic_117000-01 sun4u sparc SUNW,Sun-Fire-V240
> % php --version
> PHP 5.1.4 (cli) (built: Jun 5 2006 21:52:15) (DEBUG)
> Copyright (c) 1997-2006 The PHP Group
> Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
> % perl --version
> This is perl, v5.8.0 built for sun4-solaris
>
> Copyright 1987-2002, Larry Wall
>
> Perl may be copied only under the terms of either the Artistic License or the
> GNU General Public License, which may be found in the Perl 5 source kit.
>
> Complete documentation for Perl, including FAQ lists, should be found on
> this system using `man perl' or `perldoc perl'. If you have access to the
> Internet, point your browser at http://www.perl.com/, the Perl Home Page.
>
> % make
> /bin/bash /home/otto/Software/perl-1.0.0/libtool --mode=link gcc -DPHP_ATOM_INC -I/home/otto/Software/perl-1.0.0/include -I/home/otto/Software/perl-1.0.0/main -I/home/otto/Software/perl-1.0.0 -I/opt/php/include/php -I/opt/php/include/php/main -I/opt/php/include/php/TSRM -I/opt/php/include/php/Zend -I/opt/php/include/php/ext -DHAVE_CONFIG_H -g -O2 -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/lib/perl5/5.8.0/sun4-solaris/CORE -o perl.la -export-dynamic -avoid-version -prefer-pic -module -rpath /home/otto/Software/perl-1.0.0/modules -L/usr/local/lib -L/opt/local/lib /opt/local/lib/perl5/5.8.0/sun4-solaris/auto/DynaLoader/DynaLoader.a -L/opt/local/lib/perl5/5.8.0/sun4-solaris/CORE -lperl -lsocket -lnsl -ldl -lm -lc php_perl.lo
>
> *** Warning: Linking the shared library perl.la against the
> *** static library /opt/local/lib/perl5/5.8.0/sun4-solaris/auto/DynaLoader/DynaLoader.a is not portable!
> gcc -shared -Wl,-h -Wl,perl.so -o .libs/perl.so .libs/php_perl.o -L/usr/local/lib -L/opt/local/lib /opt/local/lib/perl5/5.8.0/sun4-solaris/auto/DynaLoader/DynaLoader.a -L/opt/local/lib/perl5/5.8.0/sun4-solaris/CORE -lperl -lsocket -lnsl -ldl -lm -lc -lc
> Text relocation remains referenced
> against symbol offset in file
> <unknown> 0x2118 /opt/local/lib/perl5/5.8.0/sun4-solaris/CORE/libperl.a(perl.o)
> <unknown> 0x211c /opt/local/lib/perl5/5.8.0/sun4-solaris/CORE/libperl.a(perl.o)
Otto, this is a rather old version of Perl. Try getting newer version
from ActiveState and then linking PECL extension.
[Back to original message]
|