Re: Problem about recompile php4 on rpm.
| From: | Derick Rethans | Date: | Thu, 28 Dec 2000 10:36:18 +0000 |
| Subject: | Re: Problem about recompile php4 on rpm. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-42367@lists.php.net to get a copy of this message | ||
Hello,
nice error messages, but I was looking for the 20 lines above and
below the zlib failure, can you possible put the whole config.log
file on the web somewhere?
Derick
On Tue, 26 Dec 2000, Sadit Sathianpaisarn wrote:
> Derick Rethans wrote:
>
> > root wrote:
> > >
> > > Dear All,
> > > Now, I would like to build RPM of php4 to RedHat6.2 System.
> > > And recently, I already download php-4.0.3pl1-4.src.rpm and extract it
> > > in Redhat7.0, after that ftp them into Redhat6.2. And install all
> > > pre-require devel.
> > > My problem is -- when I use command "rpm -ba --target=i386 php4.spec", I
> > > saw configure part was pass, but after that I got some error
> > >
> > > configure: error: Zlib module requires zlib >= 1.0.9.
> >
> > CAn you paste the appropriate part of config.log and mail that to the
> > list?
> >
> > --
> > Derick Rethans
> >
> > ---------------------------------------------------------------------
> > PHP: Scripting the Web - www.php.net - derick@php.net
> > ---------------------------------------------------------------------
> > "An expert in a particular computer language is really an expert in
> > the work-arounds necessary to use this language to perform useful
> > work." - Richard B. Johnson
> > ---------------------------------------------------------------------
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-dev-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> OK, I try to read "config.log" file -- it's so long. I'm not sure about
> this
> error that's you want.
> I see many part that was failed. --see below
> -- 1 --
> configure:2531: gcc -o conftest -O2 -m486 -fno-strength-reduce -fPIC
> conftest.c -lttf -lpng -ljpeg -lz 1>&5
> /tmp/ccRYPnQO.o: In function `main':
> /tmp/ccRYPnQO.o(.text+0x2f): undefined reference to `pthread_mutexattr_init'
> /tmp/ccRYPnQO.o(.text+0x45): undefined reference to `pthread_create'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 2513 "configure"
> #include "confdefs.h"
> -- 2 --
> configure:2584: gcc -o conftest -O2 -m486 -fno-strength-reduce -fPIC
> -kthread conftest.c -lttf -lpng -ljpeg -lz 1>&5
> gcc: unrecognized option `-kthread'
> -- 3 --
> configure:4162: gcc -o conftest -O2 -m486 -fno-strength-reduce -fPIC
> conftest.c -R /usr/lib -lttf -lpng -ljpeg -lz 1>&5
> gcc: unrecognized option `-R'
> -- 4 --
> configure:4777: gcc -o conftest -O2 -m486 -fno-strength-reduce -fPIC
> conftest.c -lbind -lm -ldl -lcrypt -lnsl -lttf -lpng -ljpeg -lz 1>&5
> /usr/bin/ld: cannot find -lbind
> -- 5 --
> configure:4882: gcc -o conftest -O2 -m486 -fno-strength-reduce -fPIC
> conftest.c -lsocket -lresolv -lm -ldl -lcrypt -lnsl -lttf -lpng -ljpeg -lz
> 1>&5
> /usr/bin/ld: cannot find -lsocket
> -- 6 --
> configure:5314: gcc -o conftest -O2 -m486 -fno-strength-reduce -fPIC
> conftest.c -ldir -lresolv -lm -ldl -lcrypt -lnsl -lttf -lpng -ljpeg -lz
> -lresolv 1>&5
> /usr/bin/ld: cannot find -ldir
> -- 7 --
> configure:5495: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:5491: sys/varargs.h: No such file or directory
> configure: failed program was:
> #line 5490 "configure"
> #include "confdefs.h"
> #include <sys/varargs.h>
> -- 8 --
> configure:5495: gcc -E conftest.c >/dev/null 2>conftest.out
> configure:5491: unix.h: No such file or directory
> configure: failed program was:
> #line 5490 "configure"
> #include "confdefs.h"
> #include <unix.h>
> -- 9 --
> configure:6260: gcc -o conftest -O2 -m486 -fno-strength-reduce -fPIC
> conftest.c -lresolv -lm -ldl -lcrypt -lnsl -lttf -lpng -ljpeg -lz -lresolv
> 1>&5
> /tmp/cc8bK8Zg.o: In function `main':
> /tmp/cc8bK8Zg.o(.text+0x11): undefined reference to `std_syslog'
> -- 10 --
> configure:6349: gcc -o conftest -O2 -m486 -fno-strength-reduce -fPIC
> conftest.c -lresolv -lm -ldl -lcrypt -lnsl -lttf -lpng -ljpeg -lz -lresolv
> 1>&5
> /tmp/ccrYIyFn.o: In function `main':
> /tmp/ccrYIyFn.o(.text+0x11): undefined reference to `strlcat'
> -- 11 --
> configure:6349: gcc -o conftest -O2 -m486 -fno-strength-reduce -fPIC
> conftest.c -lresolv -lm -ldl -lcrypt -lnsl -lttf -lpng -ljpeg -lz -lresolv
> 1>&5
> /tmp/cceqeTyc.o: In function `main':
> /tmp/cceqeTyc.o(.text+0x11): undefined reference to `strlcpy'
> -- 12 --
> configure:6782: gcc -o conftest -O2 -m486 -fno-strength-reduce -fPIC
> conftest.c -lresolv -lm -ldl -lcrypt -lnsl -lttf -lpng -ljpeg -lz -lresolv
> 1>&5
> configure: In function `main':
> configure:6774: warning: assignment makes integer from pointer without a cast
>
> configure:6775: too many arguments to function `asctime_r'
>
> And it still had error messages like these.
> If you would like to see all of "config.log" file, please tell me.
> Thank you so much for you help.
> Dit
>
>
>