[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: intentar compilar php



despues de instalar build-essential', me sigue fallando

el log es el siguiente

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:1565: checking for Cygwin environment
configure:1581: cc -c   conftest.c 1>&5
configure: In function `main':
configure:1577: `__CYGWIN32__' undeclared (first use in this function)
configure:1577: (Each undeclared identifier is reported only once
configure:1577: for each function it appears in.)
configure: failed program was:
#line 1570 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1598: checking for mingw32 environment
configure:1610: cc -c   conftest.c 1>&5
configure: In function `main':
configure:1606: `__MINGW32__' undeclared (first use in this function)
configure:1606: (Each undeclared identifier is reported only once
configure:1606: for each function it appears in.)
configure: failed program was:
#line 1603 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1680: checking host system type
configure:1712: checking for a BSD compatible install
configure:1765: checking whether build environment is sane
configure:1822: checking whether make sets ${MAKE}
configure:1861: checking for working aclocal
configure:1874: checking for working autoconf
configure:1887: checking for working automake
configure:1900: checking for working autoheader
configure:1913: checking for working makeinfo
configure:1930: checking whether to enable maintainer-specific portions of
Makefiles
configure:2005: checking for gcc
configure:2118: checking whether the C compiler (gcc  ) works
configure:2134: gcc -o conftest    conftest.c  1>&5
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:

#line 2129 "configure"
#include "confdefs.h"

main(){return(0);}
pruna:/# apt-get install build-essential
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  dpkg-dev g++ g++-2.95 libc6-dev libstdc++2.10-dev patch
The following NEW packages will be installed:
  build-essential dpkg-dev g++ g++-2.95 libc6-dev libstdc++2.10-dev patch
0 packages upgraded, 7 newly installed, 0 to remove and 0  not upgraded.
Need to get 3915kB of archives. After unpacking 16.8MB will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org stable/updates/main libc6-dev 2.2.5-11.1
[2390kB]
Get:2 ftp://ftp.rediris.es stable/main patch 2.5.4-11 [82.5kB]
Get:3 ftp://ftp.rediris.es stable/main dpkg-dev 1.9.21 [111kB]
Get:4 ftp://ftp.rediris.es stable/main libstdc++2.10-dev 1:2.95.4-7 [295kB]
Get:5 ftp://ftp.rediris.es stable/main g++-2.95 1:2.95.4-7 [1030kB]
Get:6 ftp://ftp.rediris.es stable/main g++ 2:2.95.4-14 [1336B]
Get:7 ftp://ftp.rediris.es stable/main build-essential 6 [4736B]
Fetched 3915kB in 55s (70.8kB/s)
Selecting previously deselected package patch.
(Reading database ... 10311 files and directories currently installed.)
Unpacking patch (from .../patch_2.5.4-11_i386.deb) ...
Selecting previously deselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.9.21_all.deb) ...
Selecting previously deselected package libc6-dev.
Unpacking libc6-dev (from .../libc6-dev_2.2.5-11.1_i386.deb) ...
Selecting previously deselected package libstdc++2.10-dev.
Unpacking libstdc++2.10-dev (from
.../libstdc++2.10-dev_1%3a2.95.4-7_i386.deb) ...
Selecting previously deselected package g++-2.95.
Unpacking g++-2.95 (from .../g++-2.95_1%3a2.95.4-7_i386.deb) ...
Selecting previously deselected package g++.
Unpacking g++ (from .../g++_2%3a2.95.4-14_i386.deb) ...
Selecting previously deselected package build-essential.
Unpacking build-essential (from .../build-essential_6_i386.deb) ...
Setting up patch (2.5.4-11) ...

Setting up dpkg-dev (1.9.21) ...

Setting up libc6-dev (2.2.5-11.1) ...

Setting up g++ (2.95.4-14) ...

Setting up libstdc++2.10-dev (2.95.4-7) ...

Setting up build-essential (6) ...

Setting up g++-2.95 (2.95.4-7) ...

pruna:/# cd /usr/local/bin/php-4.2.3/
Debian Configuration





















   ?????????????????????????????????????????????????????????????????? Apt
Configuration
???????????????????????????????????????????????????????????????????
   ?
?
   ? Some non-free software has been made to work with Debian. Though this
software is not at all a part of Debian, standard Debian tools can be used
to  ?
   ? install it. This software has varying licenses which may prevent you
from using, modifying, or sharing it. Do you want to have it available
anyway?  ?
   ?
?
   ? Use non-free software?
?
   ?
?
   ?                                             <Yes>
<No>                                                ?
   ?
?

????????????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????????????????























pruna:/usr/local/bin/php-4.2.3# cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:1565: checking for Cygwin environment
configure:1581: cc -c   conftest.c 1>&5
configure: In function `main':
configure:1577: `__CYGWIN32__' undeclared (first use in this function)
configure:1577: (Each undeclared identifier is reported only once
configure:1577: for each function it appears in.)
configure: failed program was:
#line 1570 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1598: checking for mingw32 environment
configure:1610: cc -c   conftest.c 1>&5
configure: In function `main':
configure:1606: `__MINGW32__' undeclared (first use in this function)
configure:1606: (Each undeclared identifier is reported only once
configure:1606: for each function it appears in.)
configure: failed program was:
#line 1603 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1680: checking host system type
configure:1712: checking for a BSD compatible install
configure:1765: checking whether build environment is sane
configure:1822: checking whether make sets ${MAKE}
configure:1861: checking for working aclocal
configure:1874: checking for working autoconf
configure:1887: checking for working automake
configure:1900: checking for working autoheader
configure:1913: checking for working makeinfo
configure:1930: checking whether to enable maintainer-specific portions of
Makefiles
configure:2005: checking for gcc
configure:2118: checking whether the C compiler (gcc  ) works
configure:2134: gcc -o conftest    conftest.c  1>&5
configure:2160: checking whether the C compiler (gcc  ) is a cross-compiler
configure:2165: checking whether we are using GNU C
configure:2174: gcc -E conftest.c
configure:2193: checking whether gcc accepts -g
configure:2226: checking whether gcc and cc understand -c and -o together
configure:2241: gcc -c conftest.c -o conftest.o 1>&5
configure:2242: gcc -c conftest.c -o conftest.o 1>&5
configure:2247: cc -c conftest.c 1>&5
configure:2249: cc -c conftest.c -o conftest.o 1>&5
configure:2250: cc -c conftest.c -o conftest.o 1>&5
configure:2277: checking how to run the C preprocessor
configure:2298: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2357: checking for AIX
configure:2384: checking for gcc option to accept ANSI C
configure:2437: gcc  -c -g -O2  conftest.c 1>&5
configure:2461: checking whether compiler supports -R
configure:2476: gcc -o conftest -g -O2   conftest.c -R /usr/lib  1>&5
/usr/bin/ld: cannot open /usr/lib: File format not recognized
collect2: ld returned 1 exit status
configure: failed program was:
#line 2469 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:2494: checking whether compiler supports -Wl,-rpath,
configure:2509: gcc -o conftest -g -O2   conftest.c -Wl,-rpath,/usr/lib
1>&5
configure:2532: checking for ranlib
configure:2560: checking whether ln -s works
configure:2585: checking for mawk
configure:2619: checking for bison
configure:2619: checking for byacc
configure:2663: checking for flex
configure:2697: checking for yywrap in -ll
configure:2716: gcc -o conftest -g -O2   conftest.c -ll   1>&5
/usr/bin/ld: cannot find -ll
collect2: ld returned 1 exit status
configure: failed program was:
#line 2705 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char yywrap();

int main() {
yywrap()
; return 0; }
configure:2740: checking lex output file root
pruna:/usr/local/bin/php-4.2.3#



----- Original Message -----
From: "Seba" <s_garcia@speedy.com.ar>
To: <debian-user-spanish@lists.debian.org>
Sent: Saturday, September 21, 2002 6:32 PM
Subject: Re: intentar compilar php


> On Sat, 21 Sep 2002 18:28:23 +0200
> "caya" <caya@3v2.net> wrote:
>
> > A ver si alguien nme puede ayudar, estoy intentando compilar php y no
me
> > deja, alguien me pude ayudar, este es le resultado.
> >
> > pruna:/usr/local/bin/php-4.2.3#
> > ./configure --enable-ftp --with-zlib-dir=/usr --enable-pcntl
> > loading cache ./config.cache
> > checking for Cygwin environment... no
> > checking for mingw32 environment... no
> > checking host system type... i586-pc-linux-gnu
> > checking for a BSD compatible install... /usr/bin/install -c
> > checking whether build environment is sane... yes
> > checking whether make sets ${MAKE}... yes
> > checking for working aclocal... found
> > checking for working autoconf... found
> > checking for working automake... found
> > checking for working autoheader... found
> > checking for working makeinfo... missing
> > checking whether to enable maintainer-specific portions of Makefiles...
no
> > checking for gcc... gcc
> > checking whether the C compiler (gcc  ) works... no
> > configure: error: installation or configuration problem: C compiler
cannot
> > create executables.
> > pruna:/usr/local/bin/php-4.2.3#
> >
> >
> > Que es lo que me falta.
>
> Por que no te fijas en el config.log que es lo que esta pasando? Si no lo
> entendes muy bien podes mandarlo a la lista que es mucho mejor que
> esto.
>
> --
> Sebastian Garcia <s_garcia@speedy.com.ar>
> Usuario Linux registrado #225450
> Debian GNU/Linux 'Sid' kernel 2.4.19 sobre AMD K6 II
>
>
> --
> To UNSUBSCRIBE, email to debian-user-spanish-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>



Reply to: