error building qcadlib

Brandon Allbery allbery at
Wed Nov 11 10:07:22 PST 2009

On Nov 11, 2009, at 12:58 , wilfried rabaud wrote:
> 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?

You are misreading; it is trying to change the working directory.   
("cd /src/moc")  I suspect it should actually be ./src/moc instead of / 
src/moc but am not familiar with that port.

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at
system administrator [openafs,heimdal,too many hats] allbery at
electrical and computer engineering, carnegie mellon university    KF8NH

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the macports-users mailing list