[CentOS-es] Migrar a Centos7.

Wilmer Arambula tecnologiaterabyte en gmail.com
Lun Dic 8 21:16:01 UTC 2014


Gracias Epe por responder ya php 5.4 lo instale es super sencillo con el
repo remi, pero el apache ya me di por vencido le di de mil maneras y nada,
te comento que trabajo con framework yii2, que trabaja con php oop, el
problema es que yo hago las paginas web con backend y frontend, y la
version de apache 2.2.4 que es la que tengo no me funciona la configuracion
del .htaccess que tengo en el servidor centos 7 que tiene apache 2.4.6 y me
funciona perfectamente, he leido en ingles todo lo relacionado con la
instalación por rpmbuild y compilandolo por make y me da error al realizar
dicha compilacion por ejemplo al usar:

Al construir el paquete que necesito para instalar httpd 2.4.6. que es apr
que generara apr y apr-devel:

# rpmbuild -tb --clean --rmspec apr-1.4.8.tar.bz2

Me da el siguiente error que he gogleado y leido pero nada:

testatomic          : |/bin/sh: line 2: 29291 Segmentation fault
 ./$prog
Programs failed: testall
make: *** [check] Error 139
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.3OfFyP (%check)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.3OfFyP (%check)


rpm-tmp.3OfFyP :

!/bin/sh

  RPM_SOURCE_DIR="/home/cjtterabyte/src"
  RPM_BUILD_DIR="/home/cjtterabyte/rpm/BUILD"
  RPM_OPT_FLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom
-fasynchronous-unwind-tables"
  RPM_ARCH="i386"
  RPM_OS="linux"
  export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
  RPM_DOC_DIR="/usr/share/doc"
  export RPM_DOC_DIR
  RPM_PACKAGE_NAME="apr"
  RPM_PACKAGE_VERSION="1.4.8"
  RPM_PACKAGE_RELEASE="1"
  export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
  LANG=C
  export LANG
  unset CDPATH DISPLAY ||:
  RPM_BUILD_ROOT="/home/cjtterabyte/rpm/BUILDROOT/apr-1.4.8-1.i386"
  export RPM_BUILD_ROOT

  PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/share/pkgconfig"
  export PKG_CONFIG_PATH

  set -x
  umask 022
  cd "/home/cjtterabyte/rpm/BUILD"
cd 'apr-1.4.8'
unset DISPLAY

# Run non-interactive tests
pushd test
make -j4 all CFLAGS=-fno-strict-aliasing
make check || exit 1
popd


exit 0


Saludos,

Wilmer.


2014-12-08 16:26 GMT-04:30 Ernesto Pérez Estévez <ernesto.perez en cedia.org.ec
>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 12/08/2014 02:31 PM, Wilmer Arambula wrote:
> > Tengo la siguiente duda me he visto en la necesidad de migrar a
> > centos7 por el soporte de apache y php que son vitales para mi, ya
> > que en centos 6.6 me ha sido imposible instalar apache 2.4.6, tengo
> > un servidor centos 7 local que me va bien con mis paginas web que
> > usan php 5.4 o superior y apache superior a 2.4, si respaldo todas
> > la configuraciones al instalar los paquetes y subir los conf
> > funcionaran igual, lo digo porque lo mas complejo es mi servidor de
> > correos con postfix+postfixadmin+spammassaing+clamav+cyrus sasl que
> > me costo un mundo instalar, lo demas es mas sencillo,
> ok, y la pregunta es?
>
> por otro lado, en SCL hay php-5.4 que seguramente solucionará tu
> problema (que seguramente no es apache sino la versión de php)
>
> saludos
> epe
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQIcBAEBCAAGBQJUhhCOAAoJEI8SQ0eoZD/X+wAQAJFlT2DlOTFGfjcDyoINFl5d
> /4BMCSyG5WOwX+T9p7Cwf0OCFdqHEd3HVAWjVjjBS/TAmkL+CmpWRKdvrjMW3pYM
> 8x85Viz+WmwPYDdNvlu24g1tNH0oekGjnvWtGC8qEMxfuJ4J7KeDdEvTFdy5PVge
> fNEKGJxASqiXVZW5m/WOHJhvgyIm2GMjRuTuYHFg2x6vk+Tg8/dXtZ0AD/Xult+7
> NRRw/Hd2eIM1n45AfuNh81EQL/nN5Q4rX12T8jPqbiqIrlGjAJHeUcqeqgCLcsXn
> 95BL8rHvexymjZtjW5n5U/1kNOts+G/srGVm8F8+gwqxELSq9/h+/ErOYa7n+iJ9
> H1IjEa/mJLLHHJNMNrr65BeYIYfuXkppFfk2AZ47fVTXIh/kBUwHhlzbl1ArwT+N
> eSX3khzA5khpDX8Nf01CM/Wnait02ba68VDIh4NRFd7Y9PNNsJxT6nZ0wD2FV3/c
> n1zdcig/Pj8y0ujORaP6QlGuuux83+uQOsopBkpzPDw+aFBXeXSPfge4TGeC+6z8
> m5x22VzXi/AxpDBzR9avatUMulBe1myvgB8czVIw6EDGHbNKZf2Nj0AHzQ0Ce2id
> PCqVCJ3sD7zH/7cH1N/rDIqTx8lDfbwVuDRM2gSMyVZ8QI4rbKdr/lwrCYYAHzqr
> brVj20lbhEtC7vNk95Yy
> =mDJv
> -----END PGP SIGNATURE-----
>
> Email secured by Check Point
> _______________________________________________
> CentOS-es mailing list
> CentOS-es en centos.org
> http://lists.centos.org/mailman/listinfo/centos-es
>


Más información sobre la lista de distribución CentOS-es