#27531 [Opn]: configure works, but make breaks when --enable-xslt and --with-xslt-sablot
| From: | mrowe at pointsystems dot com | Date: | Wed, 10 Mar 2004 19:29:15 +0000 |
| Subject: | #27531 [Opn]: configure works, but make breaks when --enable-xslt and --with-xslt-sablot | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-56258@lists.php.net to get a copy of this message | ||
ID: 27531
User updated by: mrowe at pointsystems dot com
Reported By: mrowe at pointsystems dot com
Status: Open
Bug Type: XSLT related
Operating System: Solaris 9
PHP Version: 4.3.4
New Comment:
note: when i edited the include/php_sab_info.h file, i was sure to add
the "\n" characters, so the file now looks like the single line you
suggested:
#define SAB_INFO "Cflags: -g -O2\nLibs: -L/www/sablot-1.0/lib
-lexpat\nPrefix: /www/sablot-1.0"
Previous Comments:
------------------------------------------------------------------------
[2004-03-10 14:26:17] mrowe at pointsystems dot com
still no luck. i've tried the 4.3.4 release as well as the latest
stable release. i've edited the include/php_sab_info.h files such that
they are a single line (both had real line breaks in the distributions,
as displayed by 'vi' and 'more').
for what it's worth, i tried maximo@migliari.com's solution listed
here: http://www.php.net/manual/en/ref.xslt.php.
that's not doing
anything productive either.
i'm still getting as similar error message:
/bin/sh /raid/people/psystems/download/php-4.3.4/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/xslt/
-I/raid/people/psystems/download/php-4.3.4/ext/xslt/ -DPHP_ATOM_INC
-I/raid/people/psystems/download/php-4.3.4/include
-I/raid/people/psystems/download/php-4.3.4/main
-I/raid/people/psystems/download/php-4.3.4
-I/raid/people/psystems/download/php-4.3.4/Zend -I/usr/local/include
-I/usr/include/libxml2
-I/raid/people/psystems/download/php-4.3.4/ext/xml/expat
-D_POSIX_PTHREAD_SEMANTICS
-I/raid/people/psystems/download/php-4.3.4/TSRM -g -O2 -prefer-pic -c
/raid/people/psystems/download/php-4.3.4/ext/xslt/sablot.c -o
ext/xslt/sablot.lo
In file included from
/raid/people/psystems/download/php-4.3.4/ext/xslt/sablot.c:36:
/raid/people/psystems/download/php-4.3.4/include/php_sab_info.h:1:18:
missing terminating " character
In file included from
/raid/people/psystems/download/php-4.3.4/ext/xslt/sablot.c:36:
/raid/people/psystems/download/php-4.3.4/include/php_sab_info.h:2:
error: parse error before ':' token
/raid/people/psystems/download/php-4.3.4/include/php_sab_info.h:3:19:
missing terminating " character
In file included from /usr/include/fcntl.h:24,
from
/raid/people/psystems/download/php-4.3.4/ext/xslt/sablot.c:44:
/usr/include/sys/fcntl.h:180: error: parse error before '}' token
*** Error code 1
make: Fatal error: Command failed for target `ext/xslt/sablot.lo'
thanks,
matt
------------------------------------------------------------------------
[2004-03-09 19:38:40] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
That file should be all in one line, with \n between them, here's mine
with latest CVS snapshot:
#define SAB_INFO "Cflags: -g -O2\nLibs: -L/www/sablot-1.0/lib
-lexpat\nPrefix: /www/sablot-1.0"
------------------------------------------------------------------------
[2004-03-09 19:29:49] mrowe at pointsystems dot com
there are 4 lines in the file:
first line:
#define SAB_INFO "Cflags: -g -O2 -I/usr/local/include
-I/usr/local/include
second line:
Libs: -L/usr/local/lib -liconv -lexpat
third line:
Prefix: /usr/local"
fourth line is blank, with no whitespace.
thanks,
matt
------------------------------------------------------------------------
[2004-03-09 19:00:30] sniper@php.net
Was that all in one line? Didn't it have any \n in it?
------------------------------------------------------------------------
[2004-03-09 12:20:29] mrowe at pointsystems dot com
here is the content of
/raid/people/psystems/download/php-4.3.4/include/php_sab_info.h:
#define SAB_INFO "Cflags: -g -O2 -I/usr/local/include
-I/usr/local/include
Libs: -L/usr/local/lib -liconv -lexpat
Prefix: /usr/local"
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27531
--
Edit this bug report at http://bugs.php.net/?id=27531&edit=1