RE: qmailadmin compile question --- basically From sberg@white.pangaealink.com

2001-04-19 Thread Wagner Teixeira


Do the following: (I don't know if its the best choice, but worked for me)

Create/edit the file ~vpopmail/etc/inc_deps and put this:
-I- -I/usr/vpopmail/include

The same with ~vpopmail/etc/lib_deps:
-L/usr/vpopmail/lib -lvpopmail -L/usr/local/mysql/lib/mysql -lmysqlclient

Issue these commands:

./configure --enable-cgibindir=YOUR_HTTPD_CGI_BIN_FULL_PATH --enable-vpopuse
r=YOUR_VPOPMAILUSER --enable-autoresponder-bin=FULL_PATH_TO_AUTORESPONDER --
enable-vpopmaildir=THE_ABSOLUTE_PATH_TO_VPOPMAILUSER_HOME_DIR

make clean
make
su
make install-strip

Cheers,
Wagner.

 -Original Message-
 From: Essy Ren [mailto:[EMAIL PROTECTED]]
 Sent: Quinta-feira, 19 de Abril de 2001 02:09
 To: qmail
 Subject: qmailadmin compile question --- basically From
 [EMAIL PROTECTED]


 i've tried install qmailadmin-0.42
 and configure with
 ./configure --enable-vpopmaildir --enable-htmldir
 --enable-cgibindir --enabl
 e-autoresponder-bin --enable-ezmlmdir
 i've already install vpopmail

 when i run the make command it's appears like this :
 root@/home/essy/qmailadmin-0.42make
 make  all-recursive
 make[1]: Entering directory `/home/essy/qmailadmin-0.42'
 make[2]: Entering directory `/home/essy/qmailadmin-0.42'
 gcc -I.   -g -O2 -c qmailadmin.c
 gcc -I.   -g -O2 -c alias.c
 gcc -I.   -g -O2 -c autorespond.c
 gcc -I.   -g -O2 -c forward.c
 gcc -I.   -g -O2 -c mailinglist.c
 gcc -I.   -g -O2 -c sysadmin.c
 gcc -I.   -g -O2 -c user.c
 In file included from user.c:32:
 vpopmail_config.h:145: warning: `PACKAGE' redefined
 config.h:97: warning: this is the location of the previous definition
 vpopmail_config.h:148: warning: `VERSION' redefined
 config.h:100: warning: this is the location of the previous definition
 gcc -I.   -g -O2 -c util.c
 gcc -I.   -g -O2 -c auth.c
 gcc -I.   -g -O2 -c template.c
 gcc -I.   -g -O2 -c command.c
 gcc -I.   -g -O2 -c show.c
 gcc -I.   -g -O2 -c cgi.c
 gcc -I.   -g -O2 -c limits.c
 gcc -I.   -g -O2 -c dotqmail.c
 gcc  -g -O2  -o qmailadmin  qmailadmin.o alias.o autorespond.o forward.o
 mailinglist.o sysadmin.o user.o util.o auth.o template.o command.o show.o
 cgi.o limits.o dotqmail.o  -lnsl -lm -lcrypt
 qmailadmin.o: In function `main':
 /home/essy/qmailadmin-0.42/qmailadmin.c:122: undefined reference to
 `vauth_getpw'
 /home/essy/qmailadmin-0.42/qmailadmin.c:125: undefined reference to
 `vget_assign'
 /home/essy/qmailadmin-0.42/qmailadmin.c:164: undefined reference to
 `vget_assign'
 /home/essy/qmailadmin-0.42/qmailadmin.c:194: undefined reference to
 `vget_assign'
 /home/essy/qmailadmin-0.42/qmailadmin.c:210: undefined reference to
 `vauth_user'
 /home/essy/qmailadmin-0.42/qmailadmin.c:229: undefined reference to
 `vget_assign'
 alias.o: In function `show_redirect_lines':
 /home/essy/qmailadmin-0.42/alias.c:295: undefined reference to
 `vauth_getpw'
 /home/essy/qmailadmin-0.42/alias.c:301: undefined reference to `slen'
 /home/essy/qmailadmin-0.42/alias.c:303: undefined reference to `scopy'
 /home/essy/qmailadmin-0.42/alias.c:304: undefined reference to `scat'
 alias.o: In function `doredirect':
 /home/essy/qmailadmin-0.42/alias.c:326: undefined reference to
 `vauth_getpw'
 /home/essy/qmailadmin-0.42/alias.c:333: undefined reference to `slen'
 /home/essy/qmailadmin-0.42/alias.c:335: undefined reference to `scopy'
 /home/essy/qmailadmin-0.42/alias.c:336: undefined reference to `scat'
 alias.o: In function `moddotqmailnow':
 /home/essy/qmailadmin-0.42/alias.c:404: undefined reference to
 `vauth_getpw'
 /home/essy/qmailadmin-0.42/alias.c:409: undefined reference to
 `vauth_getpw'
 alias.o: In function `adddotqmailnow':
 /home/essy/qmailadmin-0.42/alias.c:476: undefined reference to
 `vauth_getpw'
 /home/essy/qmailadmin-0.42/alias.c:501: undefined reference to
 `vauth_getpw'
 alias.o: In function `delredirectnow':
 /home/essy/qmailadmin-0.42/alias.c:582: undefined reference to
 `vauth_getpw'
 /home/essy/qmailadmin-0.42/alias.c:587: undefined reference to `slen'
 /home/essy/qmailadmin-0.42/alias.c:589: undefined reference to `scopy'
 /home/essy/qmailadmin-0.42/alias.c:590: undefined reference to `scat'
 autorespond.o: In function `delautorespondnow':
 /home/essy/qmailadmin-0.42/autorespond.c:236: undefined reference to
 `vdelfiles'
 mailinglist.o: In function `delmailinglistnow':
 /home/essy/qmailadmin-0.42/mailinglist.c:277: undefined reference
 to `slen'
 /home/essy/qmailadmin-0.42/mailinglist.c:287: undefined reference to
 `vdelfiles'
 mailinglist.o: In function `showlistusers':
 /home/essy/qmailadmin-0.42/mailinglist.c:439: undefined reference to
 `lowerit'
 mailinglist.o: In function `showlistmod':
 /home/essy/qmailadmin-0.42/mailinglist.c:484: undefined reference to
 `lowerit'
 mailinglist.o: In function `addlistusernow':
 /home/essy/qmailadmin-0.42/mailinglist.c:539: undefined reference to
 `lowerit'
 mailinglist.o: In function `addlistmodnow':
 /home/essy/qmailadmin-0.42/mailinglist.c:573: undefined reference to
 `lowerit

qmailadmin compile question --- basically From sberg@white.pangaealink.com

2001-04-18 Thread Essy Ren

i've tried install qmailadmin-0.42
and configure with
./configure --enable-vpopmaildir --enable-htmldir --enable-cgibindir --enabl
e-autoresponder-bin --enable-ezmlmdir
i've already install vpopmail

when i run the make command it's appears like this :
root@/home/essy/qmailadmin-0.42make
make  all-recursive
make[1]: Entering directory `/home/essy/qmailadmin-0.42'
make[2]: Entering directory `/home/essy/qmailadmin-0.42'
gcc -I.   -g -O2 -c qmailadmin.c
gcc -I.   -g -O2 -c alias.c
gcc -I.   -g -O2 -c autorespond.c
gcc -I.   -g -O2 -c forward.c
gcc -I.   -g -O2 -c mailinglist.c
gcc -I.   -g -O2 -c sysadmin.c
gcc -I.   -g -O2 -c user.c
In file included from user.c:32:
vpopmail_config.h:145: warning: `PACKAGE' redefined
config.h:97: warning: this is the location of the previous definition
vpopmail_config.h:148: warning: `VERSION' redefined
config.h:100: warning: this is the location of the previous definition
gcc -I.   -g -O2 -c util.c
gcc -I.   -g -O2 -c auth.c
gcc -I.   -g -O2 -c template.c
gcc -I.   -g -O2 -c command.c
gcc -I.   -g -O2 -c show.c
gcc -I.   -g -O2 -c cgi.c
gcc -I.   -g -O2 -c limits.c
gcc -I.   -g -O2 -c dotqmail.c
gcc  -g -O2  -o qmailadmin  qmailadmin.o alias.o autorespond.o forward.o
mailinglist.o sysadmin.o user.o util.o auth.o template.o command.o show.o
cgi.o limits.o dotqmail.o  -lnsl -lm -lcrypt
qmailadmin.o: In function `main':
/home/essy/qmailadmin-0.42/qmailadmin.c:122: undefined reference to
`vauth_getpw'
/home/essy/qmailadmin-0.42/qmailadmin.c:125: undefined reference to
`vget_assign'
/home/essy/qmailadmin-0.42/qmailadmin.c:164: undefined reference to
`vget_assign'
/home/essy/qmailadmin-0.42/qmailadmin.c:194: undefined reference to
`vget_assign'
/home/essy/qmailadmin-0.42/qmailadmin.c:210: undefined reference to
`vauth_user'
/home/essy/qmailadmin-0.42/qmailadmin.c:229: undefined reference to
`vget_assign'
alias.o: In function `show_redirect_lines':
/home/essy/qmailadmin-0.42/alias.c:295: undefined reference to `vauth_getpw'
/home/essy/qmailadmin-0.42/alias.c:301: undefined reference to `slen'
/home/essy/qmailadmin-0.42/alias.c:303: undefined reference to `scopy'
/home/essy/qmailadmin-0.42/alias.c:304: undefined reference to `scat'
alias.o: In function `doredirect':
/home/essy/qmailadmin-0.42/alias.c:326: undefined reference to `vauth_getpw'
/home/essy/qmailadmin-0.42/alias.c:333: undefined reference to `slen'
/home/essy/qmailadmin-0.42/alias.c:335: undefined reference to `scopy'
/home/essy/qmailadmin-0.42/alias.c:336: undefined reference to `scat'
alias.o: In function `moddotqmailnow':
/home/essy/qmailadmin-0.42/alias.c:404: undefined reference to `vauth_getpw'
/home/essy/qmailadmin-0.42/alias.c:409: undefined reference to `vauth_getpw'
alias.o: In function `adddotqmailnow':
/home/essy/qmailadmin-0.42/alias.c:476: undefined reference to `vauth_getpw'
/home/essy/qmailadmin-0.42/alias.c:501: undefined reference to `vauth_getpw'
alias.o: In function `delredirectnow':
/home/essy/qmailadmin-0.42/alias.c:582: undefined reference to `vauth_getpw'
/home/essy/qmailadmin-0.42/alias.c:587: undefined reference to `slen'
/home/essy/qmailadmin-0.42/alias.c:589: undefined reference to `scopy'
/home/essy/qmailadmin-0.42/alias.c:590: undefined reference to `scat'
autorespond.o: In function `delautorespondnow':
/home/essy/qmailadmin-0.42/autorespond.c:236: undefined reference to
`vdelfiles'
mailinglist.o: In function `delmailinglistnow':
/home/essy/qmailadmin-0.42/mailinglist.c:277: undefined reference to `slen'
/home/essy/qmailadmin-0.42/mailinglist.c:287: undefined reference to
`vdelfiles'
mailinglist.o: In function `showlistusers':
/home/essy/qmailadmin-0.42/mailinglist.c:439: undefined reference to
`lowerit'
mailinglist.o: In function `showlistmod':
/home/essy/qmailadmin-0.42/mailinglist.c:484: undefined reference to
`lowerit'
mailinglist.o: In function `addlistusernow':
/home/essy/qmailadmin-0.42/mailinglist.c:539: undefined reference to
`lowerit'
mailinglist.o: In function `addlistmodnow':
/home/essy/qmailadmin-0.42/mailinglist.c:573: undefined reference to
`lowerit'
mailinglist.o: In function `dellistusernow':
/home/essy/qmailadmin-0.42/mailinglist.c:676: undefined reference to
`lowerit'
mailinglist.o:/home/essy/qmailadmin-0.42/mailinglist.c:706: more undefined
references to `lowerit' follow
user.o: In function `show_user_lines':
/home/essy/qmailadmin-0.42/user.c:87: undefined reference to `vauth_getall'
/home/essy/qmailadmin-0.42/user.c:94: undefined reference to `vauth_getall'
/home/essy/qmailadmin-0.42/user.c:125: undefined reference to `vauth_getall'
/home/essy/qmailadmin-0.42/user.c:130: undefined reference to `vauth_getall'
/home/essy/qmailadmin-0.42/user.c:175: undefined reference to `vauth_getall'
user.o: In function `addusernow':
/home/essy/qmailadmin-0.42/user.c:332: undefined reference to `vadduser'
user.o: In function `modusergo':
/home/essy/qmailadmin-0.42/user.c:378: undefined reference to `vpasswd'

qmailadmin compile question

2001-02-22 Thread sberg

Having trouble setting up qmailadmin on a redhat 7 machine.

So far I've got qmail, vpopmail, autoresponder, ezmlm all installed and
working.

When I go to compile I get lots of "undefined reference" warnings and the
compile craps out with a couple of errors.  I've attached a copy of the
compile output hoping that someone will be able to get me going in the
right direction to get this thing running.

I'm working on this with a friend so if you have a good idea for us could
you CC: [EMAIL PROTECTED]


[root@server9 qmailadmin-0.42]# make
make  all-recursive
make[1]: Entering directory `/usr/src/qmailadmin-0.42'
make[2]: Entering directory `/usr/src/qmailadmin-0.42'
gcc -I.   -g -O2 -c qmailadmin.c
gcc -I.   -g -O2 -c alias.c
gcc -I.   -g -O2 -c autorespond.c
gcc -I.   -g -O2 -c forward.c
gcc -I.   -g -O2 -c mailinglist.c
gcc -I.   -g -O2 -c sysadmin.c
gcc -I.   -g -O2 -c user.c
In file included from user.c:32:
vpopmail_config.h:138:17: warning: "PACKAGE" redefined
config.h:97:1: warning: this is the location of the previous definition
vpopmail_config.h:141:17: warning: "VERSION" redefined
config.h:100:1: warning: this is the location of the previous definition
gcc -I.   -g -O2 -c util.c
gcc -I.   -g -O2 -c auth.c
gcc -I.   -g -O2 -c template.c
gcc -I.   -g -O2 -c command.c
gcc -I.   -g -O2 -c show.c
gcc -I.   -g -O2 -c cgi.c
gcc -I.   -g -O2 -c limits.c
gcc -I.   -g -O2 -c dotqmail.c
gcc  -g -O2  -o qmailadmin  qmailadmin.o alias.o autorespond.o forward.o mailinglist.o 
sysadmin.o user.o util.o auth.o template.o command.o show.o cgi.o limits.o dotqmail.o  
-lnsl -lm -lcrypt 
autorespond.o: In function `main':
/usr/src/qmailadmin-0.42/autorespond.c:250: multiple definition of `main'
qmailadmin.o:/usr/src/qmailadmin-0.42/qmailadmin.c:84: first defined here
/usr/bin/ld: Warning: size of symbol `main' changed from 1820 to 1474 in autorespond.o
qmailadmin.o: In function `main':
/usr/src/qmailadmin-0.42/qmailadmin.c:122: undefined reference to `vauth_getpw'
/usr/src/qmailadmin-0.42/qmailadmin.c:125: undefined reference to `vget_assign'
/usr/src/qmailadmin-0.42/qmailadmin.c:164: undefined reference to `vget_assign'
/usr/src/qmailadmin-0.42/qmailadmin.c:194: undefined reference to `vget_assign'
/usr/src/qmailadmin-0.42/qmailadmin.c:210: undefined reference to `vauth_user'
/usr/src/qmailadmin-0.42/qmailadmin.c:229: undefined reference to `vget_assign'
alias.o: In function `show_redirect_lines':
/usr/src/qmailadmin-0.42/alias.c:295: undefined reference to `vauth_getpw'
/usr/src/qmailadmin-0.42/alias.c:301: undefined reference to `slen'
/usr/src/qmailadmin-0.42/alias.c:303: undefined reference to `scopy'
/usr/src/qmailadmin-0.42/alias.c:304: undefined reference to `scat'
alias.o: In function `doredirect':
/usr/src/qmailadmin-0.42/alias.c:326: undefined reference to `vauth_getpw'
/usr/src/qmailadmin-0.42/alias.c:333: undefined reference to `slen'
/usr/src/qmailadmin-0.42/alias.c:335: undefined reference to `scopy'
/usr/src/qmailadmin-0.42/alias.c:336: undefined reference to `scat'
alias.o: In function `moddotqmailnow':
/usr/src/qmailadmin-0.42/alias.c:404: undefined reference to `vauth_getpw'
/usr/src/qmailadmin-0.42/alias.c:409: undefined reference to `vauth_getpw'
alias.o: In function `adddotqmailnow':
/usr/src/qmailadmin-0.42/alias.c:476: undefined reference to `vauth_getpw'
/usr/src/qmailadmin-0.42/alias.c:501: undefined reference to `vauth_getpw'
alias.o: In function `delredirectnow':
/usr/src/qmailadmin-0.42/alias.c:582: undefined reference to `vauth_getpw'
/usr/src/qmailadmin-0.42/alias.c:587: undefined reference to `slen'
/usr/src/qmailadmin-0.42/alias.c:589: undefined reference to `scopy'
/usr/src/qmailadmin-0.42/alias.c:590: undefined reference to `scat'
mailinglist.o: In function `delmailinglistnow':
/usr/src/qmailadmin-0.42/mailinglist.c:277: undefined reference to `slen'
/usr/src/qmailadmin-0.42/mailinglist.c:287: undefined reference to `vdelfiles'
mailinglist.o: In function `showlistusers':
/usr/src/qmailadmin-0.42/mailinglist.c:439: undefined reference to `lowerit'
mailinglist.o: In function `showlistmod':
/usr/src/qmailadmin-0.42/mailinglist.c:484: undefined reference to `lowerit'
mailinglist.o: In function `addlistusernow':
/usr/src/qmailadmin-0.42/mailinglist.c:539: undefined reference to `lowerit'
mailinglist.o: In function `addlistmodnow':
/usr/src/qmailadmin-0.42/mailinglist.c:573: undefined reference to `lowerit'
mailinglist.o: In function `dellistusernow':
/usr/src/qmailadmin-0.42/mailinglist.c:676: undefined reference to `lowerit'
mailinglist.o:/usr/src/qmailadmin-0.42/mailinglist.c:706: more undefined references to 
`lowerit' follow
user.o: In function `show_user_lines':
/usr/src/qmailadmin-0.42/user.c:87: undefined reference to `vauth_getall'
/usr/src/qmailadmin-0.42/user.c:94: undefined reference to `vauth_getall'
/usr/src/qmailadmin-0.42/user.c:125: