> ok guys. > > I'v got a problem compiling php 3 with mysql support on a raq1. Although the > raq1 has a mips processor, i tried different versions of mysql. For 586, > 686, irix-mips or src.rpm from cobalt ftps. None of these will work...
> > here we go: > > ./configure --with-mysql=../mysql-3.20.32a-pc-linux-gnu-i586 you have to install it first... > > everythng works fine. no it doesn't... > > [root@pan php-3.0.18]# make > ... > 586/lib -lmysqlclient pcrelib/libpcre.a > -lpam -lm -ldl -lcrypt -lresolv > /home/tmp/php-3.0.18/../mysql-3.20.32a-pc-linux-gnu-i586/lib/libmysqlclient. > a: could not read symbols: File format not recognized > collect2: ld returned 1 exit status > make: *** [php] Error 1 > [root@pan php-3.0.18]# > > anybody knows what to do? > I tried to compile a newer version of gcc but that failed. I've been through the same process on a Raq2, and it was difficult at first. First, the most important thing to do is take baby steps. I would start by doing either a) get a bare-bones PHP working, or b) get MySQL working. The Mips archetecture in the early raq server is different than the irix mips, and it's different than i586, i486, and i386. It's a very unique beast as a matter of fact. (but in a good way) I'm curious as to why you're using 3.0.18. It seems that 4.0.6 would be a better choice, but I'm not going to tell you what to do in that regard. Probably the easiest way to do things is to get the SRC RPM files. Then, all you have to do is rpm --rebuild filename.src.rpm You'll want to do it as root, and then when you're done, you should find some binary RPM files in /usr/src/redhat/RPMS Once you can install mysql and a bare-bones version of PHP, you can then start to get fancy and compile the modules you need. It's not too hard, just don't try to do everything at once. If you can't find a src rpm for the PHP that you want, then just do MySQL first. Then, make sure to instal the MySQL-devel RPM file. Once that's done, then installing PHP will be easy. You just do --with-mysql no path will be needed. Matt Nuzum _______________________________________________ cobalt-developers mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-developers