Date: Mon, 3 Jun 2019 09:57:02 -0600 From: Gary Aitken <freebsd@dreamchaser.org> To: Adriaan de Groot <adridg@freebsd.org>, freebsd-ports@freebsd.org Subject: Re: .build directory for cmake (was: freebsd-ports Digest, Vol 836, Issue 1) Message-ID: <cfab1e58-9f75-0a37-bda3-59b9e6251ed6@dreamchaser.org> In-Reply-To: <1938447.9KSsKqBpt2@beastie.bionicmutton.org> References: <mailman.87.1559563201.38541.freebsd-ports@freebsd.org> <1938447.9KSsKqBpt2@beastie.bionicmutton.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/3/19 8:18 AM, Adriaan de Groot wrote: > On Monday, 3 June 2019 14:00:01 CEST freebsd-ports-request@freebsd.org wrote: >> From: Gary Aitken <freebsd@dreamchaser.org> >> >> I'm trying to port some linux code which uses cmake, and clearly don't >> know what I'm doing. >> >> I have >> USES= cmake >> set, but a >> make build >> terminates with: >> cd: /usr/ports/cad/prusa-slicer/work/.build: No such file or directory >> >> What am I missing? I presume the .build directory should be automatically >> created by the build process. > > Are you sure that the configure step is completing succesfully? You'd have to > take a look in WRKDIR (e.g. try WRKDIR=/tmp/bare make configure ) to see what > it's created exactly and where -- if anywhere -- the build-dir has ended up. > > I know I've run into this same problem with cmake-based ports, but I don't > remember what I did to resolve it. Feel free to pop into #kde-freebsd on > Freenode IRC to bounce ideas off the FreeBSD devel/cmake maintainers. Thank you, that was a big help. There was a .configure_done.prusa-slicer._usr_local but no .build subdirectory. If I remove the .configure_done and do a make configure it correctly creates the .build subdir and populates it, but due to an error it doesn't complete and so leaves no .configure_done. So... I can continue work from here, thanks. What's not clear is how the .configure_done got written in the first place; I can't reproduce it. Thanks, Gary
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cfab1e58-9f75-0a37-bda3-59b9e6251ed6>