php-install Digest 28 Aug 2001 17:58:05 -0000 Issue 434
Topics (messages 4094 through 4098):
crypt
4094 by: Katja Reissig
gd-lib with freetype ttf ( AIX )
4095 by: Berthold Reif
Re: /usr/bin/ld cannot find -limap
4096 by: Francois Thomas
Re: oci8 support not functioning
4097 by: Thies C. Arntzen
iODBC Troubles
4098 by: Jonathan Hilgeman
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]
----------------------------------------------------------------------
Hi,
i would like to build php-4.0.6 with java, but the php did not find the library
crypt:
I do not know, what I should be do?
Do you have any ideas?
Thanks Katja
attached the debug.log
debug.log
Hi all,
We tried to install apache with PHP, gd-lib and freetype ttf support on an
IBM AIX 4.3.3. system.
freetype 2.0.4 was generated in /usr/local/gnutils/freetype-2.0.4/ (with
jam).
We tried the following config command:
./configure --with-apache=../apache_1.3.20 --without-mysql --enable-gd-nativ
e-tt --with-gd --with-freetype=/usr/local/gnutils/freetype-2.0.4/ --with-ttf
--with-jpeg-dir=/usr/local
everything compiles fine and phpinfo gives the following results :
Section gd
GD Support enabled
GD Version 1.6.2 or higher
JPG Support enabled
PNG Support enabled
WBMP Support enabled
But ttf-functions still wont work.
If we try --with-ttf=/usr/local/gnutils/freetype-2.0.4/ instead:
./configure --with-apache=../apache_1.3.20 --without-mysql --enable-gd-nati
ve-ttf --with-gd --with-freetype=/usr/local/gnutils/freetype-2.0.4/ --with-t
tf=/usr/local/gnutils/freetype-2.0.4/ --with-jpeg-dir=/usr/local
Then the compiler stops with errros at gdttf.c.
What are we doing wrong ??
Thanks in advance for your help.
Regards
Berthold
Hello list
I run php4.06 with apache1.3.14 and postgresql7.1.3
I now need imap support with php, so I tried to recompile it.. The configure
script works well, but when I try to make I have the following error:
make[1]: Entre dans le répertoire `/usr/local/src/php-4.0.6'
/bin/sh /usr/local/src/php-4.0.6/libtool --silent --mode=link gcc -I.
-I/usr/local/src/php-4.0.6/ -I/usr/local/src/php-4.0.6/main
-I/usr/local/src/php-4.0.6 -I/usr/local/apache/include
-I/usr/local/src/php-4.0.6/Zend -I/usr/include/c-client
-I/usr/local/src/php-4.0.6/ext/xml/expat/xmltok
-I/usr/local/src/php-4.0.6/ext/xml/expat/xmlparse
-I/usr/local/src/php-4.0.6/TSRM -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT
-DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -o libphp4.la -rpath
/usr/local/src/php-4.0.6/libs -avoid-version -L/usr/local/pgsql/lib -R
/usr/local/pgsql/lib stub.lo Zend/libZend.la sapi/apache/libsapi.la
main/libmain.la regex/libregex.la ext/calendar/libcalendar.la
ext/imap/libimap.la ext/pcre/libpcre.la ext/pgsql/libpgsql.la
ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la
ext/xml/libxml.la TSRM/libtsrm.la -limap -ldl -lpq -lcrypt -lresolv -lm -ldl
-lnsl -lresolv
/usr/bin/ld: cannot find -limap
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Erreur 1
make[1]: Quitte le répertoire `/usr/local/src/php-4.0.6'
make: *** [all-recursive] Erreur 1
I use a Debian system (2.2_r3 Potato), with libc-client4.7 and
libc-client4.7-dev installed.
Any advice welcome !
TIA
François
PS By the way, here is my configure line:
./configure --with-apxs=/usr/local/apache/bin/apxs --enable-magic-quotes
--enable-calendar --with-pgsql --without-mysql --with-imap
On 06 Aug 2001 12:06:38 -0700, Tom Tsongas wrote:
> Hi folks.
>
> I am attempting to get php up and running with oracle and oci8 support
> bundled in. My configure statement is as follows:
>
> ./configure --with-oci8=/oracle/product/8.1.7
> --with-oracle=/oracle/product/8.1.7 --with-apache=../apache_1.3.20
> --enable-track-vars
--with-oci8=/oracle/product/8.1.7
will do the trick for you - --with-oracle enables "only" the old ora-*()
functions
re,
tc
>
> I ran make and then make install per the instructions. Next, I did the
> following:
>
> cd ../apache_1.3.20
> ./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a
> make
> make install
>
> I have altered both my php.ini and httpd.conf accordingly so I know php
> is running. However, any time I attempt to utilize oci8 functions like
> ocilogon, I get 'undefined' function errors. These php scripts work on
> my W2K system running PHP4 with Apache.
>
> Any ideas folks? Did I miss a step?
>
> Thanks in advance!
> Tom
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
I first tried unixODBC in order to get ODBC functionality on my FreeBSD 4.2
box with PHP 4.0.3 on Apache 1.3.14. It didn't work too well, and I kept
getting an error about undefined symbols like pthread_mutex_init or
something when trying to run command-line sample applications. So someone
suggested I use iODBC instead and I responded:
Okay, I uninstalled unixODBC and tried iODBC ( I actually began to try it
before, but then thought of something that might work on unixODBC, so I went
back to it ).
Now iODBC's odbctest application works with myODBC installed. However, after
I recompile PHP with iodbc parameters, I try to run the odbc_connect
function. If I misspell the DSN or use a non-existent one, I will get the
following message:
Warning: SQL error: [iODBC][Driver Manager]Data source name not found and no
default driver specified. Driver could not be loaded, SQL state IM002 in
SQLConnect
Now, if I spell the defined DSN correctly and reload the page, the
application just hangs. If I look at my error logs I see this:
/usr/libexec/ld-elf.so.1: /usr/local/lib/libmyodbc.so: Undefined symbol
"pthread_mutex_init"
Once for every time I reload the page. This is odd, because this was a
problem message I was receiving when testing unixODBC on the command line.
After I installed iODBC, the command-line application was able to connect
and query perfectly! So what gives? Why does one application work and
another does not?
I set the following environment vars - some may not make sense, but I've
been trying everything:
$EnvVars["LD_LIBRARY_PATH"] = "/usr/local/lib:/usr/include";
$EnvVars["LD_RUN_PATH"] = "/usr/local/lib:/usr/include";
$EnvVars["ODBCINI"] = "/usr/local/src/odbcsdk/doc/odbc.ini";
$EnvVars["PATH"] =
"/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/hom
e/suroot/bin:/usr/libexec:/usr/include";
foreach($EnvVars as $Key => $Val)
{
putenv("$Key=$Val");
$HTTP_ENV_VARS["$Key"] = $Val;
}
I can see via phpinfo() that they are getting set. Any more ideas?
- Jonathan