On Tue, 9 Aug 2016, Swift Griggs wrote:
>
> I'm noticing that after a "make World" there are two things that seem
> problematic. The first is that many of the applications aren't being built
> due to the linking phase bombing out since it can't find libiconv (since
> it's not using -liconv during the link/compile). Manually adding -liconv
> does result in a compile. Both dtpad and dtmail are good examples.
>
libiconv is a stick point for the BSD's... I do not know its status -
some variants have it, others don't.
> The second problem is apparent after the first. Why doesn't "make World"
> stop when the errors occur? It just keeps truckin' and I didn't even know
> I was missing anything. The same goes for the "installCDE" script which
> didn't bomb out due to missing apps. Maybe all that is intentional and I'm
> just new to the process.
>
Yeah, that has been an issue for as long as I can recall (dating back
a decade or more :) I think it has something to do with the way 'make
World' is implemented but I haven't spent any time looking. I always
dump the output of a build into a log file - something like:
make World 2>&1 |tee mk.log
Then grep the log for errors:
fgrep 'Error ' mk.log
...
> My questions are::
>
> 1. What is the "right" way to add additional libraries so that they will
> be -l'ed (so to speak) at compile time?
>
This is usually platform specific and would be handled in the
config/cf/ files for the specific platform. I am not sure about the
BSD's, but I do seem to recall some issues with iconv on recent
BSD's. That might be a good place to look...
> 2. Is there a way to raise the hysteresis of the compile process so that
> it will fatally panic when any of the apps don't get built.
>
Nothing springs to mind - might be worth looking into.
> If the answer to #2 is "no" then what about a test-harness that checks the
> dist before any install/packaging is done? Does such a beast exist?
>
Nope, not that I'm aware of.
> Sorry if any of this is common knowledge. I'm just getting started.
>
Welcome to CDE Development! :)
--
Jon Trulson
"If we can hit that bull's-eye, the rest of the dominoes will fall
like a house of cards... Checkmate."
-- Zapp Brannigan
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
cdesktopenv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel