Hi, ich versuch gerade eine neue php version unter suse 8.1 zu installieren. Mit minimalen parametern laeuft das configure script ohne Probleme durch. Ich brauche aber so einige Zusatzfunktionen, weil auf dem server typo3 laeuft. Folgendes habe ich bisher gemacht: - aktuellen source geladen und entpackt (4.3.11) - aus php_info() die configure parameter der letzten installation rauskopiert und im verzeichnis vom neuen source angewandt. Folgendes Problem tritt auf: -- snip -- checking whether to include YP support... yes checking for yp_match in -lnsl... no checking for yp_match in -lc... no configure: error: Unable to find required yp/nis library -- snip -- Das config.log sagt dazu folgendes: -- snip -- configure:91170: checking for yp_match in -lnsl configure:91189: gcc -o conftest -g -O2 -Wl,-rpath,/usr/ssl/lib -L/usr/ssl/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -lnsl -lmm -liodbc -l /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -liodbc collect2: ld returned 1 exit status configure: failed program was: #line 91178 "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 yp_match(); int main() { yp_match() ; return 0; } configure:91211: checking for yp_match in -lc configure:91230: gcc -o conftest -g -O2 -Wl,-rpath,/usr/ssl/lib -L/usr/ssl/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -lc -lmm -liodbc -lmc /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -liodbc collect2: ld returned 1 exit status configure: failed program was: #line 91219 "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 yp_match(); int main() { yp_match() ; return 0; } -- snip -- Vielleicht laesst sich mein Problem auch schneller loesen: Ich will eigentlich nur eine aktuelle GD Version, weil ich die fuer ein php shopsystem brauche. Soweit ich weiss muss man dazu php neu kompilieren. Bei der aktuellen php ist ja schon ne aktuelle version von GD drin. Daher dachte ich geht es am schnellsten diese zu nehmen. Nun ist es aber doch nicht so einfach, wie ich dachte. Fuer schnelle Hilfe waere ich sehr dankbar. Im Anhang habe ich noch saemtliche Parameter, die ich an configure uebergebe. Gruss Matthias Niess -- snip -- ./configure --with-apxs=/usr/sbin/apxs \ --with-ftp --enable-sigchild --with-bz2 \ --enable-safe-mode --enable-shmop --enable-mbstring \ --enable-memory-limit --with-mm --with-curl --with-xml \ --with-openssl --with-mcal=/usr --with-mcrypt \ --with-ldap=yes --with-iodbc --with-gmp \ --enable-mbstr-enc-trans --enable-inline-optimization \ --enable-dbase --enable-exif --enable-gd-imgstrttf \ --enable-ctype --enable-filepro --with-_lib=lib \ --disable-debug --enable-calendar --enable-bcmath \ --enable-discard-path --enable-force-cgi-redirect \ --enable-magic-quotes --enable-sockets --enable-sysvsem \ --enable-sysvshm --enable-track-vars=yes --enable-trans-sid \ --enable-versioning --enable-wddx --enable-yp --with-gd \ --with-mysql --with-gettext --with-ttf --with-zlib=yes \ --enable-gd-native-ttf -- PGP-encrypted mail preferred. Find my key on any public keyserver RSA 2048 Key Id: 0xD5B8D81F
Matthias Niess wrote:
[...] Folgendes Problem tritt auf: -- snip -- checking whether to include YP support... yes checking for yp_match in -lnsl... no checking for yp_match in -lc... no configure: error: Unable to find required yp/nis library -- snip -- Das config.log sagt dazu folgendes: -- snip -- configure:91170: checking for yp_match in -lnsl configure:91189: gcc -o conftest -g -O2 -Wl,-rpath,/usr/ssl/lib -L/usr/ssl/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -lnsl -lmm -liodbc -l /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -liodbc ^^^^^^^^^^^^^^^^^^^^^ U.a. deswegen habe ich schon so laengliche Emails wie http://marc.theaimsgroup.com/?l=suse-linux&m=110923554216518&w=2 geschrieben - Hilfe zur Selbsthilfe.
Cheers, Th.
participants (2)
-
Matthias Niess
-
Thomas Hertweck