Forum
Tipps
News
Menu-Icon

Suse: Software installieren

Wollte bei mir NetPanzer installieren. weiß aber nicht wie ich PhysFs und Jam installieren soll. PhysFS sagt mir nach ./Configure und make install :
berserker:/home/technojack/Desktop/Downloads/Programme/physfs-1.0.0 # make install
make: *** Keine Regel, um »install« zu erstellen.  Schluss.


Antworten zu Suse: Software installieren:

berserker:/home/technojack/Desktop/Downloads/Programme/physfs-1.0.0 # ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
berserker:/home/technojack/Desktop/Downloads/Programme/physfs-1.0.0 # make
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden.  Schluss.
berserker:/home/technojack/Desktop/Downloads/Programme/physfs-1.0.0 # make install
make: *** Keine Regel, um »install« zu erstellen.  Schluss.
berserker:/home/technojack/Desktop/Downloads/Programme/physfs-1.0.0 #    

Hallo,

ohne installierten Compiler funktioniert es natürlich nicht.

installiere gcc komplett, incl. libgcxxx ( ohne colorgcc )
und make,automake,autoconf,libtool,makedev,makewhat,nasm,m4,checkinstall

der erste Schritt ist meist ./configure

dann ./make

beide Schritte funktionieren noch als normaler User und müssen !!! f e h l e r f r e i !!! durchlaufen. Falls nicht, fehlen die Entwicklerpakete ( endung devel ). Welche das sind siehst Du in den Fehlermeldungen ( Beispiel in deinem Fall gcc=no statt yes). Erst wenn make ohne Fehler durchläuft kannst du als ROOT    ./checkinstall --type=rpm  eingeben um das Rpmpaket zu bauen. Das findest du danach in /usr/src/packages/ixxx und kannst es per yast -i paketname installieren und auch wieder entfernen wie gewohnt. checkinstall ist die komfortble Alternative zu make install.

Viel Erfolg

ähm es geht immer noch nicht. Automake 1.9 ist bei mir jedoch installiert. In der Readme steht auch nichts zu installation.
Und nun?
berserker:/home/technojack # cd ./Desktop/Downloads/Programme/physfs-1.0.0/
berserker:/home/technojack/Desktop/Downloads/Programme/physfs-1.0.0 # ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... 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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
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 for a sed that does not truncate output... /bin/sed
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -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 ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC 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.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for sed... yes
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking for zlibVersion in -lz... no
checking what zlib to use... internal zlib
checking readline/readline.h usability... no
checking readline/readline.h presence... no
checking for readline/readline.h... no
checking for readline in -lreadline... no
checking readline/history.h usability... no
checking readline/history.h presence... no
checking for readline/history.h... no
checking for add_history in -lreadline... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking sys/ucred.h usability... no
checking sys/ucred.h presence... no
checking for sys/ucred.h... no
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking if language choice is supported... yes
checking if this is BeOS... no
checking if this is Cygwin... no
checking if this is MacOS X... no
checking if this is FreeBSD... no
checking if this is OpenBSD... no
checking if this is AtheOS... no
checking if this is OS/2... no
checking if this is MiNT... no
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking for working memcmp... yes
checking for memset... yes
checking for strrchr... yes
checking for int... yes
checking size of int... 4
configure: creating ./config.status
config.status: creating Makefile
config.status: creating archivers/Makefile
config.status: creating platform/Makefile
config.status: creating zlib121/Makefile
config.status: creating test/Makefile
config.status: creating extras/Makefile
config.status: creating physfs.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
berserker:/home/technojack/Desktop/Downloads/Programme/physfs-1.0.0 # make
make  all-recursive
make[1]: Entering directory `/home/technojack/Desktop/Downloads/Programme/physfs-1.0.0'
Making all in platform
make[2]: Entering directory `/home/technojack/Desktop/Downloads/Programme/physfs-1.0.0/platform'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/technojack/Desktop/Downloads/Programme/physfs-1.0.0/platform'
Making all in archivers
make[2]: Entering directory `/home/technojack/Desktop/Downloads/Programme/physfs-1.0.0/archivers'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory `/home/technojack/Desktop/Downloads/Programme/physfs-1.0.0/archivers'
Making all in zlib121
make[2]: Entering directory `/home/technojack/Desktop/Downloads/Programme/physfs-1.0.0/zlib121'
cd .. && \
  /bin/sh /home/technojack/Desktop/Downloads/Programme/physfs-1.0.0/missing --run automake-1.6 --foreign  zlib121/Makefile
/home/technojack/Desktop/Downloads/Programme/physfs-1.0.0/missing: line 46: automake-1.6: command not found
WARNING: `automake-1.6' is needed, and you do not seem to have it handy on your
         system.  You might have modified some files without having the
         proper tools for further handling them.  Check the `README' file,
         it often tells you about the needed prerequirements for installing
         this package.  You may also peek at any GNU archive site, in case
         some other package would contain this missing `automake-1.6' program.
make[2]: *** [Makefile.in] Fehler 1
make[2]: Leaving directory `/home/technojack/Desktop/Downloads/Programme/physfs-1.0.0/zlib121'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/technojack/Desktop/Downloads/Programme/physfs-1.0.0'
make: *** [all] Fehler 2
berserker:/home/technojack/Desktop/Downloads/Programme/physfs-1.0.0 #      

Hallo,

wähle einen anderen Weg.

stelle sicher das die Pakete:

doxygen readline und readline-devel ncurses und ncurses-devel, zlib und zlib-devel installiert sind!

Lösche alle bisherigen Versuche.

Mit einer kleinen Anpassung im Spec-File physfs.spec kannst Du ein SuSE-RPM bauen.

So gehts:

physfs entpacken: tar xvzf physfs...tar.gz

öffne mit einem Editor das File  physfs.spec
und füge ganz oben hinzu:

%define _unpackaged_files_terminate_build 0

Änderung speichern   und phsfs wieder einpacken mit:

tar cfz physfs...tar.gz physfs...

RPM bauen: rpmbuild -tb physfs...tar.gz

Jetzt kann man die libphysfs installieren mit:

rpm -vhi /usr/src/packages/RPMS/i586/physfs-0.1.9-1.i586.rpm

rpm -i /usr/src/packages/RPMS/i586/physfs-devel-0.1.9-1.i586.rpm


Nun noch

SuSEconfig   ENTER

Thats all

Alle Schritte als Root durchführen.


Viel Erfolg
   

Danke hat super geklappt.
aber wie installier ich jam??
kein plan

Hallo,

was meinst Du mit Jam? boost-jam ein make ersatz, jam der Miditreiber für Gravis Ultrasound Karten oder was ???

Ich muss jam 2.5 für NetPanzer installieren. das hat auch irgendwas mit kompilieren oder so zu tun. Ich weiß aber nicht wie man es installiert.

Hallo,

das dürfte boost-jam sein. Installation bequem per yast. boost selbst brauchst Du auch.

Jam - Make(1) Redux


The Jam Executable



USAGE

jam [ -a ] [ -g ] [ -n ] [ -q ] [ -v ]
    [ -d debug ]
    [ -f jambase ]
    [ -j jobs ]
    [ -o actionsfile ]
    [ -s var=value ]
    [ -t target ]
    [ target ... ]



 DESCRIPTION


Jam is a program construction tool, like make(1).


Jam recursively builds target files from source files, using dependency information and updating actions expressed in the Jambase file, which is written in jam's own interpreted language. The default Jambase is compiled into jam and provides a boilerplate for common use, relying on a user-provide file "Jamfile" to enumerate actual targets and sources.


The Jambase is described in the Jambase Reference and the document Using Jamfiles and Jambase.

Das ist jam.
Hab mal boost und boost-jam installiert.
dann:
berserker:/home/technojack/Desktop/Downloads/Programme/netpanzer-0.8/netpanzer-0.8 # ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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 whether byte ordering is bigendian... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether g++ is new enough... yes
checking for doxygen... doxygen
checking for target host... assume posix
checking for socklen_t... yes
checking for sdl-config... no
checking for SDL - version >= 1.2.5... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: Please install libsdl >= 1.2.



Wo bekomm ich lib sdl her?
bei yast gibt es nur SDL aber ohne library.

Hallo,

musst SDL nebst develpaket installieren. die lib ist darin enthalten.

musste noch die sdl-devel-pakete installieren!!
aber was muss ich hier machen??
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/HeartbeatThread.o
*** glibc detected *** free(): invalid pointer: 0x08a0dd70 ***
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/ServerConsole.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/MapsManager.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/KeyboardInterface.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/GameConfig.o
src/NetPanzer/Interfaces/GameConfig.cpp: In constructor `
   GameConfig::GameConfig(const std::string&, bool)':
src/NetPanzer/Interfaces/GameConfig.cpp:189: internal compiler error: Speicherzugriffsfehler
Bitte senden Sie einen vollständigen Fehlerbericht auf Englisch ein;
bearbeiten Sie die Quellen zunächst mit einem Präprozessor, wenn es
dienlich ist.
Fehler in der deutschen Übersetzung sind an [email protected] zu melden.

Gehen Sie gemäß den Hinweisen in <URL:http://www.suse.de/feedback> vor.
The bug is not reproduceable, so it is likely a hardware or OS problem

    g++  -c -o ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/GameConfig.o   -I. -Isrc/Lib    -I/usr/include/SDL -D_REENTRANT -Isrc/NetPanzer/. -Isrc/NetPanzer/Core -Isrc/NetPanzer/Port -Isrc/NetPanzer/Classes -Isrc/NetPanzer/Classes/AI -Isrc/NetPanzer/Classes/Units -Isrc/NetPanzer/Classes/Weapons -Isrc/NetPanzer/Classes/Network -Isrc/NetPanzer/Network -Isrc/NetPanzer/Resources -Isrc/NetPanzer/Structs -Isrc/NetPanzer/Interfaces -Isrc/NetPanzer/Interfaces/unix -Isrc/NetPanzer/Bot -Isrc/NetPanzer/System -Isrc/NetPanzer/Views/MainMenu -Isrc/NetPanzer/Views/MainMenu/Multi -Isrc/NetPanzer/Views/MainMenu/Options -Isrc/NetPanzer/Views/Game -Isrc/NetPanzer/Views/Components -Isrc/NetPanzer/Views -Isrc/NetPanzer/Particles  -Wall -W-O3 -g3 -O3 -g3   -DNP_DATADIR=\"/usr/local/share/netpanzer\"  src/NetPanzer/Interfaces/GameConfig.cpp

...failed C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/GameConfig.o...
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/ProjectileInterface.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/MouseInterface.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/TileInterface.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/PlayerInterface.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/MiniMapInterface.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/ConfigVariable.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/PathScheduler.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/Server.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/PowerUpInterface.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/Client.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/ChatInterface.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/UnitProfileInterface.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/PlayerGameManager.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/GameManager.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/ObjectiveInterface.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/DedicatedGameManager.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/BotGameManager.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/BaseGameManager.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/UnitInterface.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/MapInterface.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/WorldViewInterface.o
MkDir1 ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/unix
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/unix/NetworkServerUnix.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Interfaces/unix/NetworkClientUnix.o
MkDir1 ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Bot
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Bot/Bot.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Bot/BotTaskList.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/Bot/BotPlayer.o
MkDir1 ./out/i686-pc-linux-gnu/opt/src/NetPanzer/System
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/System/Sound.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/System/SDLVideo.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/System/DummySound.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/System/SDLSound.o
C++ ./out/i686-pc-linux-gnu/opt/src/NetPanzer/System/SDLEvents.o
...skipped netpanzer for lack of <src!NetPanzer!>Interfaces/GameConfig.o...
...failed updating 1 target...
...skipped 1 target...
...updated 270 targets...
berserker:/home/technojack/Desktop/Downloads/Programme/netpanzer-0.8 #    

Hallo,

versuch es kurz zu machen. Um Software zu entwickeln oder auch nur zu kompilieren müssen zu den installierten Programmpaketen zusätzlich die develpakete installiert sein. Devel steht für develop = Entwicklung. Solange dies nicht passiert ist, ist das Kompilieren von Software nur selten von Erfolg gekrönt und produziert die Ergebnisse die Du postest.. Wie Du schon bemerkt hast, muss auch oft noch nachinstalliert werden. Je öfter Du solche Dinge machts, je besser geht es weil mit der Zeit alle notwendigen Dinge installiert sind. Ein Entwickler pflegt sein System und tut sich schwer einfach neu zu installieren. Mein Arbeitspferd ist ne SuSE 9.1 Pro. mit sämtlichen Entwicklertools.   Updaten auf ein neues Release erst wenn es sich nicht vermeiden läßt und das wird noch
s e h r lange dauern.


« Suse: 9.2, ivtv - "make" Befehl läuft nicht richtig abRed Hat: Fedora Core 3: Wie falsche Monitoreinstellung korrigieren »
 

Fremdwörter? Erklärungen im Lexikon!
Compiler
Als Compiler bezeichnet man ein Programm zum Übersetzen der Quellprogramme einer bestimmten Programmiersprache in ausführbare Dateien, also in die Maschinenspra...

ANSI
ANSI steht für das Amerikanische Normierungsgremium (American National Standards Institute), das Normen für industrielle Verfahrensweisen festlegt. Unter andere...

C++
C++ ist eine von der ISO standardisierte Programmiersprache und eine erweiterte Form von C zur objektorientierten, generischen und prozeduralen Programmierung. Weitestgeh...



Die wichtigsten Linux-Befehle für Terminal & Raspberry Pi einfach erklärt!
Raspberry SD Karte erweitern - volle Größe nutzen!
Raspberry Pi 4 Unpacking (deutsch)
SSH unter Windows: Per SSH am Raspberry Pi anmelden!
Daten retten mit Knoppix
Seeeduino mit Arduino IDE programmieren!
PIR motion sensor HC SR501 + Arduino!