error building qcadlib

wilfried rabaud ewira at free.fr
Wed Nov 11 09:58:51 PST 2009


Hi,
I am not able to compile qcad, the error occurs when building cqad lib:
-------- Building qcadlib --------
make prepare
test -d ./include || mkdir -p ./include
( cd ./include; rm -f *.h; \
	for hf in `find ../src -name '*.h'`; do \
		if [ "x$OS" = "xWindows_NT" ]; then \
			cp "$hf" .; \
		else \
			ln -s "$hf" 2> /dev/null; \
		fi \
	done )
rm -f ./lib/libqcad.a
make ./lib/libqcad.a
make src/Makefile
make[2]: `src/Makefile' is up to date.
cd src && make
( cd /src/moc && make )
/bin/sh: line 0: cd: /src/moc: No such file or directory
make[2]: *** [/bin/moc] Error 1
make[1]: *** [lib/libqcad.a] Error 2
make: *** [all] Error 2
Building qcadlib failed

It looks like moc is not found... It is located here : /opt/local/bin/ 
moc
so how do I specify this path to the compiler?

-------------
will







More information about the macports-users mailing list