Kirjoittaja Aihe: GTK-PHP:n kääntäminen Karmicilla tyssää virheisiin  (Luettu 1487 kertaa)

Drzn

  • Käyttäjä
  • Viestejä: 6
    • Profiili
Yritän kääntää PHP-GTK:ta lähdekoodista näillä simppeleillä ohjeilla:

Koodia: [Valitse]
svn co http://svn.php.net/repository/gtk/php-gtk/trunk php-gtk
cd php-gtk
./buildconf
./configure
make
make install

Ensiksi ./buildconf failasi. Tein tämän:

Koodia: [Valitse]
cd /usr/share/aclocal
chmod 777 libtool.m4
cat lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 >> libtool.m4
chmod 644 libtool.m4

Toimi. Sitten ./configure failasi, koska PHP-Cairo ei ollu asennettuna. Asensin. Nyt ./configure failaa näillä virheillä:

Koodia: [Valitse]
./configure: line 12344: LTOPTIONS_VERSION: command not found
./configure: line 12345: LTSUGAR_VERSION: command not found
./configure: line 12346: LTVERSION_VERSION: command not found
./configure: line 12347: LTOBSOLETE_VERSION: command not found
checking for a sed that does not truncate output... (cached) /bin/sed
./configure: line 12422: syntax error near unexpected token `lt_decl_varnames,'
./configure: line 12422: `lt_if_append_uniq(lt_decl_varnames, SED, , ,'

En oo löytäny mitään ratkasua tähän. Apuja kaivattais :)

Tossa vielä ./configure:n koko tulostus:
http://pastebin.com/f6823ae63