I don't know if you got an answer from the ppl9 maintainer; I didn't see 
one. I am respnding, because the package failed for me too, but for a 
different reason:

It didn't find the Java headers:

#!/bin/sh -ev
         mkdir build
         cd build
         # old-location
         # JAVA_HOME=`/usr/libexec/java_home`
         JAVA_FW=/System/Library/Frameworks/JavaVM.framework
         JAVA_HOME=$JAVA_FW/Home
         test -d $JAVA_HOME && test -x $JAVA_HOME || \
           { echo "$JAVA_HOME not found." ; exit 1 ;}
/System/Library/Frameworks/JavaVM.framework/Home not found.
[...]
Failed: phase compiling: ppl9-0.11.2-4 failed

I fixed this by uncommenting the line
        # JAVA_HOME=`/usr/libexec/java_home`
and commenting the line
         JAVA_HOME=$JAVA_FW/Home
For me, JAVA_HOME is then
/Library/Java/JavaVirtualMachines/jdk1.7.0_06.jdk/Contents/Home

On the other hand, with this change, ppl9 then builds for me on 10.9. In 
particular, I do not get your errors about missing symbols

On 26/10/13 17:43, peter kostka wrote:
> I try to re-install the ppl9 package:
[]> libtool: link: g++ -Winvalid-pch -g -O2 -g -O2 -pipe 
-fpch-preprocess -fPIC -W -Wall -o .libs/ppl_lcdd ppl_lcdd.o  -L/sw/lib 
../../src/.libs/libppl.dylib ../../utils/libppl_utils.a 
/sw/lib/libgmpxx.dylib /sw/lib/libgmp.dylib
> Undefined symbols for architecture x86_64:
>    "operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, 
> __mpq_struct const*)", referenced from:
>        (anonymous namespace)::write_polyhedron(std::__1::basic_ostream<char, 
> std::__1::char_traits<char> >&, Parma_Polyhedra_Library::C_Polyhedron const&, 
> (anonymous namespace)::Representation) in ppl_lcdd.o
>    "operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, 
> __mpz_struct const*)", referenced from:
>        (anonymous namespace)::write_polyhedron(std::__1::basic_ostream<char, 
> std::__1::char_traits<char> >&, Parma_Polyhedra_Library::C_Polyhedron const&, 
> (anonymous namespace)::Representation) in ppl_lcdd.o
>    "operator>>(std::__1::basic_istream<char, std::__1::char_traits<char> >&, 
> __mpq_struct*)", referenced from:
>        (anonymous namespace)::read_coefficients(std::__1::basic_istream<char, 
> std::__1::char_traits<char> >&, (anonymous namespace)::Number_Type, 
> std::__1::vector<__gmp_expr<__mpz_struct [1], __mpz_struct [1]>, 
> std::__1::allocator<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> > >&, 
> __gmp_expr<__mpz_struct [1], __mpz_struct [1]>&) in ppl_lcdd.o
>    "operator>>(std::__1::basic_istream<char, std::__1::char_traits<char> >&, 
> __mpz_struct*)", referenced from:
>        (anonymous namespace)::read_coefficients(std::__1::basic_istream<char, 
> std::__1::char_traits<char> >&, (anonymous namespace)::Number_Type, 
> std::__1::vector<__gmp_expr<__mpz_struct [1], __mpz_struct [1]>, 
> std::__1::allocator<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> > >&, 
> __gmp_expr<__mpz_struct [1], __mpz_struct [1]>&) in ppl_lcdd.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
[]

These symbols are defined in libgmp. What do you get from the command

   nm /sw/lib/libgmpxx.dylib | c++filt | grep '<<'

I see

0000000000001580 T operator<<(std::__1::basic_ostream<char, 
std::__1::char_traits<char> >&, __mpf_struct const*)
00000000000016c0 T operator<<(std::__1::basic_ostream<char, 
std::__1::char_traits<char> >&, __mpq_struct const*)
0000000000001710 T operator<<(std::__1::basic_ostream<char, 
std::__1::char_traits<char> >&, __mpz_struct const*)


-- 
Martin


------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to