Author Topic: Need help with ctapi-cyberjack  (Read 999 times)

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3729
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Need help with ctapi-cyberjack
« on: April 24, 2010, 10:13:39 AM »
Hello,
i want to build ctapi-cyberjack, but it's failed dependencies...
A specfile is in the archive, and i take it.
The same error is, when i make it with
./configure
make
Configure is good, but make ends with error.
 
Code: [Select]
make[2]: Entering directory `/home/daniel/RPM/BUILD/ctapi-cyberjack-3.3.3/cjeca32'
Making all in ausb
make[3]: Entering directory `/home/daniel/RPM/BUILD/ctapi-cyberjack-3.3.3/cjeca32/ausb'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I.. -I../../include -I../../ctapi -I/usr/include/libusb-1.0    -D_LINUX -DBUILDING_CYBERJACK -fvisibility=hidden  -D_LINUX -DBUILDING_CYBERJACK -fvisibility=hidden -O2  -pipe -Wp,-D_FORTIFY_SOURCE=2 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wall -Wdeclaration-after-statement -MT ausb_libusb0.lo -MD -MP -MF .deps/ausb_libusb0.Tpo -c -o ausb_libusb0.lo ausb_libusb0.c
../../libtool: line 850: X--tag=CC: command not found
../../libtool: line 883: libtool: ignoring unknown tag : command not found
../../libtool: line 850: X--mode=compile: command not found
../../libtool: line 1017: *** Warning: inferring the mode of operation is deprecated.: command not found
../../libtool: line 1018: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../../libtool: line 1161: Xgcc: command not found
../../libtool: line 1161: X-DHAVE_CONFIG_H: command not found
../../libtool: line 1161: X-I.: command not found
../../libtool: line 1161: X-I../..: No such file or directory
../../libtool: line 1161: X-I.: command not found
../../libtool: line 1161: X-I..: command not found
../../libtool: line 1161: X-I../../include: No such file or directory
../../libtool: line 1161: X-I../../ctapi: No such file or directory
../../libtool: line 1161: X-I/usr/include/libusb-1.0: No such file or directory
../../libtool: line 1161: X-D_LINUX: command not found
../../libtool: line 1161: X-DBUILDING_CYBERJACK: command not found
../../libtool: line 1161: X-fvisibility=hidden: command not found
../../libtool: line 1161: X-D_LINUX: command not found
../../libtool: line 1161: X-DBUILDING_CYBERJACK: command not found
../../libtool: line 1161: X-fvisibility=hidden: command not found
../../libtool: line 1161: X-O2: command not found
../../libtool: line 1161: X-pipe: command not found
../../libtool: line 1161: X-Wp,-D_FORTIFY_SOURCE=2: command not found
../../libtool: line 1161: X-fomit-frame-pointer: command not found
../../libtool: line 1161: X-march=i586: command not found
../../libtool: line 1161: X-mtune=generic: command not found
../../libtool: line 1161: X-fasynchronous-unwind-tables: command not found
../../libtool: line 1161: X-Wall: command not found
../../libtool: line 1161: X-Wdeclaration-after-statement: command not found
../../libtool: line 1161: X-MT: command not found
../../libtool: line 1161: Xausb_libusb0.lo: command not found
../../libtool: line 1161: X-MD: command not found
../../libtool: line 1161: X-MP: command not found
../../libtool: line 1161: X-MF: command not found
../../libtool: line 1161: X.deps/ausb_libusb0.Tpo: No such file or directory
../../libtool: line 1161: X-c: command not found
../../libtool: line 1214: Xausb_libusb0.lo: command not found
../../libtool: line 1219: libtool: compile: cannot determine name of library object from `': command not found
make[3]: *** [ausb_libusb0.lo] Fehler 1
make[3]: Leaving directory `/home/daniel/RPM/BUILD/ctapi-cyberjack-3.3.3/cjeca32/ausb'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/daniel/RPM/BUILD/ctapi-cyberjack-3.3.3/cjeca32'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/daniel/RPM/BUILD/ctapi-cyberjack-3.3.3'
make: *** [all] Fehler 2
Fehler: Fehler-Status beim Beenden von /home/daniel/RPM/tmp/rpm-tmp.93785 (%build)


Fehler beim Bauen des RPMS:
    Fehler-Status beim Beenden von /home/daniel/RPM/tmp/rpm-tmp.93785 (%build)

Thanks for efforts...
« Last Edit: April 24, 2010, 01:40:31 PM by Leiche »

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: Need help with ctapi-cyberjack
« Reply #1 on: April 24, 2010, 12:48:29 PM »
Here is a patch slick50 wrote for me when I had a similar problem.

replace all instances of
-    .tp_hash = PyObject_HashNotImplemented,

with

+ /* .tp_hash = PyObject_HashNotImplemented,*/

Maybe changing those lines will work for you too?
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3729
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Need help with ctapi-cyberjack
« Reply #2 on: April 24, 2010, 01:54:25 PM »
I'm mess, i not understand?
When i take a look in the libtool file, i see with
Code: [Select]
$echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2That is line 1219...

So where should i find with
Code: [Select]
.tp_hash = PyObject_HashNotImplemented?
Thanks for replay... ;)

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: Need help with ctapi-cyberjack
« Reply #3 on: April 24, 2010, 02:31:45 PM »
I was getting all those libtool errors too.  All I know is slick50 fixed it for me.  That line was in several source files in my project.  I attached the patch so you can see it, and in case I missed anything.
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3729
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Need help with ctapi-cyberjack
« Reply #4 on: April 25, 2010, 02:09:53 AM »
sorry i see nothing in the codes, what get with error...

EDIT:
libtool isn't compatible...
When i use the libtool in /usr/bin then works.
But a another problem, when i copy libtool in the directory, and make a new package with "make dist", then i can compile with ./configure, make , make install, not with the specfile.
 ??? ::) ???
« Last Edit: April 26, 2010, 10:42:17 AM by Leiche »

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3729
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Need help with ctapi-cyberjack
« Reply #5 on: May 03, 2010, 01:44:26 AM »
i send it, but i copied our libtool in the source packages...
The tester mean it's work very good without any problems.
Notice:
The Reader is only running if I set libctapi-cyberjack.so.2.
The real driver is installed (down at least on my PC) in /usr/lib/readers, and indeed as libctapi cyberjack.so, libctapi cyberjack.so.2, and libctapi cyberjack.so.2.3.5.

Have nice day...