Good morning list,
I'm trying to get gnucash running on Mac OS X Leopard.
My cardreader is a chipdrive micro SCR335.
I'm using the darwin-ports version of gnucash (2.2.5).
As libchipcard is missing in darwinports, I compiled it by myself.
Here is my current configuration:
libchipcard2-2.1.7
gwenhywfar-2.6.2
aqbanking 2.3.3 (conifguration changed to enable chipcards)
scmccid_5.0.6_ctpcsc_1.0.3_mac10.5.mpkg (chipdrive driver)

I altered the driver.xml in the libchipcard2 configuration:
<names>
    <name>libscmccid.so.5.0.4</name>
  </names>

  <locations>
<loc>/usr/libexec/SmartCardServices/drivers/scmcciddriver.bundle/ Contents/MacOS/</loc>
  </locations>

When trying to start libchipcardd2 without giving the default location of the configuration file, it crashes: [chamonix 84] ~/Desktop/gwenhywfar-2.6.2 > sudo /usr/sbin/chipcardd2 addreader --dtype tow_ctapi --rtype tow_usb --rname SCR335 --rport USB0 WARN: Configuration file "(null)" does not exist.
Please try the command "init" first.
Assertion failed: (path), function GWEN_Directory_GetPath, file directory_all.c, line 226.
Abort trap

Therefore I'm using the -C option:
[chamonix 85] ~/Desktop/gwenhywfar-2.6.2 > sudo /usr/sbin/chipcardd2 addreader --dtype tow_ctapi --rtype tow_usb --rname SCR335 --rport USB0 -C /opt/local/etc/chipcard2-server/chipcardd2.conf

chamonix 89] ~/Desktop/gwenhywfar-2.6.2 > sudo /usr/sbin/chipcardd2 init -C /opt/local/etc/chipcard2-server/chipcardd2.conf
Generating DH parameters...
Generating self-signed certificate for server...
Done.
[20:36 - 0.320.180.18]

My reader is then beeing added to chipcardd2.conf
driver {
  char driverType="ifd"  (<----- I changed this by myself!)
  char driverName="tow_ctapi"
char libraryFile="/usr/libexec/SmartCardServices/drivers/ scmcciddriver.bundle/Contents/MacOS/libscmccid.so.5.0.4"

  reader {
    char readerType="tow_usb"
    char readerName="SCR335"
    int  port="32768"
    int  slots="1"
    char busType="UsbTty" (I'm using USB, but is this entry correct?)
  } # reader
} # driver
} # DeviceManager


I tried my cardreader as well with pscsd and the bankX software suite, which does both work fine.

Here comes the output of pcscd:
src/PCSC/pcscdaemon.c:572:main() pcsc-lite 1.4.0 daemon ready.
src/PCSC/readerfactory.c:762:RFInitializeReader() Attempting startup of SCR335 USB Smart Card Reader 00 00 using /usr/libexec/ SmartCardServices/drivers/scmccid.bundle
src/PCSC/readerfactory.c:488:RFBindFunctions() Binding driver functions
src/PCSC/readerfactory.c:624:RFBindFunctions() Loading IFD Handler 3.0
Loading scmccid 5.0.6
Card ATR: 3B FF 18 00 FF 81 31 FE 35 65 63 11 08 43 02 50 00 10 67 30 01 16 05 21 95 src/PCSC/eventhandler.cpp:414:EHStatusHandlerThread() Card Removed From SCR335 USB Smart Card Reader 00 00 src/PCSC/eventhandler.cpp:489:EHStatusHandlerThread() Card inserted into SCR335 USB Smart Card Reader 00 00 Card ATR: 3B FF 18 00 FF 81 31 FE 35 65 63 11 08 43 02 50 00 10 67 30 01 16 05 21 95

However, independent of pscsd running or not, libchipcardd2 crashes as soon as I start the configuration wizard from gnuchash: [chamonix 77] ~/Desktop/gwenhywfar-2.6.2 > sudo /usr/sbin/chipcardd2 -C /opt/local/etc/chipcard2-server/chipcardd2.conf -v -f
3:2008/08/03 20-19-08:gwen(88761):netlayer.c: 1413: Error on socket
3:2008/08/03 20-19-08:gwen(88760):netlayer.c: 1413: Error on socket
3:2008/08/03 20-19-08:gwen(88752):ipc.c: 716: Incoming request 4895f676 not found
3:2008/08/03 20-19-08:gwen(88762):netlayer.c: 1413: Error on socket
3:2008/08/03 20-19-08:gwen(88761):ipc.c: 716: Outgoing request 4895f69b not found 3:2008/08/03 20-19-08:gwen(88760):ipc.c: 716: Outgoing request 4895f69c not found 3:2008/08/03 20-19-08:gwen(88762):ipc.c: 716: Outgoing request 4895f69c not found

This is what gnucash says in the console:
[chamonix 55] ~ > gnucash
gnc.bin-Message: main: binreloc relocation support was disabled at configure time.

* 21:01:18  WARN <Gtk> Locale not supported by C library.
        Using the fallback 'C' locale.
Found Finance::Quote version 1.13
6:2008/08/03 21-02-12:(null)(89130):qbselectbackend.cpp: 115: No long HTML description 3:2008/08/03 21-02-14:(null)(89130):qbcfgtabpageusers.cpp: 149: Selected backend: aqhbci
6:2008/08/03 21-02-17:(null)(89130):selectmode.cpp:   72: Selected 1
3:2008/08/03 21-02-19:(null)(89130):qbwcb_progress.cpp: 85: Starting with 0 (after 2 secs) 3:2008/08/03 21-02-22:gwen(89130):netlayer.c: 1476: Errors on all netlayers 3:2008/08/03 21-02-22:chipcard2-client(89130):client.c: 1426: Error while working (3) 3:2008/08/03 21-02-22:chipcard2-client(89130):ddvcard.c: 135: No card within specified timeout 3:2008/08/03 21-02-22:gwen(89130):netlayer.c: 1476: Errors on all netlayers 3:2008/08/03 21-02-22:chipcard2-client(89130):client.c: 1767: Error while working (3) 3:2008/08/03 21-02-22:chipcard2-client(89130):client.c: 2238: No response for request "stopWait" 5:2008/08/03 21-02-22:aqbanking(89130):qbwcb_progress.cpp: 147: Loglevel 6 -> info 5:2008/08/03 21-02-22:aqbanking(89130):qbwcb_progress.cpp: 147: Loglevel 6 -> info
3:2008/08/03 21-02-22:gwen(89130):ipc.c: 1141: Could not connect
3:2008/08/03 21-02-22:gwen(89130):ipc.c:  593: Could not send request
3:2008/08/03 21-02-22:chipcard2-client(89130):client.c: 668: Could not send command 3:2008/08/03 21-02-22:chipcard2-client(89130):client.c: 306: Could not start connecting to server 3:2008/08/03 21-02-22:chipcard2-client(89130):client.c: 468: Errors on all servers 3:2008/08/03 21-02-22:chipcard2-client(89130):client.c: 1741: Error working on client 3:2008/08/03 21-02-22:chipcard2-client(89130):client.c: 2207: No response for request "startWait" 3:2008/08/03 21-02-22:chipcard2-client(89130):starcoscard.c: 129: Could not send StartWait request 5:2008/08/03 21-02-22:aqbanking(89130):qbwcb_progress.cpp: 147: Loglevel 6 -> info 3:2008/08/03 21-02-22:(null)(89130):hbci.c: 608: Token is not supported by any plugin
3:2008/08/03 21-02-22:(null)(89130):userwizard.cpp:  137: here (-7)
3:2008/08/03 21-02-22:(null)(89130):qbcfgtabpageusers.cpp: 157: No user created (-9)

Now, as Martin Preuss recommend to install more recent versions of the chipcard software, I was trying to compile libchipcard-4.1.3 (which compiles fine) with gwenhywfar-3.3.5 (also works) and aqbanking-3.6.2. (I guess/hope, that my version of gnucash (2.2.5) works with these packages?)
However, I'm running into trouble earlier.
Compiation of aqbanking failes:
Making all in gui
make  all-am
make[8]: Nothing to be done for `all-am'.
/bin/sh ../../../../libtool --tag=CXX   --mode=link g++  -g -O2 -g
-Wall  -g -o testlib testlib.o libqbanking.la
/Users/christopherintemann/Desktop/aqbanking-3.5.1/src/libs/aqbanking/ libaqbanking.la
g++ -g -O2 -g -Wall -g -o .libs/testlib testlib.o -Wl,-bind_at_load
./.libs/libqbanking.dylib -L/opt/local/lib -L/sw/lib -L/usr/local/lib
-L/opt/local/lib/qt3/lib/ /opt/local/lib/qt3/lib/libqt-mt.dylib
-L/usr/X11R6/lib -lresolv -lGL /usr/X11/lib/libXmu.6.2.0.dylib
/opt/local/lib/libXrender.dylib /usr/X11/lib/libXrandr.2.0.0.dylib
/usr/X11/lib/libXcursor.1.0.2.dylib
/usr/X11/lib/libXinerama.1.0.0.dylib /opt/local/lib/libXft.dylib
/opt/local/lib/libfreetype.dylib /opt/local/lib/libfontconfig.dylib
/usr/X11/lib/libXext.6.4.0.dylib /usr/X11/lib/libX11.6.2.0.dylib -lm
/usr/X11/lib/libSM.6.0.0.dylib /usr/X11/lib/libICE.6.3.0.dylib -ldl
/Users/christopherintemann/Desktop/aqbanking-3.5.1/src/libs/ aqbanking/.libs/libaqbanking.dylib
/usr/lib/libgwenhywfar.dylib /sw/lib/libiconv.dylib
/usr/local/lib/libgnutls.dylib -lz /usr/local/lib/libgcrypt.dylib
/usr/local/lib/libgpg-error.dylib /usr/local/lib/libintl.dylib
/usr/lib/libiconv.dylib /opt/local/lib/libgmp.dylib
/opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc
ld: warning, duplicate dylib /usr/local/lib/libgcc_s.1.dylib
ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib
collect2: ld returned 1 exit status
make[7]: *** [testlib] Error 1
make[6]: *** [all-recursive] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
[22:46 - 0.870.600.42]

Another thing is, that I cannot get my chipcard reader beeing recognized by libchipcardd4, even though I'm
using the same configuration files as with libchipcard2:
chamonix 21] ~ > sudo /opt/local/sbin/chipcardd4 addreader --dtype tow_ctapi --rtype tow_usb --rname SCR335 -C /opt/local/etc/chipcard/ server/chipcardd.conf
ERROR: The low-level driver provided by the manufacturer
is not installed on your system.
Please visit the manufacturer's site at
    http://www.towitoko.de/
to download the driver.
[06:40 - 0.270.360.40]

So far.
Has anybody on this list a working configuration of gnucash on Mac OS X?
Thanks in advance,
Chris

BTW: I was also trying "hibiscus", which is a java homebanking suite.
It does not work on OS X either (at least for the chipcard reader part).
I installed it on windows using paralles, which did work fine, though.





Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to