Rakarrack on ubuntu hardy heron 64 bits

2009-01-05
2013-05-28
  • hi, i tried to compile rakarrack on my ubuntu instalation but some errors appears:

    kirkhelek@PinguinoAzecino:~/Escritorio/rakarrack-0.3.0$ ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    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 whether make sets $(MAKE)... (cached) yes
    checking for fltk-config... fltk-config
    checking for aconnect... aconnect
    checking how to run the C preprocessor... gcc -E
    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 for stdbool.h that conforms to C99... yes
    checking for _Bool... yes
    checking for an ANSI C-conforming const... yes
    checking for inline... inline
    checking for size_t... yes
    checking whether gcc needs -traditional... no
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking whether closedir returns void... no
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible malloc... yes
    checking sys/select.h usability... yes
    checking sys/select.h presence... yes
    checking for sys/select.h... yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking types of arguments for select... int,fd_set *,struct timeval *
    checking for bzero... yes
    checking for floor... no
    checking for memset... yes
    checking for memmove... yes
    checking for pow... no
    checking for select... yes
    checking for sqrt... no
    checking for strdup... yes
    checking for strstr... yes
    checking for main in -lXft... no
    checking for main in -lXrender... no
    checking for main in -lasound... yes
    checking for main in -ldl... yes
    checking for main in -lfltk... yes
    checking for main in -lfontconfig... no
    checking for main in -lfreetype... yes
    checking for main in -lm... yes
    checking for main in -lpthread... yes
    checking for main in -lrt... yes
    checking for main in -lz... yes
    checking for main in -ljack... yes
    checking for main in -lXpm... no
    checking for dirent.h that defines DIR... (cached) yes
    checking for library containing opendir... (cached) none required
    checking for ANSI C header files... (cached) yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking for unistd.h... (cached) yes
    checking X11/xpm.h usability... no
    checking X11/xpm.h presence... no
    checking for X11/xpm.h... no
    checking alsa/asoundlib.h usability... yes
    checking alsa/asoundlib.h presence... yes
    checking for alsa/asoundlib.h... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating man/Makefile
    config.status: creating data/Makefile
    config.status: creating icons/Makefile
    config.status: creating doc/Makefile
    config.status: creating doc/help/Makefile
    config.status: creating doc/help/imagenes/Makefile
    config.status: creating doc/help/css/Makefile
    config.status: creating src/config.h
    config.status: executing depfiles commands
    kirkhelek@PinguinoAzecino:~/Escritorio/rakarrack-0.3.0$ make
    Making all in src
    make[1]: se ingresa al directorio `/home/kirkhelek/Escritorio/rakarrack-0.3.0/src'
    make all-am
    make[2]: se ingresa al directorio `/home/kirkhelek/Escritorio/rakarrack-0.3.0/src'
    if g++ -DHAVE_CONFIG_H -I. -I. -I. -O2 -Wall -msse2 -fno-rtti -pipe -ffunction-sections -fomit-frame-pointer -Wno-format-y2k -fPIC -fno-exceptions -fno-strict-aliasing -I/usr/include/freetype2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.C; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
    En el fichero incluído de main.C:29:
    global.h:31:21: error: X11/xpm.h: No existe el fichero ó directorio
    In file included from main.C:29:
    global.h:73: error: ‘Pixmap’ no nombra a un tipo
    global.h:74: error: expected initializer before ‘*’ token
    make[2]: *** [main.o] Error 1
    make[2]: se sale del directorio `/home/kirkhelek/Escritorio/rakarrack-0.3.0/src'
    make[1]: *** [all] Error 2
    make[1]: se sale del directorio `/home/kirkhelek/Escritorio/rakarrack-0.3.0/src'
    make: *** [all-recursive] Error 1

    my english is very bad, i know xD (sorry)

     
    • Josep Andreu
      Josep Andreu
      2009-01-05

      Hi ....

      Don't worry about the english .... main sure is worst :-)

      About the error ... seems you don't have installed the required libxpm-dev library ....
      I don't know exactly the name on Ubuntu ... in Debian is called libxpm-dev sure is something like that.
      Install and try again :-)

      Josep

       
    • wow, very thanks for the answer, now the program compiles! xD

      PD: gracies Josep, el rakarrack está que se sale xDDD :)