You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by David Reid <dr...@jetnet.co.uk> on 2000/02/05 13:25:18 UTC

Apache 2.0 buildconf

When I try to use buildconf on BeOS I get the following...

$ buildconf
/bin/sh: which: command not found
/bin/dirname: too few arguments
Try `/bin/dirname --help' for more information.
make[1]: *** No rule to make target `/../share/aclocal/libtool.m4', needed
by `aclocal.m4'.  Stop.
make: *** [all] Error 2
$

david


Re: Apache 2.0 buildconf

Posted by Jeff Trawick <tr...@ibm.net>.
Does BeOS have "type -path" in the shell?

This is kind of ugly, but try using

  /bin/sh -c "type -path libtool"

instead of

  which libtool

in build.mk (the only place I found which used to find libtool).

Change this line

@n=`which libtool`; echo libtool_prefix = `dirname $$n`/.. >> $@
to
@n=`/bin/sh -c "type -path libtool"`; echo libtool_prefix = `dirname $$n`/.. >> $@ 

AFAIK, "type -path" is POSIX.2, but which ain't.  Not that that stops
most folks from using which.

-- 
Jeff Trawick | trawick@ibm.net | PGP public key at web site:
     http://www.geocities.com/SiliconValley/Park/9289/
          Born in Roswell... married an alien...