On Nov 12, 2005, at 11:19 AM, james tittle wrote:
On Nov 11, 2005, at 5:03 PM, Hans-Christoph Steiner wrote:
I am trying to build flext as part of the build system, it is failing, both with the packages/darwin_app/Makefile and with packages/darwin_app/Makefile++. Makefile++ should be working since Jamie has been using it. Makefile used to work last time I used it. I have done a "cvs up -d -P". Here's the transcript, they both do the same thing:
...IIRC, I also had to remove flext.h from the option PRECOMPILE in grill/flext/package.txt, so that line just looks like:
PRECOMPILE=
...and a quick cvs diff here shows that to be the only real difference as far as errors you're seeing: the other changes have to do with bundleloading, which I'll attach and also send to thomas...if that doesn't work, lemme know!
The changes you spelled out are already in place when I am trying to build flext. It seems that the current method of building flext has a overly complicated series of regexp replacements. What about instead maintaining a separate text file that is used for the .app-style build system. It would then just be copied into place by the Makefile. I think this would be a more manageable solution.
.hc
jamie
RCS file: /cvsroot/pure-data/externals/grill/flext/buildsys/mac/pd/gnumake-gcc- ext.inc,v retrieving revision 1.5 diff -r1.5 gnumake-gcc-ext.inc 3c3
< LDFLAGS += -bundle -bundle_loader $(PDBIN) -flat_namespace
LDFLAGS += -bundle -bundle_loader ../../../pd/bin/pd
Index: buildsys/mac/pd/gnumake-gcc-flext.inc
RCS file: /cvsroot/pure-data/externals/grill/flext/buildsys/mac/pd/gnumake-gcc- flext.inc,v retrieving revision 1.4 diff -r1.4 gnumake-gcc-flext.inc 7c7
< LDFLAGS += -dynamiclib -flat_namespace -undefined suppress
LDFLAGS += -dynamiclib -undefined dynamic_lookup
________________________________________________________________________ ____