Re: [vchkpw] Building vqAdmin for OS X (darwin)

2007-03-19 Thread Charlie Garrison

Good evening,

On 16/3/07 at 12:36 PM -0500, Ken Jones [EMAIL PROTECTED] wrote:


Charlie Garrison wrote:

Should it be possible to build vqAdmin on OS X? I can't get past the
./configure step; I get errors like the following:


It might be the config.guess and config.sub files.

If vpopmail configures you can copy those files from
the vpopmail source into the vqadmin source. We
had the same issue with 64bit machines.

We have a new release of vqadmin for next week that
has those files updated plus a Post message feature.


OK, vpopmail has now configured/compiled/installed without 
problems. And if you want me to test vqAdmin with the 
config.guess and config.sub files from vpopmail then I'm happy 
to do that. But I found the following configure command worked 
for me (before I saw your reply). I found a recommendation to 
try powerpc-apple-bsd instead of powerpc-apple-darwin after 
extensive googling.


./configure --build=powerpc-apple-bsd \
--enable-cgibindir=/Library/WebServer/CGI-Executables \
--enable-htmldir=/Library/WebServer/Documents

I have vqAdmin installed and working fine now.

If you need someone to test/compile future versions of 
vpopmail/qmailadmin/vqadmin on an OS X box, please let me know. 
I will be happy to help.


Thanks,
Charlie

--
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia


Re: [vchkpw] Building vqAdmin for OS X (darwin)

2007-03-16 Thread Ken Jones
Charlie Garrison wrote:
 Good afternoon,
 
 On 15/3/07 at 7:18 PM -0600, Rick Widmer [EMAIL PROTECTED] wrote:
 
 Charlie Garrison wrote:
 Should it be possible to build vqAdmin on OS X? I can't get past the
 ./configure step; I get errors like the following:

 wild guess
 
 Sometimes a wild guess can be exactly what is needed.  :-)
 
 Maybe you should try...

 make distclean
 
 Failed with no target, but not surprising since I don't have a Makefile
 yet.
 
 automake

 aclocal

 autoconf
 
 Those all ran without errors and created/updated these files:
 
 -rwxr-xr-x1 charlie  admin  181401 Mar 16 15:09 configure*
 drwxr-xr-x5 charlie  admin 170 Mar 16 15:09 autom4te.cache/
 -rw-r--r--1 charlie  admin   30855 Mar 16 15:08 aclocal.m4
 -rw-r--r--1 charlie  admin   17859 Mar 16 15:08 Makefile.in
 
 then try to configure again.
 
 I'm still getting the same errors; I tried './configure' as well as
 specifying some different build types.
 
 At worst you will want to wipe the working directory and untar the
 files again if it doesn't work.  Re-creating the configure script with
 the autoconf tools on your machine might make a difference.  I don't
 have access to OS-X, and don't run vqadmin but no one else has posted
 any suggestions yet, so I thought I would try.
 
 I started with a fresh working directory before trying your suggestions.
 Your advice sounded promising, but no progress so far.
 
 I've been compiling stuff for many years and know how to troubleshoot
 common stuff like missing libs, but I'm out of my depth here. I'm open
 to any other suggestions.

It might be the config.guess and config.sub files.

If vpopmail configures you can copy those files from
the vpopmail source into the vqadmin source. We
had the same issue with 64bit machines.

We have a new release of vqadmin for next week that
has those files updated plus a Post message feature.

--
Ken Jones


Re: [vchkpw] Building vqAdmin for OS X (darwin)

2007-03-15 Thread Rick Widmer



Charlie Garrison wrote:
Should it be possible to build vqAdmin on OS X? I can't get past the 
./configure step; I get errors like the following:


snip



I also googled for any howto's on building vqAdmin on OS X and couldn't 
find anything useful. If OS X is simply not a supported platform (yet) 
but you would like to add support, I'm happy to help but I will need 
assistance to know to get it working.



wild guess

Maybe you should try...

make distclean

automake

aclocal

autoconf

then try to configure again.


At worst you will want to wipe the working directory and untar the files 
again if it doesn't work.  Re-creating the configure script with the 
autoconf tools on your machine might make a difference.  I don't have 
access to OS-X, and don't run vqadmin but no one else has posted any 
suggestions yet, so I thought I would try.


Good luck!

Rick


Re: [vchkpw] Building vqAdmin for OS X (darwin)

2007-03-15 Thread Charlie Garrison

Good afternoon,

On 15/3/07 at 7:18 PM -0600, Rick Widmer 
[EMAIL PROTECTED] wrote:



Charlie Garrison wrote:
Should it be possible to build vqAdmin on OS X? I can't get 
past the ./configure step; I get errors like the following:


wild guess


Sometimes a wild guess can be exactly what is needed.  :-)


Maybe you should try...

make distclean


Failed with no target, but not surprising since I don't have a 
Makefile yet.



automake

aclocal

autoconf


Those all ran without errors and created/updated these files:

-rwxr-xr-x1 charlie  admin  181401 Mar 16 15:09 configure*
drwxr-xr-x5 charlie  admin 170 Mar 16 15:09 autom4te.cache/
-rw-r--r--1 charlie  admin   30855 Mar 16 15:08 aclocal.m4
-rw-r--r--1 charlie  admin   17859 Mar 16 15:08 Makefile.in


then try to configure again.


I'm still getting the same errors; I tried './configure' as well 
as specifying some different build types.


At worst you will want to wipe the working directory and untar 
the files again if it doesn't work.  Re-creating the configure 
script with the autoconf tools on your machine might make a 
difference.  I don't have access to OS-X, and don't run vqadmin 
but no one else has posted any suggestions yet, so I thought I 
would try.


I started with a fresh working directory before trying your 
suggestions. Your advice sounded promising, but no progress so far.


I've been compiling stuff for many years and know how to 
troubleshoot common stuff like missing libs, but I'm out of my 
depth here. I'm open to any other suggestions.



Good luck!


Thanks again.

Charlie

--
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia


[vchkpw] Building vqAdmin for OS X (darwin)

2007-03-14 Thread Charlie Garrison

Good afternoon,

Should it be possible to build vqAdmin on OS X? I can't get past 
the ./configure step; I get errors like the following:


$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/usr/local/src/vqadmin-2.3.7/missing: Unknown `--run' option
Try `/usr/local/src/vqadmin-2.3.7/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... configure: error: cannot guess 
build type; you must specify one



I have tried specifying various build types ('darwin', 
'powerpc-apple-darwin', etc) but I continue getting errors:


$ ./configure --build=darwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/usr/local/src/vqadmin-2.3.7/missing: Unknown `--run' option
Try `/usr/local/src/vqadmin-2.3.7/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... Invalid configuration `darwin': 
machine `darwin' not recognized

configure: error: /bin/sh ./config.sub darwin failed


I'm not familiar with the 'missing' script, so not sure how to 
debug that error. This is the output from missing --help:


$ /usr/local/src/vqadmin-2.3.7/missing --help
/usr/local/src/vqadmin-2.3.7/missing [OPTION]... PROGRAM [ARGUMENT]...

Handle `PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or 
return an

error status if there is no known handling for PROGRAM.

Options:
  -h, --help  display this help and exit
  -v, --version   output version information and exit

Supported PROGRAM values:
  aclocal  touch file `aclocal.m4'
  autoconf touch file `configure'
  autoheader   touch file `config.h.in'
  automake touch all `Makefile.in' files
  bisoncreate `y.tab.[ch]', if possible, from existing .[ch]
  flex create `lex.yy.c', if possible, from existing .c
  lex  create `lex.yy.c', if possible, from existing .c
  makeinfo touch the output file
  yacc create `y.tab.[ch]', if possible, from existing .[ch]


I also googled for any howto's on building vqAdmin on OS X and 
couldn't find anything useful. If OS X is simply not a supported 
platform (yet) but you would like to add support, I'm happy to 
help but I will need assistance to know to get it working.


Thanks,
Charlie

PS. I have qmailadmin ( all other components) working just fine.
--
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia