Huijun wrote: ... > The following is the logs_ede/dependency_rpm_build.log: > > make freeswitch.cfg > make[1]: Entering directory `/home/sipx/WORKING/main/lib' > cd freeswitch; autoreconf -if > ! test -d freeswitch/build || rm -rf freeswitch/build > mkdir freeswitch/build > cd freeswitch/build; \ > ../configure \ > --with-distdir=/home/sipx/WORKING/DIST \ > --cache-file=/home/sipx/WORKING/main/lib/cache-file \ > --target=i686 > configure: creating cache /home/sipx/WORKING/main/lib/cache-file
> checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > configure: error: source directory already configured; run "make distclean" there first > make[1]: *** [freeswitch.cfg] Error 1 > make[1]: Leaving directory `/home/sipx/WORKING/main/lib' > make: *** [freeswitch] Error 2 > DEPENDENCY_TARGET: freeswitch > /home/sipx/WORKING/DIST/RPM contents: > dep_make_result: 2 Looks like the FreeSWITCH RPM is built from a directory created in the source tree. When re-run, the ede_build_devuser.sh script only deletes the $BUILD directory, not $CODE/lib/freeswitch/build. Ideally I could overwrite the FreeSWITCH RPM build location, forcing it to be under $BUILD... But looks like this is hard-coded in the "%.cfg" rule from http://sipxecs.sipfoundry.org/rep/sipXecs/main/lib/Makefile, which I'm reluctant to change just for EDE. But that rule should also remove any existing build dir, before creating a fresh one and calling 'configure'... Hmm. You could try running "make distclean", as it suggests. But I'll try to reproduce this myself. -Paul [email protected] _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
