[KDE/Mac] can't compile qt4-mac properly

Vittorio Giovara vitto.giova at yahoo.it
Thu Mar 5 02:05:27 CET 2009


hmm qt4 is build with gcc4.0
ccache /usr/bin/g++-4.0 -c -pipe -O2 -isystem/opt/local/include
-isystem/opt/local/include/mysql5/mysql
-isystem/opt/local/include/postgresql83 -fconstant-cfstrings -O2 -Wall -W
-fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT
-DQT_RASTER_IMAGEENGINE -DQT_NO_CUPS -DQT_NO_LPR -DQT_NO_FREETYPE
-DQT_NO_OPENTYPE -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP
-DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQ_INTERNAL_QAPP_SRC
-DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore
-I../../include -I../../include/QtGui -I.rcc/debug-shared
-I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared
-I.uic/debug-shared
-F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.3/lib
-o .obj/release-shared/qcombobox.o widgets/qcombobox.cpp

the only different configuration is ccache but i highly doubt it :\
i'm going to update xcode and remove the ccache config
i'll keep you posted

bye
Vittorio


On Thu, Mar 5, 2009 at 1:53 AM, O <illogical1 at gmail.com> wrote:

> On Wed, Mar 4, 2009 at 7:21 PM, Vittorio Giovara <vitto.giova at 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 at kde.org
> List Information: https://mail.kde.org/mailman/listinfo/kde-mac
> KDE/Mac <https://mail.kde.org/mailman/listinfo/kde-mac%0AKDE/Mac>Information:
> http://techbase.kde.org/index.php?title=Projects/KDE_on_Mac_OS_X
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-mac/attachments/20090305/5b265a47/attachment.htm 


More information about the kde-mac mailing list