DDL: J Man Problem beim Kompilieren



Hallo MoBa-Gemeinde!

Habe versucht DDL auf meinem Rechner zu installieren, doch beim
Kompilieren von J-Man gibt's Probleme. Kann mir jemand helfen?
Das Problem tritt auf bei:

/usr/lib/java/bin/javac -deprecation -sourcepath .. GameportEvent.java
javac: invalid flag: -sourcepath

Dannach der Abbruch... :-(
Die Systemmeldung ist unten... Zu meinem System: PII 266 MHz, 128 MB
RAM, 3 GB HDD, SuSE Linux 7.2 Prof. Java, etc. installiert.

Danke und guten Start in die Woche
Norbert Martsch


---Systemmeldung---
norbert@linux:/modellbahn/ddl/DDL-xmas2001 > ./configure
creating cache ./config.cache
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... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for bison... bison -y
checking how to run the C preprocessor... gcc -E
checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for flex... /usr/bin/flex
checking for javac... /usr/lib/java/bin/javac
checking for jar... /usr/lib/java/bin/jar
checking for javah... /usr/lib/java/bin/javah
checking for /usr/lib/java/include/jni.h... yes
checking for /usr/lib/java/include/jni.h... (cached) yes
JAVAHOME detected in /usr/lib/java
checking for a BSD compatible install... /usr/bin/install -c
checking for pthread_create in -lpthread... yes
checking for readline in -lreadline... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating erddcd/Makefile
creating clients/Makefile
creating clients/nmra-programmer/Makefile
creating clients/uhl-programmer/Makefile
creating clients/j-man/Makefile
creating clients/j-man/gameport/Makefile
creating clients/loco-panel/Makefile
creating clients/monitor/Makefile
creating clients/simpleclient/Makefile


norbert@linux:/modellbahn/ddl/DDL-xmas2001 >
norbert@linux:/modellbahn/ddl/DDL-xmas2001 > make
Making all in erddcd
make[1]: Entering directory `/modellbahn/ddl/DDL-xmas2001/erddcd'
gcc -DPACKAGE=\"erddcd\" -DVERSION=\"1.4.0\" -DYYTEXT_POINTER=1
-DHAVE_LIBPTHREAD=1 -I. -I. -Wall -O2 -D__USER__=\"`whoami`\"
-D__HOST__=\"`hostname`\" -c erddcd.c
gcc -DPACKAGE=\"erddcd\" -DVERSION=\"1.4.0\" -DYYTEXT_POINTER=1
-DHAVE_LIBPTHREAD=1 -I. -I. -Wall -O2 -D__USER__=\"`whoami`\"
-D__HOST__=\"`hostname`\" -c cycles.c
gcc -DPACKAGE=\"erddcd\" -DVERSION=\"1.4.0\" -DYYTEXT_POINTER=1
-DHAVE_LIBPTHREAD=1 -I. -I. -Wall -O2 -D__USER__=\"`whoami`\"
-D__HOST__=\"`hostname`\" -c queue.c
gcc -DPACKAGE=\"erddcd\" -DVERSION=\"1.4.0\" -DYYTEXT_POINTER=1
-DHAVE_LIBPTHREAD=1 -I. -I. -Wall -O2 -D__USER__=\"`whoami`\"
-D__HOST__=\"`hostname`\" -c maerklin.c
gcc -DPACKAGE=\"erddcd\" -DVERSION=\"1.4.0\" -DYYTEXT_POINTER=1
-DHAVE_LIBPTHREAD=1 -I. -I. -Wall -O2 -D__USER__=\"`whoami`\"
-D__HOST__=\"`hostname`\" -c maerklin_s88.c
gcc -DPACKAGE=\"erddcd\" -DVERSION=\"1.4.0\" -DYYTEXT_POINTER=1
-DHAVE_LIBPTHREAD=1 -I. -I. -Wall -O2 -D__USER__=\"`whoami`\"
-D__HOST__=\"`hostname`\" -c input_8255.c
gcc -DPACKAGE=\"erddcd\" -DVERSION=\"1.4.0\" -DYYTEXT_POINTER=1
-DHAVE_LIBPTHREAD=1 -I. -I. -Wall -O2 -D__USER__=\"`whoami`\"
-D__HOST__=\"`hostname`\" -c nmra.c
gcc -DPACKAGE=\"erddcd\" -DVERSION=\"1.4.0\" -DYYTEXT_POINTER=1
-DHAVE_LIBPTHREAD=1 -I. -I. -Wall -O2 -D__USER__=\"`whoami`\"
-D__HOST__=\"`hostname`\" -c srcp-flex.c
gcc -DPACKAGE=\"erddcd\" -DVERSION=\"1.4.0\" -DYYTEXT_POINTER=1
-DHAVE_LIBPTHREAD=1 -I. -I. -Wall -O2 -D__USER__=\"`whoami`\"
-D__HOST__=\"`hostname`\" -c srcp-yacc.c
gcc -DPACKAGE=\"erddcd\" -DVERSION=\"1.4.0\" -DYYTEXT_POINTER=1
-DHAVE_LIBPTHREAD=1 -I. -I. -Wall -O2 -D__USER__=\"`whoami`\"
-D__HOST__=\"`hostname`\" -c srcp.c
gcc -DPACKAGE=\"erddcd\" -DVERSION=\"1.4.0\" -DYYTEXT_POINTER=1
-DHAVE_LIBPTHREAD=1 -I. -I. -Wall -O2 -D__USER__=\"`whoami`\"
-D__HOST__=\"`hostname`\" -c ga_manager.c
gcc -Wall -O2 -D__USER__=\"`whoami`\" -D__HOST__=\"`hostname`\" -o
erddcd erddcd.o cycles.o queue.o maerklin.o maerklin_s88.o
input_8255.o nmra.o srcp-flex.o srcp-yacc.o srcp.o ga_manager.o
-lpthread
make[1]: Leaving directory `/modellbahn/ddl/DDL-xmas2001/erddcd'
Making all in clients
make[1]: Entering directory `/modellbahn/ddl/DDL-xmas2001/clients'
Making all in nmra-programmer
make[2]: Entering directory
`/modellbahn/ddl/DDL-xmas2001/clients/nmra-programmer'
gcc -DPACKAGE=\"erddcd\" -DVERSION=\"1.4.0\" -DYYTEXT_POINTER=1
-DHAVE_LIBPTHREAD=1 -I. -I. -g -O2 -c nmra-programmer.c
gcc -g -O2 -o nmra_programmer nmra-programmer.o -lpthread
make[2]: Leaving directory
`/modellbahn/ddl/DDL-xmas2001/clients/nmra-programmer'
Making all in uhl-programmer
make[2]: Entering directory
`/modellbahn/ddl/DDL-xmas2001/clients/uhl-programmer'
gcc -DPACKAGE=\"erddcd\" -DVERSION=\"1.4.0\" -DYYTEXT_POINTER=1
-DHAVE_LIBPTHREAD=1 -I. -I. -g -O2 -c uhl-programmer.c
gcc -g -O2 -o uhl_programmer uhl-programmer.o -lpthread
make[2]: Leaving directory
`/modellbahn/ddl/DDL-xmas2001/clients/uhl-programmer'
Making all in j-man
make[2]: Entering directory
`/modellbahn/ddl/DDL-xmas2001/clients/j-man'
Making all in gameport
make[3]: Entering directory
`/modellbahn/ddl/DDL-xmas2001/clients/j-man/gameport'
gcc -DPACKAGE=\"erddcd\" -DVERSION=\"1.4.0\" -DYYTEXT_POINTER=1
-DHAVE_LIBPTHREAD=1 -I. -I. -I/usr/lib/java/include
-I/usr/lib/java/include/linux -g -O2 -c gameport_GameportHandler.c
rm -f libgpnative.a
ar cru libgpnative.a gameport_GameportHandler.o
ld -G gameport_GameportHandler.o -o libgpnative.so; ranlib
libgpnative.a
/usr/lib/java/bin/javac -deprecation -sourcepath .. GameportEvent.java
javac: invalid flag: -sourcepath
use: javac [-g][-O][-debug][-depend][-nowarn][-verbose][-classpath
path][-nowrite][-deprecation][-d dir][-J<runtime flag>] file.java...
make[3]: *** [GameportEvent.class] Error 1
make[3]: Leaving directory
`/modellbahn/ddl/DDL-xmas2001/clients/j-man/gameport'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/modellbahn/ddl/DDL-xmas2001/clients/j-man'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/modellbahn/ddl/DDL-xmas2001/clients'
make: *** [all-recursive] Error 1


norbert@linux:/modellbahn/ddl/DDL-xmas2001 > su
Password:
root@linux:/modellbahn/ddl/DDL-xmas2001 > make install
Making install in erddcd
make[1]: Entering directory `/modellbahn/ddl/DDL-xmas2001/erddcd'
make[2]: Entering directory `/modellbahn/ddl/DDL-xmas2001/erddcd'
/bin/sh ../mkinstalldirs /opt/DDL/bin
mkdir /opt/DDL
mkdir /opt/DDL/bin
/usr/bin/install -c erddcd /opt/DDL/bin/erddcd
/bin/sh ../mkinstalldirs /opt/DDL/bin
/usr/bin/install -c ddld /opt/DDL/bin/ddld
/usr/bin/install -c -m 644 erddcdrc /opt/DDL
make[2]: Leaving directory `/modellbahn/ddl/DDL-xmas2001/erddcd'
make[1]: Leaving directory `/modellbahn/ddl/DDL-xmas2001/erddcd'
Making install in clients
make[1]: Entering directory `/modellbahn/ddl/DDL-xmas2001/clients'
Making install in nmra-programmer
make[2]: Entering directory
`/modellbahn/ddl/DDL-xmas2001/clients/nmra-programmer'
make[3]: Entering directory
`/modellbahn/ddl/DDL-xmas2001/clients/nmra-programmer'
/bin/sh ../../mkinstalldirs /opt/DDL/bin
/usr/bin/install -c nmra_programmer /opt/DDL/bin/nmra_programmer
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory
`/modellbahn/ddl/DDL-xmas2001/clients/nmra-programmer'
make[2]: Leaving directory
`/modellbahn/ddl/DDL-xmas2001/clients/nmra-programmer'
Making install in uhl-programmer
make[2]: Entering directory
`/modellbahn/ddl/DDL-xmas2001/clients/uhl-programmer'
make[3]: Entering directory
`/modellbahn/ddl/DDL-xmas2001/clients/uhl-programmer'
/bin/sh ../../mkinstalldirs /opt/DDL/bin
/usr/bin/install -c uhl_programmer /opt/DDL/bin/uhl_programmer
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory
`/modellbahn/ddl/DDL-xmas2001/clients/uhl-programmer'
make[2]: Leaving directory
`/modellbahn/ddl/DDL-xmas2001/clients/uhl-programmer'
Making install in j-man
make[2]: Entering directory
`/modellbahn/ddl/DDL-xmas2001/clients/j-man'
Making install in gameport
make[3]: Entering directory
`/modellbahn/ddl/DDL-xmas2001/clients/j-man/gameport'
/usr/lib/java/bin/javac -deprecation -sourcepath .. GameportEvent.java
javac: invalid flag: -sourcepath
use: javac [-g][-O][-debug][-depend][-nowarn][-verbose][-classpath
path][-nowrite][-deprecation][-d dir][-J<runtime flag>] file.java...
make[3]: *** [GameportEvent.class] Error 1
make[3]: Leaving directory
`/modellbahn/ddl/DDL-xmas2001/clients/j-man/gameport'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/modellbahn/ddl/DDL-xmas2001/clients/j-man'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/modellbahn/ddl/DDL-xmas2001/clients'
make: *** [install-recursive] Error 1

norbert@linux:~ > j-man
bash: j-man: command not found
norbert@linux:~ >
---Ende Systemmeldung---

.



Relevant Pages

  • Re: compile problem
    ... make: Entering directory ... make: Leaving directory ... Making install in sounds ... Making install in k3bsetup ...
    (alt.os.linux.suse)
  • [SLE] Mono Develop - Cant install
    ... I'm trying to install Mono-develop, but when run configure, I get the ... Making install in glib-1.2.8 ... make: Entering directory ... make: Leaving directory ...
    (SuSE)
  • [SLE] Re: checkinstall failure to build rpm
    ... > See if you can do make install on it's own. ... It looks like that's failing. ... Making install in doc ... make: Entering directory ...
    (SuSE)
  • ALSA installation issues.
    ... I was able to complete 1 and 2, compiling the drivers and the libs file. ... make: Entering directory ... make: Leaving directory ... Making install in include ...
    (Fedora)
  • Tripwire-2.3.1.2 problem on a FreeBSD 4.11 box
    ... gmake: Entering directory ... gmake: Leaving directory ... And I also get an error on a make install command: ... Checking for programs specified in install configuration file.... ...
    (freebsd-questions)