Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Trouble with Proper Installation

Help
Mike
2012-03-22
2013-05-23
  • Mike
    Mike
    2012-03-22

    Hi. I'm running fedora 16, and was having some trouble installing. I'll paste my configuration output below. Any guidance would be helpful.

    ./configure
    checking for a BSD-compatible install… /usr/bin/install -c
    checking whether build environment is sane… yes
    checking for a thread-safe mkdir -p… /bin/mkdir -p
    checking for gawk… gawk
    checking whether make sets $(MAKE)… yes
    checking build system type… i686-pc-linux-gnu
    checking host system type… i686-pc-linux-gnu
    checking for style of include used by make… GNU
    checking for gcc… gcc
    checking whether the C compiler works… yes
    checking for C compiler default output file name… a.out
    checking for suffix of executables…
    checking whether we are cross compiling… no
    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 dependency style of gcc… gcc3
    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 for objdump… objdump
    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 how to run the C preprocessor… gcc -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 dlfcn.h… yes
    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… no
    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 gcc… (cached) gcc
    checking whether we are using the GNU C compiler… (cached) yes
    checking whether gcc accepts -g… (cached) yes
    checking for gcc option to accept ISO C89… (cached) none needed
    checking dependency style of gcc… (cached) gcc3
    checking whether make sets $(MAKE)… (cached) yes
    checking sys/soundcard.h usability… yes
    checking sys/soundcard.h presence… yes
    checking for sys/soundcard.h… yes
    checking X11/X.h usability… no
    checking X11/X.h presence… no
    checking for X11/X.h… no
    checking X11/Xlib.h usability… no
    checking X11/Xlib.h presence… no
    checking for X11/Xlib.h… no
    checking X11/Xutil.h usability… no
    checking X11/Xutil.h presence… no
    checking for X11/Xutil.h… no
    checking X11/Xos.h usability… no
    checking X11/Xos.h presence… no
    checking for X11/Xos.h… no
    checking X11/Xatom.h usability… no
    checking X11/Xatom.h presence… no
    checking for X11/Xatom.h… no
    checking for X11/extensions/XShm.h… no
    checking for pkg-config… /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0… yes
    checking alsa/asoundlib.h usability… yes
    checking alsa/asoundlib.h presence… yes
    checking for alsa/asoundlib.h… yes
    checking for ALSA… yes
    checking for LIBLO… no
    checking jack/jack.h usability… no
    checking jack/jack.h presence… no
    checking for jack/jack.h… no
    checking pulse/pulseaudio.h usability… no
    checking pulse/pulseaudio.h presence… no
    checking for pulse/pulseaudio.h… no
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating libbrightonC11/Makefile
    config.status: creating libbrightonX11/Makefile
    config.status: creating libbrighton/Makefile
    config.status: creating libbristolaudio/Makefile
    config.status: creating libbristolmidi/Makefile
    config.status: creating libbristolic/Makefile
    config.status: creating libbristol/Makefile
    config.status: creating brighton/Makefile
    config.status: creating bristol/Makefile
    config.status: creating bin/startBristol
    config.status: creating bin/Makefile
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing libtool commands

    bristol 0.60.9 :

    | Build with OSS support ……………………. : true
    | Build with ALSA support …………………… : true
    | Build with JACK support …………………… : false
    | Bristol needs jackd and libjack-dev to be installed for JACK support.
    | Build with JACK MIDI support ………………. : false
    | Build with JACK Session support ……………. : false
    | Default audio drivers …………………….. : alsa
    | Default MIDI drivers ……………………… : alsa
    | Build with Graphical Interface …………….. : false
    | Compile with X11 support ………………….. : false
    | Bin directory ……………………………. : /usr/local/bin
    | Lib directory ……………………………. : /usr/local/lib
    | Data directory …………………………… : /usr/local/share/bristol
    | Default voicecount ……………………….. : BRISTOL_VOICECOUNT=32
    | author ………………………………….. : Nick Copeland
    | email …………………………………… : nickycopeland@hotmail.com
    | web …………………………………….. : http://bristol.sf.net

     
  • Mike
    Mike
    2012-03-22

    Ok, I fixed at least some of the problems. I got the X11-dev and jack-dev packages. This resulted in the last bit of the config output coming out ok, i.e. all trues with alsa as the default drivers.

    I went ahead and installed bristol, with no failures. Now when I start bristol, I get this:

    startBristol -b3 -alsa
    checking availability of TCP port 38410
    using port 38410
    starting logging thread
    Copyright (C) by Nick Copeland <nickycopeland@hotmail.com> 1996,2011
    This program comes with ABSOLUTELY NO WARRANTY; for details type `<Ctrl> w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `<Ctrl> g' for details of GPL terms.
    starting logging thread
    Mar 22 14:50:11 bristol   starting console logging
    Mar 22 14:50:11 bristol   bristol version 0.60.9
    Mar 22 14:50:11 bristol   bristol
    Mar 22 14:50:11 bristol       -rate 44100
    Mar 22 14:50:11 bristol       -count 256
    Mar 22 14:50:11 bristol       -b3
    Mar 22 14:50:11 bristol       -alsa
    Mar 22 14:50:11 bristol       -port 38410
    Mar 22 14:50:11 bristol   jsm will use 'startBristol -b3 -alsa'
    Mar 22 14:50:11 bristol   generate bandlimited waveforms(31, 12, 84, 1.50, 0.80, 44100)
    Mar 22 14:50:11 bristol   could not reschedule thread
    Mar 22 14:50:11 bristol   Fixing samplerate at 44100
    Mar 22 14:50:11 brighton  starting console logging
    Mar 22 14:50:11 brighton  emulation defaults:
    Mar 22 14:50:11 brighton      -voices  32
    Mar 22 14:50:11 brighton      -detune  0
    Mar 22 14:50:11 brighton      -gain    2
    Mar 22 14:50:11 brighton      -pwd     2
    Mar 22 14:50:11 brighton      -glide   5
    Mar 22 14:50:11 brighton      -curve   175
    Mar 22 14:50:11 brighton  brighton version 0.60.9
    Mar 22 14:50:11 bristol   midi interface: bristol
    Mar 22 14:50:11 bristol   bristolMidiOpen(localhost, 801023)
    Mar 22 14:50:11 bristol   Opened listening control socket: 38410
    Mar 22 14:50:11 bristol   returning handle 0, flags 80000020, fd 4
    Mar 22 14:50:11 bristol   opened control socket
    Mar 22 14:50:11 bristol   midiOpen: 38410(100)
    Mar 22 14:50:11 bristol   bristolMidiOpen(bristol, 101)
    Mar 22 14:50:11 bristol   bristolMidiSeqOpen(bristol)
    Mar 22 14:50:11 bristol   Client ID = 128
    Mar 22 14:50:11 bristol   Queue ID = 0
    Mar 22 14:50:11 bristol   returning handle 1, flags 100, fd 6
    Mar 22 14:50:11 bristol   opened midi device bristol
    Mar 22 14:50:12 brighton    brighton
    Mar 22 14:50:12 brighton      -b3
    Mar 22 14:50:12 brighton      -alsa
    Mar 22 14:50:12 brighton      -port 38410
    Mar 22 14:50:12 brighton  starting event management thread
    Mar 22 14:50:12 brighton  connected to :0
    Mar 22 14:50:12 brighton  brighton 0x81066e0 765 400
    Mar 22 14:50:12 brighton  display is 1280 by 800 pixels (0, 0)
    Mar 22 14:50:12 brighton  Window is w 1280, h 800, d 24, 0 0 0
    Mar 22 14:50:12 brighton  Using DirectColor display
    Mar 22 14:50:12 brighton  Initialise the hammondB3 link to bristol: 0x84e3cc0
    Mar 22 14:50:12 brighton  bristolMidiOpen(localhost, 4023)
    Mar 22 14:50:12 brighton  hostname is localhost, bristol
    Mar 22 14:50:12 brighton  TCP port: 38410
    Mar 22 14:50:12 bristol   Accepted connection from 0 (4) onto 2 (7)
    Mar 22 14:50:12 brighton  Connected to the bristol control socket: 6 (dev=0)
    Mar 22 14:50:12 brighton  returning handle 0, flags 20, fd 6
    Mar 22 14:50:12 brighton  bristolengine already active (0)
    Mar 22 14:50:12 brighton  opened GUI midi handles: 0, 0
    Mar 22 14:50:12 bristol   could not reschedule thread
    Mar 22 14:50:12 bristol   bristolAudioOpen(plughw:0,0, 44100, 256, 1a00004)
    Mar 22 14:50:12 bristol   audioOpen(0x28e280, 0, 1024): plughw:0,0
    Mar 22 14:50:12 bristol   opening device plughw:0,0, flags 0000000d
    Mar 22 14:50:12 bristol   init 2736 bytes of device structure
    Mar 22 14:50:12 bristol   open playback on plughw:0,0, pre 4
    Mar 22 14:50:12 bristol   Error opening PCM device plughw:0,0
    Mar 22 14:50:12 bristol   Failed to open audio device plughw:0,0
    Mar 22 14:50:12 bristol   If jack is running then use 'startBristol -jack'
    Mar 22 14:50:13 bristol   audio thread failed: exiting.
    Mar 22 14:50:17 brighton  closing down TCP sockets
    Mar 22 14:50:18 bristol   GUI id 5689 returned 13
    Mar 22 14:50:18 bristol   audiothread exited
    Mar 22 14:50:18 bristol   midithread exited
    Mar 22 14:50:18 bristol   bristol parent exiting
    Mar 22 14:50:18 bristol   terminating logging thread

    Thanks for your help.

     
  • Mike
    Mike
    2012-03-22

    Another hurdle conquered, specifying the audio card when starting the program seems to make it work. It's very quiet though.