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.
5 More Discussions You Might Find Interesting
1. Programming
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
2. Red Hat
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
3. Linux
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
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
5. Programming
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
LEARN ABOUT OPENSOLARIS
mlib_signalemphasize_f32s_f32s
mlib_SignalEmphasize_S16_S16_Sat(3MLIB) mediaLib Library Functions mlib_SignalEmphasize_S16_S16_Sat(3MLIB)
NAME
mlib_SignalEmphasize_S16_S16_Sat, mlib_SignalEmphasize_S16S_S16S_Sat, mlib_SignalEmphasize_F32_F32, mlib_SignalEmphasize_F32S_F32S - signal
pre-emphasizing
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_SignalEmphasize_S16_S16_Sat(mlib_s16 *dst,
const mlib_s16 *src, void *filter, mlib_s32 n);
mlib_status mlib_SignalEmphasize_S16S_S16S_Sat(mlib_s16 *dst,
const mlib_s16 *src, void *filter, mlib_s32 n);
mlib_status mlib_SignalEmphasize_F32_F32(mlib_f32 *dst,
const mlib_f32 *src, void *filter, mlib_s32 n);
mlib_status mlib_SignalEmphasize_F32S_F32S(mlib_f32 *dst,
const mlib_f32 *src, void *filter, mlib_s32 n);
DESCRIPTION
Each of these functions applies the preemphasizer to one signal packet and updates the filter states.
For monaural signals, the following equation is used:
dst[i] = src[i] - alpha*src[i - 1]
where i = 0, 1, ..., (n - 1); src[-1] = 0.
For stereo signals, the following equation is used:
dst[2*i] = src[2*i] - alpha*src[2*(i - 1)]
dst[2*i + 1] = src[2*i + 1] - alpha*src[2*(i - 1) + 1]
where i = 0, 1, ..., (n - 1); src[-2] = src[-1] = 0.
PARAMETERS
Each of the functions takes the following arguments:
dst Destination signal array.
src Source signal array.
filter Internal filter structure.
n Number of samples in the source signal array.
RETURN VALUES
Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
mlib_SignalEmphasizeFree_S16_S16(3MLIB), mlib_SignalEmphasizeInit_S16_S16(3MLIB), attributes(5)
SunOS 5.11 2 Mar 2007 mlib_SignalEmphasize_S16_S16_Sat(3MLIB)