problems after upgrading from darwinports

Dorian Mcfarland loaf at isness.org
Thu Nov 16 02:41:02 PST 2006


> On Nov 15, 2006, at 23:59, Dorian Mcfarland wrote:
> 
>> actually, after a full reinstall of darwinports(completely removing 
>> /opt/local) I still have the same problem with db44
> 
> Well thank you for trying that at least; it helps us rule out any other 
> part of MacPorts as a culprit!

hmm, actually, if I was being thorough and thoughtful I would have tried to install db44 first, but I already have ruby and all of it's dependencies installed. Sorry bout that!

> Lines 60 and 61 of db_cxx.h do indeed ask for iostream.h and exception.h 
> to be included. On your system, db44 apparently can't find these files. 
> Can you find them? See if "locate iostream.h" and "locate exception.h" 
> produce any output. I've got 'em in 
> /usr/include/c++/4.0.0/backward/iostream.h and 
> /usr/include/mach/exception.h.


I have:
/usr/include/gcc/darwin/3.3/c++/backward/iostream.h
/usr/include/gcc/darwin/4.0/c++/backward/iostream.h
/usr/include/php/Zend/zend_istdiostream.h
/usr/local/php5/include/php/Zend/zend_istdiostream.h
and:
/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/mach/exception.h
/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/mach/i386/exception.h
/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/mach/machine/exception.h
/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/mach/ppc/exception.h
/usr/include/mach/exception.h
/usr/include/mach/i386/exception.h
/usr/include/mach/machine/exception.h
/usr/include/mach/ppc/exception.h
/usr/include/objc/objc-exception.h

> I also checked what OS packages might have installed these files:

hmm... I got:
10:29:08:DarwinPorts-1.3.2 #> grep -R iostream.h /Library/Receipts/* 2>/dev/null
Binary file /Library/Receipts/BSDSDK.pkg/Contents/Archive.bom matches
Binary file /Library/Receipts/gcc3.3.pkg/Contents/Archive.bom matches
10:37:14:DarwinPorts-1.3.2 #> grep -R exception.h /Library/Receipts/* 2>/dev/null
10:41:27:DarwinPorts-1.3.2 #>

> Do you also have these packages installed? I'd say you should at least 
> have BSDSDK and DevSDK. MacOSX10.4.Universal probably isn't a bad idea 
> to have either, as any universal software you build will require this, 
> and there has been some talk of having MacPorts build universal binaries.

so I installed the rest of the devtools until I got:
10:41:27:DarwinPorts-1.3.2 #> grep -R iostream.h /Library/Receipts/* 2>/dev/null
Binary file /Library/Receipts/BSDSDK.pkg/Contents/Archive.bom matches
Binary file /Library/Receipts/DevSDK.pkg/Contents/Archive.bom matches
Binary file /Library/Receipts/MacOSX10.2.8.pkg/Contents/Archive.bom matches
Binary file /Library/Receipts/MacOSX10.3.9.pkg/Contents/Archive.bom matches
Binary file /Library/Receipts/MacOSX10.4.Universal.pkg/Contents/Archive.bom matches
Binary file /Library/Receipts/gcc3.3.pkg/Contents/Archive.bom matches

did a port clean on db44, then tried to install again and everything worked perfectly (we'll if any other strangeness happens).

thanks very much for all your help.

Dorian

> Interesting perhaps that iostream.h seems to be part of gcc2.95.2 and 
> gcc3.3 but apparently not gcc4.0. Has anyone with an Intel Mac 
> successfully compiled db44? I ask because AFAIK they don't have gcc2 or 
> gcc3 installed; if someone had compiled db44 on an Intel Mac, we should 
> be able to rule out the gcc2 and gcc3 packages.
-- 
I do things for love or money




More information about the macports-users mailing list