qucs build error - Solved (sort of)

Bjarne Bäckström bjarne.backstrom at hjomail.se
Thu May 14 14:59:48 PDT 2009


14 maj 2009 kl. 19.21 skrev Bjarne Bäckström:

>
> 14 maj 2009 kl. 05.08 skrev Ryan Schmidt:
>
>>
>> On May 13, 2009, at 08:25, Bjarne Bäckström wrote:
>>
>>> On OS X 10.4.11 (intel) with a freshly installed MacPorts:
>>>
>>> [...]
>>> /usr/bin/g++-4.0  -O2 -pipe -fno-exceptions -fno-check-new  -L/ 
>>> opt/local/lib -o qucs  -L/lib[...]
>>
>> Indeed, there should not be any directory "/lib". I wonder why  
>> qucs is trying to look there.
>>
>
>    Found the problem earlier in the build report:
>
> checking for Qt headers... found in /sw/include/qt
> checking for Qt... 3 (multi-threaded)
> checking for Qt library... found in /lib
>
>    Seems that it's rooting around where it has no business to do...  
> So, I removed /sw/* from PATH, and tried to rebuild qucs.
>
> MacMini:~ bjarne$ echo $PATH
> /opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
>
>    Still same report:
>
> checking for Qt headers... found in /sw/include/qt
> checking for Qt... 3 (multi-threaded)
> checking for Qt library... found in /lib
>
>    So, I ran 'uninstall -f installed' and rebuilt everything. Still  
> same problem:
>
> checking for Qt headers... found in /sw/include/qt
> checking for Qt... 3 (multi-threaded)
> checking for Qt library... found in /lib
>
>    Now I'm wondering, where does it get /sw from? ;-)

    OK, temporarily renaming /sw made qucs and its dependencies build  
fine. Question is, why hasn't this been a problem with earlier  
versions of qucs (or other ports)?
-- 
Regards,
/Bjarne.



More information about the macports-users mailing list