Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

installation issues

Status
Not open for further replies.

Midiean

IS-IT--Management
Jul 18, 2001
112
US
While attempting to install postfix i run across the following error:

gcc-Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/local/mysql/include/mysql -g -O -I. -I../../..include -DLINUX2-oerror error.o ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a -ldb -lnsl -lresolv

In looking at this, i can't tell what is going on. This would be the first time i've attempted to setup a mail server on linux and any help would be appriciated. The script line i used was
...
'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include/mysql' \
...
 
That's not an error. I would recommend finding a precompiled version of postfix for your OS.
 
Currently, i'm trying to setup the server the most complicated way to learn as much as possible in the time i have on this project. Can you tell me what the message means. I am getting a make error during the process and it is halting the script.

make *** [error] Error 1
make *** [update] Error 1

looking over the output again, i see an undefined reference to 'mysql_close'

could this be why it is halting
 
Are you linking against the mysql libraries? If you don't understand what that means, you're probably in over your head. You don't learn to work on your car by rebuilding the engine, you start with replacing the waterpump and work up. I'm not saying you can't do it, everyone has to start somewhere and the goal is ambitious, but commendable.

If you're truly interested in understading what you are doing rather than just saying "yeah, I built it from scratch" then you should start by learning some fundamental concepts of a Unix operating system. These have nothing to do with postfix or mail and are not really within the scope of this forum, the forum for a compiler or your OS would be more appropriate.

You need to learn the concepts of using a C compiler, how dynamic linking works and what is responsible for each stage of building an application.

If you are running linux, then you could post to the linux forum and there'll be plenty of people ther (including myself) who would be happy to help you. Once you get it built and have questions about configuring postfix, then you would come back and post here.
 
There is a default install of the sendmail rpm installed on this system, could this be causing it to error out like this?
 
I've narrowed the issue down to the 'make install'. I'm wondering, The source download i have already has a Makefile.in in it and the script i'm running doesn't have a ./configure with tags in it(this is according to a tut i'm going off of). I'm going to try a ./configure --prefix=XXXX after copying the Makefile.in out.
 
nope that errors out saying don't mess witht this
 
let me just prove my newbish right now. In order for you to allow postfix to integrate with a db server, you must first setup postfix by itself. Then you go can go back through and add support for the database serve.
 
no, just stating how i was able to come to a solution
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top