Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Problems when compiling PHP 4.2.3
I am having a problem getting a clean compile of PHP.  From what little I
know (or understand) about what is happening, I think I have determined that
a change with Oracle 9 may be the problem.  In previous versions of Oracle
there where two lib directories, one was lib and the other lib64 for all the
64 bit versions of the Oracle libraries.  With version 9, Oracle has changed
them.  Now the 64 bit versions are in the lib directory and the 32 bit
versions are in lib32.

So, I created the /d01/home/web/oracle directory and created soft links to
the desired libraries.  But now I get a different error (a warning really).
+--------------------------------------------------------------------+
|                       *** 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.                         |

PHP compiles completely and installs but the above message is a concern.
And then, when I compile the PHP module into Apache, it errors out
completely.

Here is my debug.log


CONFIGURE:   './configure' '--prefix=/d01/home/web'
'--exec-prefix=/d01/home/web' '--bindir=/d01/home/web/bin'
'--sbindir=/d01/home/web/sbin' '--libexecdir=/d01/home/web/lib/php'
'--mandir=/d01/home/web/man' '--sysconfdir=/d01/home/web/etc/php'
'--datadir=/d01/home/web/src' '--includedir=/d01/home/web/include/php'
'--localstatedir=/d01/home/web/etc/php'
'--with-apache=/d01/home/web/build/apache_1.3.27'
'--with-oci8=/d01/home/web/oracle' '--with-tiff=/d01/home/web/lib'
'--with-jpeg=/d01/home/web/lib' '--with-ftp'
'--with-config-file-path=/d01/home/web/etc/php' '--without-mysql'
'--enable-track-vars'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:
CXX:        gcc
CXXFLAGS:
INCLUDES:    -I/d01/home/web/build/apache_1.3.27/src/include
-I/d01/home/web/build/apache_1.3.27/src/os/unix  -I$(top_builddir)/Zend
-I/d01/home/web/oracle/rdbms/public -I/d01/home/web/oracle/rdbms/demo
-I/d01/home/web/oracle/plsql/public
LDFLAGS:     -L/d01/home/web/oracle/lib -L/d01/home/web/oracle/lib
LIBS:       -lcrypt -lm -lnsl  -lcrypt -l:libcl.sl -l:librt.sl
-l:libnss_dns.1 -l:libdld.sl -lclntsh
DLIBS:
SAPI:       apache
PHP_RPATHS:  /d01/home/web/oracle/lib
uname -a:   HP-UX zrtph036 B.11.00 A 9000/800 632329393 two-user license

gcc -o conftest -g -O2   -L/d01/home/web/oracle/lib
-L/d01/home/web/oracle/lib conftest.c -lcrypt -lm -lnsl  -lcrypt -l:libcl.sl
-l:librt.sl -l:libnss_dns.1 -l:libdld.sl -lclntsh 1>&5
/usr/lib/dld.sl: Bad magic number for shared library:
/zrtph036_u001/home/oracle/dist/9.2.0/lib/libwtc9.sl
/usr/lib/dld.sl: Exec format error
--
Jesse



Report this thread to moderator Post Follow-up to this message
Old Post
Jesse Swensen
08-24-04 02:05 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Installation archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:55 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.