Re: SWF and PHP 4.0.6
| From: | Richard Lynch | Date: | Fri, 14 Sep 2001 05:30:52 +0000 |
| Subject: | Re: SWF and PHP 4.0.6 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67329@lists.php.net to get a copy of this message | ||
You did more than just uncompress it, no?...
I've never done it, but I assume you also need to compile the swf stuff...
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Devin Atencio <dreamboy@aros.net>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Thursday, September 13, 2001 5:22 PM
Subject: SWF and PHP 4.0.6
I am trying to get SWF installed into PHP for a customer and I am having
some problems.
I downloaded the file dist.99.freebsd.tar.Z and uncompressed the file. Then
reading the
page on swf on the PHP.net website I did as one user suggested and copied
the libswf.a
into the /usr/local/lib and then copied swf.h into /usr/local/include and
then compiled
php with ./configure --with-swf=/usr/local and then it bombed on the
compiling of PHP
doing.
/bin/sh /home/d/dreamboy/php-4.0.6/libtool --silent --mode=link
gcc -I. -I/home/d/dreamboy/php-4.0.6/ -I/home/d/dreamboy/php-4.0.6/main -I/
home/d/dreamboy/php-4.0.6 -I/home/d/dreamboy/php-4.0.6/Zend -I/usr/local/inc
lude -I/home/d/dreamboy/php-4.0.6/ext/mysql/libmysql -I/home/d/dreamboy/php-
4.0.6/ext/xml/expat/xmltok -I/home/d/dreamboy/php-4.0.6/ext/xml/expat/xmlpar
se -I/home/d/dreamboy/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g
-O2 -o php -export-dynamic stub.lo libphp4.la
.libs/libphp4.a(swf.o): In function `php_if_swf_openfile':
/home/d/dreamboy/php-4.0.6/ext/swf/swf.c(.text+0x7ef): undefined reference
to `swf_openfile'
.libs/libphp4.a(swf.o): In function `php_if_swf_closefile':
/home/d/dreamboy/php-4.0.6/ext/swf/swf.c:236: undefined reference to
`swf_closefile'
.libs/libphp4.a(swf.o): In function `php_if_swf_labelframe':
/home/d/dreamboy/php-4.0.6/ext/swf/swf.c(.text+0x970): undefined reference
to `swf_labelframe'
... cut because of length ...
Is there a better way to do this? Is there a better library to use for Flash
with PHP?
Any suggestions would be appreciated?