[R] RMySQL installation: libz missing

2005-05-03 Thread Christoph Lehmann
Hi
I run suse linux 9.1 and I installed MySQL server, client, devel, bench.
DBI is installed, when I try to install RMySQL I get an error saying, 
that libz is missing.

(paths to libs were set:export PKG_CPPFLAGS=-I/usr/include/mysql/
export PKG_LIBS=-L/usr/lib/mysql/ -lmysqlclient)
so my question: where do I get the libz files (are these mysql files? if 
yes, why were they not installed at least by mysql-devel?)

thanks for your kind help
christoph
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] RMySQL installation: libz missing

2005-05-03 Thread Sebastian Leuzinger
hi christoph
i had the same problem recently, i ended up finding that the following linux 
packages were missing (or at least one of them).

php4-mysql
php5-mysql
php5-mysqli

maybe that helps, sebastian

On Tuesday 03 May 2005 12:54, Christoph Lehmann wrote:
 Hi
 I run suse linux 9.1 and I installed MySQL server, client, devel, bench.
 DBI is installed, when I try to install RMySQL I get an error saying,
 that libz is missing.

 (paths to libs were set:export PKG_CPPFLAGS=-I/usr/include/mysql/
 export PKG_LIBS=-L/usr/lib/mysql/ -lmysqlclient)

 so my question: where do I get the libz files (are these mysql files? if
 yes, why were they not installed at least by mysql-devel?)

 thanks for your kind help

 christoph

 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide!
 http://www.R-project.org/posting-guide.html

-- 

Sebastian Leuzinger
Institute of Botany, University of Basel
Schönbeinstr. 6 CH-4056 Basel
ph0041 (0) 61 2673511
fax   0041 (0) 61 2673504
email [EMAIL PROTECTED] 
web   http://pages.unibas.ch/botschoen/leuzinger

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] RMySQL installation: libz missing SOLVED

2005-05-03 Thread Christoph Lehmann
it seemed to be a problem with the rpm for suse 9.1.. I installed and 
compiled R2.1 using the sources, then installation of RMySQL succeeded

mmmh ..
Christoph
Christoph Lehmann wrote:
Hi
I run suse linux 9.1 and I installed MySQL server, client, devel, bench.
DBI is installed, when I try to install RMySQL I get an error saying, 
that libz is missing.

(paths to libs were set:export PKG_CPPFLAGS=-I/usr/include/mysql/
export PKG_LIBS=-L/usr/lib/mysql/ -lmysqlclient)
so my question: where do I get the libz files (are these mysql files? if 
yes, why were they not installed at least by mysql-devel?)

thanks for your kind help
christoph
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! 
http://www.R-project.org/posting-guide.html


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] RMySQL installation: libz missing SOLVED

2005-05-03 Thread Detlef Steuer
Hi,

do you have zlib installed on your system?

(rpm -q zlib tells you if or not)

You can also try rpm -q --whatprovides libz .

zlib provides libz. If not installed, the manual compilation of R 
uses its own version of zlib, if I understand it correctly.

So, not really a problem with the rpm.

Detlef



On Tue, 03 May 2005 16:25:12 +0200
Christoph Lehmann [EMAIL PROTECTED] wrote:

 it seemed to be a problem with the rpm for suse 9.1.. I installed and 
 compiled R2.1 using the sources, then installation of RMySQL succeeded
 
 mmmh ..
 
 Christoph

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html