i am running ubuntu 8.04 and php 5.2.4 and when i try to ./symfony propel:build-model OR a build-sql get this:

[propel-sql] Could not perform XLST transformation. Make sure PHP has been compiled/configured to support XSLT.

how do i step by step fix this please???
i tried to: apt-get install php5-xsl
but got lots of errors!

please help?????

ERRORS:

Reading package lists... Done
Building dependency tree

Reading state information... Done
The following extra packages will be installed:
libapache2-mod-php5 libxslt1.1 php5-cli php5-common php5-mysql
The following NEW packages will be installed:
libxslt1.1 php5-xsl
The following packages will be upgraded:
libapache2-mod-php5 php5-cli php5-common php5-mysql
4 upgraded, 2 newly installed, 0 to remove and 26 not upgraded.
Need to get 5571kB of archives.
After this operation, 553kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Err http://us-east-1.ec2.archive.ubuntu.com hardy-updates/main php5-cli 5.2.4-2ubuntu5.12
404 Not Found [IP: 10.252.111.96 80]
Get:1 http://us-east-1.ec2.archive.ubuntu.com hardy-updates/main libxslt1.1 1.1.22-1ubuntu1.2 [220kB]
Err http://security.ubuntu.com hardy-security/main php5-cli 5.2.4-2ubuntu5.12
404 Not Found [IP: 91.189.92.166 80]
Err http://security.ubuntu.com hardy-security/main php5-mysql 5.2.4-2ubuntu5.12
404 Not Found [IP: 91.189.92.166 80]
Err http://security.ubuntu.com hardy-security/main libapache2-mod-php5 5.2.4-2ubuntu5.12
404 Not Found [IP: 91.189.92.166 80]
Err http://security.ubuntu.com hardy-security/main php5-common 5.2.4-2ubuntu5.12
404 Not Found [IP: 91.189.92.166 80]
Err http://security.ubuntu.com hardy-security/main php5-xsl 5.2.4-2ubuntu5.12
404 Not Found [IP: 91.189.92.166 80]
Fetched 220kB in 0s (689kB/s)
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-cli_5.2.4-2ubuntu5.12_i386.deb 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-mysql_5.2.4-2ubuntu5.12_i386.deb 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/libapache2-mod-php5_5.2.4-2ubuntu5.12_i386.deb 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-common_5.2.4-2ubuntu5.12_i386.deb 404 Not Found [IP: 91.189.92.166 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-xsl_5.2.4-2ubuntu5.12_i386.deb 404 Not Found [IP: 91.189.92.166 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

please help????

    Did you try doing a 'sudo apt-get update' like it recommended?

      yes i did:sudo apt-get update
      and got:

      Hit http://us-east-1.ec2.archive.ubuntu.com hardy Release.gpg
      Ign http://us-east-1.ec2.archive.ubuntu.com hardy/main Translation-en_US

      Ign http://us-east-1.ec2.archive.ubuntu.com hardy/universe Translation-en_US
      Get:1 http://us-east-1.ec2.archive.ubuntu.com hardy-updates Release.gpg [198B]
      Ign http://us-east-1.ec2.archive.ubuntu.com hardy-updates/main Translation-en_US
      Ign http://us-east-1.ec2.archive.ubuntu.com hardy-updates/universe Translation-en_US
      Hit http://us-east-1.ec2.archive.ubuntu.com hardy Release

      Get:2 http://us-east-1.ec2.archive.ubuntu.com hardy-updates Release [58.5kB]
      Hit http://us-east-1.ec2.archive.ubuntu.com hardy/main Packages

      Hit http://us-east-1.ec2.archive.ubuntu.com hardy/universe Packages

      Hit http://us-east-1.ec2.archive.ubuntu.com hardy/main Sources

      Hit http://us-east-1.ec2.archive.ubuntu.com hardy/universe Sources

      Get:3 http://security.ubuntu.com hardy-security Release.gpg [198B]

      Ign http://security.ubuntu.com hardy-security/main Translation-en_US
      Ign http://security.ubuntu.com hardy-security/universe Translation-en_US
      Get:4 http://us-east-1.ec2.archive.ubuntu.com hardy-updates/main Packages [513kB]
      Get:5 http://us-east-1.ec2.archive.ubuntu.com hardy-updates/universe Packages [260kB]
      Get:6 http://us-east-1.ec2.archive.ubuntu.com hardy-updates/main Sources [188kB]
      Get:7 http://us-east-1.ec2.archive.ubuntu.com hardy-updates/universe Sources [64.3kB]
      Get:8 http://security.ubuntu.com hardy-security Release [58.5kB]
      Get:9 http://security.ubuntu.com hardy-security/main Packages [291kB]
      Get:10 http://security.ubuntu.com hardy-security/universe Packages [135kB]
      Get:11 http://security.ubuntu.com hardy-security/main Sources [113kB]
      Get:12 http://security.ubuntu.com hardy-security/universe Sources [29.3kB]
      Fetched 1711kB in 2s (797kB/s)

      Reading package lists... Done

      then i tried again build-model and got:

      ./symfony propel:build-model

      schema converting "/mnt/eb_store/home/lpmanager/wappool_deploy_version/0.1.2/config/schema.yml" to XML
      schema putting /mnt/eb_store/home/lpmanager/wappool_deploy_version/0.1.2/config/generated-schema.xml
      propel Running "om" phing task
      [propel-om] Could not perform XLST transformation. Make sure PHP has been compiled/configured to support XSLT.
      Segmentation fault

      i tried build-sql and got:

      ./symfony propel:build-sql

      schema converting "/mnt/eb_store/home/lpmanager/wappool_deploy_version/0.1.2/config/schema.yml" to XML
      schema putting /mnt/eb_store/home/lpmanager/wappool_deploy_version/0.1.2/config/generated-schema.xml
      propel Running "sql" phing task
      [propel-sql] Could not perform XLST transformation. Make sure PHP has been compiled/configured to support XSLT.
      file- /mnt/eb_store/home/lpmanager/wappool_deploy_version/0.1.2/config/generated-schema.xml

      yikes, please help??
      thank you

        You have to re-run the previous apt-get command you tried; 'apt-get update' simply updates your repo cache with links to new packages.

          Write a Reply...