LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-28-2004, 11:44 AM   #1
bai_design
LQ Newbie
 
Registered: Jun 2003
Location: London, Ontario
Distribution: RedHat 6/9 Slackware
Posts: 28

Rep: Reputation: 15
mysql compile errors on MDK ssytem


I have been trying to compile mysql-3.23.58 with the following commands
./configure --prefix=/httpd/apache/mysql --localstatedir=/httpd/apache/mysql/data --disable-maintainer-mode --with-mysqld-user=mysql --enable-large-files -without-debug

and I get the following errors
gcc -DDEFAULT_CHARSET_HOME=\"/httpd/apache/mysql\" -DDATADIR=\"/httpd/apache/mysql/data\" -DSHAREDIR=\"/httpd/apache/mysql/share/mysql\" -DUNDEF_THREADS_HACK -DDONT_USE_RAID -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -c libmysql.c -MT libmysql.lo -MD -MP -MF .deps/libmysql.TPlo -fPIC -DPIC -o .libs/libmysql.lo
libmysql.c: In function `mysql_real_connect':
libmysql.c:1353: warning: passing arg 5 of `gethostbyname_r' from incompatible pointer type
libmysql.c:1353: error: too few arguments to function `gethostbyname_r'
libmysql.c:1353: warning: assignment makes pointer from integer without a cast
make[2]: *** [libmysql.lo] Error 1
make[2]: Leaving directory `/httpd/mysql-3.23.58/libmysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/httpd/mysql-3.23.58'
make: *** [all] Error 2

if you need any more info its being compiled on a Mandrake 9.2 system...
any help would be appreciated
 
Old 01-28-2004, 11:39 PM   #2
skinpainting
Member
 
Registered: Aug 2003
Posts: 52

Rep: Reputation: 15
try finding an rpm what version of mandrake? server? desktop?
 
Old 01-29-2004, 01:43 PM   #3
bai_design
LQ Newbie
 
Registered: Jun 2003
Location: London, Ontario
Distribution: RedHat 6/9 Slackware
Posts: 28

Original Poster
Rep: Reputation: 15
Using Mandrake 9.2 with a desktop install...
I found the rpm but it would not allow me to install it...?o_0
 
Old 01-29-2004, 02:56 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
I found the rpm but it would not allow me to install it...?o_0
how about you actually tell us *why* it won't let you install it.
 
Old 01-29-2004, 03:07 PM   #5
bai_design
LQ Newbie
 
Registered: Jun 2003
Location: London, Ontario
Distribution: RedHat 6/9 Slackware
Posts: 28

Original Poster
Rep: Reputation: 15
well when I tried to install the MySQL-4.0.x I got this
Code:
Some package requested cannot be installed:
MySQL-4.0.15-1mdk.i586 (due to unsatisfied MySQL-common[*][== 4.0.15-1mdk])
do you agree ?
so I downloaded the MySQL-common rpm and got this
Code:
Some package requested cannot be installed:
MySQL-common-4.0.15-1mdk.i586 (due to unsatisfied MySQL-client)
do you agree ?
any ideas?
-=edit=-
if I install the rpm would I be able to change the data storage dir to a diff dir like in my compile options?

Last edited by bai_design; 01-29-2004 at 03:11 PM.
 
Old 01-29-2004, 07:19 PM   #6
skinpainting
Member
 
Registered: Aug 2003
Posts: 52

Rep: Reputation: 15
you'll have to solve those dependencies but once you do that you'll be able to install it... you should be able to install mySQL off the mandrake disk and then use urpmi or "mandrakeupdate"(which uses urpmi i think) to update them...
 
Old 01-30-2004, 04:30 PM   #7
bai_design
LQ Newbie
 
Registered: Jun 2003
Location: London, Ontario
Distribution: RedHat 6/9 Slackware
Posts: 28

Original Poster
Rep: Reputation: 15
ok thanks for the help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hydrogen compile on mdk 10.1 buzz3953 Linux - Software 4 04-19-2005 03:41 PM
MDK 10.1 - QT 3.3.3 Won't Compile DoddyUK Linux - Software 2 01-21-2005 06:14 PM
Ssytem Hanging on Kernel Upgrade Eklipz Linux - General 3 12-13-2004 07:30 AM
MDK 9.2 keeps sending installion errors Rutnut Linux - Laptop and Netbook 0 04-21-2004 06:29 AM
Errors with RH and no with MDK? unmada Linux - Hardware 3 06-15-2002 02:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration