[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-mac
Subject:    Re: [KDE/Mac] can't compile qt4-mac properly
From:       O <illogical1 () gmail ! com>
Date:       2009-03-05 0:53:43
Message-ID: 797cc39c0903041653n50b57c2egd383cd5f665e3f9 () mail ! gmail ! com
[Download RAW message or body]

On Wed, Mar 4, 2009 at 7:21 PM, Vittorio Giovara <vitto.giova@yahoo.it> wrote:
> just for the note, i removed my old macport installation and started a 100%
> new environment
> running "port install -f kdebase4 +no_docs" gives
> 
> Error: Target org.macports.configure returned: configure failure: shell
> command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_phonon/work/build"
>  && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON
> -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release
> -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
> -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.5.sdk
> -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr"
> -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -Wno-dev
> -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4
> -DPHONON_INCLUDE_DIR=/opt/local/include
> -DPHONON_LIBRARY=/opt/local/lib/libphonon.dylib
> -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X"
> -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib ../phonon-4.3.0 -DBUILD_doc=OFF "
> returned error 1
> Command output: -- Found Qt-Version 4.4.3 (using
> /opt/local/libexec/qt4-mac/bin/qmake)
> -- Found Threads: TRUE
> -- Found Automoc4: /opt/local/bin/automoc4
> CMake Error at CMakeLists.txt:134 (message):
> Qt compiled without support for -fvisibility=hidden.  This will break
> plugins and linking of some applications.  Please fix your Qt
> installation.
> 
> 
> -- Configuring incomplete, errors occurred!
> 
> at the same old phonon port
> so, any ideas considering i'm on a fresh install of macports and have xcode
> 3.1.2?
sudo port sync and try again?

no ideas, other than making sure qt4-mac is compiled with gcc-4.0.
That was the solution that fixed it for me.
I'm guessing something's wrong with your environment as other people
would have not reported similar problems.

> Vittorio
> 
_______________________________________________
kde-mac@kde.org
List Information: https://mail.kde.org/mailman/listinfo/kde-mac
KDE/Mac Information: http://techbase.kde.org/index.php?title=Projects/KDE_on_Mac_OS_X


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic