Gentoo Archives: gentoo-alt

From: "Eduardo Mendonça" <eduardomendoncapt@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [prefix][darwin] gcc boost lapack-atlas
Date: Wed, 30 May 2007 17:21:47
Message-Id: 465DB291.3060104@gmail.com
In Reply to: Re: [gentoo-alt] [prefix][darwin] gcc boost lapack-atlas by Fabian Groffen
1 Fabian Groffen wrote:
2 > On 30-05-2007 18:01:50 +0200, Eduardo Mendonça wrote:
3 >
4 >> Fabian Groffen wrote:
5 >>
6 >>> On 30-05-2007 17:33:59 +0200, Eduardo Mendonça wrote:
7 >>>
8 >>>
9 >>>> Hi there,
10 >>>>
11 >>>> Fabian Offender wrote:
12 >>>>
13 >>> ????
14 >>>
15 >>>
16 >>>
17 >> Stupid spellchecker!! ;)
18 >>
19 >
20 > Ahhhhhh...
21 >
22 >
23 >
24 >> I emerge --sync and after I emerged boost from the main tree:
25 >>
26 >> $ USE="threadsonly" emerge =dev-libs/boost-1.33.1-r1 -v
27 >>
28 >> These are the packages that would be merged, in order:
29 >>
30 >> Calculating dependencies... done!
31 >> [ebuild N ] dev-libs/boost-1.33.1-r1 USE="threads threadsonly -bcp
32 >> -bjam -debug -doc -icu -pyste" 0 kB
33 >>
34 >> Total: 1 package (1 new), Size of downloads: 0 kB
35 >>
36 >> >>> Verifying ebuild Manifests...
37 >>
38 >> >>> Emerging (1 of 1) dev-libs/boost-1.33.1-r1 to /
39 >>
40 >> (...)
41 >>
42 >> then it started:
43 >>
44 >> darwin-C++-action
45 >> bin/boost/libs/date_time/build/libboost_date_time.dylib/darwin/release/shared-linkable-true/greg_month.o
46 >> c++: unrecognized option '-no-cpp-precomp'
47 >> cc1plus: error: unrecognized command line option "-Wno-long-double"
48 >>
49 >
50 > Ahhh... switch back to gcc-apple first. With FSF-GCC you run into
51 > troubles on OSX sooner or later anyway.
52 >
53 >
54 Well same thing here... 1 failed:
55
56 $ head -n 213
57 /Gentoo/var/log/dev-libs:boost-1.33.1-r1:20070530-164236.log | tail -n 30
58 darwin-C++-action
59 bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/arg_to_python_base.o
60 darwin-C++-action
61 bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/iterator.o
62 /Gentoo/var/tmp/portage/dev-libs/boost-1.33.1-r1/work/boost_1_33_1/boost/python/detail/wrapper_base.hpp:17:
63 warning: type attributes are honored only at type definition
64 darwin-C++-action
65 bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/object_protocol.o
66 /Gentoo/var/tmp/portage/dev-libs/boost-1.33.1-r1/work/boost_1_33_1/boost/python/detail/wrapper_base.hpp:17:
67 warning: type attributes are honored only at type definition
68 darwin-C++-action
69 bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/object_operators.o
70 /Gentoo/var/tmp/portage/dev-libs/boost-1.33.1-r1/work/boost_1_33_1/boost/python/detail/wrapper_base.hpp:17:
71 warning: type attributes are honored only at type definition
72 darwin-C++-action
73 bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/wrapper.o
74 /Gentoo/var/tmp/portage/dev-libs/boost-1.33.1-r1/work/boost_1_33_1/boost/python/detail/wrapper_base.hpp:17:
75 warning: type attributes are honored only at type definition
76 darwin-Link-DyLib-action
77 bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/libboost_python.dylib
78 /Gentoo/usr/i686-apple-darwin8/binutils-bin/20070412/ld: Undefined symbols:
79 _PyUnicodeUCS4_AsWideChar
80 _PyUnicodeUCS4_FromEncodedObject
81 /Gentoo/usr/bin/libtool: internal link edit command failed
82
83
84 DYLD_LIBRARY_PATH=bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true
85
86 export DYLD_LIBRARY_PATH
87 ld -dynamic -m -r -d -bind_at_load -o
88 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/libboost_python.lo"
89 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/numeric.o"
90 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/list.o"
91 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/long.o"
92 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/dict.o"
93 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/tuple.o"
94 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/str.o"
95 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/slice.o"
96 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/aix_init_module.o"
97 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/from_python.o"
98 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/registry.o"
99 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/type_id.o"
100 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/enum.o"
101 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/class.o"
102 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/function.o"
103 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/inheritance.o"
104 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/life_support.o"
105 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/pickle_support.o"
106 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/errors.o"
107 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/module.o"
108 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/builtin_converters.o"
109 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/arg_to_python_base.o"
110 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/iterator.o"
111 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/object_protocol.o"
112 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/object_operators.o"
113 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/wrapper.o"
114 \
115 && \
116 c++ -Wl,-x -o
117 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/libboost_python.dylib"
118 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/libboost_python.lo"
119 \
120 -F/ -framework Python \
121 -dynamiclib -install_name "libboost_python.dylib" \
122 && \
123 rm -f
124 "bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/libboost_python.lo"
125
126
127 ...failed darwin-Link-DyLib-action
128 bin/boost/libs/python/build/libboost_python.dylib/darwin/release/shared-linkable-true/libboost_python.dylib...
129 MkDir1 bin/boost/libs/python/build/libboost_python.a
130 MkDir1 bin/boost/libs/python/build/libboost_python.a/darwin
131 MkDir1 bin/boost/libs/python/build/libboost_python.a/darwin/release
132 darwin-C++-action
133 bin/boost/libs/python/build/libboost_python.a/darwin/release/numeric.o
134 $
135
136 seems like I have to compile python with UCS4!?
137
138 And I just now tried boost 1.34_pre and I got the same problem with UCS4
139 sybmols... any thoughts? Should I compile python with UCS2, being that
140 it does not have UCS4? (I really don't know what this is...)
141
142 Best regards,
143 Eduardo Mendonça
144
145 --
146 gentoo-alt@g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] [prefix][darwin] gcc boost lapack-atlas Fabian Groffen <grobian@g.o>