LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-07-2006, 10:24 PM   #1
Sapient
Member
 
Registered: Oct 2003
Location: San Luis Obispo, CA
Distribution: SuSE
Posts: 196

Rep: Reputation: 30
Postfix location for make


I am attempting to perform the following command. I am trying to compile postfix with mysql.

make -f makefiles 'CCARGS=-DHAS_MYSQL \
-I/usr/include/mysql -DUSE_SASL_AUTH \
-I/usr/include/sasl\
-I/usr/share/doc/packages/bind/contrib/sdb/bdb \
-DUSE_TLS -I/usr/include/openssl' \
'AUXLIBS=-L/usr/bin/mysql-lmysqlclient -lz -lm \

-L/usr/lib -lsasl2 -L/usr/lib/db4\
-L/usr/include/ssl -lssl -lcrypto'

I fail with:
make: *** No targets specified and no makefile found. Stop.


My question is where does SuSE 9 Enterprise load the Postfix files? I have searched and tried every location and this still fails.

Is there a way to exstract an rpm (Yast files for postfix) and then run make against it?



Thanks
 
Old 01-08-2006, 06:35 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
If you compile a software, you usually know where you installed the sources. Are you sure you need to compile postfix anyway? Have you checked if there isn't a rpm package available?
 
Old 01-08-2006, 06:44 AM   #3
Sapient
Member
 
Registered: Oct 2003
Location: San Luis Obispo, CA
Distribution: SuSE
Posts: 196

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by abisko00
If you compile a software, you usually know where you installed the sources. Are you sure you need to compile postfix anyway? Have you checked if there isn't a rpm package available?
Thanks for the response. Yes, it was an install with the system. There is an RPM in the Yast folder.

The question was a little off cenetr when I asked it. I am attempting to do the following and I have a different version of Postfix loaded (2.1.1.x).

http://genco.gen.tc/postfix_virtual.php#courierauth


I unloaded the previous version and downloaded:
wget -c ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-2.2.2.tar.gz


Still getting an error on the make. The information log goes on and on.


[src/error]
gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH -I/usr/include/sasl -I/usr/share/doc/packages/bind/contrib/sdb/bdb -DUSE_TLS -I/usr/include/openssl -DHAS_PCRE -g -O -I. -I../../include -DLINUX2 -c error.c
gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH -I/usr/include/sasl -I/usr/share/doc/packages/bind/contrib/sdb/bdb -DUSE_TLS -I/usr/include/openssl -DHAS_PCRE -g -O -I. -I../../include -DLINUX2 -o error error.o ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a -L/usr/bin/mysql-lmysqlclient -lz -lm -L/usr/lib -lsasl2 -L/usr/lib/db4 -L/usr/include/ssl -lssl -lcrypto -L/usr/lib -lpcre -ldb -lnsl -lresolv
../../lib/libglobal.a(dict_mysql.o)(.text+0x47): In function `dict_mysql_quote':
/usr/local/postfix-2.2.2/src/global/dict_mysql.c:277: undefined reference to `mysql_escape_string'
../../lib/libglobal.a(dict_mysql.o)(.text+0x18b): In function `dict_mysql_lookup':
/usr/local/postfix-2.2.2/src/global/dict_mysql.c:337: undefined reference to `mysql_num_rows'
../../lib/libglobal.a(dict_mysql.o)(.text+0x1c1):/usr/local/postfix-2.2.2/src/global/dict_mysql.c:341: undefined reference to `mysql_free_result'
../../lib/libglobal.a(dict_mysql.o)(.text+0x252):/usr/local/postfix-2.2.2/src/global/dict_mysql.c:348: undefined reference to `mysql_fetch_row'
../../lib/libglobal.a(dict_mysql.o)(.text+0x2c4):/usr/local/postfix-2.2.2/src/global/dict_mysql.c:349: undefined reference to `mysql_num_fields'



Thanks
 
Old 01-08-2006, 11:37 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Unfortunately, the above output doesn't tell me anything.
Maybe you need to install the mysql-devel package to be able to compile postfix.
 
  


Reply



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
How to make postfix accept mail from multiple domains Farthom Linux - Newbie 4 09-14-2006 11:13 AM
How to make postfix send mails for virtual domains? Chowroc Linux - Networking 0 12-24-2004 04:39 AM
Make location??? JNaas SUSE / openSUSE 1 10-27-2004 02:23 AM
how can I make postfix more secure? ziggie216 Linux - Software 1 12-04-2003 11:10 PM
Postfix install: can't get past make. cirofren Linux - Software 0 10-26-2003 12:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:44 AM.

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