You have to run configure, make, make install-strip as root.
Why?

Because vpopmail 5.0 only lets root look around in vpopmail's
lib directory. Hence you won't get a correct Makefile created.

I run configure as root and never have a problem.

Is that in the INSTALL file?

Ken

On Tue, 2001-11-13 at 09:59, IceBerg wrote:
> Neither defining nor not defining --enable-vpopmaildir has any effect it
> still spews out about 2 or 3 pages of undefined referances.  Here is a
> fairly large chunk of them so you all can see what Im talking about
> 
> =====cut here====
> 
> /usr/src/qmail/qmailadmin-1.0/user.c:727: undefined reference to `vclose'
> /usr/src/qmail/qmailadmin-1.0/user.c:735: undefined reference to `vclose'
> /usr/src/qmail/qmailadmin-1.0/user.c:738: undefined reference to `vpasswd'
> /usr/src/qmail/qmailadmin-1.0/user.c:742: undefined reference to `verror'
> /usr/src/qmail/qmailadmin-1.0/user.c:749: undefined reference to
> `vauth_getpw'
> /usr/src/qmail/qmailadmin-1.0/user.c:751: undefined reference to
> `vauth_setpw'
> /usr/src/qmail/qmailadmin-1.0/user.c:762: undefined reference to
> `vauth_getpw'
> /usr/src/qmail/qmailadmin-1.0/user.c:768: undefined reference to `vdelfiles'
> /usr/src/qmail/qmailadmin-1.0/user.c:780: undefined reference to `vclose'
> /usr/src/qmail/qmailadmin-1.0/user.c:791: undefined reference to
> `vauth_getpw'
> /usr/src/qmail/qmailadmin-1.0/user.c:821: undefined reference to `vclose'
> /usr/src/qmail/qmailadmin-1.0/user.c:826: undefined reference to
> `vauth_getpw'
> util.o: In function `check_local_user':
> /usr/src/qmail/qmailadmin-1.0/util.c:60: undefined reference to
> `vauth_getpw'
> util.o: In function `check_email_addr':
> /usr/src/qmail/qmailadmin-1.0/util.c:95: undefined reference to `lowerit'
> util.o: In function `fixup_local_name':
> /usr/src/qmail/qmailadmin-1.0/util.c:129: undefined reference to `lowerit'
> util.o: In function `ack':
> /usr/src/qmail/qmailadmin-1.0/util.c:155: undefined reference to `vclose'
> auth.o: In function `auth_system':
> /usr/src/qmail/qmailadmin-1.0/auth.c:47: undefined reference to `vclose'
> /usr/src/qmail/qmailadmin-1.0/auth.c:57: undefined reference to `vclose'
> /usr/src/qmail/qmailadmin-1.0/auth.c:62: undefined reference to `vclose'
> /usr/src/qmail/qmailadmin-1.0/auth.c:70: undefined reference to `vclose'
> auth.o:/usr/src/qmail/qmailadmin-1.0/auth.c:78: more undefined references to
> `vclose' follow
> auth.o: In function `set_admin_type':
> /usr/src/qmail/qmailadmin-1.0/auth.c:134: undefined reference to
> `vauth_getpw'
> template.o: In function `send_template_now':
> /usr/src/qmail/qmailadmin-1.0/template.c:366: undefined reference to
> `vauth_getall'
> /usr/src/qmail/qmailadmin-1.0/template.c:370: undefined reference to
> `vauth_getall'
> /usr/src/qmail/qmailadmin-1.0/template.c:390: undefined reference to
> `vclose'
> template.o: In function `check_user_forward_vacation':
> /usr/src/qmail/qmailadmin-1.0/template.c:402: undefined reference to
> `vauth_getpw'
> command.o: In function `process_commands':
> /usr/src/qmail/qmailadmin-1.0/command.c:194: undefined reference to `vclose'
> command.o: In function `setdefaultaccount':
> /usr/src/qmail/qmailadmin-1.0/command.c:208: undefined reference to
> `vauth_getpw'
> /usr/src/qmail/qmailadmin-1.0/command.c:218: undefined reference to `vclose'
> collect2: ld returned 1 exit status
> make[2]: *** [qmailadmin] Error 1
> make[2]: Leaving directory `/usr/src/qmail/qmailadmin-1.0'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/qmail/qmailadmin-1.0'
> make: *** [all-recursive-am] Error 2
> root@mail:/usr/src/qmail/qmailadmin-1.0#
> 
> ====cut here====
> 
> on 11/13/01 3:57 AM, [EMAIL PROTECTED] at [EMAIL PROTECTED]
> wrote:
> 
> > Addressed to: IceBerg <[EMAIL PROTECTED]>
> > <[EMAIL PROTECTED]>
> > 
> > ** Reply to note from IceBerg <[EMAIL PROTECTED]> Tue, 13 Nov 2001
> > 09:08:29 -0500
> > 
> > Are you specifying  --enable-vpopmaildir=...  ?
> > 
> > That seems to mess things up for me.  Not using the option works, but
> > either  
> > 
> > --enable-vpopmaildir=../vpopmail
> > 
> > or
> > 
> > --enable-vpopmaildir=/usr/local/src/mail/work/vpopmail
> > 
> > (Absolute or relative path) both give me failures during make that
> > seem to start with:
> > 
> > mske[2]: Entering directory '/usr/local/src/mail/work/wmailadmin-1.0'
> > gcc -I.        -g -O2 -c qmailadmin.c
> > qmailadmin.c:30: vpopmail.h: No such file or directory
> > qmailadmin.c:31: vauth.h: No such file or directory
> > 
> > from the directory where I am working ls ../*.h  shows me that the
> > listed .h files are in that directory.
> > 
> > 
> > I don't claim to be a wiz at C and make, but the '-I.' in the gcc
> > line, looks wierd to me.
> > 
> > I am using SuSE Linux 7.2.
> > 
> > 
> > Rick
> > 
> > 
> > 
> > 
> > 
> >> 
> >> Nope, Im compieling it as root and still the same thing.
> >> 
> >> Bryan
> >> [EMAIL PROTECTED]
> >> 
> >> 
> >> on 11/13/01 8:46 AM, Hubbard, David at [EMAIL PROTECTED] wrote:
> >> 
> >>> Try building it as root if you aren't already.  I think
> >>> I had the same issue you did, I used to compile it as
> >>> a user and install as root, but that seems to have
> >>> stopped working with recent releases.
> >>> 
> >>> Dave
> >>> 
> >>> -----Original Message-----
> >>> From: IceBerg [mailto:[EMAIL PROTECTED]]
> >>> Sent: Tuesday, November 13, 2001 8:35 AM
> >>> To: Ken Jones; [EMAIL PROTECTED]
> >>> Subject: Re: qmailadmin 1.0 canidate
> >>> 
> >>> 
> >>> Does not compile for me.  I do a ./configure --enable-htmldir=/var/apache
> >>> --enable-cgibindir=/var/apache/cgi-bin, then I edit the Maeile adding this
> >>> line:  INCLUDES = -I/var/vpopmail/include -I.  Then do a make and it fals on
> >>> it's facee real hard with pages of undefined referances.  Everything else
> >>> compiles fine, qmail, vpopmail5, courier-imap.  qmailadmin seems to be the
> >>> only problem.  Here is the setup:
> >>> 
> >>> Clean Slackware8 instalation.
> >>> Qmail 1.03
> >>> Vpopmail 5.0
> >>> autorespond 1.0.0
> >>> daemontools 0.76
> >>> dot-forwardv0.71
> >>> ezmlm 0.53
> >>> fastforward 0.51
> >>> mysql 3.23.44
> >>> apache 1.3.22
> >>> kernel 2.4.14
> > 
> > 
> > Rick Widmer
> > Internet Marketing Specialists
> > http://www.developersdesk.com
> > 
> 
> 


Reply via email to