Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#22641 closed defect (duplicate)

Installation of qt4-kde does not work under Snow Leopard

Reported by: verena.wolf@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: nerdling (Jeremy Lavergne), sharky@…
Port: qt4-kde

Description (last modified by jmroot (Joshua Root))

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.

Change History (8)

comment:1 Changed 11 years ago by jmroot (Joshua Root)

Description: modified (diff)
Port: qt4-kde added

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

comment:2 Changed 11 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… sharky@… added
Version: 1.8.1

Are you building this on Snow Leopard? It seems your zlib libraries are 64-bit while this qt4 is going 32-bit.

comment:3 Changed 11 years ago by verena.wolf@…

Yes. I have Snow Leopard. Where can I get the 64 bit version of qt4-kde (if there is one)?

Thanks,

Verena.

comment:4 Changed 11 years ago by verena.wolf@…

I installed http://get.qt.nokia.com/qt/source/qt-mac-cocoa-opensource-4.5.3.dmg

but it does not contain qt4-kde, which I need to install kile.

comment:5 Changed 11 years ago by nicos_pavlov@…

kile does not need qt4-kde package. You can confirm this by looking at the Portfile. Instead of trying to install assumed dependency, I think it is usually better to install the package you want, and dependencies will be taken care of. Also, installing softwares outside of Macports will not be detected by it, since it has its own tree of dependences.

Kile package is for kde 3. If you want to use kde4, you should install kile-devel, which is a beta version. It depends on qt4-mac, which is patched to work on SL (and not qt4-kde, which is now deprecated).

comment:6 Changed 11 years ago by verena.wolf@…

Hi,

yes, I realized later that the instructions that I had for installing kile are out of date. However, neither "sudo port install kile" nor "sudo port install kile-devel" works (see below) :-(

Verena-Wolfs-MacBook-Pro:~ wolf$ sudo port install kile
Password:
--->  Computing dependencies for kile
--->  Building tk
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix" && /usr/bin/make -j2 all " returned error 2
Command output: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1033: warning: implicit declaration of function 'ShowControl'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1037: warning: implicit declaration of function 'SetControlVisibility'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1038: warning: implicit declaration of function 'Draw1Control'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1044: warning: implicit declaration of function 'KillPicture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1044: error: 'union <anonymous>' has no member named 'picture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c: In function 'SetupBevelButton':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1107: error: 'union <anonymous>' has no member named 'picture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1107: warning: implicit declaration of function 'OpenCPicture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1108: error: 'union <anonymous>' has no member named 'picture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1134: warning: implicit declaration of function 'ClosePicture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c: At top level:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1238: error: expected declaration specifiers or '...' before 'ControlUserPaneBackgroundProcPtr'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c: In function 'SetUserPaneSetUpSpecialBackgroundProc':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1240: error: 'ControlUserPaneBackgroundUPP' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1240: error: (Each undeclared identifier is reported only once
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1240: error: for each function it appears in.)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1240: error: expected ';' before 'myControlUserPaneBackgroundUPP'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1242: error: 'myControlUserPaneBackgroundUPP' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1242: warning: implicit declaration of function 'NewControlUserPaneBackgroundUPP'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1242: error: 'upp' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c: In function 'UserPaneDraw':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1271: warning: implicit declaration of function 'GetControlReference'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1275: warning: implicit declaration of function 'GetPort'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1276: warning: implicit declaration of function 'GetControlBounds'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1278: warning: implicit declaration of function 'EraseRect'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c: At top level:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1301: error: expected declaration specifiers or '...' before 'ControlBackgroundPtr'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c: In function 'UserPaneBackgroundProc':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1305: error: 'info' undeclared (first use in this function)
make: *** [tkMacOSXButton.o] Error 1

Error: The following dependencies failed to build: kdelibs3 unsermake python26 tk
Error: Status 1 encountered during processing.

Then I tried

Verena-Wolfs-MacBook-Pro:~ wolf$ sudo port install kile-devel
--->  Computing dependencies for kile-devel
--->  Fetching chmlib
--->  Attempting to fetch chmlib-0.40.tar.bz2 from http://arn.se.distfiles.macports.org/chmlib
--->  Verifying checksum(s) for chmlib
--->  Extracting chmlib
--->  Configuring chmlib
--->  Building chmlib
--->  Staging chmlib into destroot
--->  Installing chmlib @0.40_0
--->  Activating chmlib @0.40_0
--->  Cleaning chmlib
--->  Fetching djvulibre
--->  Attempting to fetch djvulibre-3.5.22.tar.gz from http://mesh.dl.sourceforge.net/djvu
--->  Verifying checksum(s) for djvulibre
--->  Extracting djvulibre
--->  Applying patches to djvulibre
--->  Configuring djvulibre
--->  Building djvulibre
--->  Staging djvulibre into destroot
--->  Installing djvulibre @3.5.22_0
--->  Activating djvulibre @3.5.22_0
--->  Cleaning djvulibre
--->  Fetching exiv2
--->  Attempting to fetch exiv2-0.18.2.tar.gz from http://arn.se.distfiles.macports.org/exiv2
--->  Verifying checksum(s) for exiv2
--->  Extracting exiv2
--->  Configuring exiv2
--->  Building exiv2
--->  Staging exiv2 into destroot
--->  Installing exiv2 @0.18.2_0
--->  Activating exiv2 @0.18.2_0
--->  Cleaning exiv2
--->  Fetching libspectre
--->  Attempting to fetch libspectre-0.2.3.tar.gz from http://arn.se.distfiles.macports.org/libspectre
--->  Verifying checksum(s) for libspectre
--->  Extracting libspectre
--->  Configuring libspectre
--->  Building libspectre
--->  Staging libspectre into destroot
--->  Installing libspectre @0.2.3_0
--->  Activating libspectre @0.2.3_0
--->  Cleaning libspectre
--->  Fetching xmlcatmgr
--->  Attempting to fetch xmlcatmgr-2.2.tar.gz from http://mesh.dl.sourceforge.net/xmlcatmgr
--->  Verifying checksum(s) for xmlcatmgr
--->  Extracting xmlcatmgr
--->  Configuring xmlcatmgr
--->  Building xmlcatmgr
--->  Staging xmlcatmgr into destroot
--->  Installing xmlcatmgr @2.2_1
--->  Activating xmlcatmgr @2.2_1
--->  Cleaning xmlcatmgr
--->  Fetching docbook-xml-4.1.2
--->  Attempting to fetch docbkx412.zip from http://arn.se.distfiles.macports.org/docbook-xml-4.1.2
--->  Verifying checksum(s) for docbook-xml-4.1.2
--->  Extracting docbook-xml-4.1.2
--->  Configuring docbook-xml-4.1.2
--->  Building docbook-xml-4.1.2
--->  Staging docbook-xml-4.1.2 into destroot
--->  Installing docbook-xml-4.1.2 @4.1.2_1
--->  Activating docbook-xml-4.1.2 @4.1.2_1
######################################################################
# As MacPorts does not currently have a post-deactivate hook, 
# you will need to ensure that you manually remove the catalog 
# entry for this port when you uninstall it.  To do so, run 
# "xmlcatmgr remove nextCatalog /opt/local/share/xml/docbook/4.1.2/catalog.xml".
######################################################################
--->  Cleaning docbook-xml-4.1.2
--->  Fetching docbook-xml-4.2
--->  Attempting to fetch docbook-xml-4.2.zip from http://arn.se.distfiles.macports.org/docbook-xml-4.2
--->  Verifying checksum(s) for docbook-xml-4.2
--->  Extracting docbook-xml-4.2
--->  Configuring docbook-xml-4.2
--->  Building docbook-xml-4.2
--->  Staging docbook-xml-4.2 into destroot
--->  Installing docbook-xml-4.2 @4.2_0
--->  Activating docbook-xml-4.2 @4.2_0
######################################################################
# As MacPorts does not currently have a post-deactivate hook, 
# you will need to ensure that you manually remove the catalog 
# entry for this port when you uninstall it.  To do so, run 
# "xmlcatmgr remove nextCatalog /opt/local/share/xml/docbook/4.2/catalog.xml".
######################################################################
--->  Cleaning docbook-xml-4.2
--->  Fetching docbook-xml-4.3
--->  Attempting to fetch docbook-xml-4.3.zip from http://arn.se.distfiles.macports.org/docbook-xml-4.3
--->  Verifying checksum(s) for docbook-xml-4.3
--->  Extracting docbook-xml-4.3
--->  Configuring docbook-xml-4.3
--->  Building docbook-xml-4.3
--->  Staging docbook-xml-4.3 into destroot
--->  Installing docbook-xml-4.3 @4.3_0
--->  Activating docbook-xml-4.3 @4.3_0
######################################################################
# As MacPorts does not currently have a post-deactivate hook, 
# you will need to ensure that you manually remove the catalog 
# entry for this port when you uninstall it.  To do so, run 
# "xmlcatmgr remove nextCatalog /opt/local/share/xml/docbook/4.3/catalog.xml".
######################################################################
--->  Cleaning docbook-xml-4.3
--->  Fetching docbook-xml-4.4
--->  Attempting to fetch docbook-xml-4.4.zip from http://arn.se.distfiles.macports.org/docbook-xml-4.4
--->  Verifying checksum(s) for docbook-xml-4.4
--->  Extracting docbook-xml-4.4
--->  Configuring docbook-xml-4.4
--->  Building docbook-xml-4.4
--->  Staging docbook-xml-4.4 into destroot
--->  Installing docbook-xml-4.4 @4.4_0
--->  Activating docbook-xml-4.4 @4.4_0
######################################################################
# As MacPorts does not currently have a post-deactivate hook, 
# you will need to ensure that you manually remove the catalog 
# entry for this port when you uninstall it.  To do so, run 
# "xmlcatmgr remove nextCatalog /opt/local/share/xml/docbook/4.4/catalog.xml".
######################################################################
--->  Cleaning docbook-xml-4.4
--->  Fetching docbook-xml-4.5
--->  Attempting to fetch docbook-xml-4.5.zip from http://arn.se.distfiles.macports.org/docbook-xml-4.5
--->  Verifying checksum(s) for docbook-xml-4.5
--->  Extracting docbook-xml-4.5
--->  Configuring docbook-xml-4.5
--->  Building docbook-xml-4.5
--->  Staging docbook-xml-4.5 into destroot
--->  Installing docbook-xml-4.5 @4.5_0
--->  Activating docbook-xml-4.5 @4.5_0
######################################################################
# As MacPorts does not currently have a post-deactivate hook, 
# you will need to ensure that you manually remove the catalog 
# entry for this port when you uninstall it.  To do so, run 
# "xmlcatmgr remove nextCatalog /opt/local/share/xml/docbook/4.5/catalog.xml".
######################################################################
--->  Cleaning docbook-xml-4.5
--->  Fetching docbook-xml-5.0
--->  Attempting to fetch docbook-5.0.zip from http://arn.se.distfiles.macports.org/docbook-xml-5.0
--->  Verifying checksum(s) for docbook-xml-5.0
--->  Extracting docbook-xml-5.0
--->  Configuring docbook-xml-5.0
--->  Building docbook-xml-5.0
--->  Staging docbook-xml-5.0 into destroot
--->  Installing docbook-xml-5.0 @5.0_0
--->  Activating docbook-xml-5.0 @5.0_0
--->  Cleaning docbook-xml-5.0
--->  Fetching docbook-xml
--->  Verifying checksum(s) for docbook-xml
--->  Extracting docbook-xml
--->  Configuring docbook-xml
--->  Building docbook-xml
--->  Staging docbook-xml into destroot
--->  Installing docbook-xml @5.0_0
--->  Activating docbook-xml @5.0_0
--->  Cleaning docbook-xml
--->  Fetching docbook-xsl
--->  Attempting to fetch docbook-xsl-1.75.2.tar.bz2 from http://dfn.dl.sourceforge.net/docbook
--->  Verifying checksum(s) for docbook-xsl
--->  Extracting docbook-xsl
--->  Configuring docbook-xsl
--->  Building docbook-xsl
--->  Staging docbook-xsl into destroot
--->  Installing docbook-xsl @1.75.2_0
--->  Activating docbook-xsl @1.75.2_0
######################################################################
# As MacPorts does not currently have a post-deactivate hook, 
# you will need to ensure that you manually remove the catalog 
# entry for this port when you uninstall it.  To do so, run 
# "xmlcatmgr remove nextCatalog /opt/local/share/xsl/docbook-xsl/catalog.xml".
######################################################################
--->  Cleaning docbook-xsl
--->  Fetching iso-codes
--->  Attempting to fetch iso-codes-3.11.1.tar.bz2 from ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/
--->  Verifying checksum(s) for iso-codes
--->  Extracting iso-codes
--->  Configuring iso-codes
--->  Building iso-codes
--->  Staging iso-codes into destroot
--->  Installing iso-codes @3.11.1_0
--->  Activating iso-codes @3.11.1_0
--->  Cleaning iso-codes
--->  Building tk
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix" && /usr/bin/make -j2 all " returned error 2
Command output: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1038: warning: implicit declaration of function 'Draw1Control'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1044: warning: implicit declaration of function 'KillPicture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1044: error: 'union <anonymous>' has no member named 'picture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c: In function 'SetupBevelButton':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1107: error: 'union <anonymous>' has no member named 'picture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1107: warning: implicit declaration of function 'OpenCPicture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1108: error: 'union <anonymous>' has no member named 'picture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1134: warning: implicit declaration of function 'ClosePicture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c: At top level:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1238: error: expected declaration specifiers or '...' before 'ControlUserPaneBackgroundProcPtr'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c: In function 'SetUserPaneSetUpSpecialBackgroundProc':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1240: error: 'ControlUserPaneBackgroundUPP' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1240: error: (Each undeclared identifier is reported only once
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1240: error: for each function it appears in.)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1240: error: expected ';' before 'myControlUserPaneBackgroundUPP'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1242: error: 'myControlUserPaneBackgroundUPP' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1242: warning: implicit declaration of function 'NewControlUserPaneBackgroundUPP'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1242: error: 'upp' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c: In function 'UserPaneDraw':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1271: warning: implicit declaration of function 'GetControlReference'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1275: warning: implicit declaration of function 'GetPort'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1276: warning: implicit declaration of function 'GetControlBounds'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1278: warning: implicit declaration of function 'EraseRect'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c: At top level:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1301: error: expected declaration specifiers or '...' before 'ControlBackgroundPtr'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c: In function 'UserPaneBackgroundProc':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.7/unix/../macosx/tkMacOSXButton.c:1305: error: 'info' undeclared (first use in this function)
make: *** [tkMacOSXBitmap.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [tkMacOSXButton.o] Error 1

Error: The following dependencies failed to build: kdegraphics4 poppler gtk2 atk gtk-doc gnome-doc-utils py26-libxml2 python26 tk rarian getopt pango openjpeg poppler-data qca sane-backends libusb-compat libusb
Error: Status 1 encountered during processing.

comment:7 Changed 11 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed

Dup of #20799.

comment:8 Changed 11 years ago by nerdling (Jeremy Lavergne)

In any event, your build problem is the TK port.

Try sudo port clean tk and running one of your installs again.

Note: See TracTickets for help on using tickets.