php-install Digest 15 May 2001 07:23:52 -0000 Issue 309

Topics (messages 3154 through 3160):

DEBUG.LOG
        3154 by: Knut Magne Huglen

mail() is not supported in this PHP build ???
        3155 by: Jan PAVL沰

4.0.5 compile errors
        3156 by: Closeout Distributors

PHP and Javascript Programming Problem
        3157 by: perrin_lee.hongkong.com
        3158 by: perrin_lee.hongkong.com

PHP4 Install Problems!
        3159 by: php.hayden.hawkfans.com

Apache-1.3.19 + PHP-4.0.5 + Oracle 8i
        3160 by: Andy Glen-Young

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


CONFIGURE:   './configure' '--with-mysql'
'--with-apxs=/var/lib/apache/sbin/apxs' '--with-gd'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES:    -I/var/lib/apache/include  -I$(top_builddir)/Zend
-I/root/php-4.0.5/ext/mysql/libmysql
LDFLAGS:
LIBS:       -lgd -lresolv -lm -ldl -lcrypt -lnsl  -lresolv
DLIBS:
SAPI:       apache
PHP_RPATHS:
uname -a:   Linux odin 2.2.16 #22 Fri Jun 16 16:51:24 PDT 2000 i686 unknown

gcc -o conftest -g -O2  -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -DSUPPORT_UTF8
conftest.c -lgd -lresolv -lm -ldl -lcrypt -lnsl  $
/usr/i386-slackware-linux/bin/ld: cannot open -lgd: No such file or
directory
collect2: ld returned 1 exit status




Hi,
I have really problem with %SUBJ%, what I do bad, that isn't work
function mail()????

THANX from Czech Republic :))



--
Jan PAVLIK, webmaster

--------------------------------------
CASHMAIL s.r.o.
[EMAIL PROTECTED]
0608/344 010
ICQ 6611951

Motto: Neco nefunguje? Zkuste nejdrive news://news.nixnet.cz/






Hi people,

I am having trouble installing php4.0.5.

php will configure successfully with the following options:

************************************************************************
./configure --with-apxs --with-pfpro=/usr/home/catfish/usr/local/include
************************************************************************


HOWEVER, at the end of configure there is a message given:

*********************************************************************************
                       *** ATTENTION ***                                               
     
                                                                                       
                             
Something is likely to be messed up here, because the configure    
script was not able to detect a simple feature on your platform.         
This is often caused by incorrect configuration parameters. Please  
see the file debug.log for error messages.                                            
                                                                                       
                              
If you are unable to fix this, send the file debug.log to the                     
[EMAIL PROTECTED] mailing list and include appropiate               
information about your setup.                                       
***********************************************************************************

 
The following is the contents of debug.log after running above configure:

***************************************************************************************
DEBUG.LOG::

CONFIGURE:   './configure' '--with-apxs' 
'--with-pfpro=/usr/home/catfish/usr/local/include'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -DSTATUS -DVSERV -DISERVER -DSTANDALONE -DFRONTPAGE -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES:    -I/usr/local/apache/1.2.6/include  -I$(top_builddir)/Zend -I/usr/ho
me/catfish/tmp-upload/php-4.0.5/ext/mysql/libmysql 
-I/usr/home/catfish/usr/local/include
LDFLAGS:     -R/usr/home/catfish/usr/local/include 
-L/usr/home/catfish/usr/local/include
LIBS:       -lpfpro -lm -lcrypt
DLIBS:
SAPI:       apache
PHP_RPATHS:  /usr/home/catfish/usr/local/include
uname -a:   FreeBSD mydomain.com 4.2-RELEASE FreeBSD 4.2-RELEASE #0b
: Thu Mar  1 13:10:54 MST 2001     root@fc:/usr/src/sys/compile/VKERN  i386

gcc -o conftest -g -O2  -DSTATUS -DVSERV -DISERVER -DSTANDALONE -DFRONTPAGE -DSU
PPORT_UTF8  -R/usr/home/catfish/usr/local/include 
-L/usr/home/catfish/usr/local/include conftest.c -lpfpro -lm -lcrypt  1>&5
/usr/lib/libc_r.so.4: WARNING!  setkey(3) not present in the system!
/usr/lib/libc_r.so.4: warning: this program uses gets(), which is unsafe.
/usr/lib/libc_r.so.4: warning: mktemp() possibly used unsafely; consider using m
kstemp()
/usr/lib/libc_r.so.4: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc_r.so.4: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc_r.so.4: warning: tmpnam() possibly used unsafely; consider using m
kstemp()
/usr/lib/libc_r.so.4: warning: this program uses f_prealloc(), which is stupid.
/usr/lib/libc_r.so.4: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc_r.so.4: warning: tempnam() possibly used unsafely; consider using
mkstemp()
**********************************************************************************************************
 
 
If I run 'make', the following errors come up:
 
************************************************************************************************************
         
dns.c: In function `php_if_checkdnsrr':
dns.c:188: `T_MX' undeclared (first use in this function)
dns.c:188: (Each undeclared identifier is reported only once
dns.c:188: for each function it appears in.)
dns.c:197: `T_A' undeclared (first use in this function)
dns.c:198: `T_NS' undeclared (first use in this function)
dns.c:200: `T_PTR' undeclared (first use in this function)
dns.c:201: `T_ANY' undeclared (first use in this function)
dns.c:202: `T_SOA' undeclared (first use in this function)
dns.c:203: `T_CNAME' undeclared (first use in this function)
dns.c:212: `C_IN' undeclared (first use in this function)
dns.c: In function `php_if_getmxrr':
dns.c:242: `HEADER' undeclared (first use in this function)
dns.c:242: `hp' undeclared (first use in this function)
dns.c:243: syntax error before `*'
dns.c:281: `i' undeclared (first use in this function)
dns.c:281: `C_IN' undeclared (first use in this function)
dns.c:281: `T_MX' undeclared (first use in this function)
dns.c:286: syntax error before `)'
dns.c:287: `cp' undeclared (first use in this function)
dns.c:288: `end' undeclared (first use in this function)
*** Error code 1

Stop in /usr/////ext/standard.
*** Error code 1

Stop in /usr/////ext/standard.
*** Error code 1

Stop in /usr/////ext.
*** Error code 1

Stop in /usr////                                 
*********************************************************************************************

If I take out --with-pfpro=path, the attention message is gone. However, I still get 
the make error above. 

HELP
 
Darin




Hi everybody

Firstly thk jean helpful !

The program have been modified, but also failed !

When I run the program and select the A only after submit the form, but the result are 
$user_options[0] = D,$user_select[1] =, $user_select[2] = and $user_select[3] =. Why 
it should be $user_select[0]=A only ? Also same problem  

Try to run the program. it okay !

Here is the full program
(testing.php)
============================================
<?php
session_register("user_options");
?>

<?php
include ("./jscript4.ini");

    $user_options;

    switch($action) {
    case "submit":
     for($i=0 ; $i<5 ; $i++) {
         echo "user_options[$i] = $user_options[$i]";
         echo "<p>";
     }
     break;

    default:
      display_screen();
     break;
  }

function display_screen() {

  global  $user_options;

  echo    "<head>";
  echo    "<title>Testing</title>";
  echo    "</head>";
  echo    "<body bgcolor=#FFFFFF text=#000000>";
  echo    "<hr>";
  echo    "<p>";
  echo    "<form name=form1 method='get'>";
  echo    "<input type=hidden name=action value='submit'>";

?>
   <table width="20%" border="1">
    <tr>

     <td>
      <select name="select1" size="4" >
       <option value="A">A
       <option value="B">B
       <option value="C">C
       <option value="D">D
      </select>
     </td>

    <td>
      &nbsp; &nbsp; <input type="button" value="-->" onClick="createOptions()">
      <p>
    </td>

   <td>
      <select name="select2" size="4">
      <option value="" >&nbsp;You Selected
      <option value="" >&nbsp;---------------
      </select>
   </td>

   </tr>
  </table>
  <hr>
  <br>
  <br>
  <p>
  <center>
  <p>
<?
  //initial user_options data = "0"
  $user_options[0] = '0';

  echo "<input type=Submit name=action value=submit onClick=\"ViewOptions()\">&nbsp; 
&nbsp;";
  echo "<input type='reset' name='Submit2' value='Reset'>";
?>
  </center>
  </P>
  </form>
  </body>

  <script>
  <!--
  function ViewOptions() {

      alert("debug1 user_options = <? echo "$user_options[0]"; ?> ");

      var item  = document.form1.select2.options.length;

      if(item > 2) {
         <? $j=0; ?>
         for (var i=2; i<item; i++) {
            var temp = document.form1.select2.options[i].text;
            switch(temp) {
               case "A":
                  alert("debug2 set user_options[<?echo "$j";?>] = A");
                  <?php $user_options[$j]='A'; ?>
                   alert("debug3 user_options[<?echo"$j";?>] = <?echo 
"$user_options[$j]"; ?>");
                break;

               case "B":
                  alert("debug2 set user_options[<?echo "$j";?>] = B");
                   <?php $user_options[$j]='B';?>
                   alert("debug3 user_options[<?echo"$j";?>] = <?echo 
"$user_options[$j]"; ?>");
                 break;

               case "C":
                  alert("debug2 set user_options[<?echo "$j";?>] = C");
                   <?php $user_options[$j]='C';?>
                   alert("debug3 user_options[<?echo"$j";?>] = <?echo 
"$user_options[$j]"; ?>");
                 break;

                case "D":
                  alert("debug2 set user_options[<?echo "$j";?>] = D");
                   <?php $user_options[$j]='D';?>
                   alert("debug3 user_options[<?echo"$j";?>] = <?echo 
"$user_options[$j]"; ?>");
                 break;
              }
              <? $j++; ?>
           }
       }
       alert("debug END");
    }
   //-->
   </script>
<?
}

?>


//Other part jscript4.ini file 
(jscript4.ini)
==========================================
<script language="JavaScript1.1">
<!--
function createOptions(){

      sel1 = document.form1.select1;
      sel2 = document.form1.select2;
      var num    = sel1.selectedIndex;
      var option = new Option(sel1.options[num].text);
      var item   = sel2.options.length;

      sel2.options[item] = option;
      sel1.selectedIndex = 10000;
}

//-->
</script>




----------------------------------------------
 歡迎使用HongKong.com郵件系統
 Thank you for using hongkong.com Email system





Hi everybody

Firstly thk jean helpful !

The program have been modified, but also failed !

When I run the program and select the A only after submit the form, but the result are 
$user_options[0] = D,$user_select[1] =, $user_select[2] = and $user_select[3] =. Why 
it should be $user_select[0]=A only ? Also same problem  

Try to run the program. it okay !

Here is the full program
(testing.php)
============================================
<?php
session_register("user_options");
?>

<?php
include ("./jscript4.ini");

    $user_options;

    switch($action) {
    case "submit":
     for($i=0 ; $i<5 ; $i++) {
         echo "user_options[$i] = $user_options[$i]";
         echo "<p>";
     }
     break;

    default:
      display_screen();
     break;
  }

function display_screen() {

  global  $user_options;

  echo    "<head>";
  echo    "<title>Testing</title>";
  echo    "</head>";
  echo    "<body bgcolor=#FFFFFF text=#000000>";
  echo    "<hr>";
  echo    "<p>";
  echo    "<form name=form1 method='get'>";
  echo    "<input type=hidden name=action value='submit'>";

?>
   <table width="20%" border="1">
    <tr>

     <td>
      <select name="select1" size="4" >
       <option value="A">A
       <option value="B">B
       <option value="C">C
       <option value="D">D
      </select>
     </td>

    <td>
      &nbsp; &nbsp; <input type="button" value="-->" onClick="createOptions()">
      <p>
    </td>

   <td>
      <select name="select2" size="4">
      <option value="" >&nbsp;You Selected
      <option value="" >&nbsp;---------------
      </select>
   </td>

   </tr>
  </table>
  <hr>
  <br>
  <br>
  <p>
  <center>
  <p>
<?
  //initial user_options data = "0"
  $user_options[0] = '0';

  echo "<input type=Submit name=action value=submit onClick=\"ViewOptions()\">&nbsp; 
&nbsp;";
  echo "<input type='reset' name='Submit2' value='Reset'>";
?>
  </center>
  </P>
  </form>
  </body>

  <script>
  <!--
  function ViewOptions() {

      alert("debug1 user_options = <? echo "$user_options[0]"; ?> ");

      var item  = document.form1.select2.options.length;

      if(item > 2) {
         <? $j=0; ?>
         for (var i=2; i<item; i++) {
            var temp = document.form1.select2.options[i].text;
            switch(temp) {
               case "A":
                  alert("debug2 set user_options[<?echo "$j";?>] = A");
                  <?php $user_options[$j]='A'; ?>
                   alert("debug3 user_options[<?echo"$j";?>] = <?echo 
"$user_options[$j]"; ?>");
                break;

               case "B":
                  alert("debug2 set user_options[<?echo "$j";?>] = B");
                   <?php $user_options[$j]='B';?>
                   alert("debug3 user_options[<?echo"$j";?>] = <?echo 
"$user_options[$j]"; ?>");
                 break;

               case "C":
                  alert("debug2 set user_options[<?echo "$j";?>] = C");
                   <?php $user_options[$j]='C';?>
                   alert("debug3 user_options[<?echo"$j";?>] = <?echo 
"$user_options[$j]"; ?>");
                 break;

                case "D":
                  alert("debug2 set user_options[<?echo "$j";?>] = D");
                   <?php $user_options[$j]='D';?>
                   alert("debug3 user_options[<?echo"$j";?>] = <?echo 
"$user_options[$j]"; ?>");
                 break;
              }
              <? $j++; ?>
           }
       }
       alert("debug END");
    }
   //-->
   </script>
<?
}

?>


//Other part jscript4.ini file 
(jscript4.ini)
==========================================
<script language="JavaScript1.1">
<!--
function createOptions(){

      sel1 = document.form1.select1;
      sel2 = document.form1.select2;
      var num    = sel1.selectedIndex;
      var option = new Option(sel1.options[num].text);
      var item   = sel2.options.length;

      sel2.options[item] = option;
      sel1.selectedIndex = 10000;
}

//-->
</script>




----------------------------------------------
 歡迎使用HongKong.com郵件系統
 Thank you for using hongkong.com Email system
 
----------------------------------------------
 歡迎使用HongKong.com郵件系統
 Thank you for using hongkong.com Email system





I'm trying to install PHP4 as an Apache Module by following the
instructions in the PHP manual.  Here are the specifics of my install:

Apache: 1.3.19
  Configuration options: ./configure --bindir=/usr/local/apache/bin
--sbindir=/usr/local/apache/bin --libexecdir=/usr/local/apache/libexec
--datadir=/data/httpd --enable-module=so

PHP: 4.04pl1
  Configuration options: ./configure --with-mysql
--with-apache=/tmp/apache_1.3.19 --with-ldap --with-imap
--enable-track-vars --enable-magic-quotes --with-ldap --enable-trans-sid
--enable-force-cgi-redirect

I do all of the associated makes on PHP, then add the PHP4 module into
Apache by running ./configure --activate-module=src/modules/php4/libphp4.a

That runs without a hitch.  However, when I try a make on Apache, I get 

gcc -c  -I./os/unix -I./include   -DLINUX=22 -I/tmp/php-4.0.4pl1
-I/tmp/php-4.0.4pl1/main -I/tmp/php-4.0.4pl1/main -I/tmp/php-4.0.4pl1/Zend
-I/tmp/php-4.0.4pl1/Zend -I/tmp/php-4.0.4pl1/TSRM -I/tmp/php-4.0.4pl1/TSRM
-I/tmp/php-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
`./apaci` modules.c
gcc -c  -I./os/unix -I./include   -DLINUX=22 -I/tmp/php-4.0.4pl1
-I/tmp/php-4.0.4pl1/main -I/tmp/php-4.0.4pl1/main -I/tmp/php-4.0.4pl1/Zend
-I/tmp/php-4.0.4pl1/Zend -I/tmp/php-4.0.4pl1/TSRM -I/tmp/php-4.0.4pl1/TSRM
-I/tmp/php-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
`./apaci` buildmark.c
gcc  -DLINUX=22 -I/tmp/php-4.0.4pl1 -I/tmp/php-4.0.4pl1/main
-I/tmp/php-4.0.4pl1/main -I/tmp/php-4.0.4pl1/Zend -I/tmp/php-4.0.4pl1/Zend
-I/tmp/php-4.0.4pl1/TSRM -I/tmp/php-4.0.4pl1/TSRM -I/tmp/php-4.0.4pl1
-DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`    \
      -o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a
lib/expat-lite/libexpat.a  -rdynamic -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4  -lpam -lc-client  -ldl -lldap -llber
-lresolv -lm -ldl -lcrypt -lnsl  -lresolv   -lm -lcrypt
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o):
In function `auth_gssapi_valid':
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:86: undefined reference to
`gss_mech_krb5'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:87: undefined reference to
`gss_mech_set_krb5'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:89: undefined reference to
`gss_nt_service_name'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:89: undefined reference to
`gss_import_name'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:91: undefined reference to
`krb5_defkeyname'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:93: undefined reference to
`gss_release_name'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o):
In function `auth_gssapi_client':
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:127: undefined reference
to `gss_nt_service_name'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:127: undefined reference
to `gss_import_name'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:129: undefined reference
to `gss_init_sec_context'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:136: undefined reference
to `gss_init_sec_context'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:140: undefined reference
to `gss_release_buffer'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:157: undefined reference
to `gss_unwrap'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:164: undefined reference
to `gss_release_buffer'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:171: undefined reference
to `gss_wrap'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:173: undefined reference
to `gss_release_buffer'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:180: undefined reference
to `gss_delete_sec_context'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:197: undefined reference
to `gss_display_status'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:203: undefined reference
to `gss_release_buffer'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:210: undefined reference
to `gss_display_status'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:217: undefined reference
to `gss_release_buffer'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:220: undefined reference
to `gss_display_status'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:226: undefined reference
to `gss_release_buffer'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:233: undefined reference
to `gss_release_name'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o):
In function `auth_gssapi_server':
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:266: undefined reference
to `gss_nt_service_name'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:266: undefined reference
to `gss_import_name'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:268: undefined reference
to `gss_acquire_cred'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:272: undefined reference
to `gss_accept_sec_context'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:278: undefined reference
to `gss_mech_krb5'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:286: undefined reference
to `gss_release_buffer'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:294: undefined reference
to `gss_display_name'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:299: undefined reference
to `gss_wrap'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:302: undefined reference
to `gss_release_buffer'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:303: undefined reference
to `gss_unwrap'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:304: undefined reference
to `krb5_init_context'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:308: undefined reference
to `krb5_parse_name'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:314: undefined reference
to `krb5_kuserok'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:314: undefined reference
to `krb5_kuserok'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:319: undefined reference
to `krb5_free_principal'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:322: undefined reference
to `krb5_free_context'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:325: undefined reference
to `gss_release_buffer'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:331: undefined reference
to `gss_release_buffer'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:334: undefined reference
to `gss_release_name'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:336: undefined reference
to `gss_delete_sec_context'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:339: undefined reference
to `gss_release_cred'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:343: undefined reference
to `gss_display_name'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:346: undefined reference
to `gss_display_status'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:352: undefined reference
to `gss_release_buffer'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:355: undefined reference
to `gss_display_status'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:360: undefined reference
to `gss_release_buffer'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_gss.c:365: undefined reference
to `gss_release_name'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o):
In function `ssl_onceonlyinit':
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:179: undefined reference
to `SSL_library_init'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o):
In function `ssl_open':
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:198: undefined reference
to `SSLv23_client_method'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:198: undefined reference
to `SSL_CTX_new'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:199: undefined reference
to `BIO_new_socket'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:200: undefined reference
to `SSL_CTX_ctrl'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:201: undefined reference
to `SSL_CTX_set_verify'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:202: undefined reference
to `SSL_CTX_set_default_verify_paths'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:203: undefined reference
to `SSL_new'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:204: undefined reference
to `SSL_set_bio'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:205: undefined reference
to `SSL_set_connect_state'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:206: undefined reference
to `SSL_state'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:206: undefined reference
to `SSL_ctrl'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o):
In function `ssl_getdata':
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:315: undefined reference
to `SSL_get_fd'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:318: undefined reference
to `SSL_read'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:336: undefined reference
to `SSL_read'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o):
In function `ssl_sout':
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:375: undefined reference
to `SSL_write'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o):
In function `ssl_abort':
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:401: undefined reference
to `SSL_shutdown'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:402: undefined reference
to `SSL_free'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:406: undefined reference
to `SSL_CTX_free'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o):
In function `server_input_wait':
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:588: undefined reference
to `SSL_get_fd'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:591: undefined reference
to `SSL_read'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o):
In function `ssl_server_init':
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:623: undefined reference
to `ERR_load_crypto_strings'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:624: undefined reference
to `SSL_load_error_strings'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:634: undefined reference
to `SSLv23_server_method'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:634: undefined reference
to `SSL_CTX_new'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:635: undefined reference
to `SSL_CTX_ctrl'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:637: undefined reference
to `SSL_CTX_use_certificate_file'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:640: undefined reference
to `SSL_CTX_use_RSAPrivateKey_file'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:644: undefined reference
to `SSL_CTX_ctrl'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:645: undefined reference
to `SSL_CTX_set_tmp_rsa_callback'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:647: undefined reference
to `SSL_new'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:649: undefined reference
to `SSL_set_fd'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:651: undefined reference
to `SSL_accept'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:663: undefined reference
to `ERR_error_string'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:663: undefined reference
to `ERR_get_error'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o):
In function `ssl_genkey':
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:678: undefined reference
to `RSA_generate_key'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:683: undefined reference
to `ERR_error_string'
/usr/src/bs/BUILD/imap-4.7c/c-client/auth_ssl.c:683: undefined reference
to `ERR_get_error'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/tmp/apache_1.3.19/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/tmp/apache_1.3.19'
make: *** [build] Error 2

Any Ideas?  HELP!!!

Thanks.






Hello all,

I'm having problems installing the above mentioned software. The configure
runs fine, but the make exits with an error; cannot find oci.h. This find
does not exist on my machine, so I presume that configure creates it?

Does anyone know what I'm doing wrong? (I'm sure it's me! Aaaargh!)
Your help is much appreciated.

---- CONFIGURE ----

./configure --prefix=/usr --sysconfdir=/etc/php --with-apx
--with-apache=/usr/src/apache_1.3.19  --with-config-file-path=/etc/php
--with-openssl  --with-jpeg-dir=/usr/lib --with-zlib --with-gd=shared
--enable-ftp --enable-gd-native-ttf --with-oci8=/usr/local/oracle
--enable-sigchild  --with-png-dir=/usr/lib  --with-regex=php --with-gnu-ld

---- MAKE ----

... (blah) ...

make[2]: Entering directory `/usr/src/php-4.0.5/main'
/bin/sh /usr/src/php-4.0.5/libtool --silent --mode=compile gcc
-I. -I/usr/src/php-4.0.5/main -I/usr/src/php-4.0.5/main
-I/usr/src/php-4.0.5 -I/usr/src/apache_1.3.19/src/include
-I/usr/src/apache_1.3.19/src/os/unix -I/usr/src/php-4.0.5/Zend
-I/usr/include/freetype -I/usr/local/oracle/rdbms/demo
-I/usr/src/php-4.0.5/ext/xml/expat/xmltok
-I/usr/src/php-4.0.5/ext/xml/expat/xmlparse -I/usr/src/php-4.0.5/TSRM
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2  -c internal_functions.c
In file included from internal_functions.c:33:
/usr/src/php-4.0.5/ext/oci8/php_oci8.h:45: oci.h: No such file or
directory
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/usr/src/php-4.0.5/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.0.5/main'
make: *** [all-recursive] Error 1

Thanks,

--
------------------------------------------------------------
Andy Glen-Young                 email: [EMAIL PROTECTED]
Systems Administrator           phone: (021) 683-7280
iafrica.com                     fax:   (021) 683-7299

"verum ipsum factum"
        - "Understanding arises through making."

============================================================



Reply via email to