Ben,

[EMAIL PROTECTED] wrote:
> 
> I installed ddd using "fink install ddd" and it compiled cleanly. When I

What version of ddd? 

> run it I get the "% Error: attempt to add non-widget child" error
> message. I added "-force_flat_namespace" to the LDFLAGS in the

This is the right idea, but in ddd-3.3.1-2, the -force_flat_namespace
flag is already there. Since ddd is only in unstable, the fact that you
have version 0.4.0 of the fink distribution doesn't mean your ddd
package description is up to date.

> ddd/Makefile, but after I run "sudo make" and "sudo make install"
> /sw/bin/ddd has not been replaced. Am I doing something wrong or is

Look at the ddd info file how it does this and remember that fink sets
some variables automatically, for example it runs the configure script
with the option --prefix=/sw. The fink package description does some
tricks (like naming the executable first ddd.exe and then renaming it to
ddd because of some case-insensitivity problems) that you don't
understand if you don't read the info file.

> there a better way to do this with fink so it will install correctly?

The fink package description has a line
SetLDFLAGS: -force_flat_namespace
which should already do what you want to do.

Otherwise:
The right way (TM): First make sure that you have the latest version
(fink selfupdate-cvs). Then, if the problem persists, try to find out
the reason, and then write to the package maintainer (fink info ddd).

-- 
Martin

_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to