That's what I had to do!  I wish I had kept better notes on what I was 
doing when I was having problems, but as soon as I saw your post I 
remembered it immediately ...

I think specifying BOTH enable-cgibindir & enable-htmldir in the configure 
process will eliminate the need to edit the configure script and remove the 
various directory searches...


-Rob


At 04:27 AM 7/12/2001 +0700, FAHRIZAL RAZAK wrote:
>The problems were gone when I put comments at lines below in configure file.
>Qmailadmin 0.59 now running on my system at url:
>https://ayu.irfamedia.net/cgi-bin/qmailadmin
>
>htmldir=""
>#for f in /home/httpd/html /usr/local/apache/htdocs /usr/local/www/data
>#do
>#    if test -d $f
>#    then
>#        htmldir=$f
>#    fi
>#done
># Check whether --enable-htmldir or --disable-htmldir was given.
>
>cgibindir=""
>
>#for f in /home/httpd /usr/local/apache /usr/local/www /var/lib/httpd /var/www
>/usr/local/www /var/www
>#do
>#    if test -d $f/cgi-bin
>#    then
>#        cgibindir=$f/cgi-bin
>#    fi
>#done
>
>I am not sure,  is this bug qmailadmin on solaris 8 or caused by unfortunately
>of my system?
>
>regards,
>Fahrizal Razak
>
>
>Rob Genovesi wrote:
>
> > Do you have "vchkpw" in your /etc/group ?
> >
> > I had this exact same problem on Sun Solaris 2.7, but I can't for the life
> > of me remember how I got around it.  I remember the missing "vhckpw" group
> > being key.  (The configure script allows you to set specify a different
> > user, but not a different group).
> >
> > I'll try to dig back through notes and see what else I might have had to do
> > to get past that ...
> >
> > -Rob
> >
> > At 07:30 AM 7/7/2001 +0700, you wrote:
> >
> > >Ken Jones wrote:
> > >
> > > > Something is wrong with the /var/vpopmail/bin/etc directory.
> > > >
> > > > Why are you setting the vpopmail dir on the configure line?
> > > >
> > > > the configure script automatically looks in /etc/passwd
> > > > to get the home directory of the vpasswd user and places
> > > > everything under that directory.
> > > >
> > > > If you want to place things in a different directory I
> > > > *highly* recommend you don't do something "NonStandard",
> > > > meaning, do it the way most people do.
> > > >
> > > > If you want to put everything in /var/vpopmail
> > > > make vpopmail's home directory be /var/vpopmail
> > > >
> > > > usermod -d /var/vpopmail vpopmail
> > > >
> > > > Then when you run configure you can do
> > > >
> > > > ./configure
> > > >
> > > > with no options
> > > >
> > > > Ken Jones
> > > > inter7
> > >
> > >The result using qmailadmin 0.59 like as below:
> > >
> > >********************************************************************
> > >
> > >bash-2.05# cd qmailadmin-0.59
> > >bash-2.05# usermod -d /var/vpopmail vpopmail
> > >bash-2.05# ./configure
> > >creating cache ./config.cache
> > >checking for a BSD compatible install... ./install-sh -c
> > >checking whether build environment is sane... yes
> > >checking whether make sets ${MAKE}... yes
> > >checking for working aclocal... missing
> > >checking for working autoconf... missing
> > >checking for working automake... missing
> > >checking for working autoheader... missing
> > >checking for working makeinfo... missing
> > >checking host system type... sparc-sun-solaris2.8
> > >checking for gcc... 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... yes
> > >checking whether gcc accepts -g... yes
> > >checking for ranlib... ranlib
> > >checking for POSIXized ISC... no
> > >checking how to run the C preprocessor... gcc -E
> > >checking for AIX... no
> > >checking for crypt in -lcrypt... yes
> > >checking for crypt in -lshadow... no
> > >checking for floor in -lm... yes
> > >checking for gethostbyaddr in -lnsl... yes
> > >checking for getsockname in -lsocket... yes
> > >configure: error: Unable to find your vpopmaildir, specify
> > >--enable-vpopmaildir.
> > >bash-2.05#
> > >
> > >
> > >bash-2.05# ./configure --enable-vpopmaildir=/var/vpopmail
> > >loading cache ./config.cache
> > >checking for a BSD compatible install... ./install-sh -c
> > >checking whether build environment is sane... yes
> > >checking whether make sets ${MAKE}... yes
> > >checking for working aclocal... missing
> > >checking for working autoconf... missing
> > >checking for working automake... missing
> > >checking for working autoheader... missing
> > >checking for working makeinfo... missing
> > >checking host system type... sparc-sun-solaris2.8
> > >checking for gcc... 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... yes
> > >checking whether gcc accepts -g... yes
> > >checking for ranlib... ranlib
> > >checking for POSIXized ISC... no
> > >checking how to run the C preprocessor... gcc -E
> > >checking for AIX... no
> > >checking for crypt in -lcrypt... yes
> > >checking for crypt in -lshadow... no
> > >checking for floor in -lm... yes
> > >checking for gethostbyaddr in -lnsl... yes
> > >checking for getsockname in -lsocket... yes
> > >......stop here with nothing.....
> > >
> > >*******************************************************************
> > >
> > >Any more suggestions?
> > >
> > >regards,
> > >Fahrizal Razak
>

Reply via email to