List Info

Thread: note 71443 added to faq




note 71443 added to faq
user name
2006-11-29 11:17:43
I use RedHat Enterprise L3.
I installed XAMMP 1.4.16 (because i cannot use PHP5 &
MySQL5).
Now I have to install Tidy1.0 and SourceGuardian (only
binaries), but I dont succeed !

I have the XAMPP installation in /opt/lampp and the 
download of tidy_src.tgz & tidy_1.2.tgz.

I did:

tar -zxvf tidy_src.tgz
cd tidy
sh build/gnuauto/setup.sh
./configure --with-shared
make
make install
=======================
after in /usr/local/lib 
lrwxrwxrwx    1 root     root           21 29 nov 10:57
libtidy-0.99.so.0 -> libtidy-0.99.so.0.0.0
-rwxr-xr-x    1 root     root       322936 29 nov 10:57
libtidy-0.99.so.0.0.0
-rw-r--r--    1 root     root       338288 29 nov 10:57
libtidy.a
-rwxr-xr-x    1 root     root          721 29 nov 10:57
libtidy.la
lrwxrwxrwx    1 root     root           21 29 nov 10:57
libtidy.so -> libtidy-0.99.so.0.0.0
=================================

then I did

tar -zxvf tidy-1.2.tgz
cd tidy-1.2
phpize

=======
the output is: 
grep: /opt/lampp/include/php/main/php.h: No such file or
directory
grep: /opt/lampp/include/php/Zend/zend_modules.h: No such
file or directory
grep: /opt/lampp/include/php/Zend/zend_extensions.h: No such
file or directory
Configuring for:
PHP Api Version:        
Zend Module Api No:     
Zend Extension Api No:  
=======

./configure

=====================
the output is: 
............
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
==================================

make

==================
/bin/sh /opt/tidy-1.2/libtool --mode=compile gcc  -I.
-I/opt/tidy-1.2 -DPHP_ATOM_INC -I/opt/tidy-1.2/include
-I/opt/tidy-1.2/main -I/opt/tidy-1.2
-I/opt/lampp/include/php -I/opt/lampp/include/php/main
-I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend
-I/usr/local/include  -DHAVE_CONFIG_H  -g -O2   -c
/opt/tidy-1.2/tidy.c -o tidy.lo 
gcc -I. -I/opt/tidy-1.2 -DPHP_ATOM_INC
-I/opt/tidy-1.2/include -I/opt/tidy-1.2/main -I/opt/tidy-1.2
-I/opt/lampp/include/php -I/opt/lampp/include/php/main
-I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend
-I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c
/opt/tidy-1.2/tidy.c  -fPIC -DPIC -o tidy.lo
/opt/tidy-1.2/tidy.c:26:17: php.h: No such file or directory
In file included from /opt/tidy-1.2/tidy.c:27:
/opt/tidy-1.2/php_tidy.h:25: syntax error before
"tidy_module_entry"
/opt/tidy-1.2/php_tidy.h:25: warning: data definition has no
type or storage class

..... omissis

make: *** [tidy.lo] Error 1
====================================

Can anyone help me ??

PS: I must have the PHP source???

thanks in advance
----
Server IP: 80.241.173.254
Probable Submitter: 62.152.115.211
----
Manual Page -- http://www.php.n
et/manual/en/faq.php
Edit        -- https://master
.php.net/note/edit/71443
Del: integrated  -- h
ttps://master.php.net/note/delete/71443/integrated
Del: useless     -- http
s://master.php.net/note/delete/71443/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/71443/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/71443/spam
Del: non-english -- 
https://master.php.net/note/delete/71443/non-english
Del: in docs     -- http
s://master.php.net/note/delete/71443/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/71443
Reject      -- https://mast
er.php.net/note/reject/71443
Search      -- https://
master.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

note 71443 rejected from faq by nlopess
user name
2006-11-30 23:01:29
Note Submitter: marco dot giovanrosa at bull dot it 

----

I use RedHat Enterprise L3.
I installed XAMMP 1.4.16 (because i cannot use PHP5 &
MySQL5).
Now I have to install Tidy1.0 and SourceGuardian (only
binaries), but I dont succeed !

I have the XAMPP installation in /opt/lampp and the 
download of tidy_src.tgz & tidy_1.2.tgz.

I did:

tar -zxvf tidy_src.tgz
cd tidy
sh build/gnuauto/setup.sh
./configure --with-shared
make
make install
=======================
after in /usr/local/lib 
lrwxrwxrwx    1 root     root           21 29 nov 10:57
libtidy-0.99.so.0 -> libtidy-0.99.so.0.0.0
-rwxr-xr-x    1 root     root       322936 29 nov 10:57
libtidy-0.99.so.0.0.0
-rw-r--r--    1 root     root       338288 29 nov 10:57
libtidy.a
-rwxr-xr-x    1 root     root          721 29 nov 10:57
libtidy.la
lrwxrwxrwx    1 root     root           21 29 nov 10:57
libtidy.so -> libtidy-0.99.so.0.0.0
=================================

then I did

tar -zxvf tidy-1.2.tgz
cd tidy-1.2
phpize

=======
the output is: 
grep: /opt/lampp/include/php/main/php.h: No such file or
directory
grep: /opt/lampp/include/php/Zend/zend_modules.h: No such
file or directory
grep: /opt/lampp/include/php/Zend/zend_extensions.h: No such
file or directory
Configuring for:
PHP Api Version:        
Zend Module Api No:     
Zend Extension Api No:  
=======

./configure

=====================
the output is: 
............
configure: creating ./config.status
config.status: creating config.h
config.status: config.h is unchanged
==================================

make

==================
/bin/sh /opt/tidy-1.2/libtool --mode=compile gcc  -I.
-I/opt/tidy-1.2 -DPHP_ATOM_INC -I/opt/tidy-1.2/include
-I/opt/tidy-1.2/main -I/opt/tidy-1.2
-I/opt/lampp/include/php -I/opt/lampp/include/php/main
-I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend
-I/usr/local/include  -DHAVE_CONFIG_H  -g -O2   -c
/opt/tidy-1.2/tidy.c -o tidy.lo 
gcc -I. -I/opt/tidy-1.2 -DPHP_ATOM_INC
-I/opt/tidy-1.2/include -I/opt/tidy-1.2/main -I/opt/tidy-1.2
-I/opt/lampp/include/php -I/opt/lampp/include/php/main
-I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend
-I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c
/opt/tidy-1.2/tidy.c  -fPIC -DPIC -o tidy.lo
/opt/tidy-1.2/tidy.c:26:17: php.h: No such file or directory
In file included from /opt/tidy-1.2/tidy.c:27:
/opt/tidy-1.2/php_tidy.h:25: syntax error before
"tidy_module_entry"
/opt/tidy-1.2/php_tidy.h:25: warning: data definition has no
type or storage class

..... omissis

make: *** [tidy.lo] Error 1
====================================

Can anyone help me ??

PS: I must have the PHP source???

thanks in advance

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )