View Single Post
  #2  
Old 06-03-2010, 03:57 AM
-j0 -j0 is offline
New Member
 
Join Date: Jun 2010
Posts: 3
And the Last Issue,

Code:
make 
TSRM/tsrm_virtual_cwd.o: In function `virtual_file_ex':
/chroot/lsws/phpbuild/php-5.2.13/TSRM/tsrm_virtual_cwd.c:561: undefined reference to `php_realpath'
collect2: ld returned 1 exit status
make: *** [sapi/litespeed/php] Error 1
[root@server php-5.2.13]#

make install
collect2: ld returned 1 exit status
make: *** [sapi/litespeed/php] Error 1
[root@server php-5.2.13]# pwd
/chroot/lsws/phpbuild/php-5.2.13
[root@server php-5.2.13]# cd /opt/lsws/fcgi-bin
-bash: cd: /opt/lsws/fcgi-bin: No such file or directory
[root@server php-5.2.13]# cd /chroot/lsws/fcgi-bin
[root@server fcgi-bin]# ls -la
total 42832
drwxr-xr-x  2 root root      4096 Jun  3 05:07 .
drwxr-xr-x 16 root root      4096 Jun  3 04:51 ..
-r-xr-xr-x  1 root root      3317 Jun  2 10:21 lsperld.fpl
-r-xr-xr-x  1 root root   2016216 Jun  3 04:43 lsphp
lrwxrwxrwx  1 LSWS HTTPD        7 Jun  2 10:21 lsphp4 -> ./lsphp
lrwxrwxrwx  1 root root        12 Jun  3 05:07 lsphp5 -> lsphp-5.2.13
-rwxr-xr-x  1 root root  19871754 Jun  3 05:07 lsphp-5.2.13
-rwxr-xr-x  1 root root  19862305 Jun  3 04:51 lsphp-5.2.9
-r-xr-xr-x  1 LSWS HTTPD  2016216 Jun  2 11:42 lsphp.old
-r-xr-xr-x  1 root root      4666 Jun  3 04:43 RailsRunner.rb
-r-xr-xr-x  1 root root      1095 Jun  3 04:43 RailsRunner.rb.2.3
[root@server fcgi-bin]# mv lsphp lsphp.old
mv: overwrite `lsphp.old'? no
[root@server fcgi-bin]# mv lsphp.old lsphp.old_1
[root@server fcgi-bin]# mv lsphp lsphp.old
[root@server fcgi-bin]# ls -la
total 42832
drwxr-xr-x  2 root root      4096 Jun  3 05:50 .
drwxr-xr-x 16 root root      4096 Jun  3 04:51 ..
-r-xr-xr-x  1 root root      3317 Jun  2 10:21 lsperld.fpl
lrwxrwxrwx  1 LSWS HTTPD        7 Jun  2 10:21 lsphp4 -> ./lsphp
lrwxrwxrwx  1 root root        12 Jun  3 05:07 lsphp5 -> lsphp-5.2.13
-rwxr-xr-x  1 root root  19871754 Jun  3 05:07 lsphp-5.2.13
-rwxr-xr-x  1 root root  19862305 Jun  3 04:51 lsphp-5.2.9
-r-xr-xr-x  1 root root   2016216 Jun  3 04:43 lsphp.old
-r-xr-xr-x  1 LSWS HTTPD  2016216 Jun  2 11:42 lsphp.old_1
-r-xr-xr-x  1 root root      4666 Jun  3 04:43 RailsRunner.rb
-r-xr-xr-x  1 root root      1095 Jun  3 04:43 RailsRunner.rb.2.3
[root@server fcgi-bin]# cp /usr/src/php-5.2.13/sapi/litespeed/php ./lsphp
cp: cannot stat `/usr/src/php-5.2.13/sapi/litespeed/php': No such file or directory
[root@server fcgi-bin]# ls -la /usr/src/php-5.2.13/sapi/litespeed/php
ls: /usr/src/php-5.2.13/sapi/litespeed/php: No such file or directory
[root@server fcgi-bin]# ls -la /usr/src/php-5.2.13/sapi/litespeed/
total 144
drwxr-xr-x  2 root root  4096 Feb 23 11:06 .
drwxr-xr-x 23 root root  4096 Jun  2 11:14 ..
-rw-r--r--  1 root root  1474 Aug  7  2008 config.m4
-rw-r--r--  1 root root    22 Aug  5  2008 CREDITS
-rw-r--r--  1 root root  5748 Aug  5  2008 lsapidef.h
-rw-r--r--  1 root root 61373 Jan 12 14:24 lsapilib.c
-rw-r--r--  1 root root 11038 Jan 12 14:24 lsapilib.h
-rw-r--r--  1 root root 26457 Feb 23 11:06 lsapi_main.c
-rw-r--r--  1 root root    81 Aug  5  2008 Makefile.frag
-rw-r--r--  1 root root  8856 Aug  5  2008 README
[root@server fcgi-bin]#
please help int this errors, as i know it's strange and need some one expert in that, but i need to learn, that's it.


thanks for any one would help me here.
Reply With Quote