Author

Topic: Error under Mac OS X 10.5.8 (Read 10970 times)

newbie
Activity: 1
Merit: 0
February 26, 2011, 05:54:12 AM
#10
Sorry to drag up an old thread, but I'm having the same problem on my Intel Mac with 10.5.8.  I get exactly the same error message, regarding the _fopen$UNIX2003 symbol not being found.  My machine has a 2Ghz Core Duo processor (note, not Core 2 Duo) with 2GB RAM.  I think it might be a 32-bit only processor.  Perhaps the problems with the latest pre-built BitCoin are related to that?
full member
Activity: 199
Merit: 696
July 19, 2010, 07:06:02 PM
#9
The Quicktime message is because it's 32 bit only but it isn't used anyway, it's just linked in by wxWidgets.  I believe if you disable the 'media control' features with configure it won't link them in, but I don't know off the top of my head what the right options for that are.  I noticed that even disabling the 'debug_flag' with configure, the latest svn of wxWidgets still pops up the assertions.  I'm not sure how to disable it completely, maybe I'll dig around in the wxWidgets code.  The 2.9 release of wxWidgets doesn't look very good on mac for me, so I used the latest from their svn.  They are doing a ton of work rewriting it with Cocoa.
member
Activity: 103
Merit: 61
July 18, 2010, 10:33:24 PM
#8
I'm getting the same wxWidgets debug errors.  Did you get a message about quicktime at the end of your build?  I can't figure it out...
newbie
Activity: 5
Merit: 0
July 18, 2010, 10:30:25 PM
#7
Build went well. I'm getting a couple of non-fatal wxWidgets debug errors. The performance is less than half of what I got under Ubuntu, however, I'm pleased that your directions were so complete and I am now generating coins.

In your directions it doesn't remind one to change the build directory in the makefile, I missed this the first time.

If you are interested in the wxWidgets debug messages I would be glad to post them. This may be related: in Bitcoin there are two Apple logos, the menu is offset strangely.

Thanks!
full member
Activity: 199
Merit: 696
July 17, 2010, 05:15:06 PM
#6
Both, I have a 10.5 and a 10.6 machine both running it.  I suspect the problem is the processor.  Some of the frameworks and such have a CPUID check in them to prevent them from running on non-intel processors, from what I've heard.
newbie
Activity: 5
Merit: 0
July 17, 2010, 03:18:46 PM
#5
Was your test machine 10.5.x or 10.6.x?
full member
Activity: 199
Merit: 696
July 15, 2010, 10:39:57 PM
#4
Try running it with 'bash' instead of 'sh'.. if that doesn't work try to execute the commands one at a time by hand.  I just linked em all together with those &&s but I think that's a bash thing.
newbie
Activity: 5
Merit: 0
July 15, 2010, 09:22:56 PM
#3
Its an AMD x2 4200, custom build. Currently I have it running fine under WINE and generated my first coin within two hours!

I am still working on the native, however, and am stuck while trying to build wxWidgets. I know I must be doing something wrong. Here is a copy of the script I took from the directions.

Code:
PREFIX=~/bitcoin/deps
SRCDIR="$PREFIX/wxWidgets-trunk"
BUILDDIR="$SRCDIR/macbuild"

cd "$PREFIX" &&
#svn checkout http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk wxWidgets-trunk &&
cd "$SRCDIR" &&

[ -f include/wx/hashmap.h.orig ] || cp include/wx/hashmap.h include/wx/hashmap.h.orig &&
sed 's/if wxUSE_STL/if 0 \&\& wxUSE_STL/g' < include/wx/hashmap.h.orig > include/wx/hashmap.h &&

[ -f include/wx/hashset.h.orig ] || cp include/wx/hashset.h include/wx/hashset.h.orig &&
sed 's/if wxUSE_STL/if 0 \&\& wxUSE_STL/g' < include/wx/hashset.h.orig > include/wx/hashset.h &&



rm -vrf "$BUILDDIR" &&
mkdir "$BUILDDIR" &&
cd "$BUILDDIR" &&

../configure --prefix="$PREFIX" \
--with-osx_cocoa \
--disable-shared \
--disable-debug_flag \
--with-macosx-version-min=10.5 \
--enable-stl \
--enable-utf8 \
--enable-universal_binary \
--with-libjpeg=builtin \
--with-libpng=builtin \
--with-regex=builtin \
--with-libtiff=builtin \
--with-zlib=builtin \
--with-expat=builtin \
--with-macosx-sdk=/Developer/SDKs/MacOSX10.5.sdk &&


find . -name Makefile |
while read i; do
  echo $i;
  sed 's/-arch i386/-arch i386 -arch x86_64/g' < "$i" > "$i".new &&
  mv "$i" "$i".old &&
  mv "$i".new "$i";
done



make &&
make install

And here is the console readout, it seems like I am missing an escape character somewhere or something.

Code:
admins-10:wxWidgets-trunk admin$ sh wxmake.sh
: command not found
: No such file or directorytcoin/deps
: No such file or directorytcoin/deps
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
: command not found
mkdir: ~/bitcoin/deps\r/wxWidgets-trunk\r: No such file or directory
: No such file or directoryitcoin/deps
: command not found
wxmake.sh: line 21: ../configure: No such file or directory
wxmake.sh: line 22: --with-osx_cocoa: command not found
wxmake.sh: line 23: --disable-shared: command not found
wxmake.sh: line 24: --disable-debug_flag: command not found
wxmake.sh: line 25: --with-macosx-version-min=10.5: command not found
wxmake.sh: line 26: --enable-stl: command not found
wxmake.sh: line 27: --enable-utf8: command not found
wxmake.sh: line 28: --enable-universal_binary: command not found
wxmake.sh: line 29: --with-libjpeg=builtin: command not found
wxmake.sh: line 30: --with-libpng=builtin: command not found
wxmake.sh: line 31: --with-regex=builtin: command not found
wxmake.sh: line 32: --with-libtiff=builtin: command not found
wxmake.sh: line 33: --with-zlib=builtin: command not found
wxmake.sh: line 34: --with-expat=builtin: command not found
wxmake.sh: line 35: --with-macosx-sdk=/Developer/SDKs/MacOSX10.5.sdk: No such file or directory
: command not found
: command not found
: command not found
wxmake.sh: line 50: syntax error: unexpected end of file

I do have Xcode and the SDK is where it should be. There is something more basic I'm missing. Sorry for hijacking my own thread...
full member
Activity: 199
Merit: 696
July 15, 2010, 07:23:40 AM
#2
What kind of computer is it?  I only tested on 10.5 with a core 2 duo based mac..
newbie
Activity: 5
Merit: 0
July 15, 2010, 01:20:10 AM
#1
The prebuilt application does not seem to be loading in my configuration. Here is the error dump:

Code:
Process:         bitcoin [2417]
Path:            /Applications/Bitcoin.app/Contents/MacOS/bitcoin
Identifier:      org.bitcoin.bitcoin
Version:         0.3 (1)
Code Type:       X86 (Native)
Parent Process:  launchd [607]

Interval Since Last Report:          4694828 sec
Crashes Since Last Report:           1669
Per-App Interval Since Last Report:  3 sec
Per-App Crashes Since Last Report:   2

Date/Time:       2010-07-14 22:07:11.406 -0700
OS Version:      Mac OS X 10.5.8 (9L31a)
Report Version:  6
Anonymous UUID:  A7C00234-5380-48A9-AE0F-A849306E52AF

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Symbol not found: _fopen$UNIX2003
  Referenced from: /Applications/Bitcoin.app/Contents/MacOS/bitcoin
  Expected in: /usr/lib/libSystem.B.dylib

A brief search of this error turned up issues regarding building in different environments. Before I attempt my own build, is there anyone who can shed light on this issue? Thanks.
Jump to: