Crystal Space
Welcome, Guest. Please login or register.
November 01, 2014, 12:04:14 pm

Login with username, password and session length
Search:     Advanced search
9011 Posts in 2044 Topics by 8903 Members
Latest Member: Patfor986
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  Instalation on gnu linux debian lenny
« previous next »
Pages: [1] Print
Author Topic: Instalation on gnu linux debian lenny  (Read 1814 times)
isc.alfonso.gc
Newbie
*
Posts: 2


View Profile Email
« on: July 28, 2009, 03:42:45 am »

I have installed Debian GNU Linux Lenny 5.0.2,I wantto use  CrystalSpace the version that you can, but the compiled version 1.2.1, I have compilation errors in configuration too, anyone who has already been installed and used under conditions ?
Logged
Vincent
Full Member
***
Posts: 191


View Profile WWW
« Reply #1 on: July 28, 2009, 12:03:21 pm »

It would be better if you posted the actual errors you get...
Now, please try using at least CS 1.4.0rc2 instead of 1.2.1.
You can find source archives here:
http://www.crystalspace3d.org/downloads/release/?C=M;O=D
Logged
isc.alfonso.gc
Newbie
*
Posts: 2


View Profile Email
« Reply #2 on: July 29, 2009, 05:18:44 am »

now compile the http://www.crystalspace3d.org/downloads/release/crystalspace-src-1.4.0rc2.zip, and before the "./configure" this is the result

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether to enable -mno-cygwin... no
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 ISO C89... none needed
checking if gcc accepts -pipe... -pipe
checking if gcc handles Sparc v9... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to treat C++ warnings as errors... -Werror
checking how to enable C++ PIC generation... -fPIC
checking for ld... ld
checking if binutils version >= 2.17... yes (version 2.18.0.20080103)
checking if -shared is accepted... -shared -fPIC
checking if -soname is accepted... yes
checking if response files are accepted... yes
checking if --as-needed is supported... -Wl,--as-needed
checking if --no-as-needed is supported... -Wl,--no-as-needed
checking if --gc-sections is supported... -Wl,--gc-sections
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... g++ -E
checking for ranlib... ranlib
checking for dlltool... no
checking for dllwrap... no
checking for windres... no
checking for strings... strings
checking for objcopy... objcopy
checking for libtool... no
checking for glibtool... no
checking for gnulibtool... no
checking for libtool... no
checking how to create a directory... mkdir
checking how to create a directory tree... mkdir -p
checking for install... install
checking whether ln -s works... yes
checking for texi2dvi... texi2dvi
checking for texi2pdf... texi2pdf
checking for dvips... no
checking for dvipdf... dvipdf
checking for makeinfo... makeinfo
checking for doxygen... no
checking for dot... no
checking for flex... no
checking for bison... no
checking for hhc... no
checking for swig... no
checking for rsvg... no
checking for icotool... no
checking for convert... convert
checking for relaytool... ./bin/relaytool
checking for svn... no
checking for jam... no
checking for gnumake... no
checking for gmake... no
checking for make... make
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 cmath usability... yes
checking cmath presence... yes
checking for cmath... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking for fopen in -lc... yes
checking for pow in -lm... yes
checking for cosf in -lm... yes
checking for cosf in -lmx... no
checking for dlopen in -ldl... yes
checking for gethostbyname in -lnsl... yes
checking for dladdr in -ldl... yes
checking for pthread... yes
checking for pthread recursive mutexes... PTHREAD_MUTEX_RECURSIVE
checking for pthread_atfork support... yes
checking whether to link base g++ libraries statically... no
checking for RTLD_NOW... yes
checking for -mmmx flag... -mmmx
checking for -msse flag... -msse
checking for -msse2 flag... -msse2
checking for -mfpmath=sse flag... -mfpmath=sse
checking for mmintrin.h... yes
checking for perl5... no
checking for perl... perl
checking how to suppress C++ `long double' warnings... no
checking for python... python
checking for python SDK... yes
checking if python SDK is usable... no
checking for java... /usr/bin/java
checking for javac... /usr/bin/javac
checking if Java2 SDK is usable... no
checking for ant... no
checking for STL... yes
checking how to enable C++ compilation warnings... -Wall
checking how to treat C++ warnings as errors... -Werror
checking how to suppress C++ unused variable warnings... -Wno-unused
checking how to suppress C++ uninitialized variable warnings... -Wno-uninitialized
checking how to suppress C++ unknown #pragma warnings... -Wno-unknown-pragmas
checking how to suppress C++ `long double' warnings... (cached) no
checking how to suppress C++ non-virtual destructor warnings... -Wno-non-virtual-dtor
checking for flag to disable string-aliasing... -fno-strict-aliasing
checking how to enable C++ exceptions... -fexceptions -fno-omit-frame-pointer
checking how to disable C++ exceptions... -fno-exceptions
checking how to enforce C++ standards conformance... -ansi -pedantic
checking if -force_cpusubtype_ALL is needed... no
checking how to export all dynamic symbols... -Wl,-E
checking if --kill-at is accepted... no
checking if reporting missing symbols is supported... -Wl,-z,defs
checking if missing symbols can be reported as warnings... -Wl,--warn-unresolved-symbols
checking how to disable function inlining... -fno-inline-functions
checking how to treat C warnings as errors... -Werror
checking how to treat C++ warnings as errors... (cached) -Werror
checking how to treat C++ warnings as errors... (cached) -Werror
checking how to enable C++ PIC generation... (cached) -fPIC
checking for inline visibility flag... -fvisibility-inlines-hidden
checking if configuration supports -fvisibility-inlines-hidden... yes
checking if -fvisibility-inlines-hidden is buggy... no
checking for hidden symbol visibility flag... -fvisibility=hidden
checking for default symbol visibility flag... -fvisibility=default
checking how to declare hidden visibility... __attribute__((visibility("hidden")))
checking how to declare default visibility... __attribute__((visibility("default")))
checking whether to use CPU-specific optimizations... minimum
checking for code generation flags... -march=i586 -mtune=generic
checking how to enable optimizations... -O3
checking if -fomit-frame-pointer is accepted... -fomit-frame-pointer
checking if -ffast-math is accepted... -ffast-math
checking build mode... optimize
checking if binutils version >= 2.17... (cached) yes (version 2.18.0.20080103)
checking whether to split debug information... yes
checking how to enable debug mode debugging symbols... -g3
checking whether to enable debug information in optimize mode... yes
checking how to enable optimize mode debugging symbols... -g2
checking if -I/usr/local/include is usable... -I/usr/local/include
checking for va_copy... no
checking for __va_copy... yes
checking for pkg-config... pkg-config
checking if pkg-config recognizes x11... yes
checking for x11-config... no
checking for libx11... yes
checking if pkg-config recognizes xext... no
checking for xext-config... no
checking for libxext... no
checking if pkg-config recognizes xxf86vm... no
checking for xxf86vm-config... no
checking if pkg-config recognizes Xxf86vm... no
checking for Xxf86vm-config... no
checking for libxxf86vm... no
checking if pkg-config recognizes xaw7... no
checking for xaw7-config... no
checking if pkg-config recognizes Xaw... no
checking for Xaw-config... no
checking for libxaw7... no
checking for int32... no
checking for windows.h... no
checking for OpenGL... no
checking if pkg-config recognizes z... no
checking for z-config... no
checking if pkg-config recognizes zlib... no
checking for zlib-config... no
checking for libz... no
configure: *** zlib not found; VFS will be unusable
checking if pkg-config recognizes jpeg... no
checking for jpeg-config... no
checking if pkg-config recognizes libjpeg... no
checking for libjpeg-config... no
checking for libjpeg... no
checking if pkg-config recognizes lcms... no
checking for lcms-config... no
checking for liblcms... no
checking if pkg-config recognizes mng... no
checking for mng-config... no
checking if pkg-config recognizes libmng... no
checking for libmng-config... no
checking for libmng... no
checking if pkg-config recognizes cairo... no
checking for cairo-config... no
checking for libcairo... no
checking if pkg-config recognizes cairomm... no
checking for cairomm-config... no
checking if pkg-config recognizes cairomm-1... no
checking for cairomm-1-config... no
checking if pkg-config recognizes cairomm-1.0... no
checking for cairomm-1.0-config... no
checking for libcairomm... no
checking if pkg-config recognizes vgvm... no
checking for vgvm-config... no
checking for libvgvm... no
checking if pkg-config recognizes ogg... no
checking for ogg-config... no
checking for libogg... no
checking if pkg-config recognizes 3ds... no
checking for 3ds-config... no
checking if pkg-config recognizes lib3ds... no
checking for lib3ds-config... no
checking if pkg-config recognizes lib3ds-120... no
checking for lib3ds-120-config... no
checking for lib3ds... no
checking if pkg-config recognizes ode... no
checking for ode-config... no
checking for libode... no
checking if pkg-config recognizes bullet... no
checking for bullet-config... no
checking if pkg-config recognizes bulletdynamics... no
checking for bulletdynamics-config... no
checking for libbullet... no
checking for OpenAL... no
checking if pkg-config recognizes freetype2... no
checking for freetype2-config... no
checking if pkg-config recognizes freetype... no
checking for freetype-config... no
checking for libfreetype2... no
checking if pkg-config recognizes cal3d... no
checking for cal3d-config... no
checking for libcal3d... no
checking if pkg-config recognizes sdl... no
checking for sdl-config... no
checking for libsdl... no
checking if pkg-config recognizes wx... no
checking for wx-config... no
checking for libwx... no
checking if pkg-config recognizes CEGUI... no
checking for CEGUI-config... no
checking if pkg-config recognizes CEGUIBase... no
checking for CEGUIBase-config... no
checking for libCEGUI... no
checking if pkg-config recognizes GTK... no
checking for GTK-config... no
checking if pkg-config recognizes gtk+-2.0... no
checking for gtk+-2.0-config... no
checking for libGTK... no
checking for GNU/Linux joystick API... yes
checking if pkg-config recognizes Cg... no
checking for Cg-config... no
checking if pkg-config recognizes cg... no
checking for cg-config... no
checking if pkg-config recognizes CG... no
checking for CG-config... no
checking for libCg... no
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking if pkg-config recognizes jackasyn... no
checking for jackasyn-config... no
checking for libjackasyn... no
checking if pkg-config recognizes asound... no
checking for asound-config... no
checking for libasound... no
checking if pkg-config recognizes cucul... no
checking for cucul-config... no
checking if pkg-config recognizes libcucul... no
checking for libcucul-config... no
checking for libcucul... no
checking if pkg-config recognizes caca... no
checking for caca-config... no
checking if pkg-config recognizes libcaca... no
checking for libcaca-config... no
checking for libcaca... no
checking for regexp support... yes
checking for backtrace... yes
checking for setenv... yes
checking for putenv... yes
checking for _aligned_malloc... no
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking for sysinfo()... yes
checking for struct sysinfo.totalram... yes
checking if <malloc.h> can be included... yes
checking cxxabi.h usability... yes
checking cxxabi.h presence... yes
checking for cxxabi.h... yes
checking for abi::__cxa_demangle... yes
checking for sysconf(_SC_NPROCESSORS_ONLN)... yes
checking for perl5... (cached) perl
checking for TemplateToolkit... no
checking for ttree... no
checking if pkg-config recognizes cppunit... no
checking for cppunit-config... no
checking for libcppunit... no
checking if plugins require main()... yes
checking size of long... 4
checking whether byte ordering is bigendian... no
checking for stdint.h... (cached) yes
checking for INT64_C... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for intptr_t... yes
checking for intmax_t... yes
checking for inttypes.h... (cached) yes
checking for PRIx99 macros... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for wint_t... yes
checking for wchar_t... yes
checking for wcslen... yes
checking for fputws... yes
checking for fwide... yes
checking for wcsnrtombs... yes
checking size of wchar_t... 4
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for MAXPATHLEN... yes
checking for winsock.h... no
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for socket support... yes
checking for socklen_t... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking how to declare deprecation... __attribute__((deprecated))
checking how to declare allocation function... __attribute__((malloc))
checking how to declare object initialization priority... __attribute__((init_priority(PRI)))
checking if assembly-coded csQsqrt() compiles... yes
checking for isfinite... no
checking for finitef... yes
checking for finite... yes
checking for _finite... no
checking for std::isfinite... yes
checking for isnan... yes
checking for isnanf... yes
checking for _isnan... no
checking for std::isnan... yes
checking for isnormal... no
checking for normalf... no
checking for std::isnormal... yes
checking for strtof... yes
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking whether to embed plugin meta-information... yes
checking for windres... no
checking for elf.h... (cached) yes
checking whether to enable ptmalloc... yes
checking whether to use extensive memory debugger... no
checking whether to use memory tracker... no
checking whether to use reference tracker... no
checking whether to use leak guard... no
checking whether to build shared libraries... yes
checking whether to emulate makefiles... yes
configure: creating ./config.status
config.status: creating Jamfile
config.status: executing include/csconfig.h commands
config.status: executing Jamconfig commands
config.status: executing jam commands
config.status: executing Makefile commands

now before the make command this is the result:

       mkdir -p "./out/linuxx86/optimize/libs"


        mkdir -p "./out/linuxx86/optimize/libs/csutil"


    g++ -c -o ./out/linuxx86/optimize/libs/csutil/staticvarcleanup.o -I/home/poncho/programas/crystalspace-src-1.4.0rc2/. -I./include -I/home/poncho/programas/crystalspace-src-1.4.0rc2/./include -pipe -Wall -Wno-unknown-pragmas -fvisibility=hidden -march=i586 -mtune=generic -I/usr/local/include -fno-exceptions -fvisibility-inlines-hidden -O3 -fomit-frame-pointer -ffast-math -g2 -DCS_CRYSTALSPACE_LIB -fPIC -DCS_CRYSTALSPACE_LIB -I/home/poncho/programas/crystalspace-src-1.4.0rc2/libs/csutil/ptmalloc -I/home/poncho/programas/crystalspace-src-1.4.0rc2/libs/csutil/ptmalloc/sysdeps/pthread -DCS_CONFIGDIR='"/usr/local/etc/crystalspace-1.4"' -DCS_PLUGINDIR='"/usr/local/lib/crystalspace-1.4"'  /home/poncho/programas/crystalspace-src-1.4.0rc2/libs/csutil/staticvarcleanup.cpp

....
....
....

        mkdir -p "./out/linuxx86/optimize/plugins/video/cursor"


    g++ -c -o ./out/linuxx86/optimize/plugins/video/cursor/cursor.o -I/home/poncho/programas/crystalspace-src-1.4.0rc2/. -I./include -I/home/poncho/programas/crystalspace-src-1.4.0rc2/./include -pipe -Wall -Wno-unknown-pragmas -fvisibility=hidden -march=i586 -mtune=generic -I/usr/local/include -fno-exceptions -fvisibility-inlines-hidden -O3 -fomit-frame-pointer -ffast-math -g2 -fPIC  /home/poncho/programas/crystalspace-src-1.4.0rc2/plugins/video/cursor/cursor.cpp

In file included from /home/poncho/programas/crystalspace-src-1.4.0rc2/plugins/video/cursor/cursor.h:23,
                 from /home/poncho/programas/crystalspace-src-1.4.0rc2/plugins/video/cursor/cursor.cpp:39:
./include/ivideo/graph2d.h:146: warning: ‘iOffscreenCanvasCallback’ is deprecated (declared at ./include/ivideo/graph2d.h:145)

    g++ -Wl,--as-needed -o cscursor.so ./out/linuxx86/optimize/plugins/video/cursor/cursor.o  -lc -lm -ldl -lnsl -L/usr/local/lib -Wl,-z,defs -Wl,--warn-unresolved-symbols -g2 -shared -Wl,--gc-sections ./out/linuxx86/optimize/libs/libcrystalspace-1.4.so -lpthread -lc -lm -ldl -lnsl -L/usr/local/lib -Wl,-z,defs -Wl,--warn-unresolved-symbols -g2 \
      -Wl,-soname,cscursor.so
 

  objcopy --add-section .crystalspace=/home/poncho/programas/crystalspace-src-1.4.0rc2/plugins/video/cursor/cscursor.csplugin cscursor.so


  objcopy --only-keep-debug cscursor.so ./cscursor.dbg
  objcopy --strip-unneeded cscursor.so
  objcopy --add-gnu-debuglink=./cscursor.dbg cscursor.so
  test -n "chmod" && chmod a-x ./cscursor.dbg

make: *** [all] Error 1
 any idea ?
Logged
Vincent
Full Member
***
Posts: 191


View Profile WWW
« Reply #3 on: July 29, 2009, 07:56:39 am »

Sadly, the error is not shown in the compile output you pasted.
You'd have to add some switch to the make command so it stops on first error.
Anyway, you're missing quite a few important dependencies. You have to install -devel packages for some libs, like
  • zlib
  • OpenGL
  • libjpeg
  • libogg
  • Alsa (asound)
  • ... and probably other optional ones
At the very least, install zlib-devel (or whatever development package is named),
and OpenGL headers (might be Mesa, depending on your card/driver).

Also take a look in the CS directory, you should find an executable named jam.
Copy it somewhere like $HOME/bin/ or /usr/local/bin/ so that it's in your $PATH,
and use "jam" instead of "make".
As a warning, don't install CS unless you absolutely need/want that
(there's no uninstall target, and is really only useful for packagers).
Using CS from it's build directory is sufficient for most cases.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 7.43 seconds with 16 queries.