469,087 Members | 1,284 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,087 developers. It's quick & easy.

problems installing mysql

Hi there
I downloaded the file MySQL-4.1.0-0.src.rpm. I try to build it by entering:
rpm --rebuild MySQL-4.1.0-0.src.rpm --target=i686 (i have an AthlonXP so the
optimised code should work better).
The problem is that compilation (and hence installation) fails with the
messages:
"
gcc -O3 -DDBUG_OFF -O2 -march=i486 -mcpu=i686 -rdynamic -o isamchk isamchk.o
sort.o libnisam.a ../mysys/libmysys.a ../dbug/libdbug.a
.../strings/libmystrings.a -lpthread -lz -lcrypt -lnsl -lm -lpthread
.../mysys/libmysys.a(my_tempnam.o)(.text+0x4e): In function `my_tempnam':
: the use of `tempnam' is dangerous, better use `mkstemp'
.../mysys/libmysys.a(raid.o)(.text+0x95): In function `my_raid_create':
: undefined reference to `operator new(unsigned)'
.../mysys/libmysys.a(raid.o)(.text+0x10f): In function `my_raid_create':
: undefined reference to `operator delete(void*)'
.../mysys/libmysys.a(raid.o)(.text+0x195): In function `my_raid_open':
: undefined reference to `operator new(unsigned)'
.../mysys/libmysys.a(raid.o)(.text+0x208): In function `my_raid_open':
: undefined reference to `operator delete(void*)'
.../mysys/libmysys.a(raid.o)(.text+0x785): In function `my_raid_close':
: undefined reference to `operator delete(void*)'
collect2: ld returned 1 exit status
make[2]: *** [isamchk] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/mysql-4.1.0-alpha/isam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/mysql-4.1.0-alpha'
make: *** [all] Error 2
Bad exit status from /var/tmp/rpm-tmp.46261 (%build) "

I don't have any scsi or raid devices on my computer. DO i need to install
any drivers in order to use this package? Is there an error in the source
code that fails the compilation?
Can anybody give me some help?

Ioannis

PS: I am running SuSE Linux 8.2 professional.
Jul 19 '05 #1
0 1626

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Keegan Alex | last post: by
1 post views Thread by DOKNIK | last post: by
reply views Thread by Decio Alexandre | last post: by
2 posts views Thread by gamalt | last post: by
5 posts views Thread by Frances | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by kglaser89 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.