Alright, granted, but did you try editing the Makefile with my
recommendations? =)
Cheers,
Tren.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Tren Blackburn - Owner mailto:[EMAIL PROTECTED] =
= End of Time Networks http://www.theendoftime.net -
- (403) 269-2122 =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
On Mon, 14 Aug 2000, Tony Publiski wrote:
> I cannot speak for scott, but I've tried every ./configure directive I
> could try and pointed them to the mysql libraries directory and still
> got the errors Scott mentioned in his email.
>
> --
> Tony Publiski
> World Wide Net, Inc.
> +1 (734) 513-7707 x 2012
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 14, 2000 3:44 PM
> To: Tony Publiski
> Cc: 'Scott Ramshaw'; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: trouble compiling 0.35
>
>
> Hi All;
>
> The problem here is that the configure script isn't picking up the
> location of the mysql libraries. Do a ./configure --help and you'll
> see:
>
> --libdir=DIR object code libraries in DIR [EPREFIX/lib]
> --includedir=DIR C header files in DIR [PREFIX/include]
>
> So try adding these with the appropriate location of the libdir and
> includedir for mysql libraries.
>
> However, I have to be honest and admit that I cheated. I just modified
> the Makefile. In the COMMONLDADD area, I just changed it to read:
>
> COMMONLDADD = -L/home/vpopmail/lib -lvpopmail -L/usr/local/lib/mysql
> -lmysqlclient
>
> and it worked perfectly. This is not a bug in the sourcecode. There is
> nothing wrong with the source code. I think this could be considered
> and
> issue with the configure script, but since they offer directives to
> specify where the libraries are located, I'm not sure if this is valid.
>
> I hope this helps,
>
> Tren Blackburn.
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> - Tren Blackburn - Owner mailto:[EMAIL PROTECTED] =
> = End of Time Networks http://www.theendoftime.net -
> - (403) 269-2122 =
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> On Mon, 14 Aug 2000, Tony Publiski wrote:
>
> > I agree with Scott. There is something wrong with the QMailAdmin code
> that
> > is causing this. I have gone through and tried to determine it, but
> haven't
> > found the bug. It's got to be some included file that isn't being
> included
> > properly. I've had the exactly same problem that Scott here has had.
> I
> > thought it was a fluke, but with the increased number of people having
> the
> > same problem, it really can't be just us few...
> >
> > --
> > Tony Publiski
> > World Wide Net, Inc.
> > +1 (734) 513-7707 x 2012
> >
> > -----Original Message-----
> > From: Scott Ramshaw [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, August 14, 2000 2:21 PM
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: trouble compiling 0.35
> >
> >
> >
> > I guess I should have clarified more. The vpopmail authentication is
> > working fine and compiled fine, I did edit vmysql.h with my mysql
> password,
> > I think the qmailadmin compilation problem is a bug in the qmailadmin
> code
> > nothing to do with vpopmail.
> >
> > I am using mysql 3.22.32
> >
> > I saw someone else had posted similar mysql errors when compiling
> 0.35.
> >
> > Ken, any ideas?
> >
> > Thanks,
> > Scott
> >
> >
> > Balaji Hare Ram Balaji writes:
> >
> > > use mysql 3.22
> > > and edit the vmysql.h and give proper inforamtion
> > >
> > > for more info open README.mysql and follow the steps
> > >
> > > balaji
> > >
> > > Scott Ramshaw wrote:
> > >
> > > > I'm having trouble compiling qmailadmin 0.35 on FreeBSD 4.0
> > > >
> > > > using vpopmail 4.8.9:
> > > >
> > > > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vauth_open':
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c:59: undefined reference to
> > > > `mysql_init'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c:61: undefined reference to
> > > > `mysql_real_connect'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c:63: undefined reference to
> > > > `mysql_real_connect'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c:70: undefined reference to
> > > > `mysql_query'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c:75: undefined reference to
> > > > `mysql_store_result'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c:76: undefined reference to
> > > > `mysql_free_result'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c:77: undefined reference to
> > > > `mysql_select_db'
> > > > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> > > > `vauth_adddomain_size':
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x1b6): undefined
> reference
> > to
> > > > `mysql_query'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x439): undefined
> reference
> > to
> > > > `mysql_store_result'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x447): undefined
> reference
> > to
> > > > `mysql_free_result'
> > > > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> > `vauth_getpw_size':
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c:227: undefined reference to
> > > > `mysql_query'/home/scott/src/vpopmail-4.8.9/vauth.c:232: undefined
> > > > reference to `mysql_store_result'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c:247: undefined reference to
> > > > `mysql_fetch_row'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c:256: undefined reference to
> > > > `mysql_free_result'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c:259: undefined reference to
> > > > `mysql_free_result'
> > > > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> > > > `vauth_deldomain_size':
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x72e): undefined
> reference
> > to
> > > > `mysql_query'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x742): undefined
> reference
> > to
> > > > `mysql_store_result'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x750): undefined
> reference
> > to
> > > > `mysql_free_result'
> > > > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> > > > `vauth_deluser_size':
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x802): undefined
> reference
> > to
> > > > `mysql_query'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x816): undefined
> reference
> > to
> > > > `mysql_store_result'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x824): undefined
> reference
> > to
> > > > `mysql_free_result'
> > > > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> > > > `vauth_setquota_size':
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x8e2): undefined
> reference
> > to
> > > > `mysql_query'
> > > > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> > > > `vauth_vpasswd_size':
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x9c7): undefined
> reference
> > to
> > > > `mysql_query'
> > > > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> > `vauth_getall_size':
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xaa1): undefined
> reference
> > to
> > > > `mysql_query'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xac1): undefined
> reference
> > to
> > > > `mysql_use_result'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xb24): undefined
> reference
> > to
> > > > `mysql_fetch_row'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xb3e): undefined
> reference
> > to
> > > > `mysql_free_result'
> > > > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> > `vauth_setpw_size':
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xd21): undefined
> reference
> > to
> > > > `mysql_query'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xd35): undefined
> reference
> > to
> > > > `mysql_store_result'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xd43): undefined
> reference
> > to
> > > > `mysql_free_result'
> > > > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> > `vopen_smtp_relay':
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xdbe): undefined
> reference
> > to
> > > > `mysql_query'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xded): undefined
> reference
> > to
> > > > `mysql_query'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xe16): undefined
> reference
> > to
> > > > `mysql_store_result'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xe24): undefined
> reference
> > to
> > > > `mysql_free_result'
> > > > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vupdate_rules':
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c:566: undefined reference to
> > > > `mysql_query'/home/scott/src/vpopmail-4.8.9/vauth.c:569: undefined
> > > > reference to
> `mysql_query'/home/scott/src/vpopmail-4.8.9/vauth.c:574:
> > > > undefined reference to `mysql_use_result'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c:581: undefined reference to
> > > > `mysql_fetch_row'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c:582: undefined reference to
> > > > `mysql_free_result'
> > > > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> > `vclear_open_smtp':
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xf76): undefined
> reference
> > to
> > > > `mysql_query'
> > > > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> > > > `vcreate_relay_table':
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c:604: undefined reference to
> > > > `mysql_query'/home/scott/src/vpopmail-4.8.9/vauth.c:608: undefined
> > > > reference to `mysql_store_result'
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c:609: undefined reference to
> > > > `mysql_free_result'
> > > > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclose':
> > > > /home/scott/src/vpopmail-4.8.9/vauth.c(.text+0x1017): undefined
> > reference
> > > > to `mysql_close'
> > > > *** Error code 1
> > > >
> > > > I don't see any config params for mysql libraries, but vpopmail
> doesn't
> > > > seem to have any problems.
> > > >
> > > > my ./configure line is:
> > > >
> > > > ./configure --enable-cgibindir=/usr/local/apache/cgi-bin
> > > > --enable-ezmlmdir=/usr/local/bin/ezmlm
> > > > --enable-autoresponder-bin=/usr/local/bin/autorespond
> > > > --enable-maxpopusers=5 --enable-maxaliases=5
> --enable-maxforwards=5
> > > > --enable-maxautoresponders=5 --enable-maxmailinglists=5
> > > >
> > > > Help please! I need to get rid of that nasty pre .35
> autoresponder
> > > > deleting domains bug!
> > > >
> > > > Thanks,
> > > > Scott
> > > >
> > > >
> >
> ------------------------------------------------------------------------
> ---
> > > > Get your free email at http://quickmail.quickhosts.com
> > >
> >
> >
> >
> >
> ------------------------------------------------------------------------
> ---
> > Get your free email at http://quickmail.quickhosts.com
> >
>