PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : p2kmoto Probleme beim Kompilieren



TRex30M
25.02.08, 16:21
Hallo,

ich wollte mir eben p2kmoto und moto4lin installieren.
Jetzt spiele ich mich schon 2 Tage damit rum und das haut einfach nicht hin. :confused:
Liebe Kritiker - JA ICH HABE MIR DIVERSE HOW TO's vorher durchgelesen!!!


Was ist das Problem?

Laut diverser HowTow Anleitungen soll es so ablaufen.

Von Sourceforge p2kmoto und moto4lin downloaden.

Dann mit Befehl tar -xzf p2komoto-0.1-rc1.tar.gz entpacken und mittels Befehl cd p2kmoto-0.1 in das Verzeichnis wechseln.

Soweit so gut....

Nun sollte man mittels Dreisatz (also ./configure, dann make und dann make install) p2kmoto installieren können.

Und hier das Problem:

Nach Eingabe des Befehls ./configure wird in der Konsole folgendes ausgegeben:

homeoffice:~/p2kmoto-0.1 # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-suse-linux/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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands


Wenn ich das also richtig verstehe muss Automake in der Version 1.4 installiert sein damit auch das kompilieren klappt?:confused:
Installiert ist aber automake version 1.10

Auch sonst sind alle erforderlichen Pakete wie in verschiedenen HowTo' s installiert:

also libusb-devel, qt-devel

Was kann ich also tun damit das Kompilieren doch noch klappt?

Übrigens habe ich sonst beim Kompilieren anderer .tar Pakete keine Probleme.

Danke für Eure Hinweise!

baumgartner
25.02.08, 16:27
Symlink von automake auf diese Version setzen, aber vorher vielleicht einen Blick ins configure-Skript werfen um nachzusehen was er genau macht.

TRex30M
25.02.08, 17:48
Symlink von automake auf diese Version setzen, aber vorher vielleicht einen Blick ins configure-Skript werfen um nachzusehen was er genau macht.

Hallo,

danke für den Hinweis.
das ./configure Skript habe ich oben gepostet.
Die fett herausgestrichenen Zeilen (ziemlich oben) hindern am ordnungsgemässen kompilieren.
Ich musste auch noch nie einen Symlink machen um P2KMoto zu kompilieren bzw. steht das auch in keinem einzigen der 3 Wikis drinnen.
Es hat bisher immer gereicht, dass automake, autoconf und gcc installiert sind damit kompilieren klappt.

drcux
25.02.08, 22:15
Zeile 1501 in configure:

am__api_version="1.4"

ändern in

am__api_version="1.10"

TRex30M
26.02.08, 07:20
Zeile 1501 in configure:

am__api_version="1.4"

ändern in

am__api_version="1.10"


Hallo drcux,

wo genau muss ich da denn hin um das am_api zu ändern?
Hast du vielleicht auch noch eine Pfadangabe?
Ich habe jetzt eben auch gegoogelt aber nix gefunden. (wahrscheinlich kenn ich das Zauberwort nicht...)
Wäre echt nett! Danke schon mal im vorraus.

zyrusthc
26.02.08, 07:31
wo genau muss ich da denn hin um das am_api zu ändern?
Steht doch da!
Zeile 1501 in der Datei configure !

Greeez Oli

TRex30M
26.02.08, 08:37
Steht doch da!
Zeile 1501 in der Datei configure !

Greeez Oli


Das ist mir klar, dass die Zeile 1501 in der Datei configure gemeint ist.
Aber in welchem Ordner liegt die Datei configure?

zyrusthc
26.02.08, 08:39
Aber in welchem Ordner liegt die Datei configure?
In dem Verzeichnis wo Du p2kmoto hin entpackt hast!

Greeez Oli

TRex30M
26.02.08, 08:57
In dem Verzeichnis wo Du p2kmoto hin entpackt hast!

Greeez Oli

Ahaaa! Danke Tatsächlich!

So jetzt meckert er nicht mehr bei Automake rum sondern hier (fett markiert)

./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.10... found
checking for working autoconf... found
checking for working automake-1.10... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared li
braries... 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared li braries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared li braries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands

Wo kriege ich jetzt diese makeinfo her?

baumgartner
26.02.08, 09:05
Oder anders gesagt, im selben Ordner wo du ./configure aufgerufen hast.

drcux
26.02.08, 09:47
texinfo-4.9-15.i586.rpm: -rwxr-xr-x 1 root root 240912 Sep 22 10:36 /usr/bin/makeinfo

TRex30M
26.02.08, 09:48
Oder anders gesagt, im selben Ordner wo du ./configure aufgerufen hast.


Im Ordner P2kmoto-0.1 die Datei configure meinst du?
Ich habe sie nochmals durchgesehen.
Da kann man bei Makeinfo aus meiner Sicht nichts verändern.

TRex30M
26.02.08, 09:56
texinfo-4.9-15.i586.rpm: -rwxr-xr-x 1 root root 240912 Sep 22 10:36 /usr/bin/makeinfo

Ich bin dir wirklich zu grossem Dank verpflichtet!
Das hat ebenfalls einwandfrei fuktioniert.
Schon ärgerlich wie unwissend ich manchmal bin....

Hier jetzt mal der Vorgang nochmal im Detail:

homeoffice:/home/kurt/Download/openSUSE/p2kmoto-0.1 # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.10... found
checking for working autoconf... found
checking for working automake-1.10... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-suse-linux/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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
homeoffice:/home/kurt/Download/openSUSE/p2kmoto-0.1 # make
make all-recursive
make[1]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1'
Making all in src
make[2]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/src'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c p2kmoto.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c p2kmoto.c -fPIC -DPIC -o .libs/p2kmoto.o
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c p2kmoto.c -o p2kmoto.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link gcc -g -O2 -o libp2kmoto.la -rpath /usr/local/lib p2kmoto.lo -lusb
gcc -shared .libs/p2kmoto.o /usr/lib/libusb.so -g -O2 -Wl,-soname -Wl,libp2kmoto.0 -o .libs/libp2kmoto.0.0.0
(cd .libs && rm -f libp2kmoto.0 && ln -s libp2kmoto.0.0.0 libp2kmoto.0)
(cd .libs && rm -f libp2kmoto && ln -s libp2kmoto.0.0.0 libp2kmoto)
ar cru .libs/libp2kmoto.a p2kmoto.o
ranlib .libs/libp2kmoto.a
creating libp2kmoto.la
(cd .libs && rm -f libp2kmoto.la && ln -s ../libp2kmoto.la libp2kmoto.la)
make[2]: Leaving directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/src'
Making all in test
make[2]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/test'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c p2ktest.c
/bin/sh ../libtool --mode=link gcc -g -O2 -o p2ktest p2ktest.o ../src/libp2kmoto.la
mkdir .libs
gcc -g -O2 -o .libs/p2ktest p2ktest.o ../src/.libs/libp2kmoto /usr/lib/libusb.so
creating p2ktest
make[2]: Leaving directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/test'
make[2]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1'
make[2]: Leaving directory `/home/kurt/Download/openSUSE/p2kmoto-0.1'
make[1]: Leaving directory `/home/kurt/Download/openSUSE/p2kmoto-0.1'
homeoffice:/home/kurt/Download/openSUSE/p2kmoto-0.1 # make install
Making install in src
make[1]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/src'
make[2]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/src'
/bin/sh ../mkinstalldirs /usr/local/lib
/bin/sh ../libtool --mode=install /usr/bin/install -c libp2kmoto.la /usr/local/lib/libp2kmoto.la
/usr/bin/install -c .libs/libp2kmoto.0.0.0 /usr/local/lib/libp2kmoto.0.0.0
(cd /usr/local/lib && rm -f libp2kmoto.0 && ln -s libp2kmoto.0.0.0 libp2kmoto.0)
(cd /usr/local/lib && rm -f libp2kmoto && ln -s libp2kmoto.0.0.0 libp2kmoto)
/usr/bin/install -c .libs/libp2kmoto.lai /usr/local/lib/libp2kmoto.la
/usr/bin/install -c .libs/libp2kmoto.a /usr/local/lib/libp2kmoto.a
ranlib /usr/local/lib/libp2kmoto.a
chmod 644 /usr/local/lib/libp2kmoto.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
/bin/sh ../mkinstalldirs /usr/local/include
/usr/bin/install -c -m 644 p2kmoto.h /usr/local/include/p2kmoto.h
make[2]: Leaving directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/src'
make[1]: Leaving directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/src'
Making install in test
make[1]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/test'
make[2]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/test'
/bin/sh ../mkinstalldirs /usr/local/bin
/bin/sh ../libtool --mode=install /usr/bin/install -c p2ktest /usr/local/bin/p2ktest
/usr/bin/install -c .libs/p2ktest /usr/local/bin/p2ktest
make[2]: Für das Ziel »install-data-am« ist nichts zu tun.
make[2]: Leaving directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/test'
make[1]: Leaving directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/test'
make[1]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1'
make[2]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1'
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 `/home/kurt/Download/openSUSE/p2kmoto-0.1'
make[1]: Leaving directory `/home/kurt/Download/openSUSE/p2kmoto-0.1'
homeoffice:/home/kurt/Download/openSUSE/p2kmoto-0.1 #

homeoffice:/home/kurt/Download/openSUSE/p2kmoto-0.1 # make
make all-recursive
make[1]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1'
Making all in src
make[2]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/src'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c p2kmoto.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c p2kmoto.c -fPIC -DPIC -o .libs/p2kmoto.o
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c p2kmoto.c -o p2kmoto.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link gcc -g -O2 -o libp2kmoto.la -rpath /usr/local/lib p2kmoto.lo -lusb
gcc -shared .libs/p2kmoto.o /usr/lib/libusb.so -g -O2 -Wl,-soname -Wl,libp2kmoto.0 -o .libs/libp2kmoto.0.0.0
(cd .libs && rm -f libp2kmoto.0 && ln -s libp2kmoto.0.0.0 libp2kmoto.0)
(cd .libs && rm -f libp2kmoto && ln -s libp2kmoto.0.0.0 libp2kmoto)
ar cru .libs/libp2kmoto.a p2kmoto.o
ranlib .libs/libp2kmoto.a
creating libp2kmoto.la
(cd .libs && rm -f libp2kmoto.la && ln -s ../libp2kmoto.la libp2kmoto.la)
make[2]: Leaving directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/src'
Making all in test
make[2]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/test'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c p2ktest.c
/bin/sh ../libtool --mode=link gcc -g -O2 -o p2ktest p2ktest.o ../src/libp2kmoto.la
mkdir .libs
gcc -g -O2 -o .libs/p2ktest p2ktest.o ../src/.libs/libp2kmoto /usr/lib/libusb.so
creating p2ktest
make[2]: Leaving directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/test'
make[2]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1'
make[2]: Leaving directory `/home/kurt/Download/openSUSE/p2kmoto-0.1'
make[1]: Leaving directory `/home/kurt/Download/openSUSE/p2kmoto-0.1'

homeoffice:/home/kurt/Download/openSUSE/p2kmoto-0.1 # make install
Making install in src
make[1]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/src'
make[2]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/src'
/bin/sh ../mkinstalldirs /usr/local/lib
/bin/sh ../libtool --mode=install /usr/bin/install -c libp2kmoto.la /usr/local/lib/libp2kmoto.la
/usr/bin/install -c .libs/libp2kmoto.0.0.0 /usr/local/lib/libp2kmoto.0.0.0
(cd /usr/local/lib && rm -f libp2kmoto.0 && ln -s libp2kmoto.0.0.0 libp2kmoto.0)
(cd /usr/local/lib && rm -f libp2kmoto && ln -s libp2kmoto.0.0.0 libp2kmoto)
/usr/bin/install -c .libs/libp2kmoto.lai /usr/local/lib/libp2kmoto.la
/usr/bin/install -c .libs/libp2kmoto.a /usr/local/lib/libp2kmoto.a
ranlib /usr/local/lib/libp2kmoto.a
chmod 644 /usr/local/lib/libp2kmoto.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
/bin/sh ../mkinstalldirs /usr/local/include
/usr/bin/install -c -m 644 p2kmoto.h /usr/local/include/p2kmoto.h
make[2]: Leaving directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/src'
make[1]: Leaving directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/src'
Making install in test
make[1]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/test'
make[2]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/test'
/bin/sh ../mkinstalldirs /usr/local/bin
/bin/sh ../libtool --mode=install /usr/bin/install -c p2ktest /usr/local/bin/p2ktest
/usr/bin/install -c .libs/p2ktest /usr/local/bin/p2ktest
make[2]: Für das Ziel »install-data-am« ist nichts zu tun.
make[2]: Leaving directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/test'
make[1]: Leaving directory `/home/kurt/Download/openSUSE/p2kmoto-0.1/test'
make[1]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1'
make[2]: Entering directory `/home/kurt/Download/openSUSE/p2kmoto-0.1'
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 `/home/kurt/Download/openSUSE/p2kmoto-0.1'
make[1]: Leaving directory `/home/kurt/Download/openSUSE/p2kmoto-0.1'

So jetzt muss ich mal schauen ob diese symbolischen Links und danach p2ktest klappen....

Ok klappt V3r wird jetzt erkannt:

homeoffice:/usr/lib # p2ktest
P2k Test
Device list:
0000:0000: [Linux 2.6.22.17-0.1-default ehci_hcd] [EHCI Host Controller]
046d:c50e: [Logitech] [USB RECEIVER]
0000:0000: [Linux 2.6.22.17-0.1-default ohci_hcd] [OHCI Host Controller]
04a9:220d: [Canon] [CanoScan]
04f9:0027: [Brother] [HL-2030 series]
0000:0000: [Linux 2.6.22.17-0.1-default ohci_hcd] [OHCI Host Controller]
0000:0000: [Linux 2.6.22.17-0.1-default ohci_hcd] [OHCI Host Controller]
0000:0000: [Linux 2.6.22.17-0.1-default ohci_hcd] [OHCI Host Controller]
22b8:4902: [Motorola Inc.] [Motorola Phone (V3r)]
0000:0000: [Linux 2.6.22.17-0.1-default ohci_hcd] [OHCI Host Controller]
Switching to P2K...
P2k Phone found

Damit man p2ktest auch als normaler User nutzen kann muss noch folgendes gemacht werden:

chmod +s /usr/local/bin/p2ktest

chmod 666 /dev/ttyACM0

So jetzt noch moto4lin installieren und konfigurieren....

TRex30M
26.02.08, 10:42
War ja klar jetzt zickt moto4lin natürlich auch noch rum. *seufz*

Bisher gemacht mittels Befehl:

bunzip2 moto4lin-0.3.tar.bz
und dann noch tar -xf moto4lin-0.3.tar

Dann mittels cd moto4lin-0.3 ins Verzeichnis gewechselt.


qmake passt

Aber nach Eingabe des Befehls make meckert er jetzt wieder rum....

Hier die Ausgabe der Konsole:

homeoffice:/home/kurt/Download/openSUSE/moto4lin-0.3 # qmake
homeoffice:/home/kurt/Download/openSUSE/moto4lin-0.3 # make
cd moto_ui/ && make -f Makefile
make[1]: Entering directory `/home/kurt/Download/openSUSE/moto4lin-0.3/moto_ui'
/usr/bin/uic form1_base.ui -o ui/ui_form1_base.h
uic: File generated with too old version of Qt Designer
File 'form1_base.ui' is not valid
make[1]: *** [ui/ui_form1_base.h] Fehler 1
make[1]: Leaving directory `/home/kurt/Download/openSUSE/moto4lin-0.3/moto_ui'
make: *** [sub-moto_ui-make_default] Fehler 2
homeoffice:/home/kurt/Download/openSUSE/moto4lin-0.3 #

Da es mir langsam zu mühsam wurde habe ich mir jetzt moto4lin-0.3-alt3.M23.1.i586.rpm runtergeladen.
Nach der Installation über Yast musst ich noch folgendes tun:

Damit moto4lin auch als User ausführbar ist in der Konsole als root folgendes eingeben:

chmod +s /usr/bin/moto4lin

Danach kann man moto4lin starten und muss in den Preferences noch folgendes einstellen:

Mit Update List mal alle USB Geräte anzeigen lassen ---> Hier sollte das Handy aufscheinen --> dann Handy anklicken und auf Set as AT Device klicken ---> Dann noch die AT Product ID löschen ---> Dann Connect/Disconnect Verbindung herstellen und auf Update List klicken. Nun sollten die Dateien des Handys angezeigt werden und man kann sie auch editieren und löschen.

Danke an alle die mir geholfen haben!!!!!!!

drcux
26.02.08, 11:19
/usr/bin/uic ist aus libqt4-devel, du brauchst aber qt3-devel

TRex30M
26.02.08, 11:27
/usr/bin/uic ist aus libqt4-devel, du brauchst aber qt3-devel


Ja ich weiss ich habe es schon installiert.
Es funktioniert jetzt endlich alles so wie ich das gerne wollte.
Danke für deine wirklich nützlichen Hinweise. :-)