two buildworld problems

Alexander Best alexbestms at uni-muenster.de
Mon Jun 14 00:11:37 UTC 2010


On Mon, Jun 14, 2010 at 1:28 AM, Doug Barton <dougb at freebsd.org> wrote:
> On 06/13/10 16:21, Alexander Best wrote:
>>
>> `mount -p&&  stat -x /usr/src /usr/obj`:
>
> wow, completely unhelpful. So let me try again. If the /usr/src and /usr/obj
> are not literal directories in /usr then the tests you posted won't work.
> Given what you've posted so far I strongly suspect that there is something
> in your environment that is more complicated than it needs to be, which is
> why you're running into the problems that you are.

oh sorry for that. if i comment out all the gcc44 stuff in my
make.conf and don't set CC/CXX/CPP in src.conf everything works fine.

any suggestions what i should put into my make.conf so that gcc44 only
gets picked when the current directory is not /usr/src/* or
/usr/obj/*? as you pointed out empty(.CURDIR:M/usr/src/*) and
empty(.CURDIR:M/usr/obj/*) aren't doing what i want.

actually i just modified this

.if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc44)
CC=gcc44
CXX=g++44
CPP=cpp44
.endif

which was suggested over @
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/configuring-ports-gcc.html

cheers.

>
> So to debug it I would suggest that you move make.conf out of the way, then
> try again without one. If that works, then you can gradually add things back
> until you find the culprit.
>
>
> hth,
>
> Doug
>
> --
>
>        ... and that's just a little bit of history repeating.
>                        -- Propellerheads
>
>        Improve the effectiveness of your Internet presence with
>        a domain name makeover!    http://SupersetSolutions.com/
>
>



-- 
Alexander Best


More information about the freebsd-current mailing list