From: Allen B. <al...@vr...> - 2007-02-16 15:00:09
|
Patrick Hartling wrote: > Doug McCorkle wrote: > >> Hello, >> Currently, when building cppdom, headers and libs are installed >> in prefix even if the install target is not listed. This causes >> issues when trying to make cppdom accessible through MacPorts. In >> general this seems to be somewhat of a problem. >> Doug: I am coming to this a little late, but what is the problem building inside MacPorts? Is there a requirement that build happens separately from install? cppdom is definitely not designed to do that. It has been designed to follow a fairly common best practice of having one command that does a complete build and install and does it every time (it is also recommended to have this run the testsuite, but we don't have that in there yet. :). That way developers are *always* using the same build paths that are used by users and packages to install the tool and there are no special hoops to jump through to install or package the software. Just one magic button that will take you from source to happiness. I hadn't heard of this causing problems before, so I am interested in hearing more here. If you really need the build and install separated, you could do something like this: - Build - call scons without a prefix setting - Install - call scons with a prefix setting This will end up "installing" cppdom in the development directories on the first call, but it should work for you. -Allen > > That sounds like bad behavior in general. Software shouldn't be installing > itself unless told to do so. > > The CppDOM build is in pretty bad shape and hasn't ever been quite what I > would call ideal. The installation part has never really worked correctly, > but I don't think I have seen this specific behavior. What I have seen is > that running the build separately from the installation doesn't work well, > but the build certainly should support a two-step build+install process. > What version are you using? > > >> I "fixed" the problem >> by adding guards in the scons files but that may not be the solution >> everyone is looking for. Thoughts? >> > > What are guards in this context? > > -Patrick > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Xml-cppdom-devel mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xml-cppdom-devel > |