|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Errors during install
From: Lydiard (lydiard
spamcop.net)
Date: Wed Sep 01 2004 - 14:05:47 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Quoting Mike M <mike
opennix.com>:
> Lydiard said:
> > Sorry, the reply shuold have gone to the list..
> >
> > Quoting Mike M <mike
opennix.com>:
> >
> >> Lydiard said:
> >> > Hi
<SNIP>
> >> Either that, or your --with-mysql= option is set incorrectly. You want
> >> that to be set to the root of the MySQL install, not the lib directory
> >> within the MySQL install.
> >
> > Given that mysql is located in /usr/local/mysql and that my configure
> > option
> > was:
> > ./configure --with-mysql=/usr/local/mysql/lib/mysql
> >
> > If I've understood you correctly, I should be using:
> >
> > ./configure --with-mysql=/usr/local/mysql
> >
> > AM I getting warm?
>
> Yes, that should be correct.
Yankee Doodee Dandy! - well, I went with that one, because reinstalling mysql,
when I don't have the biggest clue in the world wasn't on the agenda - and it
seems to have installed without any further fuss :)
However, moving onto the postfix install has it's own problems.. It's exiting
during make install with the following:
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [master] Error 1
make: *** [update] Error 1
Which pretty much means, mysql is coming back onto the agenda and I'm going to
have to start again from scratch. Unless.. could someone please explain this
line - because if I knew what it was doing, I'd could try to work around it..
make makefiles 'CCARGS=-DHAS_MYSQL \
-I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH \
-I/usr/local/include/sasl -I/usr/local/bdb/include'
'AUXLIBS=-L/usr/local/mysql/lib/mysql \
-lmysqlclient -lz -lm -L/usr/local/lib -lsasl2 -L/usr/local/bdb/lib'
Specifically, what is the -I and what should be the value for the
CCARG=-DHAS_MYSQL? What role does the ' ' play?
Lyd
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]