No subject


Mon Sep 19 10:14:28 CEST 2011


<maclog>-----------------------------------------------------------------------
make -C /Users/pd/auto-build/pd-extended/externals/iem/iemnet CFLAGS="-DPD -DHAVE_G_CANVAS_H -I/Users/pd/auto-build/pd-extended/pd/src -Wall -W -ggdb -I/Users/pd/auto-build/pd-extended/externals/Gem -I/sw/include -I/Users/pd/auto-build/pd-extended/externals/pdp/include -DMACOSX -DUNIX -Dunix -DDL_OPEN" \
                PD_PATH=/Users/pd/auto-build/pd-extended/pd PD_INCLUDE=/Users/pd/auto-build/pd-extended/pd/src
cc -I"/Users/pd/auto-build/pd-extended/pd/src/pd" -I"/Users/pd/auto-build/pd-extended/pd/src" -DPD -DVERSION='"0.1"'  -fPIC -I/sw/include -I/Applications/Pd-extended.app/Contents/Resources/include -DPD -DHAVE_G_CANVAS_H -I/Users/pd/auto-build/pd-extended/pd/src -Wall -W -ggdb -I/Users/pd/auto-build/pd-extended/externals/Gem -I/sw/include -I/Users/pd/auto-build/pd-extended/externals/pdp/include -DMACOSX -DUNIX -Dunix -DDL_OPEN -o "tcpserver.o" -c "tcpserver.c"
cc1: error: /Users/pd/auto-build/pd-extended/pd/src/pd: not a directory
make[3]: *** [tcpserver.o] Error 1
make[2]: *** [iemnet] Error 2
make[1]: *** [externals_install] Error 2
make: *** [extended_install] Error 2
</maclog>-----------------------------------------------------------------------

The problem here seems to be that the Pd build directory was not clean
and thus there is still the pd binary lying around. Since the iemnet
Makefile defines ALL_CFLAGS as:

ALL_CFLAGS = -I"$(PD_INCLUDE)/pd" -I"$(PD_INCLUDE)"

where the former is there to make it find Pd headers also in the pd
directory (since Pd 0.43), it stumbles across the binary pd files in the
src directory and complains that it is not a directory. 

What is the best solution here? Cleaning the pd/src directory before
building the externals? Including the headers from the install location
instead of the source location? Removing '-I"$(PD_INCLUDE)/pd"' from
ALL_CFLAGS (which actually should stay there for future Pd versions)?

Altough I had the same error once on Linux (I didn't do 'make clean'),
it doesn't happen in the Linux autobuilds, probably because the pd/src
directory is clean at the time of externals build.

Hints/help is appreciated.

Roman
 







More information about the Pd-dev mailing list