DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4625>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4625

won't build from outside of source tree

           Summary: won't build from outside of source tree
           Product: Xerces-C++
           Version: 1.5.1
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


It's fairly standard practice to be able to build an autoconf-based package
outside of its source tree (which is useful, if you like to keep the untarred
source tree lying around, in pristine condition, or if you're building for
multiple platforms and want to preserve the build for each) by running configure
from the build directory.  For example, if I have package foo untarred in
/usr/local/kits/foo/ and want to build it in /usr/local/builds/foo/, I'd run
/usr/local/kits/foo/configure from /usr/local/builds/foo/.  If that doesn't
work, there's actually an option for configure '--srcdir=DIR' that's supposed to
do the trick.

So, Xerces-C++ should provide some mechanism for supporting builds from outside
the source directory (meaning that all paths in the makefiles must be in terms
of '$(SRCDIR)', and runConfigure should check $0, to see where it lives, rather
than assuming this to be '.', so it can try to run configure from the right
place).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to