[QUOTE=IWorx-Paul;11537]Try:
yum install gcc-c++
- edit: yeah, what Pascal said
Paul[/QUOTE]
ha ha I win this one
[QUOTE=IWorx-Paul;11537]Try:
yum install gcc-c++
Paul[/QUOTE]
ha ha I win this one
Now freezed with, when try rebuild rpms php 5.2
checking for crypt in -lcrypt⌠yes
configure: error: Cannot find rfc822.h. Please check your c-client installation.
How fix this?
Install php 5.2 on cemntro 4.4 its a nightmare !!!
now freezed on thsi point:
Configuring libtool
checking build system type⌠i686-pc-linux-gnu
checking for ld used by gcc⌠/usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld⌠yes
checking for /usr/bin/ld option to reload object files⌠-r
checking for BSD-compatible nm⌠/usr/bin/nm -B
checking how to recognise dependent libraries⌠pass_all
checking for object suffix⌠o
checking for executable suffix⌠no
checking for c++⌠no
checking for g++⌠no
checking for gcc⌠gcc
checking whether the C++ compiler (gcc ) works⌠no
configure: error: installation or configuration problem: C++ compiler cannot create executables.
error: Bad exit status from /var/tmp/rpm-tmp.15797 (%build)
Dj-grobe, please do not cross post. Post your problem in one thread, and in one thread only, so it makes it easier for people to follow and respond.
Yes, sorry
I delete the other post, and just leave this, anyway now i have fixed : )
NOW HAVE ANOTHER TROUBLE ; (
lk5crypto -lcom_err -lresolv -lidn -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lz -lxml2 -lz -lm -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lmysqlclient -lz -lcrypt -lnsl -lm -lssl -lcrypto -lmysqlclient -lz -lcrypt -lnsl -lm -lssl -lcrypto -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lxslt -lxml2 -lz -lm -lcrypt -o sapi/cgi/php
/usr/bin/ld: cannot find -lgcrypt
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.81617 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.81617 (%build)
Some idea?
My OS is centos 4.4 and i try build rpms for php 5.2 using php-5.2.0-100.iworx.src.rpm
EDIT: yum install libgcrypt-devel
Well, finally its done !! : )
php 5.2 working : )
NOW troubels installing php 5.2 on 64 bit centos 4.4 !!
rpmbuild --rebuild --with rhe4x php-5.2.0-100.iworx.src.rpm
Installing php-5.2.0-100.iworx.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.81134
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.81134 (%prep)
I have thsi error when try build rpm from sources on cento 4.4 64 bit version.
Some idea?
Why cant use 5.2 provided form iworx ?
Itâs been a LONG time since I built PHP5 on a 64-bit box, but I remember it being a very, very, very painful process. You could try commenting out those patches in the spec file. Look for this:
%ifarch x86_64
%patch -p0
%endif
in the spec file, and comment it out, or simply delete it.
Why nopbody support 64 bit OS?
I see across the web the support its absolutly poor.
Thankyou socheat for try help.
Trying right now with:
http://mirror.centos.org/centos/4/centosplus/x86_64/SRPMS/php-5.1.6-1.2.1.centos.src.rpm
After i finish recompile i not have errors, but if run phpinfo form web all data its showed on plain textâŚthis its normal?
If sombody form iworx want use my server for create source php rpm compatible with centos 4.4 64 bits, please tellme and i open ticket âŚi hoppe iworx can !!
Just one rar thingâŚ
When i run phpinfo form inside the nodeworx, all info its showd in plain txt like this:
phpinfo() PHP Version => 5.1.6 System => Linux sv1 2.6.9-42.0.10.ELsmp #1 SMP Tue Feb 27 09:40:21 EST 2007 x86_64 Build Date => Apr 25 2007 09:10:19 Configure Command => â./configureâ ââhost=x86_64-redhat-linux-gnuâ ââbuild=x86_64-redhat-linux-gnuâ ââtarget=x86_64-redhat-linuxâ ââprogram-prefix=â ââprefix=/usrâ ââexec-prefix=/usrâ ââbindir=/usr/binâ ââsbindir=/usr/sbinâ ââsysconfdir=/etcâ ââdatadir=/usr/shareâ ââincludedir=/usr/includeâ ââlibdir=/usr/lib64â ââlibexecdir=/usr/libexecâ ââlocalstatedir=/varâ ââsharedstatedir=/usr/comâ ââmandir=/usr/share/manâ ââinfodir=/usr/share/infoâ ââcache-file=âŚ/config.cacheâ ââwith-libdir=lib64â ââwith-config-file-path=/etcâ ââwith-config-file-scan-dir=/etc/php.dâ ââdisable-debugâ ââwith-picâ ââdisable-rpathâ ââwithout-pearâ ââwith-bz2â ââwith-curlâ ââwith-exec-dir=/usr/binâ ââwith-freetype-dir=/usrâ ââwith-png-dir=/usrâ ââenable-gd-native-ttfâ ââwithout-gdbmâ ââwith-gettextâ ââwith-gmpâ ââwith-iconvâ ââwith-jpeg-dir=/usrâ ââwith-opensslâ ââwith-pngâ ââwith-pspellâ ââwith-expat-dir=/usrâ ââwith-pcre-regex=/usrâ ââwith-zlibâ ââwith-layout=GNUâ ââenable-exifâ ââenable-ftpâ ââenable-magic-quotesâ ââenable-socketsâ ââenable-sysvsemâ ââenable-sysvshmâ ââenable-sysvmsgâ ââenable-track-varsâ ââenable-trans-sidâ ââenable-ypâ ââenable-wddxâ ââwith-kerberosâ ââenable-ucd-snmp-hackâ ââwith-unixODBC=shared,/usrâ ââenable-memory-limitâ ââenable-shmopâ ââenable-calendarâ ââenable-dbxâ ââenable-dioâ ââwith-mime-magic=/etc/httpd/conf/magicâ ââwithout-sqliteâ ââwith-libxml-dir=/usrâ ââwith-xmlâ ââenable-force-cgi-redirectâ ââenable-pcntlâ ââwith-imap=sharedâ ââwith-imap-sslâ ââenable-mbstring=sharedâ ââenable-mbstr-enc-transâ ââenable-mbregexâ ââwith-ncurses=sharedâ ââwith-gd=sharedâ ââenable-bcmath=sharedâ ââenable-dba=sharedâ ââwith-db4=/usrâ ââwith-xmlrpc=sharedâ ââwith-ldap=sharedâ ââwith-mysql=shared,/usrâ ââwith-mysqli=shared,/usr/bin/mysql_configâ ââenable-dom=sharedâ ââwith-dom-xslt=/usrâ ââwith-dom-exslt=/usrâ ââwith-pgsql=sharedâ ââwith-snmp=shared,/usrâ ââenable-soap=sharedâ ââwith-xsl=shared,/usrâ ââenable-xmlreader=sharedâ ââenable-xmlwriter=sharedâ ââenable-fastcgiâ ââenable-pdo=sharedâ ââwith-pdo-odbc=shared,unixODBC,/usrâ ââwith-pdo-mysql=shared,/usrâ ââwith-pdo-pgsql=shared,/usrâ ââwith-pdo-sqlite=sharedâ Server API => Command Line Interface Virtual Directory Support => disabled Con
When i run php info from any site, just showed on nice page like usuall.
Why this?
Some idea?
You probably built PHP as a cli instead of as a cgi binary. The page in nodeworx simply displays the output of the command line call:
php -i
If the PHP binary was built as a CGI, then you would get HTML formatted output printed to the screen. If you built it as a CLI, then you get plain text printed to the screen, which causes the format to be weird in NodeWorx.
Yes, exelent answer this isntall have php as cli.
Well i asume this not affect normal usage: )
Anyway if sombody form interworx want use my mahcine for build scr.rpm comaptible with centos 4.4 64bit just tellme please : )