[MacPorts] #22641: Installation of qt4-kde does not work under Snow Leopard

MacPorts noreply at macports.org
Sun Nov 22 05:44:22 PST 2009


#22641: Installation of qt4-kde does not work under Snow Leopard
--------------------------------+-------------------------------------------
 Reporter:  verena.wolf@…       |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.8.1                                
 Keywords:                      |        Port:  qt4-kde                              
--------------------------------+-------------------------------------------
Changes (by jmr@…):

  * port:  => qt4-kde


Old description:

> I tried
>
> sudo port install qt4-mac qt4-kde
>
> but got strange errors for the second part. I also tried
> sudo port clean qt4-kde qt4-mac
> sudo port selfupdate
> sudo port upgrade outdated
> sudo port install qt4-mac
>
> and then sudo port install qt4-kde. Didn't work (see below).
> Any idea how I can fix that?
>
> Thanks,  Verena.
>

>
> --->  Computing dependencies for qt4-mac
> --->  Cleaning qt4-mac
> --->  Computing dependencies for qt4-kde
> --->  Fetching qt4-kde
> --->  Verifying checksum(s) for qt4-kde
> --->  Extracting qt4-kde
> --->  Applying patches to qt4-kde
> --->  Configuring qt4-kde
> --->  Building qt4-kde
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work
> /qt-mac-opensource-src-4.5.2" && /usr/bin/make -j2 first " returned error
> 2
> Command output:                  from
> ../../../include/QtCore/../../src/corelib/tools/qstack.h:45,
>                  from ../../../include/QtCore/qstack.h:1,
>                  from ../../../include/QtCore/QStack:1,
>                  from parser.h:45,
>                  from preprocessor.h:45,
>                  from main.cpp:42:
> ../../../include/QtCore/../../src/corelib/global/qglobal.h:311:6:
> warning: #warning "Support for this version of Mac OS X is still
> preliminary"
> In file included from ../../../include/QtCore/qglobal.h:1,
>                  from
> ../../../include/QtCore/../../src/corelib/tools/qiterator.h:45,
>                  from ../../../include/QtCore/qiterator.h:1,
>                  from
> ../../../include/QtCore/../../src/corelib/tools/qvector.h:45,
>                  from ../../../include/QtCore/qvector.h:1,
>                  from
> ../../../include/QtCore/../../src/corelib/tools/qstack.h:45,
>                  from ../../../include/QtCore/qstack.h:1,
>                  from ../../../include/QtCore/QStack:1,
>                  from parser.h:45,
>                  from preprocessor.h:45,
>                  from main.cpp:42:
> ../../../include/QtCore/../../src/corelib/global/qglobal.h:311:6:
> warning: #warning "Support for this version of Mac OS X is still
> preliminary"
> g++ -headerpad_max_install_names -Xarch_i386 -mmacosx-version-min=10.4
> -arch i386 -o ../../../bin/moc release-shared/moc.o release-
> shared/preprocessor.o release-shared/generator.o release-shared/parser.o
> release-shared/token.o release-shared/main.o    -L/opt/local/lib
> -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83
> -L../bootstrap -lbootstrap -L/opt/local/lib -L/opt/local/lib/mysql5/mysql
> -L/opt/local/lib/postgresql83 -lz -framework CoreServices
> ld: warning: in /opt/local/lib/libz.dylib, file is not of required
> architecture
> Undefined symbols:
>   "_uncompress", referenced from:
>       qUncompress(unsigned char const*, int)in
> libbootstrap.a(qbytearray.o)
>   "_compress2", referenced from:
>       qCompress(unsigned char const*, int, int)in
> libbootstrap.a(qbytearray.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[1]: *** [../../../bin/moc] Error 1
> make: *** [sub-moc-make_default-ordered] Error 2
>
> Error: Status 1 encountered during processing.

New description:

 I tried

 sudo port install qt4-mac qt4-kde

 but got strange errors for the second part. I also tried
 {{{
 sudo port clean qt4-kde qt4-mac
 sudo port selfupdate
 sudo port upgrade outdated
 sudo port install qt4-mac
 }}}

 and then sudo port install qt4-kde. Didn't work (see below).
 Any idea how I can fix that?

 Thanks,  Verena.


 {{{
 --->  Computing dependencies for qt4-mac
 --->  Cleaning qt4-mac
 --->  Computing dependencies for qt4-kde
 --->  Fetching qt4-kde
 --->  Verifying checksum(s) for qt4-kde
 --->  Extracting qt4-kde
 --->  Applying patches to qt4-kde
 --->  Configuring qt4-kde
 --->  Building qt4-kde
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work
 /qt-mac-opensource-src-4.5.2" && /usr/bin/make -j2 first " returned error
 2
 Command output:                  from
 ../../../include/QtCore/../../src/corelib/tools/qstack.h:45,
                  from ../../../include/QtCore/qstack.h:1,
                  from ../../../include/QtCore/QStack:1,
                  from parser.h:45,
                  from preprocessor.h:45,
                  from main.cpp:42:
 ../../../include/QtCore/../../src/corelib/global/qglobal.h:311:6: warning:
 #warning "Support for this version of Mac OS X is still preliminary"
 In file included from ../../../include/QtCore/qglobal.h:1,
                  from
 ../../../include/QtCore/../../src/corelib/tools/qiterator.h:45,
                  from ../../../include/QtCore/qiterator.h:1,
                  from
 ../../../include/QtCore/../../src/corelib/tools/qvector.h:45,
                  from ../../../include/QtCore/qvector.h:1,
                  from
 ../../../include/QtCore/../../src/corelib/tools/qstack.h:45,
                  from ../../../include/QtCore/qstack.h:1,
                  from ../../../include/QtCore/QStack:1,
                  from parser.h:45,
                  from preprocessor.h:45,
                  from main.cpp:42:
 ../../../include/QtCore/../../src/corelib/global/qglobal.h:311:6: warning:
 #warning "Support for this version of Mac OS X is still preliminary"
 g++ -headerpad_max_install_names -Xarch_i386 -mmacosx-version-min=10.4
 -arch i386 -o ../../../bin/moc release-shared/moc.o release-
 shared/preprocessor.o release-shared/generator.o release-shared/parser.o
 release-shared/token.o release-shared/main.o    -L/opt/local/lib
 -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 -L../bootstrap
 -lbootstrap -L/opt/local/lib -L/opt/local/lib/mysql5/mysql
 -L/opt/local/lib/postgresql83 -lz -framework CoreServices
 ld: warning: in /opt/local/lib/libz.dylib, file is not of required
 architecture
 Undefined symbols:
   "_uncompress", referenced from:
       qUncompress(unsigned char const*, int)in
 libbootstrap.a(qbytearray.o)
   "_compress2", referenced from:
       qCompress(unsigned char const*, int, int)in
 libbootstrap.a(qbytearray.o)
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make[1]: *** [../../../bin/moc] Error 1
 make: *** [sub-moc-make_default-ordered] Error 2

 Error: Status 1 encountered during processing.
 }}}

--

Comment:

 Please remember to fill in the port field, and to preview and use
 WikiFormatting.

-- 
Ticket URL: <http://trac.macports.org/ticket/22641#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list