Hi Alex, *, On Nov 23, 2007 11:41 AM, Alex Thurgood <[EMAIL PROTECTED]> wrote: > Christian Lohmaier a écrit : > > > Did you clean the build-tree after changing configure flags or did you > > just try to continue with the changed configure values? > > No, just re-executed the .config command with changed flags, this is how > I compile my ports on FreeBSD. Do you have to clean everything out each > time ? If so, then how ?
configure alone absolutely is not enough. at the bare minimum you need to take care of the following: 1) Reexcecute configure in a clean environment, a new terminal/shell (otherwise the values from the previous build will interfere with your options, in some cases just ignoring the new values) 2) resource the environment variable configure creates. Unless you re-read the MacOSXPPC_env.sh (or whatever it is called :-) the options you did choose at configure time will have no effect. I suggest doing a dmake clean before rerunning a build, because it could be that modules were already compiled with flags only suitable for the old configure line, and that could cause problems later on. If the configure switch only affects one single module, you could use build --prepare to clean the buildtree since that module, but doing a dmake clean is easier most of the time. > If a build goes wrong, is it best to clean it out with a make clean, > before starting again ? If you change configure options: Probably. If you change the current module only (the one where it breaks): then no. If you need to change a module up high in the dependency chain: then probably yes. > > Well I downloaded the binaries, and put them in the download folder of > the moz directory, but then the config command complained that it > couldn't find the moz libraries and that I needed to download the > tarball sources !!! You need to copy the precompiled zips into the moz/zipped folder, not directly into the moz directory. And you would still need to specify --disable-build-mozilla (note the build in the middle, this is a different option than --disable-mozilla) > It's a good job I'm used to building other stuff on FreeBSD, else I'd > have lost patience by now :-)) :-) ciao Christian --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
