octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mountain Lion build


From: Robinson, Melvin D
Subject: Re: Mountain Lion build
Date: Fri, 21 Sep 2012 22:12:18 +0000
User-agent: Microsoft-MacOutlook/14.2.3.120616


On 9/21/12 4:58 PM, "Ben Abbott" <address@hidden> wrote:

>
>On Sep 21, 2012, at 5:46 PM, Robinson, Melvin D wrote:
>
>> Hello,
>> 
>> I get errors building Octave from sources on Mountain Lion.  The
>>compilation ultimately craters with this error:
>> ld: symbol(s) not found for architecture x86_64
>> collect2: ld returned 1 exit status
>> make[3]: *** [liboctinterp.la] Error 1
>> make[2]: *** [all] Error 2
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>> 
>> Earlier in the build I see the following error:
>> 
>> Undefined symbols for architecture x86_64:
>>   "std::_List_node_base::_M_transfer(std::_List_node_base*,
>>std::_List_node_base*)", referenced from:
>>       std::list<std::basic_string<char, std::char_traits<char>,
>>std::allocator<char> >, std::allocator<std::basic_string<char,
>>std::char_traits<char>, std::allocator<char> > >
>>>::_M_transfer(std::_List_iterator<std::basic_string<char,
>>>std::char_traits<char>, std::allocator<char> > >,
>>>std::_List_iterator<std::basic_string<char, std::char_traits<char>,
>>>std::allocator<char> > >, std::_List_iterator<std::basic_string<char,
>>>std::char_traits<char>, std::allocator<char> > >) in
>>>liboctave-value.a(octave_value_liboctave_value_la-ov-class.o)
>> 
>> I don't really know what the problem could be.
>> g++ -v gives:
>> butterfly:octave melrobin$ g++ -v
>> Using built-in specs.
>> COLLECT_GCC=g++
>> 
>>COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin12/4.5.4/lt
>>o-wrapper
>> Target: x86_64-apple-darwin12
>> Configured with: ../gcc-4.5.4/configure --prefix=/opt/local
>>--build=x86_64-apple-darwin12
>>--enable-languages=c,c++,objc,obj-c++,fortran,java
>>--libdir=/opt/local/lib/gcc45 --includedir=/opt/local/include/gcc45
>>--infodir=/opt/local/share/info --mandir=/opt/local/share/man
>>--datarootdir=/opt/local/share/gcc-4.5 --with-local-prefix=/opt/local
>>--with-libiconv-prefix=/opt/local --with-system-zlib --disable-nls
>>--program-suffix=-mp-4.5
>>--with-gxx-include-dir=/opt/local/include/gcc45/c++/
>>--with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local
>>--with-ppl=/opt/local --enable-stage1-checking --disable-multilib
>>--with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld
>>--with-ar=/opt/local/bin/ar
>>--with-bugurl=https://trac.macports.org/newticket --enable-lto
>>--with-pkgversion='MacPorts gcc45 4.5.4_5'
>> Thread model: posix
>> gcc version 4.5.4 (MacPorts gcc45 4.5.4_5)
>> 
>> Any ideas?  The error seems to come from standard C++ containers.
>
>Please tell us what sources you are attempting to building (what version)
>and what options you specified when running configure.
>
>I don't know if any one has built Octave on Mountain Lion yet.  If you
>are able to install octave-devel using MacPorts you might take a look at
>the port file for some hints as to what the maintainer has done to enable
>it to build.
>
>Ben
>

Yes, I'm attempting to build from developer sources.  I had to add some
additional paths to CXXFLAGS (/opt/local/include/Qtcore and
/opt/local/include/Qtgui) in order to get Octave to recognize Qscintilla.
I'll take a look at the port file.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]