[MacPorts] #13614: Glib2 does not upgrade. "cannot compute sizeof (char)" on configuring.
#13614: Glib2 does not upgrade. "cannot compute sizeof (char)" on configuring. ------------------------------------------------+--------------------------- Reporter: vakuumfluktuation@quantentunnel.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: Glib2 sizeof char | ------------------------------------------------+--------------------------- I'm trying to upgrade Glib2 (2.12.13_0 < 2.14.4_1) When it's configuring it stops with: {{{ checking size of char... configure: error: cannot compute sizeof (char) }}} Full output and config.log should be attached... Thanks in advance... -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13614> MacPorts </projects/macports> Ports system for Mac OS
#13614: Glib2 does not upgrade. "cannot compute sizeof (char)" on configuring. -------------------------------------------------+-------------------------- Reporter: vakuumfluktuation@quantentunnel.de | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Glib2 sizeof char -------------------------------------------------+-------------------------- Changes (by ryandesign@macports.org): * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org * milestone: => Port Bugs Comment: What version of Mac OS X, Xcode and MacPorts are you using? What processor architecture (Intel or PowerPC)? -- Ticket URL: <https://trac.macports.org/projects/macports/ticket/13614#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13614: Glib2 does not upgrade. "cannot compute sizeof (char)" on configuring. -------------------------------------------------+-------------------------- Reporter: vakuumfluktuation@quantentunnel.de | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Glib2 sizeof char -------------------------------------------------+-------------------------- Comment (by vakuumfluktuation@quantentunnel.de): I'm sorry I typed up the info and forgot to paste it. So here it is: Mac OS X 10.4.11 Xcode 2.2 MacPorts 1.60 (had the same problem with 1.52) It's a PowerPC (iBook G4) I just saw Xcode is rather dated. I'll try updating it. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13614#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13614: Glib2 does not upgrade. "cannot compute sizeof (char)" on configuring. -------------------------------------------------+-------------------------- Reporter: vakuumfluktuation@quantentunnel.de | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: invalid | Keywords: Glib2 sizeof char -------------------------------------------------+-------------------------- Changes (by ryandesign@macports.org): * status: new => closed * resolution: => invalid Comment: Yes, please. Xcode 2.2 is way too old and is known to cause various problems. Please update to the latest version of Xcode, which is currently 2.5 for Tiger. Xcode 2.4.1 would also be acceptable. If that does not solve the problem, please re-open this ticket. -- Ticket URL: <https://trac.macosforge.org/projects/macports/ticket/13614#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13614: Glib2 does not upgrade. "cannot compute sizeof (char)" on configuring. -------------------------------------------------+-------------------------- Reporter: vakuumfluktuation@quantentunnel.de | Owner: ryandesign@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Glib2 sizeof char -------------------------------------------------+-------------------------- Changes (by vakuumfluktuation@quantentunnel.de): * status: closed => reopened * resolution: invalid => Comment: I upped to Xcode 2.5. Sadly, nothing has changed. Do you need the "new" config.log and error-output? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13614#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13614: Glib2 does not upgrade. "cannot compute sizeof (char)" on configuring. -------------------------------------------------+-------------------------- Reporter: vakuumfluktuation@quantentunnel.de | Owner: ryandesign@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Glib2 sizeof char -------------------------------------------------+-------------------------- Comment (by vinc17@macports.org): Your config.log says: {{{ 1427 dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib 1428 Referenced from: /opt/local/lib/libintl.8.dylib 1429 Reason: Incompatible library version: libintl.8.dylib requires version 7.0.0 or later, but libiconv.2.dylib provides version 6.0.0 }}} Fix this problem first by rebuilding and reinstalling gettext and/or libiconv. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13614#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#13614: Glib2 does not upgrade. "cannot compute sizeof (char)" on configuring. -------------------------------------------------+-------------------------- Reporter: vakuumfluktuation@quantentunnel.de | Owner: ryandesign@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Glib2 sizeof char -------------------------------------------------+-------------------------- Comment (by vakuumfluktuation@quantentunnel.de): I did {{{ sudo port -f uninstall libiconv gettext sudo port --all clean libiconv gettext sudo port install libiconv gettext }}} and tried to install Glib2 again. It didn't work... config.log still contains the error you cited above. What could I do to get rid of it? Do I have to recompile a/all port build upon libiconv? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13614#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#13614: Glib2 does not upgrade. "cannot compute sizeof (char)" on configuring. -------------------------------------------------+-------------------------- Reporter: vakuumfluktuation@quantentunnel.de | Owner: ryandesign@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Glib2 sizeof char -------------------------------------------------+-------------------------- Comment (by vinc17@macports.org): FYI, under Mac OS X 10.4.11 (PowerPC): {{{ prunille:~> otool -L /opt/local/lib/libiconv.2.dylib /opt/local/lib/libiconv.2.dylib: /opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.10) }}} So, I don't understand why your config.log says "libiconv.2.dylib provides version 6.0.0". Perhaps you have an old version in /usr/local or something like that? Could you try the above command and/or search all the occurrences of libiconv.2.dylib on your machine? ("locate lib/libiconv.2.dylib" should do the latter.) Also... {{{ prunille:~> port installed libiconv The following ports are currently installed: libiconv @1.11_6+darwin_8 libiconv @1.12_0+darwin_8 (active) }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13614#comment:7> MacPorts </projects/macports> Ports system for Mac OS
#13614: Glib2 does not upgrade. "cannot compute sizeof (char)" on configuring. -------------------------------------------------+-------------------------- Reporter: vakuumfluktuation@quantentunnel.de | Owner: ryandesign@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Glib2 sizeof char -------------------------------------------------+-------------------------- Comment (by vakuumfluktuation@quantentunnel.de): Okay, that looks like your's did: {{{ {508}:/$ otool -L /opt/local/lib/libiconv.2.dylib /opt/local/lib/libiconv.2.dylib: /opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.10) }}} ...and I made sure only one version each is installed, when I rebuild them: {{{ {509}:/$ sudo port installed libiconv gettext The following ports are currently installed: libiconv @1.12_0+darwin_8 (active) gettext @0.17_2 (active) }}} But there are quite a few possible delinquents here: {{{ {507}:/$ locate lib/libiconv.2.dylib /Applications/Gimpshop.app/Contents/Resources/lib/libiconv.2.dylib /Applications/Gimp.app/Contents/Resources/lib/libiconv.2.dylib /Applications/GNUBackGammon.app/Contents/MacOS/lib/libiconv.2.dylib /Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libiconv.2.dylib /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libiconv.2.dylib /opt/kde4-deps/lib/libiconv.2.dylib /opt/local/lib/libiconv.2.dylib /opt/local/var/macports/software/libiconv/1.11_0+darwin_8/opt/local/lib/libiconv.2.dylib /opt/local/var/macports/software/libiconv/1.11_4+darwin_8/opt/local/lib/libiconv.2.dylib /opt/local/var/macports/software/libiconv/1.11_6+darwin_8/opt/local/lib/libiconv.2.dylib /sw/lib/libiconv.2.dylib sr/lib/libiconv.2.dylib sr/lib/libiconv.2.dylib.bak }}} What I don't understand is: Why are there still libs of older versions though I did a ''port --all clean libiconv'' Somehow I get the feeling it could be ''/sw/lib/libiconv.2.dylib'' - which is from my '''Fink''' installation. Question is: Why is it used, if it is? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13614#comment:8> MacPorts </projects/macports> Ports system for Mac OS
#13614: Glib2 does not upgrade. "cannot compute sizeof (char)" on configuring. -------------------------------------------------+-------------------------- Reporter: vakuumfluktuation@quantentunnel.de | Owner: ryandesign@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Glib2 sizeof char -------------------------------------------------+-------------------------- Comment (by vinc17@macports.org): The older versions are not a problem: they are still installed, but not activated (only one version can be activated). You can remove them with "port uninstall". What does {{{ otool -L /opt/local/lib/libintl.8.dylib }}} give you? You'll see what libiconv it tries to pick. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13614#comment:9> MacPorts </projects/macports> Ports system for Mac OS
#13614: Glib2 does not upgrade. "cannot compute sizeof (char)" on configuring. -------------------------------------------------+-------------------------- Reporter: vakuumfluktuation@quantentunnel.de | Owner: ryandesign@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Glib2 sizeof char -------------------------------------------------+-------------------------- Comment (by ryandesign@macports.org): What is the status of this issue, please? Are you still experiencing it? If so, please attach your current config.log. It looks like "cannot compute sizeof (char)" [http://www.nabble.com/configure:-error:-cannot-compute- sizeof-(char)-td14585808.html could result] from a bad or missing libiconv, so I think we're on the right track with trying to fix your iconv/gettext problem. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13614#comment:10> MacPorts </projects/macports> Ports system for Mac OS
#13614: Glib2 does not upgrade. "cannot compute sizeof (char)" on configuring. -------------------------------------------------+-------------------------- Reporter: vakuumfluktuation@quantentunnel.de | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: Glib2 sizeof char -------------------------------------------------+-------------------------- Changes (by ryandesign@macports.org): * status: reopened => closed * resolution: => worksforme Comment: No response in 2 months so I'm going to assume this issue is fixed. glib2 will be updated to version 2.16.1 via #14631. If you still experience the problem with that version please reopen this ticket and provide the information requested in earlier notes. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13614#comment:11> MacPorts </projects/macports> Ports system for Mac OS
#13614: Glib2 does not upgrade. "cannot compute sizeof (char)" on configuring. -------------------------------------------------+-------------------------- Reporter: vakuumfluktuation@quantentunnel.de | Owner: ryandesign@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Glib2 sizeof char -------------------------------------------------+-------------------------- Changes (by vakuumfluktuation@quantentunnel.de): * status: closed => reopened * resolution: worksforme => Comment: Hi, first off: I'm really sorry for not answering that long - your mails got lost in a spam-filter. I just dug them up... Hope you dont't mind (that much)! Back to the problem: [[BR]] I upped to xcode 2.5 [[BR]] I removed the fink-installation. [[BR]] I wiped my macports-installation and reinstalled. [[BR]] Still gives the same error upon glib2-installation. ''otool -L /opt/local/lib/libintl.8.dylib'' gives: {{{ /opt/local/lib/libintl.8.dylib: /opt/local/lib/libintl.8.dylib (compatibility version 9.0.0, current version 9.2.0) /opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.11) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 368.33.0) }}} ''locate lib/libiconv.2.dylib'' gives (after updating the db) {{{ /Applications/Gimp.app/Contents/Resources/lib/libiconv.2.dylib /Applications/Gimpshop.app/Contents/Resources/lib/libiconv.2.dylib /Applications/Spiele/GNUBackGammon.app/Contents/MacOS/lib/libiconv.2.dylib /Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libiconv.2.dylib /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libiconv.2.dylib /opt/kde4-deps/lib/libiconv.2.dylib /opt/local/lib/libiconv.2.dylib /opt/local/var/macports/software/libiconv/1.12_0+darwin_8/opt/local/lib/libiconv.2.dylib /usr/lib/libiconv.2.dylib /usr/lib/libiconv.2.dylib.bak }}} Might I need to uninstall KDE4Mac ? Thanks! Sven -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13614#comment:12> MacPorts </projects/macports> Ports system for Mac OS
#13614: Glib2 does not upgrade. "cannot compute sizeof (char)" on configuring. -------------------------------------------------+-------------------------- Reporter: vakuumfluktuation@quantentunnel.de | Owner: ryandesign@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Glib2 sizeof char -------------------------------------------------+-------------------------- Comment (by vakuumfluktuation@quantentunnel.de): Well I got rid of KDE4Mac, too. Didn't do it either... -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13614#comment:13> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts