mysql-devel


 
Thread Tools Search this Thread
Operating Systems Solaris mysql-devel
# 1  
Old 07-07-2005
mysql-devel

I am trying to install Postfix on a Sun SPARC Solaris 9 server. I am not sure whether it is essential or not but still installed MySQL on that server and it is running fine.Now when I am trying to run the make command as a part of installation of Postfix, it reports the following error.

# make
set -e; for i in src/util src/global src/dns src/tls src/master src/postfix src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/lmtp src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postqueue src/postsuper src/qmqpd src/spawn src/flush src/verify src/virtual src/proxymap src/anvil src/scache src/discard src/tlsmgr; do \
(set -e; echo "[$i]"; cd $i; make 'CC=gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/mysql/include/mysql -Dstrcasecmp=fix_strcasecmp -Dstrncasecmp=fix_strncasecmp' update MAKELEVEL=) || exit 1; \
done
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
c -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/mysql/include/mysql -Dstrcasecmp=fix_strcasecmp -Dstrncasecmp=fix_strncasecmp -g -O -I. -I../../include -DSUNOS5 -c dict_mysql.c
dict_mysql.c:173:19: mysql.h: No such file or directory
dict_mysql.c:198: parse error before "MYSQL"
dict_mysql.c:198: warning: no semicolon at end of struct or union
dict_mysql.c:206: parse error before '}' token
dict_mysql.c:206: warning: data definition has no type or storage class
dict_mysql.c:210: parse error before "HOST"
dict_mysql.c:210: warning: no semicolon at end of struct or union
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
dict_mysql.c:731: warning: `plmysql_dealloc' was used with no prototype before its definition
dict_mysql.c: In function `plmysql_dealloc':
dict_mysql.c:734: `PLDB' undeclared (first use in this function)
make: *** [dict_mysql.o] Error 1
make: *** [update] Error 1
#

Upon searching on the net, I guess it is due to the non availability of mysql-devel which may or may not be included with in the installation from mysql's website. I am sorry if at all I am not correct.

Can you pl let me know the solution for the above issue and if not from where mysql-devel can be downloaded? I searched for mysql-devel on the net and no luck.

Thanks in advance.
# 2  
Old 07-07-2005
How did you install the MySQL?

So the Makefile seems to look for the MySQL headers at /usr/mysql/include/mysql, are you sure the MySQL headers are really there?

On my Linux machine, I installed MySQL binary distribution (.tar.bz2) and inside there is an "include" directory with the header files. Either your MySQL path is incorrectly set (or detected), or you installed some trimmed down version of the package with the header files moved to some other packages which you may not have installed (if included at all).
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Programming

Yum install qt-devel qt-doc qt-creator qt5?

hi all, i use yum install qt-devel qt-doc qt-creator to install qt4 on fedora 20 what command line used to install qt5 (1 Reply)
Discussion started by: cetu
1 Replies

2. Red Hat

How to uninstall limbcrypt-devel?

my os is # cat /etc/redhat-release CentOS release 6.4 (Final) from Pinoyden Blog: configure: error: mcrypt.h not found. Please reinstall libmcrypt. # rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Retrieving... (1 Reply)
Discussion started by: jediwannabe
1 Replies

3. Linux

glib-devel-2

Hi I want to install glib-devel-2.xx on suse 9 linux. I downloaded from below site, Index of /pub/gnome/sources/glib/2.24 and installed using normal configure,make,make install. Am I correct or something else is required? Thanks. (4 Replies)
Discussion started by: upengan78
4 Replies

4. Red Hat

trying to install openssl-devel

Hi there, I am using redhat 7.3 and I am trying to install openssl-devel-0.9.6b-18.i386.rpm but I get the following error message when I try to install: error: failed dependencies: openssl = 0.9.6b-18 is needed by openssl-devel-0.9.6b-18 The thing that confuses me most is that when I... (0 Replies)
Discussion started by: redhat_newb101
0 Replies

5. Programming

devel.rpm

I have a question on how to make an rpm out of the source package distribution. just looking for a general procedure. Like say I have the MIT kerberos source, would I "make -C libs" or something like that? (2 Replies)
Discussion started by: thmnetwork
2 Replies
Login or Register to Ask a Question