Hi CM,

At the bottom of the document, there is 3 lines telling me what I do to
install.
I have done it all with root priveleges, so that aint the problem.

I dont get any error when I run "php -v" should get the version number, but
I get notthing, not even a single error, just nothhing.

Hope there are other there have had the same problem and can help me...

// ouT 

>-----Oprindelig meddelelse-----
>Fra: Cool Moe [mailto:[EMAIL PROTECTED] 
>Sendt: 29. januar 2004 07:13
>Til: Mikael Syska
>Emne: Re: [PHP-INSTALL] The CLI wont work, does not give me any errors
>
>Mikael,
>
>I believe that when you configure, you need to add 
>--enable-cli to your list of options.  I could be wrong, and 
>sometimes I think it is by default included if you include the 
>pear libraries in your configure (always a good idea).  To see 
>all the relevant options, try typing ./configure --help.
>
>The output you display at the beginning of the message, before 
>you display the problem, is really very confusing to me, since 
>I don't know what you did to create the output, or what is 
>necessarily operating unexpectedly!
>
>If you do have the php binary built already and it just 
>doesn't run, you may need to be running it as root or with 
>root priveleges (as in using sudo).
>
>CM
>
>--- Mikael Syska <[EMAIL PROTECTED]> wrote:
>> var/www/php/main -I/var/www/php -I/var/www/php/Zend 
>> -I/usr/local/include -I/var/www/php/ext/xml/expat  
>-I/var/www/php/TSRM 
>> -g -O2  -prefer-pic -c /var/www/ php/sapi/cli/php_cli.c -o 
>> sapi/cli/php_cli.lo
>> /tmp/ccJ24958.s: Assembler messages:
>> /tmp/ccJ24958.s:3251: Warning: GOT relocation burb:
>> `_optind' should be
>> global
>> /tmp/ccJ24958.s:3251: Warning: GOT relocation burb:
>> `_optarg' should be
>> global
>> /tmp/ccJ24958.s:3251: Warning: GOT relocation burb:
>> `_optind' should be
>> global
>> /tmp/ccJ24958.s:3251: Warning: GOT relocation burb:
>> `_optarg' should be
>> global
>> /tmp/ccJ24958.s:3251: Warning: GOT relocation burb:
>> `_optarg' should be
>> global
>> /tmp/ccJ24958.s:3251: Warning: GOT relocation burb:
>> `_optarg' should be
>> global
>> /tmp/ccJ24958.s:3251: Warning: GOT relocation burb:
>> `_optarg' should be
>> global
>> /tmp/ccJ24958.s:3251: Warning: GOT relocation burb:
>> `_optarg' should be
>> global
>> /tmp/ccJ24958.s:3251: Warning: GOT relocation burb:
>> `_optarg' should be
>> global
>> /tmp/ccJ24958.s:3251: Warning: GOT relocation burb:
>> `_optind' should be
>> global
>> /tmp/ccJ24958.s:3251: Warning: GOT relocation burb:
>> `_optarg' should be
>> global
>> /tmp/ccJ24958.s:3251: Warning: GOT relocation burb:
>> `_optind' should be
>> global
>> /tmp/ccJ24958.s:3251: Warning: GOT relocation burb:
>> `_optarg' should be
>> global
>> /tmp/ccJ24958.s:3251: Warning: GOT relocation burb:
>> `_optind' should be
>> global
>> /bin/sh /var/www/php/libtool --silent
>> --preserve-dup-deps --mode=compile gcc -Isapi/cli/ 
>> -I/var/www/php/sapi/cli/ -DPHP_ATOM_INC -I/var/www/php/include -I/ 
>> var/www/php/main -I/var/www/php -I/var/www/php/Zend 
>> -I/usr/local/include -I/var/www/php/ext/xml/expat  
>-I/var/www/php/TSRM 
>> -g -O2  -prefer-pic -c /var/www/
>> 
>> Just some normal output inbetween......
>> Just some normal output inbetween......
>> Just some normal output inbetween......
>> Just some normal output inbetween......
>> Just some normal output inbetween......
>> 
>> .lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo 
>> Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo 
>> Zend/zend_extensions.lo Zend/zend_ hash.lo Zend/zend_list.lo 
>> Zend/zend_indent.lo Zend/zend_builtin_functions.lo 
>> Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo 
>> Zend/zend_multibyte.lo  Zend/zend_execute.lo sapi/cli/php_cli.lo 
>> sapi/cli/getopt.lo main/internal_functions_cli.lo -liconv -lintl -lm 
>> -o sapi/cli/php
>> ld: sapi/cli/php_cli.lo: relocation must refer to global symbol at 
>> 0x1872
>> ld: sapi/cli/php_cli.lo: relocation must refer to global symbol at 
>> 0x1742
>> ld: sapi/cli/php_cli.lo: relocation must refer to global symbol at 
>> 0x1735
>> ld: sapi/cli/php_cli.lo: relocation must refer to global symbol at 
>> 0x1711
>> ld: sapi/cli/php_cli.lo: relocation must refer to global symbol at 
>> 0x16bd
>> ld: sapi/cli/php_cli.lo: relocation must refer to global symbol at 
>> 0x1661
>> ld: sapi/cli/php_cli.lo: relocation must refer to global symbol at 
>> 0x164a
>> ld: sapi/cli/php_cli.lo: relocation must refer to global symbol at 
>> 0x1609
>> ld: sapi/cli/php_cli.lo: relocation must refer to global symbol at 
>> 0x1420
>> ld: sapi/cli/php_cli.lo: relocation must refer to global symbol at 
>> 0x1413
>> ld: sapi/cli/php_cli.lo: relocation must refer to global symbol at 
>> 0x11c4
>> ld: sapi/cli/php_cli.lo: relocation must refer to global symbol at 
>> 0x11bd
>> ld: sapi/cli/php_cli.lo: relocation must refer to global symbol at 
>> 0x1100
>> ld: sapi/cli/php_cli.lo: relocation must refer to global symbol at 
>> 0x10f5
>> /var/www/php/ext/mysql/libmysql/my_tempnam.c:115:
>> warning: tempnam()
>> possibly used unsafely; consider using mkstemp()
>> 
>> Build complete.
>> (It is safe to ignore warnings about tempnam and tmpnam).
>> 
>> Installing PHP CLI binary:        /usr/local/bin/
>> Installing PHP CLI man page:     
>> /usr/local/man/man1/
>> Installing PHP SAPI module:       apache
>> [activating module `php4' in
>> /var/www/conf/httpd.conf]
>> cp libs/libphp4.so
>> /usr/lib/apache/modules/libphp4.so
>> chmod 755 /usr/lib/apache/modules/libphp4.so
>> cp /var/www/conf/httpd.conf
>> /var/www/conf/httpd.conf.bak
>> cp /var/www/conf/httpd.conf.new
>> /var/www/conf/httpd.conf
>> rm /var/www/conf/httpd.conf.new
>> Installing shared extensions:
>>
>/usr/local/lib/php/extensions/no-debug-non-zts-20020429/
>> Installing PEAR environment:     
>> /usr/local/lib/php/
>> Installing build environment:    
>> /usr/local/lib/php/build/
>> Installing header files:         
>> /usr/local/include/php/
>> Installing helper programs:       /usr/local/bin/
>>   program: phpize
>>   program: php-config
>>   program: phpextdist
>> fw#
>> 
>> What is that, the CLI interface does not work, why?
>> what does that errors
>> mean???
>> When I type "php -v" I get nothing, not even a error...what can be 
>> wrong???
>> The php module for apahce works great, its just the CLI that 
>does not 
>> work, and its that I need ATM...
>> 
>> I run the install with "./configure
>> --with-apxs=/usr/sbin/apxs --with-mysql --without-xml 
>> --with-iconv=/usr/local/bin/ --with-gettext=/usr/local/bin/ 
>> --enable-dio --without-pear --enable-bcmath --enable-session 
>> --enable-trans-sid --enable-calendar --enable-ctype --enable-ftp 
>> --with-pcre-regex --with-posix --enable-sockets --enable-sysvsem 
>> --enable-sysvshm --enable-yp"
>> "make"
>> "make install"
>> 
>> Can any one help a desperate guy....
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free web site building tool. Try it!
>http://webhosting.yahoo.com/ps/sb/
>

Reply via email to