There is a problem using bakefile and configure for a component when it's out of the wxCode tree, eg. a tar.gz source package.
[EMAIL PROTECTED] a]$ ../configure --prefix=/home/john/cvs/a/wxCode/components/wxstedit/a checking for the --enable-debug option... will be automatically detected ... checking for the --with-wxshared option... will be automatically detected configure: error: cannot run /bin/sh build/config.sub The problem is that the path to look for config.sub is wrong. In the configure generated by acregen.sh you have this ac_config_sub="$SHELL $ac_aux_dir/config.sub" which means that it looks in ac_aux_dir= for ac_dir in ../../../build/autoconf build $srcdir/../../../build/autoconf build; do ... What we really want is for it to look into $srcdir/build where you should have copied all all appropriate scripts. ============== Here's where the problem is wxCode/build/autoconf/wxcode.m4 AC_DEFUN([AM_WXCODE_INIT], [ AC_PREREQ([2.57]) AC_CONFIG_AUX_DIR([../../../build/autoconf build]) m4_include(../../../build/autoconf/wxpresets.m4) AC_LANG(C++) ]) I don't think that having two paths is standard. You can see that only the first dir gets prepended with $srcdir which is why you cannot run configure out of the wxCode tree. I am going to replace the line AC_CONFIG_AUX_DIR([../../../build/autoconf build]) with just this AC_CONFIG_AUX_DIR(build) which means that you have to have all the appropriate scripts in your build dir which is what you'd need to build out of the tree anyway. Regards, John Labenski ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ wxCode-users mailing list wxCode-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxcode-users