Problems installing flow-tools (Undefined symbols for architecture x86_64)

Andrew Williams andrewmosswilliams at gmail.com
Sun May 6 06:38:12 PDT 2012


Bug  #34358 Opened.

Your workaround worked.  Thanks for the quick reply.

On Sun, May 6, 2012 at 9:33 AM, Andrew Williams <
andrewmosswilliams at gmail.com> wrote:

>
>
> On Sun, May 6, 2012 at 8:52 AM, Daniel Ericsson <deric at macports.org>wrote:
>
>> On 6 maj 2012, at 14:14, Andrew Williams wrote:
>>
>> > Lion 10.7.3
>> >
>> > gcc --version
>> > i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
>> 5658) (LLVM build 2336.1.00)
>> > Copyright (C) 2007 Free Software Foundation, Inc.
>> > This is free software; see the source for copying conditions.  There is
>> NO
>> > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>> PURPOSE.
>>
>> clang, not llvm-gcc, is the default compiler for Xcode 4.2 and later.
>>
>> > port version
>> > Version: 2.0.4
>> >
>> > Just ran selfupdate etc.
>> >
>> > Hand patching and building netflow seems to work.  Issue appears to be
>> limited to just macports install.
>>
>> Do you build manually with llvm-gcc-4.2 as well? I can verify the failure
>> with `port install flow-tools` (which uses clang), but `sudo port install
>> flow-tools configure.compiler=llvm-gcc-4.2` works. So the issue is
>> triggered when building with clang.
>>
>
> Just did a configure && make  so I suspect it was using gcc.
>
>
>>
>> There is no maintainer for this port but it would be helpful if you could
>> open a ticket (http://trac.macports.org/) and attach the log, you can
>> also add my workaround above so it's documented for other users that hit
>> this.
>>
>
>
> Will do.
>
>
>>
>> thanks,
>> -- Daniel
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120506/6c5f0a81/attachment.html>


More information about the macports-users mailing list