[KDE/Mac] MacPorts update
Greg Hellings
greg.hellings at gmail.com
Mon Sep 8 07:14:51 CEST 2008
Now I get the following error:
---> Configuring qt4-mac
Error: Target org.macports.configure returned: configure failure:
shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_theiggy.com_ports_4.1-svn_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.1"
&& CFLAGS=-isystem/opt/local/include
CXXFLAGS=-isystem/opt/local/include ./configure -v -confirm-license
-prefix '/opt/local' -bindir '/opt/local/libexec/qt4-mac/bin' -docdir
'/opt/local/share/doc/qt4-mac' -datadir '/opt/local/share/qt4-mac'
-headerdir '/opt/local/include/qt4-mac' -plugindir
'/opt/local/lib/qt4-mac-plugins' -translationdir
'/opt/local/share/qt4-mac/translations' -optimized-qmake
-debug-and-release -shared -stl -largefile -system-libpng
-system-libjpeg -system-libmng -system-libtiff -system-zlib -qt-gif
-no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql -no-sql-sqlite
-no-nis -no-cups -framework -libdir '/opt/local/Library/Frameworks'
-make libs -make tools
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_theiggy.com_ports_4.1-svn_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.1/include
-L/opt/local/var/macports/build/_opt_local_var_macports_sources_theiggy.com_ports_4.1-svn_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.1/lib
-L/opt/local/lib -dbus-linked -no-phonon -openssl -make docs "
returned error 101
Command output: Undefined symbols:
"_iconv", referenced from:
_main in iconv.o
"_iconv_close", referenced from:
_main in iconv.o
"_iconv_open", referenced from:
_main in iconv.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [iconv] Error 1
POSIX iconv disabled.
GNU libiconv auto-detection... ()
g++ -c -pipe -Os -Wall -W -I../../../mkspecs/macx-g++ -I.
-I../../../include -I. -o gnu-libiconv.o gnu-libiconv.cpp
gnu-libiconv.cpp: In function 'int main(int, char**)':
gnu-libiconv.cpp:13: error: invalid conversion from 'const char**' to 'char**'
gnu-libiconv.cpp:13: error: initializing argument 2 of 'size_t
iconv(void*, char**, size_t*, char**, size_t*)'
make: *** [gnu-libiconv.o] Error 1
GNU libiconv disabled.
D-Bus auto-detection... ()
g++ -c -pipe -Os -Wall -W -I../../../mkspecs/macx-g++ -I.
-I../../../include -I. -o dbus.o dbus.cpp
dbus.cpp:2:23: error: dbus/dbus.h: No such file or directory
dbus.cpp:5:2: error: #error Needs at least dbus version 1
dbus.cpp: In function 'int main(int, char**)':
dbus.cpp:10: error: 'dbus_shutdown' was not declared in this scope
make: *** [dbus.o] Error 1
D-Bus disabled.
The QtDBus module cannot be enabled because libdbus-1 version 0.62 was
not found.
Turn on verbose messaging (-v) to ./configure to see the final report.
If you believe this message is in error you may use the continue
switch (-continue) to ./configure to continue.
Error: The following dependencies failed to build: automoc qt4-mac
giflib pcre phonon shared-mime-info glib2 libxml2 p5-xml-parser strigi
Error: Status 1 encountered during processing.
On Fri, Sep 5, 2008 at 2:13 PM, Brian Jackson <iggy at theiggy.com> wrote:
> Okay, automoc needs qt4, I added it as a dep. sync and try again.
>
>
>
> On Sep 4, 2008, at 4:28 PM, Greg Hellings wrote:
>
>> Brian,
>>
>> OS X 10.5.4
>> 0-19-e3-4-aa-2e:bibletime-build hellings1$ port --version
>> MacPorts 1.600
>>
>> I suppose the list scrubbed the attachment of the error message, so
>> I'll paste it in here.
>>
>>
>> DEBUG: Skipping completed org.macports.main (automoc)
>> DEBUG: Skipping completed org.macports.fetch (automoc)
>> DEBUG: Skipping completed org.macports.checksum (automoc)
>> DEBUG: setting option extract.cmd to /usr/bin/bzip2
>> DEBUG: Skipping completed org.macports.extract (automoc)
>> DEBUG: Skipping completed org.macports.patch (automoc)
>> ---> Configuring automoc
>> DEBUG: Executing org.macports.configure (automoc)
>> CMake Error at /opt/local/share/cmake-2.6/Modules/FindQt4.cmake:1639
>> (MESSAGE):
>> Qt qmake not found!
>> Call Stack (most recent call first):
>> CMakeLists.txt:5 (find_package)
>>
>>
>> -- Configuring done
>> Error: Target org.macports.configure returned: shell command "cd
>> /opt/local/var/macports/build/
>> _opt_local_var_macports_sources_theiggy.com_ports_4.1-
>> svn_kde4_automoc/work/automoc-svn-trunk-r854953
>> && cmake -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
>> -DCMAKE_INSTALL_PREFIX:PATH=/opt/local -DCMAKE_BUILD_TYPE=debugFull
>> /opt/local/var/macports/build/
>> _opt_local_var_macports_sources_theiggy.com_ports_4.1-
>> svn_kde4_automoc/work/automoc-svn-trunk-r854953"
>> returned error 1
>> Command output: CMake Error at
>> /opt/local/share/cmake-2.6/Modules/FindQt4.cmake:1639 (MESSAGE):
>> Qt qmake not found!
>> Call Stack (most recent call first):
>> CMakeLists.txt:5 (find_package)
>>
>>
>> -- Configuring done
>>
>> Warning: the following items did not execute (for automoc):
>> org.macports.activate org.macports.configure org.macports.build
>> org.macports.destroot org.macports.install
>> Error: The following dependencies failed to build: automoc kdebase4
>> kdelibs4 giflib pcre phonon qt4-mac shared-mime-info libxml2
>> p5-xml-parser strigi clucene qimageblitz akonadi boost boost-jam gpgme
>> gnupg bzip2 libgpg-error pth kdepimlibs4
>> Error: Status 1 encountered during processing.
>>
>>
>> Good luck.
>> --Greg
>>
>> On Thu, Sep 4, 2008 at 9:24 AM, Brian Jackson <iggy at theiggy.com>
>> wrote:
>>> What version of OS X are you running? What version of macports?
>>>
>>> I really don't know what could be going wrong. I didn't have any
>>> problems that weren't my own fault when I was installing. I even
>>> did a
>>> rm -rf /opt and completely started over with a fresh macports. Can
>>> you
>>> send me kdesdk4-debug-output log file?
>>>
>>>
>>> On Sep 3, 2008, at 5:34 PM, Greg Hellings wrote:
>>>
>>>> Brian,
>>>>
>>>> I had synced right before that task. Between now and then I have
>>>> manually installed qt4-mac and then uninstalled it. So all its
>>>> dependencies are already installed. However, I have attached the
>>>> output of the command 'sudo port -d install kdesdk4 2>&1 | tee
>>>> kdesdk4-debug-output | less'. It appears to search for qt4-mac and
>>>> finds the port file, but it's not building it. In the meantime, it
>>>> looks like manually installing qt4-mac is the way to go, so I'll be
>>>> moving along with that. n.b. The same error also occurs for me when
>>>> building kdelibs and kdebase off of the 4.1-svn repository.
>>>>
>>>> --Greg
>>>>
>>>> On Wed, Sep 3, 2008 at 2:00 PM, Brian Jackson <iggy at theiggy.com>
>>>> wrote:
>>>>> The rsync://theiggy.com/ports/4.1-svn repo is the only one I've got
>>>>> (mostly) working so far.
>>>>>
>>>>> kdesdk4 has an explicit dependency on qt4-mac, so it should be
>>>>> pulling
>>>>> it in itself (not to mention kdelibs and kdebase)
>>>>>
>>>>> Can you run port with -d to see if it tells you anything useful.
>>>>>
>>>>> Also, make sure you are running "sudo port sync" pretty often since
>>>>> I've been changing things a lot.
>>>>>
>>>>>
>>>>>
>>>>> On Sep 3, 2008, at 1:33 PM, Greg Hellings wrote:
>>>>>
>>>>>> I tried the 4.1-release version... it errors out because it can't
>>>>>> find
>>>>>> the automoc .tar.bz2 file on the servers (probably because it's
>>>>>> been
>>>>>> updated with a newer revision):
>>>>>> ---> Fetching automoc
>>>>>> ---> Attempting to fetch automoc-svn-r838458.tar.bz2 from
>>>>>> http://64.72.114.172:81/kde-svn/
>>>>>> ---> Attempting to fetch automoc-svn-r838458.tar.bz2 from
>>>>>> http://svn.macports.org/repository/macports/distfiles/automoc
>>>>>> ---> Attempting to fetch automoc-svn-r838458.tar.bz2 from
>>>>>> http://svn.macports.org/repository/macports/distfiles/general/
>>>>>> ---> Attempting to fetch automoc-svn-r838458.tar.bz2 from
>>>>>> http://svn.macports.org/repository/macports/downloads/automoc
>>>>>> Error: Target org.macports.fetch returned: fetch failed
>>>>>>
>>>>>> Now I'm trying to build the 4.1-svn versions and get the
>>>>>> following:
>>>>>> -- Detecting CXX compiler ABI info - done
>>>>>> CMake Error at /opt/local/share/cmake-2.6/Modules/FindQt4.cmake:
>>>>>> 1639
>>>>>> (MESSAGE):
>>>>>> Qt qmake not found!
>>>>>> Call Stack (most recent call first):
>>>>>> CMakeLists.txt:5 (find_package)
>>>>>> -- Configuring done
>>>>>>
>>>>>> For both of the above I was issuing the command "sudo port install
>>>>>> kdesdk4." I don't know if the Qt4 dependency is resolved for the
>>>>>> kdelibs or kdebase packages, but it appears that kdesdk4 needs it,
>>>>>> as
>>>>>> well.
>>>>>>
>>>>>> --Greg
>>>>>>
>>>>>> On Sat, Aug 30, 2008 at 8:19 PM, Brian Jackson <iggy at theiggy.com>
>>>>>> wrote:
>>>>>>> I've been working on updating some of these lately, and I setup
>>>>>>> an
>>>>>>> rsync repo so it should be easier to use now.
>>>>>>>
>>>>>>> it should be a matter of adding a new repo to /opt/local/etc/
>>>>>>> macports/
>>>>>>> sources.conf above the default macports one
>>>>>>>
>>>>>>> Probably the best one to use right now is (I've actually
>>>>>>> checked to
>>>>>>> make sure most of this builds):
>>>>>>> rsync://theiggy.com/ports/4.1-svn
>>>>>>> This is using svn snapshots from KDE's 4.1 branch
>>>>>>>
>>>>>>> But I'll also be fixing these up soon:
>>>>>>> rsync://theiggy.com/ports/4.1-release # uses 4.1.x release
>>>>>>> tarballs
>>>>>>> where possible
>>>>>>> rsync://theiggy.com/ports/trunk # tracks kde's
>>>>>>> svn
>>>>>>> trunk (which is
>>>>>>> kdee-4.2 right now)
>>>>>>>
>>>>>>>
>>>>>>> I've got a custom qt4-mac Portfile in there that you should be
>>>>>>> using.
>>>>>>> It has all the variants setup correctly and disables building
>>>>>>> phonon
>>>>>>> by default, so the included phonon Portfile gets used.
>>>>>>>
>>>>>>> If you were using the old tarball method, just remove it.
>>>>>>>
>>>>>>> Let me know if you have any questions.
>>>>>>>
>>>>>>> --Brian Jackson
>>>>>>> _______________________________________________
>>>>>>> kde-mac at 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
>>>>>>>
>>>>>> _______________________________________________
>>>>>> kde-mac at 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
>>>>>
>>>>> _______________________________________________
>>>>> kde-mac at 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
>>>>>
>>>> <kdesdk4-debug-
>>>> output>_______________________________________________
>>>> kde-mac at 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
>>>
>>> _______________________________________________
>>> kde-mac at 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
>>>
>> _______________________________________________
>> kde-mac at 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
>
> _______________________________________________
> kde-mac at 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
>
More information about the kde-mac
mailing list