Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2019 16:55:16 +0100
From:      Torfinn Ingolfsen <tingox@gmail.com>
To:        Christoph Moench-Tegeder <cmt@burggraben.net>
Cc:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: FreeCAD 0.17 - is anyone using it?
Message-ID:  <CAJ_iqtYYbn0MmXGLENZT5qOjdf4=sFKDD_1PTuO18cZuBj%2BLww@mail.gmail.com>
In-Reply-To: <20190224205258.GA30765@elch.exwg.net>
References:  <CAJ_iqtZxFaXmu0ACOQt0mFK9UATfzyLocMTuRybOFiECFjLg7g@mail.gmail.com> <20190209130245.GA32159@elch.exwg.net> <CAJ_iqtYtkmeUuvtgmE903N7K5M2XaszWZV0Ga75dwhSC9DmDbw@mail.gmail.com> <20190209211210.GD32159@elch.exwg.net> <CAJ_iqtaVTS9oe79_cOCZjeicnMnaRsHYfp9Y5z=wUyjMxDxZYw@mail.gmail.com> <20190214220235.GA2390@elch.exwg.net> <CAJ_iqtZ70r63w4z0v_=_k7c4g0Cgww8MvsdyJxq8g6-cLOubkw@mail.gmail.com> <20190216112331.GB2502@elch.exwg.net> <CAJ_iqtbhTs8L%2BmAJv7fmnGznQ=iaZqDEXURpX14ezcG43QeJxQ@mail.gmail.com> <20190224205258.GA30765@elch.exwg.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 24, 2019 at 11:22 PM Christoph Moench-Tegeder
<cmt@burggraben.net> wrote:
>
>
> The main question is why it detects Coin as "-lCoin", which can't
> be found by the linker without a matching "-L/usr/local/lib" (it's
> ok when Coin is linked as just "/usr/local/lib/libCoin.so").
> There may be some hints in cmake's somewhat more verbose output
> in work/.build/CMakeFiles/CMakeOutput.log (and CMakeError.log).
> I would suspect something in your environment (LDFLAGS? picked
> up different linker between configure and build stages?)
>
> Anyways, I gave up on this (there are too many variables and I
> still cannot reproduce this in clean environments, whatever I do
> Coin is picked up as expected).
> As a possible workaround I forced "-L/usr/local/lib" into LDFLAGS -
> looks like the linker invocation should now work in your case.
>

updated the ports tree again, and tried upgrading the FreeCAD port,
but the build fails as before.
I've put the build output and CMakeOutput.log (there is no
CMakeError.log) at
https://sites.google.com/site/tingox/asus_m5a78l_usb3_freebsd
in case it helps.

I'm not sure what in my environment the port build could pick up. I
have nothing in /etc/make.conf, and no src.conf on this machine.
Perhaps it is picking up something from /usr/local/FreeCAD? Except
that there isn't a libcoin there.

HTH
-- 
Regards,
Torfinn Ingolfsen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ_iqtYYbn0MmXGLENZT5qOjdf4=sFKDD_1PTuO18cZuBj%2BLww>