Suse 9.3 -> php4.4.0 (MySQL not found)
Wenn man Suse 10.1 als Linux Distribution nutzt, dann kommt
beim compilieren folgender Fehler:
in der console wird folgendes stehen:
- Code: Alles auswählen
linux-msus:/srv/www/htdocs/uga-agga/ugaagga # ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking for php... no
checking for php-config... php-config
checking for xsltproc... xsltproc
checking for mysql_config... no
configure: error: installation problem: PHP not found
Die Lösung:
ln -s php5 /usr/bin/php
Info ln
12.2 `ln': Make links between files
===================================
`ln' makes links between files. By default, it makes hard links; with
the `-s' option, it makes symbolic (or "soft") links.
====
Weiteres Problem für Suse Benutzer wird sein:
- Code: Alles auswählen
linux-msus:/srv/www/htdocs/uga-agga/ugaagga # ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking for php... php
checking for xsltproc... xsltproc
checking for mysql_config... no
configure: error: installation problem: MySQL not found
Lösung:
Yast -> software hinzufügen -> mysql suchen -> packet mysql-devel auswählen -> installieren
Voila:
- Code: Alles auswählen
linux-msus:/srv/www/htdocs/uga-agga/ugaagga # ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking for php... php
checking for xsltproc... xsltproc
checking for mysql_config... mysql_config
checking for library containing sqrt... -lm
checking for /etc/httpd/conf/httpd.conf... no
checking for /etc/httpd/httpd.conf... no
checking for /etc/apache/httpd.conf... no
configure: installing game in /home/www/game
configure: web server user is nobody
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating src/dbs/db-util
config.status: creating src/ticker/ticker.conf
config.status: creating src/utilities/crontab
config.status: creating src/utilities/db_backup.cron
config.status: creating src/utilities/util.inc.php
config.status: creating src/www/include/config.inc.php




