public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] cmake-2.8.1 build problems
Date: Fri, 9 Jul 2010 18:33:46 -0700	[thread overview]
Message-ID: <AANLkTilp8OtGl8OS_g3JhglM-hIzRdZ2W7PQuAMGpRkR@mail.gmail.com> (raw)
In-Reply-To: <AANLkTinBB4ZAjS2KJA5fVJh5euf7nlceooS0xFHkpnE9@mail.gmail.com>

On Fri, Jul 9, 2010 at 9:52 AM, Arttu V. <arttuv69@gmail.com> wrote:
> On 7/8/10, Mark Knecht <markknecht@gmail.com> wrote:
>> Hi,
>>    I was trying to slog through all the libpng problems on one of my
>> machines last night but ran into a different issue late in the evening
>> where cmake wouldn't build. I haven't been reading this list all that
>> carefully and didn't find anything obvious with a quick Google search.
>> (Other than some stuff in bugzilla which may or may not relate.)
>>
>>    Have there been any threads lately where this might have come up?
>
> At least one cmake related issue has been handled so that I remember
> it, but it was related to installing new systems.
>
> Without any logs this is just shooting while blindfolded, but if you
> have qt4 USE flag enabled then try this:
>
> USE="-qt4" emerge -1 cmake
>
> Then continue with whatever libpng fixes and advice you are following.
>
> It's very likely that your qt libs (or some other media libs, on which
> qt libs depend on) are now broken due to libpng upgrade -- and thus,
> linking new cmake binaries to qt libs fails due to the breakage ... On
> new systems it's a bit different. IIRC it resulted in circular
> dependencies, which had to be broken down the same way.
>
> --
> Arttu V. -- Running Gentoo is like running with scissors
>
>

Thanks for the idea Arttu. Your suggestion worked fine.

It does appear that this is just more libpng stuff so hopefully when I
get the machine fixed up I can remove the -qt4 flag and get it back
like it was.

I appreciate your help,
Mark


^[[0m^[[31m^[[1mLinking CXX executable ../../bin/cmake-gui
^[[0m[ 98%] ^[[32mBuilding CXX object
Source/CMakeFiles/CTestLib.dir/CTest/cmCTestUpdateCommand.o
^[[0m[ 98%] ^[[32mBuilding CXX object
Source/CMakeFiles/CTestLib.dir/CTest/cmCTestUpdateHandler.o
^[[0m/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: libpng12.so.0, needed by /usr/lib64/qt4/libQtGui.so, not
found (try using -rpath or -rpath-link)
/usr/lib64/qt4/libQtGui.so: undefined reference to
`png_create_write_struct@PNG12_0'
/usr/lib64/qt4/libQtGui.so: undefined reference to `png_write_end@PNG12_0'
/usr/lib64/qt4/libQtGui.so: undefined reference to `png_set_filler@PNG12_0'
/usr/lib64/qt4/libQtGui.so: undefined reference to `png_set_bgr@PNG12_0'
/usr/lib64/qt4/libQtGui.so: undefined reference to `png_set_tRNS@PNG12_0'
<SNIP>
/usr/lib64/qt4/libQtGui.so: undefined reference to `png_get_valid@PNG12_0'
collect2: ld returned 1 exit status
make[2]: *** [bin/cmake-gui] Error 1
make[1]: *** [Source/QtDialog/CMakeFiles/cmake-gui.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
^[[31m^[[1mLinking CXX static library libCTestLib.a
^[[0m[ 98%] Built target CTestLib
make: *** [all] Error 2
 ^[[31;01m*^[[0m ERROR: dev-util/cmake-2.6.4-r3 failed:
 ^[[31;01m*^[[0m   Make failed!
 ^[[31;01m*^[[0m



      reply	other threads:[~2010-07-10  2:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-07 22:10 [gentoo-user] cmake-2.8.1 build problems Mark Knecht
2010-07-08  4:38 ` Dale
2010-07-08 13:32   ` Mark Knecht
2010-07-08 16:22     ` Mark Knecht
2010-07-08 17:04       ` Dale
2010-07-09 15:40         ` Mark Knecht
2010-07-09 18:38           ` Dale
2010-07-09 18:49             ` Mark Knecht
2010-07-09 19:31               ` Bill Longman
2010-07-09 19:38                 ` Dale
2010-07-09 19:41                 ` Alan McKinnon
2010-07-09 16:52 ` Arttu V.
2010-07-10  1:33   ` Mark Knecht [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTilp8OtGl8OS_g3JhglM-hIzRdZ2W7PQuAMGpRkR@mail.gmail.com \
    --to=markknecht@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox