1 |
On Fri, Jul 9, 2010 at 9:52 AM, Arttu V. <arttuv69@×××××.com> wrote: |
2 |
> On 7/8/10, Mark Knecht <markknecht@×××××.com> wrote: |
3 |
>> Hi, |
4 |
>> I was trying to slog through all the libpng problems on one of my |
5 |
>> machines last night but ran into a different issue late in the evening |
6 |
>> where cmake wouldn't build. I haven't been reading this list all that |
7 |
>> carefully and didn't find anything obvious with a quick Google search. |
8 |
>> (Other than some stuff in bugzilla which may or may not relate.) |
9 |
>> |
10 |
>> Have there been any threads lately where this might have come up? |
11 |
> |
12 |
> At least one cmake related issue has been handled so that I remember |
13 |
> it, but it was related to installing new systems. |
14 |
> |
15 |
> Without any logs this is just shooting while blindfolded, but if you |
16 |
> have qt4 USE flag enabled then try this: |
17 |
> |
18 |
> USE="-qt4" emerge -1 cmake |
19 |
> |
20 |
> Then continue with whatever libpng fixes and advice you are following. |
21 |
> |
22 |
> It's very likely that your qt libs (or some other media libs, on which |
23 |
> qt libs depend on) are now broken due to libpng upgrade -- and thus, |
24 |
> linking new cmake binaries to qt libs fails due to the breakage ... On |
25 |
> new systems it's a bit different. IIRC it resulted in circular |
26 |
> dependencies, which had to be broken down the same way. |
27 |
> |
28 |
> -- |
29 |
> Arttu V. -- Running Gentoo is like running with scissors |
30 |
> |
31 |
> |
32 |
|
33 |
Thanks for the idea Arttu. Your suggestion worked fine. |
34 |
|
35 |
It does appear that this is just more libpng stuff so hopefully when I |
36 |
get the machine fixed up I can remove the -qt4 flag and get it back |
37 |
like it was. |
38 |
|
39 |
I appreciate your help, |
40 |
Mark |
41 |
|
42 |
|
43 |
^[[0m^[[31m^[[1mLinking CXX executable ../../bin/cmake-gui |
44 |
^[[0m[ 98%] ^[[32mBuilding CXX object |
45 |
Source/CMakeFiles/CTestLib.dir/CTest/cmCTestUpdateCommand.o |
46 |
^[[0m[ 98%] ^[[32mBuilding CXX object |
47 |
Source/CMakeFiles/CTestLib.dir/CTest/cmCTestUpdateHandler.o |
48 |
^[[0m/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: |
49 |
warning: libpng12.so.0, needed by /usr/lib64/qt4/libQtGui.so, not |
50 |
found (try using -rpath or -rpath-link) |
51 |
/usr/lib64/qt4/libQtGui.so: undefined reference to |
52 |
`png_create_write_struct@PNG12_0' |
53 |
/usr/lib64/qt4/libQtGui.so: undefined reference to `png_write_end@PNG12_0' |
54 |
/usr/lib64/qt4/libQtGui.so: undefined reference to `png_set_filler@PNG12_0' |
55 |
/usr/lib64/qt4/libQtGui.so: undefined reference to `png_set_bgr@PNG12_0' |
56 |
/usr/lib64/qt4/libQtGui.so: undefined reference to `png_set_tRNS@PNG12_0' |
57 |
<SNIP> |
58 |
/usr/lib64/qt4/libQtGui.so: undefined reference to `png_get_valid@PNG12_0' |
59 |
collect2: ld returned 1 exit status |
60 |
make[2]: *** [bin/cmake-gui] Error 1 |
61 |
make[1]: *** [Source/QtDialog/CMakeFiles/cmake-gui.dir/all] Error 2 |
62 |
make[1]: *** Waiting for unfinished jobs.... |
63 |
^[[31m^[[1mLinking CXX static library libCTestLib.a |
64 |
^[[0m[ 98%] Built target CTestLib |
65 |
make: *** [all] Error 2 |
66 |
^[[31;01m*^[[0m ERROR: dev-util/cmake-2.6.4-r3 failed: |
67 |
^[[31;01m*^[[0m Make failed! |
68 |
^[[31;01m*^[[0m |