Results 1 to 3 of 3

Thread: Compiling on linux

  1. #1

    Default Compiling on linux

    Hi everyone... im a linux user and i want to test this library...

    but when im going to ./configure i get this

    Code:
    fasox@fasox-laptop:~/Escritorio/C++ engine/novashell/ClanLib-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
    /bin/bash: /home/fasox/Escritorio/C++: No such file or directory
    configure: WARNING: `missing' script is too old or missing
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    ./configure: line 2680: 1.0: command not found
    checking for g++... g++
    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 g++ accepts -g... yes
    checking for style of include used by make... GNU
    checking dependency style of g++... gcc3
    checking for gcc... gcc
    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 dependency style of gcc... gcc3
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for a BSD-compatible install... /usr/bin/install -c
    configure: WARNING: Libtool does not cope well with whitespace in `pwd`
    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 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 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 whether we are using the GNU C++ compiler... (cached) yes
    checking whether g++ accepts -g... (cached) yes
    checking dependency style of g++... (cached) gcc3
    checking how to run the C++ preprocessor... g++ -E
    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 ld used by g++... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for pkg-config... /usr/bin/pkg-config
    checking for unistd.h... (cached) yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking sys/kd.h usability... yes
    checking sys/kd.h presence... yes
    checking for sys/kd.h... yes
    checking sys/vt.h usability... yes
    checking sys/vt.h presence... yes
    checking for sys/vt.h... yes
    checking for i386... yes
    checking for i386 assembly support... enabled
    checking for dynamic loading support... disabled
    checking libgen.h usability... yes
    checking libgen.h presence... yes
    checking for libgen.h... yes
    checking for sys/types.h... (cached) yes
    checking sys/ipc.h usability... yes
    checking sys/ipc.h presence... yes
    checking for sys/ipc.h... yes
    checking sys/shm.h usability... yes
    checking sys/shm.h presence... yes
    checking for sys/shm.h... yes
    checking fstab.h usability... yes
    checking fstab.h presence... yes
    checking for fstab.h... yes
    checking for extern *__progname... yes
    checking for pthread_create in -lpthread... yes
    checking for main in -lz... yes
    
    Checking for ClanLib Modules to build...
    ========================================
    checking whether we should try to build documentation... auto
    checking whether we should try to build clanDisplay... auto
    checking whether we should try to build clanSDL... auto
    checking whether we should try to build clanGL... auto
    checking whether we should try to build clanSound... auto
    checking whether we should try to build clanNetwork... auto
    checking whether we should try to build clanGUI... auto
    checking whether we should try to build clanMikMod... auto
    checking whether we should try to build clanVorbis... auto
    
    Checking for clanDisplay stuff
    ==============================
    checking for png... no
    configure: WARNING:  *** Cannot find png. Disabling clanDisplay
    configure: WARNING:  *** clanSDL depends on clanDisplay. Disabling clanSDL
    configure: WARNING:  *** clanGUI depends on clanDisplay. Disabling clanGUI
    configure: WARNING:  *** clanGL  depends on clanDisplay. Disabling clanGL
    Checking for clanSound stuff
    ============================
    checking machine/soundcard.h usability... no
    checking machine/soundcard.h presence... no
    checking for machine/soundcard.h... no
    checking sys/soundcard.h usability... yes
    checking sys/soundcard.h presence... yes
    checking for sys/soundcard.h... yes
    checking for _oss_ioctl in -lossaudio... no
    checking asoundlib.h usability... no
    checking asoundlib.h presence... no
    checking for asoundlib.h... no
    checking alsa/asoundlib.h usability... no
    checking alsa/asoundlib.h presence... no
    checking for alsa/asoundlib.h... no
    
    checking for mikmod... no
    configure: WARNING:  *** Cannot find mikmod. Disabling clanMikMod
    checking pkg-config is at least version 0.9.0... yes
    checking for clanVorbis... no
    checking for libvorbis directly... checking for vorbis... no
    configure: WARNING:  *** Cannot find vorbis. Disabling clanVorbis
    
    Checking for clanNetwork stuff
    ==============================
    checking for getaddrinfo... yes
    checking for GetAddr (ipv6) support... enabled
    
    Checking for Documentation stuff
    ================================
    checking for perl... /usr/bin/perl
    checking for Xalan... no
    checking for xsltproc... /usr/bin/xsltproc
    checking if documentation should be generated... auto
    
    Checking for debugging and profiling
    ====================================
    checking for debug mode... disabled
    checking for profile mode... disabled
    
    checking for maintainer mode... disabled
    configure: error: conditional "LINUX_JOYSTICK" was never defined.
    Usually this means the macro was only invoked conditionally.
    where (or what) is the "LINUX_JOYSTICK"?

  2. #2

    Default

    Looks like you have several dependencies missing: did you install them first?

  3. #3
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    Note, you are using "ClanLib-1.0.0"

    Avoid using this for new projects. Use ClanLib 2.3 instead.

    Novashell requires ClanLib 1.0. Somebody tried porting it to ClanLib 2.3, but it was aborted. It would take too long to port the GUI component of Novashell. Also there is no advantage to port it.

Similar Threads

  1. Compiling with MinGW
    By kitmor in forum Official ClanLib SDK Forums
    Replies: 12
    Last Post: 01-23-2011, 04:17 AM
  2. svn compiling error
    By xrubio in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 07-27-2009, 01:22 PM
  3. Compiling on Mac OS X
    By moople in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 06-23-2009, 07:03 AM
  4. Problem compiling Examples on GNU/Linux
    By SpartanJ in forum Official ClanLib SDK Forums
    Replies: 2
    Last Post: 02-25-2009, 05:17 PM
  5. Compiling
    By SushiBox in forum Novashell Game Creation System
    Replies: 2
    Last Post: 11-27-2008, 02:41 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •