LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-18-2005, 06:48 AM   #1
ndekeluka
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
problem with php5.1.1 reinstall


Hi!
This is my first post on this forum so I want to say hello world and apologize for my bad English
I have problem during the re-installation of php5.1.1. Previously I had php5.1.1 running
On my RedHat 9.0 server, but I needed to recompile it with additional libraries (header files of mysql5 server for PDO extension). When I try to make install it gives me error:
Quote:
[root@cleanit php-5.1.1]# make install
Installing PHP SAPI module: cgi
Installing PHP CGI into: /usr/server/php5/bin/
Installing shared extensions: /usr/server/php5/lib/php/extensions/no-debug-non-zts-20050922/
Installing build environment: /usr/server/php5/lib/php/build/
Installing header files: /usr/server/php5/include/php/
Installing helper programs: /usr/server/php5/bin/
program: phpize
program: php-config
Installing man pages: /usr/server/php5/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/server/php5/lib/php/
/usr/server/source/php-5.1.1/sapi/cli/php: relocation error: /usr/server/source/php-5.1.1/sapi/cli/php: undefined symbol: xmlParserInputBufferCreateFilenameDefault
make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2
[root@cleanit php-5.1.1]#
To configure installation, I’ve use following command:
Quote:
'./configure' '--prefix=/usr/server/php5' '--with-config-file-path=/usr/server/php5' '--with-mysql=/usr/server/mysql5/' '--with-zlib' '--with-gd' '--enable-force-cgi-redirect' '--enable-bcmath' '--enable-calendar' '--enable-ctype' '--enable-dbase' '--enable-discard-path' '--enable-exif' '--enable-filepro' '--enable-ftp' '--enable-gd-imgstrttf' '--enable-gd-native-ttf' '--enable-inline-optimalization' '--enable-mbstr-enc-trans' '--enable-mbstring' '--enable-mbregex' '--enable-wddx' '--enable-bz2' '--with-dom=/usr/server/libs' '--with-ftp' '--with-gettext' '--with-jpeg-dir=/usr' '--with-mcal=/usr/include' '--with-mhash=shared' '--with-png-dir=/usr/lib' '--with-iconv' '--with-ncurses' '--with-xml' '--with-libxml-dir=/usr/server/libs/libxml' '--with-xslt-sablot=/usr/lib' '--enable-xslt' '--with-kreberos' '--enable-fastcgi' '--with-tiff-dir=/usr/local/' '--with-curl' --with-pgsql=/usr/server/pgsql811/
I don’t know what’s wrong… I’ve tried to install in many configurations, without any results.
Please help.

Gretz.
 
Old 12-18-2005, 08:15 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,229
Blog Entries: 1

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
Run
Code:
make clean
before starting a new ./configure to see if it helps.
 
Old 12-18-2005, 08:54 AM   #3
ndekeluka
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for reply, it doesn't help. Still the same efect,
worth to mention that I try compile php form different source
as first time...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache and PHP5 Problem (FC4) jjwl89 Linux - Software 5 06-07-2007 08:59 PM
PHP5 SimpleXML (problem editing XML) carlosruiz Programming 1 06-23-2005 02:16 AM
installing apache2+php5+mysql4 problem yangying Linux - Software 5 04-21-2005 01:24 AM
drakxtools reinstall problem Lakota Mandriva 3 12-24-2004 08:07 AM
version 9, reinstall problem dtra Red Hat 4 11-09-2004 06:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration