OK. I just found the error: ++ /usr/bin/id -g vchkpw + '[' -z '' ']' + /usr/sbin/groupadd -g 89 -r vchkpw groupadd: GID 89 is not unique + : ++ /usr/bin/id -u vpopmail + '[' -z '' ']' + /usr/sbin/useradd -u 89 -r -M -d /home/vpopmail -s /sbin/nologin -c 'Vpopmail User' -g vchkpw vpopmail useradd: unknown group vchkpw + :
So what I need to know is: do I /need/ this group to be group ID #89? Because #89 on my system at this point is the postfix user group. The user is not being created because the group is failing. I really don't know what to do at this point. I don't know how far-reaching the implications could be. I could try to create the group and the user independantly. But I don't know if the script will pick them up and use them, or if it will just /keep/ trying to create them, and keep failing. Please advise. On 6/19/06, Roxanne Sandesara <[EMAIL PROTECTED]> wrote:
I just did. Then attempted the install again. I got the following. PLEASE notice that GCC is up and working and has no problems on this system. The ONLY failure in the running of the build of the Source RPM is in the creation/identification of the vpopmail user and the vchkpw group. THIS is why I need /that/ information. Installing vpopmail-toaster-5.4.13-1.3.1.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.81637 + umask 022 + cd /usr/src/redhat/BUILD + LANG=C + export LANG + unset DISPLAY + cd /usr/src/redhat/BUILD + rm -rf vpopmail-5.4.13 + /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/vpopmail-5.4.13.tar.bz2 + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd vpopmail-5.4.13 ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chown -Rhf root . ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chgrp -Rhf root . + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (vpopmail-5.4.13.patch.bz2):' Patch #0 (vpopmail-5.4.13.patch.bz2): + /usr/bin/bzip2 -d + patch -p0 -s + STATUS=0 + '[' 0 -ne 0 ']' + '[' -f /var/tmp/vpopmail-5.4.13-gcc ']' + rm -f /var/tmp/vpopmail-5.4.13-gcc + echo gcc + '[' -f /var/tmp/vpopmail-5.4.13-show_flags ']' + cat + chmod u+x /var/tmp/vpopmail-5.4.13-show_flags + /var/tmp/vpopmail-5.4.13-show_flags RPM RELEASE: vpopmail-toaster-5.4.13-1.3.1 OS TYPE IS : Fedora Core 5 Linux BUILD DATE : Mon Jun 05 2006 CCFLAGS : -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables LDFLAGS : -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables + '[' -f /var/tmp/vpopmail-5.4.13-show_flags ']' + rm -f /var/tmp/vpopmail-5.4.13-show_flags + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.32650 + umask 022 + cd /usr/src/redhat/BUILD + cd vpopmail-5.4.13 + LANG=C + export LANG + unset DISPLAY + '[' -n /var/tmp/vpopmail-toaster-5.4.13-root -a /var/tmp/vpopmail-toaster-5.4.13-root '!=' / ']' + rm -rf /var/tmp/vpopmail-toaster-5.4.13-root + mkdir -p /var/tmp/vpopmail-toaster-5.4.13-root + '[' -f /var/qmail/bin/vpopfake ']' + rm -fR /var/qmail + '[' -f /var/qmail/bin/qmail-newu ']' + mkdir /var/qmail + mkdir /var/qmail/bin + touch /var/qmail/bin/qmail-newu + touch /var/qmail/bin/qmail-inject + touch /var/qmail/bin/qmail-newmrh + touch /var/qmail/bin/vpopfake ++ /usr/bin/id -g vchkpw + '[' -z '' ']' + /usr/sbin/groupadd -g 89 -r vchkpw groupadd: GID 89 is not unique + : ++ /usr/bin/id -u vpopmail + '[' -z '' ']' + /usr/sbin/useradd -u 89 -r -M -d /home/vpopmail -s /sbin/nologin -c 'Vpopmail User' -g vchkpw vpopmail useradd: unknown group vchkpw + : + ./configure --prefix=/home/vpopmail --enable-vpopuser=vpopmail --enable-vpopgroup=vchkpw --enable-libdir=/usr/lib/mysql --disable-roaming-users --enable-tcprules-prog=/usr/bin/tcprules --enable-tcpserver-file=/etc/tcprules.d/tcp.smtp --enable-make-seekable --enable-clear-passwd --disable-users-big-dir --enable-qmail-ext --disable-ip-alias-domains --enable-auth-module=mysql --disable-passwd --enable-logging=v --enable-log-name=vpopmail --disable-mysql-limits --enable-valias --disable-many-domains checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gawk... (cached) gawk checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for strerror in -lcposix... no checking for crypt in -lcrypt... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for memory.h... (cached) yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for inline... inline checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether closedir returns void... no checking return type of signal handlers... void checking whether utime accepts a null argument... yes checking for bzero... yes checking for dup2... yes checking for fdatasync... yes checking for getcwd... yes checking for gethostname... yes checking for getpass... yes checking for getspnam... yes checking for memset... yes checking for mkdir... yes checking for putenv... yes checking for rmdir... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for utime... yes checking vpopmail configure options... ok checking whether we can locate the qmail directory... yes checking whether we can locate the qmail-newu program... yes checking whether we can locate the qmail-inject program... yes checking whether we can locate the qmail-newmrh program... yes checking for valid vpopmail user and group... yes checking whether password file entry for the vpopmail user exists... No vpopmail user found. Please add the vchkpw group and vpopmail user. Then run configure again no configure: error: Could not compile and run even a trivial ANSI C program - check CC. error: Bad exit status from /var/tmp/rpm-tmp.32650 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.32650 (%build) error: File not found by glob: /usr/src/redhat/RPMS/i386/vpopmail-toaster*.rpm Installing libdomainkeys-toaster . . . On 6/19/06, Erik Espinoza <[EMAIL PROTECTED]> wrote: > Looks like the key points to missing gcc. Have you run through the > dependencies script? > > On 6/19/06, Roxanne Sandesara <[EMAIL PROTECTED]> wrote: > > That command fails, because there is no RPM in that directory, because > > the build of the RPM fails, which is where I started when I got into > > all of this and started asking for help. In hopes that I might somehow > > be able to move forward, here, I am quoing the following from below: > > > > rpmbuild --rebuild --with fdr50 > > /root/Desktop/qmail/vpopmail-toaster-5.4.13-1.3.1.src.rpm > > Installing /root/Desktop/qmail/vpopmail-toaster-5.4.13-1.3.1.src.rpm > > Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.15176 > > + umask 022 > > + cd /usr/src/redhat/BUILD > > + LANG=C > > + export LANG > > + unset DISPLAY > > + cd /usr/src/redhat/BUILD > > + rm -rf vpopmail-5.4.13 > > + /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/vpopmail-5.4.13.tar.bz2 > > + tar -xf - > > + STATUS=0 > > + '[' 0 -ne 0 ']' > > + cd vpopmail-5.4.13 > > ++ /usr/bin/id -u > > + '[' 0 = 0 ']' > > + /bin/chown -Rhf root . > > ++ /usr/bin/id -u > > + '[' 0 = 0 ']' > > + /bin/chgrp -Rhf root . > > + /bin/chmod -Rf a+rX,u+w,g-w,o-w . > > + echo 'Patch #0 (vpopmail-5.4.13.patch.bz2):' > > Patch #0 (vpopmail-5.4.13.patch.bz2): > > + /usr/bin/bzip2 -d > > + patch -p0 -s > > + STATUS=0 > > + '[' 0 -ne 0 ']' > > + '[' -f /var/tmp/vpopmail-5.4.13-gcc ']' > > + rm -f /var/tmp/vpopmail-5.4.13-gcc > > + echo gcc > > + '[' -f /var/tmp/vpopmail-5.4.13-show_flags ']' > > + cat > > + chmod u+x /var/tmp/vpopmail-5.4.13-show_flags > > + /var/tmp/vpopmail-5.4.13-show_flags > > > > > > RPM RELEASE: vpopmail-toaster-5.4.13-1.3.1 > > OS TYPE IS : Fedora Core 5 Linux > > BUILD DATE : Mon Jun 05 2006 > > CCFLAGS : -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > > -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 > > -mtune=generic -fasynchronous-unwind-tables > > LDFLAGS : -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > > -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 > > -mtune=generic -fasynchronous-unwind-tables > > > > > > + '[' -f /var/tmp/vpopmail-5.4.13-show_flags ']' > > + rm -f /var/tmp/vpopmail-5.4.13-show_flags > > + exit 0 > > Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.63450 > > + umask 022 > > + cd /usr/src/redhat/BUILD > > + cd vpopmail-5.4.13 > > + LANG=C > > + export LANG > > + unset DISPLAY > > + '[' -n /var/tmp/vpopmail-toaster-5.4.13-root -a > > /var/tmp/vpopmail-toaster-5.4.13-root '!=' / ']' > > + rm -rf /var/tmp/vpopmail-toaster-5.4.13-root > > + mkdir -p /var/tmp/vpopmail-toaster-5.4.13-root > > + '[' -f /var/qmail/bin/vpopfake ']' > > + rm -fR /var/qmail > > + '[' -f /var/qmail/bin/qmail-newu ']' > > + mkdir /var/qmail > > + mkdir /var/qmail/bin > > + touch /var/qmail/bin/qmail-newu > > + touch /var/qmail/bin/qmail-inject > > + touch /var/qmail/bin/qmail-newmrh > > + touch /var/qmail/bin/vpopfake > > ++ /usr/bin/id -g vchkpw > > + '[' -z '' ']' > > + /usr/sbin/groupadd -g 89 -r vchkpw > > groupadd: GID 89 is not unique > > + : > > ++ /usr/bin/id -u vpopmail > > + '[' -z '' ']' > > + /usr/sbin/useradd -u 89 -r -M -d /home/vpopmail -s /sbin/nologin -c > > 'Vpopmail User' -g vchkpw vpopmail > > useradd: unknown group vchkpw > > + : > > + ./configure --prefix=/home/vpopmail --enable-vpopuser=vpopmail > > --enable-vpopgroup=vchkpw --enable-libdir=/usr/lib/mysql > > --disable-roaming-users --enable-tcprules-prog=/usr/bin/tcprules > > --enable-tcpserver-file=/etc/tcprules.d/tcp.smtp > > --enable-make-seekable --enable-clear-passwd --disable-users-big-dir > > --enable-qmail-ext --disable-ip-alias-domains > > --enable-auth-module=mysql --disable-passwd --enable-logging=v > > --enable-log-name=vpopmail --disable-mysql-limits --enable-valias > > --disable-many-domains > > checking for a BSD-compatible install... /usr/bin/install -c > > checking whether build environment is sane... yes > > checking for gawk... gawk > > checking whether make sets ${MAKE}... yes > > checking build system type... i686-pc-linux-gnu > > checking host system type... i686-pc-linux-gnu > > checking for gawk... (cached) gawk > > checking for gcc... gcc > > checking for C compiler default output... a.out > > checking whether the C compiler works... yes > > checking whether we are cross compiling... no > > checking for suffix of executables... > > checking for suffix of object files... o > > checking whether we are using the GNU C compiler... yes > > checking whether gcc accepts -g... yes > > checking for style of include used by make... GNU > > checking dependency style of gcc... none > > checking for a BSD-compatible install... /usr/bin/install -c > > checking for ranlib... ranlib > > checking for strerror in -lcposix... no > > checking for crypt in -lcrypt... yes > > checking for dirent.h that defines DIR... yes > > checking for library containing opendir... none required > > checking how to run the C preprocessor... gcc -E > > checking for ANSI C header files... yes > > checking for sys/wait.h that is POSIX.1 compatible... yes > > checking for sys/types.h... yes > > checking for sys/stat.h... yes > > checking for stdlib.h... yes > > checking for string.h... yes > > checking for memory.h... yes > > checking for strings.h... yes > > checking for inttypes.h... yes > > checking for stdint.h... yes > > checking for unistd.h... yes > > checking arpa/inet.h usability... yes > > checking arpa/inet.h presence... yes > > checking for arpa/inet.h... yes > > checking fcntl.h usability... yes > > checking fcntl.h presence... yes > > checking for fcntl.h... yes > > checking for memory.h... (cached) yes > > checking netinet/in.h usability... yes > > checking netinet/in.h presence... yes > > checking for netinet/in.h... yes > > checking shadow.h usability... yes > > checking shadow.h presence... yes > > checking for shadow.h... yes > > checking for stdlib.h... (cached) yes > > checking for string.h... (cached) yes > > checking sys/file.h usability... yes > > checking sys/file.h presence... yes > > checking for sys/file.h... yes > > checking sys/param.h usability... yes > > checking sys/param.h presence... yes > > checking for sys/param.h... yes > > checking sys/socket.h usability... yes > > checking sys/socket.h presence... yes > > checking for sys/socket.h... yes > > checking sys/time.h usability... yes > > checking sys/time.h presence... yes > > checking for sys/time.h... yes > > checking syslog.h usability... yes > > checking syslog.h presence... yes > > checking for syslog.h... yes > > checking for unistd.h... (cached) yes > > checking utime.h usability... yes > > checking utime.h presence... yes > > checking for utime.h... yes > > checking crypt.h usability... yes > > checking crypt.h presence... yes > > checking for crypt.h... yes > > checking for gcc option to accept ANSI C... none needed > > checking for an ANSI C-conforming const... yes > > checking for uid_t in sys/types.h... yes > > checking for inline... inline > > checking for mode_t... yes > > checking for off_t... yes > > checking for pid_t... yes > > checking for size_t... yes > > checking whether struct tm is in sys/time.h or time.h... time.h > > checking whether closedir returns void... no > > checking return type of signal handlers... void > > checking whether utime accepts a null argument... yes > > checking for bzero... yes > > checking for dup2... yes > > checking for fdatasync... yes > > checking for getcwd... yes > > checking for gethostname... yes > > checking for getpass... yes > > checking for getspnam... yes > > checking for memset... yes > > checking for mkdir... yes > > checking for putenv... yes > > checking for rmdir... yes > > checking for socket... yes > > checking for strchr... yes > > checking for strdup... yes > > checking for strerror... yes > > checking for strncasecmp... yes > > checking for strrchr... yes > > checking for strspn... yes > > checking for strstr... yes > > checking for utime... yes > > checking vpopmail configure options... ok > > checking whether we can locate the qmail directory... yes > > checking whether we can locate the qmail-newu program... yes > > checking whether we can locate the qmail-inject program... yes > > checking whether we can locate the qmail-newmrh program... yes > > checking for valid vpopmail user and group... yes > > checking whether password file entry for the vpopmail user exists... > > No vpopmail user found. > > Please add the vchkpw group and > > vpopmail user. Then run configure again > > no > > configure: error: Could not compile and run even a trivial ANSI C > > program - check CC. > > error: Bad exit status from /var/tmp/rpm-tmp.63450 (%build) > > > > > > RPM build errors: > > Bad exit status from /var/tmp/rpm-tmp.63450 (%build) > > > > > > > > On 6/19/06, Eric Shubes <[EMAIL PROTECTED]> wrote: > > > These users are created by the installation of vpopmail. If you don't > > > have them, then you likely don't have other things well. > > > > > > Try: > > > rpm -Uvh /usr/src/redhat/RPMS/i386/vpopmail-toaster-*.rpm > > > > > > > --------------------------------------------------------------------- > > QmailToaster hosted by: VR Hosted <http://www.vr.org> > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > QmailToaster hosted by: VR Hosted <http://www.vr.org> > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]