[qmailadmin] Compile problem
Hello Everyone, I am experiencing a problem while compiling the qmailadmin package. I will give you the out put of the ./configure and make. I am running this on a Redhat Advanced Server 2.1, with qmail-ldap + Spamassassin + Qmailscanner (Clamav), ezmlm-0.53-idx-0.41, courier-imap-2.2.1, autorespond-2.0.2 $./configure loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking host system type... i686-unknown-linux checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for ranlib... (cached) ranlib checking for strerror in -lcposix... (cached) no checking how to run the C preprocessor... (cached) gcc -E checking for AIX... no checking for crypt in -lcrypt... (cached) yes checking for crypt in -lshadow... (cached) no checking for floor in -lm... (cached) yes checking for gethostbyaddr in -lnsl... (cached) yes checking for getsockname in -lsocket... (cached) no cat: /usr/local/vpopmail/etc/lib_deps: No such file or directory checking whether we should prohibit caching... no checking whether to require ip authentication... yes checking whether to display user index... yes checking for ezmlm-idx... yes checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking for working const... (cached) yes checking for size_t... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for getcwd... (cached) yes checking for mkdir... (cached) yes checking for strdup... (cached) yes checking for strstr... (cached) yes creating ./config.status creating Makefile creating config.h config.h is unchanged $ make make all-recursive make[1]: Entering directory `/home/nobody/build/qmailadmin-1.0.6' make[2]: Entering directory `/home/nobody/build/qmailadmin-1.0.6' gcc -g -O2 -o qmailadmin qmailadmin.o alias.o autorespond.o forward.o mailinglist.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/nobody/build/qmailadmin-1.0.6/qmailadmin.c:133: undefined reference to `vauth_getpw' /home/nobody/build/qmailadmin-1.0.6/qmailadmin.c:136: undefined reference to `vget_assign' /home/nobody/build/qmailadmin-1.0.6/qmailadmin.c:175: undefined reference to `vget_assign' /home/nobody/build/qmailadmin-1.0.6/qmailadmin.c:180: undefined reference to `vclose' /home/nobody/build/qmailadmin-1.0.6/qmailadmin.c:199: undefined reference to `vget_assign' /home/nobody/build/qmailadmin-1.0.6/qmailadmin.c:210: undefined reference to `vauth_user' /home/nobody/build/qmailadmin-1.0.6/qmailadmin.c:214: undefined reference to `vclose' /home/nobody/build/qmailadmin-1.0.6/qmailadmin.c:226: undefined reference to `vclose' /home/nobody/build/qmailadmin-1.0.6/qmailadmin.c:231: undefined reference to `vget_assign' /home/nobody/build/qmailadmin-1.0.6/qmailadmin.c:234: undefined reference to `vclose' /home/nobody/build/qmailadmin-1.0.6/qmailadmin.c:240: undefined reference to `vclose' alias.o: In function `show_aliases': /home/nobody/build/qmailadmin-1.0.6/alias.c:39: undefined reference to `vclose' alias.o: In function `show_dotqmail_lines': /home/nobody/build/qmailadmin-1.0.6/alias.c:59: undefined reference to `vclose' alias.o: In function `show_dotqmail_file': /home/nobody/build/qmailadmin-1.0.6/alias.c:199: undefined reference to `vclose' alias.o:/home/nobody/build/qmailadmin-1.0.6/alias.c:214: more undefined references to `vclose' follow alias.o: In function `moddotqmailnow': /home/nobody/build/qmailadmin-1.0.6/alias.c:356: undefined reference to `vauth_getpw' /home/nobody/build/qmailadmin-1.0.6/alias.c:359: undefined reference to `vclose' /home/nobody/build/qmailadmin-1.0.6/alias.c:362: undefined reference to `vauth_getpw' /home/nobody/build/qmailadmin-1.0.6/alias.c:368: undefined reference to `vclose' /home/nobody/build/qmailadmin-1.0.6/alias.c:373: undefined reference to `vclose' /home/nobody/build/qmailadmin-1.0.6/alias.c:377: undefined reference to `vclose' alias.o: In function `adddotqmail': /home/nobody/build/qmailadmin-1.0.6/alias.c:392: undefined reference to `vclose' /home/nobody/build/qmailadmin-1.0.6/alias.c:404: undefined reference to `vclose' alias.o:/home/nobody/build/qmailadmin-1.0.6/alias.c:412: more undefined references to `vclose' follow alias.o: In function `adddotqmailnow': /home/nobody/build/qmailadmin-1.0.6/alias.c:459: undefined reference to
RE: [qmailadmin] Compile problem
I forgot to tell you, Vpopmail is also there (vpopmail-5.2.2), it was compiled perfectly. -Original Message- From: Rick Widmer [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 2:46 PM To: [EMAIL PROTECTED] Subject: Re: [qmailadmin] Compile problem Mohammed Salih wrote: Hello Everyone, I am experiencing a problem while compiling the qmailadmin package. I will give you the out put of the ./configure and make. I am running this on a Redhat Advanced Server 2.1, with qmail-ldap + Spamassassin + Qmailscanner (Clamav), ezmlm-0.53-idx-0.41, courier-imap-2.2.1, autorespond-2.0.2 $./configure loading cache ./config.cache What version of vpopmail are you using? You must compile and install vpopmail before you can ./configure qmailadmin. http://vpopmail.sf.net/ Rick
Re: [qmailadmin] Compile problem
Compile first vpopmail and install it. -- Eero
Re: [qmailadmin] Compile problem
I forgot to tell you, Vpopmail is also there (vpopmail-5.2.2), it was compiled perfectly. Compile is not enought, you need to install vpopmail too, because qmailadmin uses its libraries. -- Eero
[qmailadmin] Compile problem
Hi, I'm trying to build qmailadmin but am having some problems. ./configure goes through with no problems (I didn't need to add any options). Make does this # make make all-recursive gcc -I. -I/home/vpopmail/include -g -O2 -c qmailadmin.c gcc -I. -I/home/vpopmail/include -g -O2 -c alias.c gcc -I. -I/home/vpopmail/include -g -O2 -c autorespond.c gcc -I. -I/home/vpopmail/include -g -O2 -c forward.c gcc -I. -I/home/vpopmail/include -g -O2 -c mailinglist.c gcc -I. -I/home/vpopmail/include -g -O2 -c user.c gcc -I. -I/home/vpopmail/include -g -O2 -c util.c gcc -I. -I/home/vpopmail/include -g -O2 -c auth.c gcc -I. -I/home/vpopmail/include -g -O2 -c template.c gcc -I. -I/home/vpopmail/include -g -O2 -c command.c gcc -I. -I/home/vpopmail/include -g -O2 -c show.c gcc -I. -I/home/vpopmail/include -g -O2 -c cgi.c gcc -I. -I/home/vpopmail/include -g -O2 -c limits.c gcc -I. -I/home/vpopmail/include -g -O2 -c dotqmail.c gcc -g -O2 -o qmailadmin qmailadmin.o alias.o autorespond.o forward.o mailinglist.o user.o util.o auth.o template.o command.o show.o cgi.o limits.o dotqmail.o -L/home/vpopmail/lib -lvpopmail -lnsl -lm -lcrypt /usr/ccs/bin/ld: Unsatisfied symbols: setegid (code) seteuid (code) collect2: ld returned 1 exit status *** Error exit code 1 Any offers? vpopmail, qmail et al. all compiled with no problems. -- Howard Miller GUIDE University of Glasgow T: +44 (0)141 330 3269
[qmailadmin] Compile problem
Dear list I am trying to install qmailadmin-1.0.6 on SuSE 8.1 (Already running qmail, vpopmail-5.2.1, ezmlm-idx, and autoresponder.) when running make I get complaints about the absence of vauth.h and vpopmail.h but I can't find anything about these files in the INSTALL file. Here is the output: make all-recursive make[1]: Entering directory `/usr/local/src/qmailadmin-1.0.6' make[2]: Entering directory `/usr/local/src/qmailadmin-1.0.6' gcc -I. -g -O2 -c qmailadmin.c qmailadmin.c:29:22: vpopmail.h: No such file or directory qmailadmin.c:30:19: vauth.h: No such file or directory qmailadmin.c: In function `main': qmailadmin.c:133: warning: assignment makes pointer from integer without a cast qmailadmin.c:210: warning: assignment makes pointer from integer without a cast qmailadmin.c:218: dereferencing pointer to incomplete type qmailadmin.c:222: dereferencing pointer to incomplete type make[2]: *** [qmailadmin.o] Error 1 make[2]: Leaving directory `/usr/local/src/qmailadmin-1.0.6' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/qmailadmin-1.0.6' make: *** [all-recursive-am] Error 2 I would be very thankful for any suggestions. Thanks a lot! Lars Olav Tveito [EMAIL PROTECTED] +47 22 95 80 93 +47 906 53 577
Re: [qmailadmin] Compile problem
Hi Lars!: You have a problem when compiling the file qmailadmin.c You must open the Makefile file and see how it compiles it. It can be that it is not taking the archives to header correctly. It is probable that you must alter the Makefile file or see the location of each one of # include header.h . It can that is aiming at a mistaken directory. Have a great day! Mario Eber Rodriguez. El jue, 14-11-2002 a las 15:46, Lars Olav Tveito escribió: Dear list I am trying to install qmailadmin-1.0.6 on SuSE 8.1 (Already running qmail, vpopmail-5.2.1, ezmlm-idx, and autoresponder.) when running make I get complaints about the absence of vauth.h and vpopmail.h but I can't find anything about these files in the INSTALL file. Here is the output: make all-recursive make[1]: Entering directory `/usr/local/src/qmailadmin-1.0.6' make[2]: Entering directory `/usr/local/src/qmailadmin-1.0.6' gcc -I. -g -O2 -c qmailadmin.c qmailadmin.c:29:22: vpopmail.h: No such file or directory qmailadmin.c:30:19: vauth.h: No such file or directory qmailadmin.c: In function `main': qmailadmin.c:133: warning: assignment makes pointer from integer without a cast qmailadmin.c:210: warning: assignment makes pointer from integer without a cast qmailadmin.c:218: dereferencing pointer to incomplete type qmailadmin.c:222: dereferencing pointer to incomplete type make[2]: *** [qmailadmin.o] Error 1 make[2]: Leaving directory `/usr/local/src/qmailadmin-1.0.6' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/qmailadmin-1.0.6' make: *** [all-recursive-am] Error 2 I would be very thankful for any suggestions. Thanks a lot! Lars Olav Tveito [EMAIL PROTECTED] +47 22 95 80 93 +47 906 53 577