Dies ist eine mobil optimierte Seite, die schnell lädt. Wenn Sie die Seite ohne Optimierung laden möchten, dann klicken Sie auf diesen Text.

libusb manuel installieren?

    Nobody is reading this thread right now.

amassidda

Meister
Registriert
30. Mai 2010
Beiträge
821
Reaktionspunkte
394
Punkte
123
Hallo leute

Habe da ein Problem mit dem Oscam complie.

Da kommt immer der error lib usb 1.0.8 Verbindungsfehler

Nun wollte ich die lib usb 1.0.9 manuell installieren aber ich weiß leider nicht wie.

Die libusb-1.0.9.tar.bz2 habe ich schon ich weiß leider nur nicht wie ich diese erfolgreich in meine IPC 12.1 (2012-02-08) installieren kann.

Hoffe das mir hier jemand sagen kann wo ich diese File hin packen muss und wie ich es installiere.

danke im voraus

gruß

amassidda
 
AW: libusb manuel installieren?

ipc 12.1 (2012-02-08) ? eine solche ipc version wäre mir nicht bekannt..

die letzte pebkac ipc ist 11.4 (2012-07-21) und die letzte piraten ipc ist 12.0 (2012-06-14)


wo du es entpackst ist egal und installieren tust du es wie alle anderen linux archive auch die man manuell installieren möchte:
./configure && make && make install

(die " && " stellen sicher das der nachfolgende befehl nur ausgeführt wird wenn der vorherige erfolgreich war)
 
AW: libusb manuel installieren?

Hi aragorn

leider klappt es nicht wenn ich das hier ausführe "./configure && make && make install" kommt diese meldung "-bash: ./configure: Datei oder Verzeichnis nicht gefunden".

Habe ich etwas falsch gemacht? Die Datei libusb-1.0.9.tar.bz2 ist im Verzeichnis / also im Hauptverzeichniss.

Bin nicht so erfahren mit dem Manuell installationen wäre nett wenn du mir da genauer helfen könntest

danke im voraus

gruß

amassidda
 
AW: libusb manuel installieren?

du musst das archive natürlich erst entpacken und in das dabei entstehende verzeichnis wechseln..

Code:
tar xjf libusb-1.0.9.tar.bz2
cd libusb-1.0.9
./configure && make && make install
wenn das erfolgreich war kann das libusb-1.0.9 verzeichniss und .tar.bz2 eigentlich wieder gelöscht werden


aber wie gesagt eine ipc 12.1 ist mir nicht bekannt. wennde dich am besten an das forum wo du das her hast oder installier dir die
 
AW: libusb manuel installieren?

Hi aragorn

Habe das jetzt gemacht was du geschrieben hast und dabei kam das hier raus:

/$ tar xjf libusb-1.0.9.tar
/$ cd libusb-1.0.9
/libusb-1.0.9$ ./configure && make && make install
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for windres... no
checking for inline... inline
checking whether gcc and cc understand -c and -o together... yes
checking operating system... Linux
checking for clock_gettime in -lrt... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/timerfd.h usability... yes
checking sys/timerfd.h presence... yes
checking for sys/timerfd.h... yes
checking whether TFD_NONBLOCK is declared... yes
checking whether to use timerfd for timing... yes
checking for struct timespec... yes
checking for sigaction... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for gettimeofday... yes
configure: creating ./config.status
config.status: creating libusb-1.0.pc
config.status: creating Makefile
config.status: creating libusb/Makefile
config.status: creating examples/Makefile
config.status: creating doc/Makefile
config.status: creating doc/doxygen.cfg
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make all-recursive
make[1]: Entering directory `/libusb-1.0.9'
Making all in libusb
make[2]: Entering directory `/libusb-1.0.9/libusb'
CC libusb_1_0_la-core.lo
CC libusb_1_0_la-descriptor.lo
CC libusb_1_0_la-io.lo
CC libusb_1_0_la-sync.lo
CC libusb_1_0_la-linux_usbfs.lo
CC libusb_1_0_la-threads_posix.lo
CCLD libusb-1.0.la
make[2]: Leaving directory `/libusb-1.0.9/libusb'
Making all in doc
make[2]: Entering directory `/libusb-1.0.9/doc'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/libusb-1.0.9/doc'
make[2]: Entering directory `/libusb-1.0.9'
make[2]: Für das Ziel »all-am« ist nichts zu tun.
make[2]: Leaving directory `/libusb-1.0.9'
make[1]: Leaving directory `/libusb-1.0.9'
Making install in libusb
make[1]: Entering directory `/libusb-1.0.9/libusb'
make[2]: Entering directory `/libusb-1.0.9/libusb'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c libusb-1.0.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libusb-1.0.so.0.1.0 /usr/local/lib/libusb-1.0.so.0.1.0
libtool: install: (cd /usr/local/lib && { ln -s -f libusb-1.0.so.0.1.0 libusb-1.0.so.0 || { rm -f libusb-1.0.so.0 && ln -s libusb-1.0.so.0.1.0 libusb-1.0.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libusb-1.0.so.0.1.0 libusb-1.0.so || { rm -f libusb-1.0.so && ln -s libusb-1.0.so.0.1.0 libusb-1.0.so; }; })
libtool: install: /usr/bin/install -c .libs/libusb-1.0.lai /usr/local/lib/libusb-1.0.la
libtool: install: /usr/bin/install -c .libs/libusb-1.0.a /usr/local/lib/libusb-1.0.a
libtool: install: chmod 644 /usr/local/lib/libusb-1.0.a
libtool: install: ranlib /usr/local/lib/libusb-1.0.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include/libusb-1.0" || /bin/mkdir -p "/usr/local/include/libusb-1.0"
/usr/bin/install -c -m 644 libusb.h '/usr/local/include/libusb-1.0'
make[2]: Leaving directory `/libusb-1.0.9/libusb'
make[1]: Leaving directory `/libusb-1.0.9/libusb'
Making install in doc
make[1]: Entering directory `/libusb-1.0.9/doc'
make[2]: Entering directory `/libusb-1.0.9/doc'
make[2]: Für das Ziel »install-exec-am« ist nichts zu tun.
make[2]: Für das Ziel »install-data-am« ist nichts zu tun.
make[2]: Leaving directory `/libusb-1.0.9/doc'
make[1]: Leaving directory `/libusb-1.0.9/doc'
make[1]: Entering directory `/libusb-1.0.9'
make[2]: Entering directory `/libusb-1.0.9'
make[2]: Für das Ziel »install-exec-am« ist nichts zu tun.
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 libusb-1.0.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory `/libusb-1.0.9'
make[1]: Leaving directory `/libusb-1.0.9'

Hoffe das ist richtig

Ich teste jetzt ob das mit dem o compile geht

gruß

amassidda
 
AW: libusb manuel installieren?

es tauchen keine errors auf und er hat auch ohne abbruch alles installiert also sieht das oke aus..



ps: mir fällt gerade ein das es sich bei der ipc 12.1 eigentlich um das pebkac ipc 11.3 handelt nur mit einer anderen versions nummer um "besser" zu erscheinen. aber der scheint trügt was man auch am datum sieht (noch mal danke an Phantom für dieses überflüssige chaos..)
 
Für die Nutzung dieser Website sind Cookies erforderlich. Du musst diese akzeptieren, um die Website weiter nutzen zu können. Erfahre mehr…